Webhooks
SwitchApp initiates calls to your webhook endpoints to notify you of actions or changes on your profile.
Last updated
SwitchApp initiates calls to your webhook endpoints to notify you of actions or changes on your profile.
Last updated
SwitchApp initiates calls to your webhook endpoints configured on your dashboard or provided on the transaction/request body itself. Webhook-enabled actions include payments, top-ups, disbursements, and payouts.
Each webhook call includes an event property that describes the status change. This can be used to configure your system's reaction to the webhook call.
The example below simulates the possible endpoints in a merchant's application for handling SwitchApp webhook calls.
NOTE: All webhook endpoints should be unprotected i.e. they must not require authentication to be called, as these calls are coming from SwitchApp servers which will not authenticate on the merchant servers.
Payment webhook events include the following
Top-up webhook events include the following
Disbursement webhook events include the following
transfer.successful
transfer.failed
transfer.awaitingAuthorization
transfer.authorizationFailed
/v1/sample-switchapp-merchant-webhooks/sample-v1-switchapp-payments-webhooks
No body
/v1/sample-switchapp-merchant-webhooks/sample-v1-switchapp-topups-webhooks
No body
/v1/sample-switchapp-merchant-webhooks/sample-v1-switchapp-transfers-webhooks
No body