Webhooks

Webhook subscription management

Get webhook subscription

get
/webhooks/subscribe/{tenantId}

Retrieve webhook subscription configuration for a tenant. Returns the registered webhook URL and retry attempt settings for receiving transaction status update notifications.

Authorizations
x-api-keystringRequired

API key for tenant authentication

Path parameters
tenantIdstringRequired
Responses
200

Successfully retrieved webhook subscription details

application/json
get
/webhooks/subscribe/{tenantId}
200

Successfully retrieved webhook subscription details

Create webhook subscription

post
/webhooks/subscribe/{tenantId}

Register a webhook URL to receive real-time transaction status update notifications. Configure the number of retry attempts for failed webhook deliveries. The system will POST transaction status updates to the registered URL whenever a transaction status changes.

Authorizations
x-api-keystringRequired

API key for tenant authentication

Path parameters
tenantIdstringRequired
Body
webhook_urlstring · uri · min: 1Required
retry_attemptsintegerRequired
Responses
post
/webhooks/subscribe/{tenantId}

Update webhook subscription

put
/webhooks/subscribe/{tenantId}

Update webhook subscription configuration for a tenant. Modify the registered webhook URL and/or the number of retry attempts for failed deliveries. Returns 404 if no subscription exists.

Authorizations
x-api-keystringRequired

API key for tenant authentication

Path parameters
tenantIdstringRequired
Body
webhook_urlstring · uri · min: 1Required
retry_attemptsintegerRequired
Responses
200

Webhook subscription updated successfully

application/json
put
/webhooks/subscribe/{tenantId}

Delete webhook subscription

delete
/webhooks/subscribe/{tenantId}

Remove webhook subscription for a tenant. After deletion, the tenant will no longer receive transaction status update notifications. Returns 404 if no subscription exists.

Authorizations
x-api-keystringRequired

API key for tenant authentication

Path parameters
tenantIdstringRequired
Responses
200

Webhook subscription deleted successfully

No content

delete
/webhooks/subscribe/{tenantId}

No content

Transaction status update notification

Webhook sent to subscribed tenant URL when a transaction status changes

Payload
transaction_idstringRequired

Unique identifier for the transaction

statusstringRequired

Current status of the transaction

updated_atstring · date-timeRequired

Timestamp when the status was updated

tenant_idstringRequired

Unique identifier for the tenant

sender_idstringOptional
beneficiary_idstringOptional
corridor_idstringOptional
payout_method_idstringOptional
Responses
200

Webhook received and processed successfully

No content

Payload

Last updated