1
Create a payout quote
curl -X POST "https://api.business.saapay.cm/quotes/payout" \
-H "Content-Type: application/json" \
-H "X-Api-Key: bmx_pk_xxx" \
-H "X-Api-Secret: bmx_sk_xxx" \
-H "Idempotency-Key: quote_payout_001" \
-d '{"country_code":"CM","operator_code":"CM_MTN_MOMO","rail_type":"mobile_money","send_amount":"15000","send_currency":"XAF"}'
2
Create the payout
curl -X POST "https://api.business.saapay.cm/payouts" \
-H "Content-Type: application/json" \
-H "X-Api-Key: bmx_pk_xxx" \
-H "X-Api-Secret: bmx_sk_xxx" \
-H "Idempotency-Key: payout_001" \
-d '{
"quote_id": "33333333-3333-3333-3333-333333333333",
"customer_id": "22222222-2222-2222-2222-222222222222",
"payment_reason_text": "Merchant payout",
"recipient": {
"recipient_type": "individual",
"first_name": "Awa",
"last_name": "Ngu",
"phone": "+237670000000"
}
}'