Callback URLS
Our payments API uses callbacks to notify you of final statuses of payments.
Configuring a Callback URL
You can configure a callback URL by including your specified URL as a parameter in the API request body. This setup allows you to receive real-time notifications for both payouts and pay-ins, ensuring seamless integration with your system.
Callback for Payins
Through USSD Push
For collections using USSD push, you can configure your callback url as specificed below.
Pass in the url you’d like to receive the callback response on under the params object as “callback_url”.
Generate a signature for the specified parameters using the generate signature endpoint
Make the API request using the payload generated.
Once the transaction is processed you will receive a callback response as shown below.
Through Payment Links
For payins collected via payment links, you can configure your callback url as part of the params field while creating a payment link. Once a payment will be made to your account using the payment link, you will receive a response on the callback.
Callback for Payouts
For disbursements, you can configure your callback url as specificed below.
Pass in the url you’d like to receive the callback response on under the params object as “callback_url”.
Generate signature for the specified parameters using the generate signature endpoint
Make the api request using the payload generated.
Once the transaction is processed you will receive a callback response as shown below.
Response Structure
Below is a summary of the response structure of the callback responses expected.
Payins
Please note that the “depositId” field represnets the transaction id of the deposit.
Payouts
Please note that the “depositId” field represents the transaction id of the deposit.
Resending Callbacks
You can resend callbacks in case of a delivery failure through the payment portal. To do this, access the specific transaction and click on “Resend Callback.”