Callback Configuration

For notification of payments, onboarding results, and other operation results, our API gateway communicates through callback to registered URL of the BaaS Channel.

Setup your webhook

It is easy to set up the webhook.

  1. Define the URL you wants Choice BaaS APIs to callback.

  2. Contact your account manager to provide the url with the format below:

Webhook
Callback URL
  1. Our tech team will add the callback configuration to system.

  2. The webhook will be active in 8-10 hours after step 3.

Template

Fields
Description
Data Type

requestId

Request ID

String

sender

Sender ID of choice baas

String

notificationType

Indicate the type of the notification. Please refer to the notication code definition.

String

locale

General parameter of the request body. Choice API will decide the language of the response message according to this field. Place the "en_KE" by default.

String

timestamp

General parameter of the request body. The millisecond of UNIX time sending the request.

Long

salt

String to obscure the signature for every single request.

String

signature

Signature of the request. For method to sign the request message, please refer to Authentication

String

params

Actual request parameters of the notification. Please refer to the specific notification for details.

Object

Response to Notification

Please return the string 'ok' when you receive the callback. The notification callback will stop after it has been sent 5 times or after receiving the 'ok' response.

Notifications

0001 - Personal Onboarding Result Notification

0002 - Transaction Result Notification

0003 - Balance Change Notification

0004 - Merchant Bulk Fund Transfer Result Notification

0005 - Wallet Account Upgrade Result Notification

0006 - SME Account Opening Result Notification

0007 - Utility Payment Result Notification

0008 - Bulk Transfer Result Notification

0012 - Multiple Account Opening Result Notification

0013 - Foreign Exchange Result Notification

0014 - Bulk Airtime Purchase Notification

0015 - File Job Notification

0016 - Interest Disbursement Notification

0019 - Account Closure Notification

0020 - OTP Verification Notification

circle-info

For the partner to receive this notification, whitelisting of the merchant must have been pre-arranged beforehand.

0021 - Account Status Change Notification

0022 - Merchant Balance Change Notification

0023 - Inter-bank Fund Transfer Result Notification

0024 - Profile Check Result Notification

0025 - Fixed Deposit Result Notification

0028 - CNY Transfer Notification

Last updated