POST /payins returns quickly with a pending resource. Poll GET /payins/{payin_id} or wait for a webhook to receive the final status.
Flow
1
Create or reuse a customer
Create a customer before initiating the collection.
2
Create a payin quote
Use
POST /quotes/payin with the country, operator, rail type, amount, and currency.3
Create the payin
Use the active
quote_id and the payer phone number. The quote already holds the customer, country, rail type, and operator.4
Wait for completion
Receive the final status by webhook or
GET /payins/{payin_id}.Customer actions
Some operators need more from your customer than approving a prompt: a code, a USSD dial, or a payment page. The route tells you before you create the payin (customer_action on GET /coverage and on the payin quote), and the payin tells you what to show once the provider accepted it (provider_action).
otp_beforeroutes need the customer’s code inotp_codeonPOST /payins. Without it the request fails withotp_required.provider_actionappears a few seconds after the payin is created. Wait for thepayin.action_requiredwebhook or pollGET /payins/{payin_id}.otp_afterroutes need the code sent toPOST /payins/{payin_id}/authorize.
Mobile money source
Fields inherited from the quote
You can still send these fields. When you do, they must match the quote, otherwise the API returns
400. Existing integrations that send every field keep working unchanged.
Amount limits
Each operator has a per-transaction minimum and maximum. For XAF and XOF mobile money the range is 200 to 400 000 per payin. Quotes outside the range fail with reasonamount_below_minimum or amount_above_maximum.
Your own reference
Sendmerchant_reference with your internal transaction ID and, optionally, merchant_metadata with up to 50 keys of your own data. Both are returned on the payin and in its webhooks. merchant_reference is unique per merchant; reusing it returns 409 with reason duplicate_merchant_reference.