Create a payout quote
curl -X POST "https://api.business.bumxpress.com/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":"25.00","send_currency":"USD"}'
Create the payout
curl -X POST "https://api.business.bumxpress.com/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": {
"country_code": "CM",
"rail_type": "mobile_money",
"phone": "+237670000000",
"operator_code": "CM_MTN_MOMO"
}
}'