Skip to main content

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โ€‹

FeatureDescription
Create withdrawalInitiate a disbursement to a beneficiary
Check statusTrack withdrawal status in real-time
List withdrawalsView paginated disbursement history
StatisticsAccess aggregated metrics
WebhooksReceive real-time notifications

Supported countries & gatewaysโ€‹

CountryProvidersGateway namesTypes
๐Ÿ‡ธ๐Ÿ‡ณ SenegalWave, Orange Moneywave-senegal, orange-money-snREDIRECT, OTP
๐Ÿ‡จ๐Ÿ‡ฎ Ivory CoastOrange Money, MTN, Wave, Moovorange-money-ci, mtn-ci, wave-ci, moov-ciOTP, DIRECT, REDIRECT
๐Ÿ‡ง๐Ÿ‡ฏ BeninMoovmoov-beninDIRECT
๐Ÿ‡ฒ๐Ÿ‡ฑ MaliOrange Money, Moovorange-money-mali, moov-maliDIRECT
๐Ÿ‡ง๐Ÿ‡ซ Burkina FasoOrange Moneyorange-money-burkinaOTP
๐Ÿ‡จ๐Ÿ‡ฒ CameroonMTNmtn-cmDIRECT
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_exceeded if a limit is reached
  • Check limits via GET /api/gateways?flow=disbursement

OTP methodsโ€‹

For OTP gateways (e.g. Orange Money SN):

  1. The beneficiary receives an OTP on their phone
  2. They must confirm the code to finalize the transfer
  3. Status changes from pending โ†’ processing โ†’ success

Audit & reconciliationโ€‹

  • Always keep the AWDPay reference and your orderReference
  • Use metadata to store your internal identifiers
  • Regularly export your transactions via the dashboard

Next stepsโ€‹

  1. Authentication โ†’ Get your API token
  2. Environments โ†’ Test in sandbox
  3. Error handling โ†’ Handle failure cases
  4. Collections โ†’ Also accept incoming payments