Hosted checkout is the fastest way to accept local rails when you do not need to render deposit instructions yourself. Create a checkout session, send the customer to pay.useaxra.com, and let Axra show the rail picker and payment UI.Documentation Index
Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Create a checkout session
POST /business/payment/session
Set currency to any supported local-rail currency (see Local payment methods for the full list). Card checkout uses the same endpoint with usd or other card currencies.
2. Redirect the customer
Send the customer’s browser tocheckoutUrl from the session response. The session id in the URL is the auth context for the session-scoped local-rail endpoints.
3. Customer pays via local rail
On pay.useaxra.com the customer chooses bank transfer, mobile money, or instant EFT when the session currency supports it. Axra calls the session-bound local-rail endpoints under the hood:GET /checkout/sessions/{sessionId}/local-rail/channelsPOST /checkout/sessions/{sessionId}/local-rail/initiateGET /checkout/sessions/{sessionId}/local-rail/status
4. Receive webhook + redirect
When the collection completes, Axra redirects the customer to yoursuccessUrl and sends payment_link.session.completed to your webhook URL. Treat the webhook as authoritative — the redirect alone does not guarantee settlement.
How currencies map to rails
| Session currency | Country | Rails shown in checkout |
|---|---|---|
ngn | Nigeria | Bank transfer (instant) |
zar | South Africa | Instant EFT |
kes | Kenya | Mobile money (M-PESA) |
tzs | Tanzania | Mobile money, bank |
ugx | Uganda | Mobile money |
rwf | Rwanda | Mobile money |
mwk | Malawi | Mobile money |
zmw | Zambia | Mobile money, bank |
bwp | Botswana | Mobile money, bank |
xaf | Cameroon | Mobile money |
