Disbursements API
The Disbursements API allows you to transfer funds from your AWDPay merchant balance to your customers' mobile wallets, partners, freelancers, or internal sub-accounts.
Use casesโ
- ๐ธ Customer refunds โ Refund a cancelled purchase
- ๐ท Service provider payments โ Pay delivery drivers, chauffeurs, freelancers
- ๐ Cashback & rewards โ Distribute winnings, bonuses or promotions
- ๐ข Internal transfers โ Fund sub-accounts or subsidiaries
- ๐ค Bulk transfers โ Pay salaries or commissions in batch
Quick navigationโ
Core featuresโ
| Feature | Description |
|---|---|
| Create withdrawal | Initiate a disbursement to a beneficiary |
| Check status | Track withdrawal status in real-time |
| List withdrawals | View paginated disbursement history |
| Statistics | Access aggregated metrics |
| Webhooks | Receive real-time notifications |
Supported countries & gatewaysโ
| Country | Providers | Gateway names | Types |
|---|---|---|---|
| ๐ธ๐ณ Senegal | Wave, Orange Money | wave-senegal, orange-money-sn | REDIRECT, OTP |
| ๐จ๐ฎ Ivory Coast | Orange Money, MTN, Wave, Moov | orange-money-ci, mtn-ci, wave-ci, moov-ci | OTP, DIRECT, REDIRECT |
| ๐ง๐ฏ Benin | Moov | moov-benin | DIRECT |
| ๐ฒ๐ฑ Mali | Orange Money, Moov | orange-money-mali, moov-mali | DIRECT |
| ๐ง๐ซ Burkina Faso | Orange Money | orange-money-burkina | OTP |
| ๐จ๐ฒ Cameroon | MTN | mtn-cm | DIRECT |
Dynamic gateways
Retrieve the exact list of enabled gateways with GET /api/gateways?flow=disbursement
Best practicesโ
Idempotenceโ
Use idempotency keys to avoid double disbursements during retries:
curl -X POST "https://app.awdpay.com/api/withdraws/initiate" \
-H "Authorization: Bearer $AWDPAY_TOKEN" \
-H "Idempotency-Key: payout-8831-attempt-1" \
-H "Content-Type: application/json" \
-d '{...}'
Rate limitsโ
- Respect operator limits (per transaction, daily, weekly)
- AWDPay returns
limit_exceededif a limit is reached - Check limits via
GET /api/gateways?flow=disbursement
OTP methodsโ
For OTP gateways (e.g. Orange Money SN):
- The beneficiary receives an OTP on their phone
- They must confirm the code to finalize the transfer
- Status changes from
pendingโprocessingโsuccess
Audit & reconciliationโ
- Always keep the AWDPay
referenceand yourorderReference - Use
metadatato store your internal identifiers - Regularly export your transactions via the dashboard
Next stepsโ
- Authentication โ Get your API token
- Environments โ Test in sandbox
- Error handling โ Handle failure cases
- Collections โ Also accept incoming payments