Payouts (Disbursements)
Send funds from your Sebpay wallet to mobile money recipients via the API.
Immediate deduction
When a payout is initiated, the full amount (amount + fees) is immediately debited from your wallet. If fails, the balance is automatically refunded and the transaction moves to rejected.
Initiate a payout
https://newapi.sebpay.bj/api/v1/payoutsInitiates a disbursement from your Sebpay wallet to a mobile money recipient. Processing is asynchronous — the final confirmation arrives via webhook.
Headers
Your public key (pk_...)
Your secret key (sk_...)
Request Body
Full name of the recipient (max 180 characters).
Phone number in international format without the (+).
Operator code (mtn) or slug (mtn-bj), as returned by GET /operators.
ISO country code of the recipient (e.g. BJ, CI, SN).
Amount the recipient will receive.
Currency code of the amount (e.g. XOF, EUR). 3 characters.
Your unique identifier. A value that was already used is rejected (422): no duplicate is created; retrieve the original transaction with GET /payouts/{external_reference}.
URL that will receive the final status notification (approved / rejected).
Internal reference or note (max 500 characters).
Response Body
Unique SebPay transaction identifier.
Initial status: always 'pending'.
Your external reference.
Amount sent to the recipient.
SebPay fees deducted from your wallet.
Total debited from your balance (amount + fee_amount).
Your merchant account currency.
curl -X POST https://newapi.sebpay.bj/api/v1/payouts \
-H "X-Public-Key: pk_live_your_key" \
-H "X-Secret-Key: sk_live_your_secret" \
-H "Content-Type: application/json" \
-d '{
"recipient_name": "Jean Dupont",
"phone": "22997000000",
"operator": "mtn",
"country": "BJ",
"amount": 5000,
"currency": "XOF",
"external_reference": "PAYOUT-8822",
"callback_url": "https://yoursite.com/webhook/sebpay"
}'Check payout status
https://newapi.sebpay.bj/api/v1/payouts/{id_or_reference}Retrieves the current status of a payout by its SebPay identifier or your external_reference.
Path Parameters
The SebPay identifier or your external_reference.
Headers
Your public key (pk_...)
Your secret key (sk_...)
Response Body
Unique SebPay transaction identifier.
Your external reference.
Current status: pending, approved, or rejected.
Transaction amount.
Applied fees.
Currency.
Creation date ISO 8601.
Last update date ISO 8601.
curl -X GET https://newapi.sebpay.bj/api/v1/payouts/PAYOUT-8822 \ -H "X-Public-Key: pk_live_your_key" \ -H "X-Secret-Key: sk_live_your_secret"
Asynchronous processing
The final status (approved or rejected) is delivered via webhook to your callback_url. Polling GET /payouts/{id} is a supplement, not the primary mechanism. On rejected, your balance is automatically refunded.