Create a collection
POST /business/collections
Create a collection and return deposit instructions for the customer. Amounts are in major local currency units (for example, 10000 NGN).
customer.name and customer.email are optional. Both are stored on the collection record for your own reconciliation and shown in your Axra dashboard; they are not forwarded to the underlying payment provider. customer.phone is required for mobile money — it is forwarded to the provider so the deposit prompt reaches the right number.
Bank transfer (NGN)
Response
Mobile money (KES — M-PESA)
customer.phone is required for MoMo collections.
Response
Instant EFT (ZAR — Ozow)
For hosted-page rails, redirect the customer toinstructions.url or pass successUrl when creating the collection.
Response
Handle the completion webhook
Fulfill orders when Axra deliverscollection.completed, not when you return deposit instructions to the customer.
- Subscribe to
collection.completedon your webhook endpoint (or include it in the endpoint event list). - Verify
X-Axra-Signatureagainst the raw request body using your webhook secret. See Webhooks. - Read
data.object— the payload mirrorsGET /business/collections/{id}. - Mark the order paid and release goods or services only after
statusiscompleted.
Channel discovery
List channels before creating a collection when your UI needs to show available rails dynamically, or to discover the per-channel minimum and maximum amounts.min and max in the local currency’s major units. min: 0 means no lower bound; max: 0 means no upper bound. Filter or sort on these in your UI so customers don’t see rails their amount doesn’t qualify for.
Minimums and maximums
Local-rail channels have provider-side minimum (and sometimes maximum) amounts. If you callPOST /business/collections with an amount that doesn’t fit any channel for the requested rail and country/currency, you get a 400 with the actual minimum surfaced:
/business/local-rails/channels rather than hard-coding values in your client.
Idempotency
PassidempotencyKey on create to dedupe retries within one hour. A duplicate key returns the original collection instead of minting a second virtual account.
Polling
Webhooks are the source of truth. If you must poll, callGET /business/collections/{id} about every five seconds while status is pending or processing. Use GET /business/collections/{id}/refresh to force a provider resync before giving up.
Status reference
Error codes
API Reference
Full endpoint documentation.
