Skip to main content
Use this recipe when a customer pays your business from a mobile money wallet.
1

Create a customer

curl -X POST "https://api.business.bumxpress.com/customers" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: bmx_pk_xxx" \
  -H "X-Api-Secret: bmx_sk_xxx" \
  -H "Idempotency-Key: customer_001" \
  -d '{"first_name":"Amina","last_name":"Ndongo","phone":"+237670000000","country_code":"CM"}'
2

Create a payin quote

curl -X POST "https://api.business.bumxpress.com/quotes/payin" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: bmx_pk_xxx" \
  -H "X-Api-Secret: bmx_sk_xxx" \
  -H "Idempotency-Key: quote_payin_001" \
  -d '{"country_code":"CM","operator_code":"CM_MTN_MOMO","rail_type":"mobile_money","send_amount":"10000","send_currency":"XAF"}'
3

Create the payin

curl -X POST "https://api.business.bumxpress.com/payins" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: bmx_pk_xxx" \
  -H "X-Api-Secret: bmx_sk_xxx" \
  -H "Idempotency-Key: payin_001" \
  -d '{
    "quote_id": "33333333-3333-3333-3333-333333333333",
    "customer_id": "22222222-2222-2222-2222-222222222222",
    "source": {
      "country_code": "CM",
      "rail_type": "mobile_money",
      "phone": "+237670000000",
      "operator_code": "CM_MTN_MOMO"
    }
  }'
Last modified on July 8, 2026