Skip to main content
Enable local rails for the currencies you want to accept in your Axra dashboard before calling this endpoint.

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 to instructions.url or pass successUrl when creating the collection.
Response

Handle the completion webhook

Fulfill orders when Axra delivers collection.completed, not when you return deposit instructions to the customer.
  1. Subscribe to collection.completed on your webhook endpoint (or include it in the endpoint event list).
  2. Verify X-Axra-Signature against the raw request body using your webhook secret. See Webhooks.
  3. Read data.object — the payload mirrors GET /business/collections/{id}.
  4. Mark the order paid and release goods or services only after status is completed.

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.
Each channel in the response includes 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 call POST /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:
These limits are set by our settlement partners per corridor and change without notice — always read them from /business/local-rails/channels rather than hard-coding values in your client.

Idempotency

Pass idempotencyKey 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, call GET /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.