Transfers Quickstart
Make your first test Mobile Money payout in a few minutes.
8 min read
1. Enable secret keys
Transfers require the private key in Authorization
(authentication). For testing, use sk_test.….
2. Check the available balance
curl https://api.wajub.com/balance \
-H "Authorization: sk_test.xxxx"3. Send a test payout
Use a test number to simulate success and failure.
curl https://api.wajub.com/transfers \
-H "Authorization: sk_test.xxxx" \
-H "Idempotency-Key: idmp_test_01" \
-d '{ "amount": 5000, "currency": "XAF", "beneficiary": { "name": "Test Beneficiary", "channel": "cm.mtn", "phone": "237670000000" } }'4. Track the outcome
The payout is asynchronous. Listen for transfer.succeeded / transfer.failed via
Webhooks, or review past routing decisions in
Konsole → Routing Log.
Konsole·Request Inspector
POST
/transfers201690 msMTN MoMo14:02:11Request — Headers
AuthorizationBearer pk_live_••••••••••••a91f
Content-Typeapplication/json
X-Idempotency-Keyidmp_3pQ9…7Zk
Request — Body
{
"amount": 5000,
"currency": "XAF",
"beneficiary": { "name": "Test Beneficiary", "channel": "cm.mtn", "phone": "237670000000" }
}Response — 201
{
"status": "Created",
"transfer": { "id": "po_9Kdm2Lp", "status": "pending" }
}Orchestration
channelcm.mtn
provider.selectedMTN MoMo
idempotencyidmp_test_01