Webhook endpoints

List webhook endpoints

GET/api/v1/webhooks

Returns every webhook endpoint you registered for the mode of your key. Secrets are not included.

Authorization

bearerAuth
AuthorizationBearer <token>

An access token from POST /api/v1/oauth/token, sent as Authorization: Bearer <token>.

In: header

Header Parameters

FlexMalipo-Version?"2026-11-06"

The API version to use for this request, a date such as 2026-11-06. Without it the request uses your default version for the mode of your key. An unknown version answers 400 api_version_invalid.

Value in

  • "2026-11-06"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-malipo.flex.co.tz/api/v1/webhooks" \  -H "Authorization: Bearer <token>" \  -H "FlexMalipo-Version: 2026-11-06"
[  {    "id": "3d2b8e4f-6a1c-4f7e-9b0d-1c2e3f4a5b6c",    "livemode": false,    "url": "https://shop.example.com/flex-malipo/webhooks",    "description": "Order updates",    "subscribedEvents": [      "payment.succeeded",      "payment.failed"    ],    "enabled": true,    "secret": "whsec_9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",    "previousSecretExpiresAt": "2026-09-29T09:15:30Z",    "createdAt": "2026-09-28T09:15:30Z",    "updatedAt": "2026-09-28T09:15:30Z",    "apiVersion": "2026-11-06",    "brandIds": [      "6b9e2f4a-1c3d-4e5f-8a7b-9c0d1e2f3a4b"    ]  }]