Mobile Money

Accept mobile money payments across Africa with a single integration

Overview

Mobile money is the dominant consumer payment method across most of Africa. Customers hold a wallet balance with a mobile network operator (MTN, M-Pesa, Airtel, Orange, and others) and authorise payments from their handset using a PIN. CrissCross gives you a single integration that covers every supported operator in every supported country.

This page is the umbrella reference for the payment method: how a payment works, what you collect, sandbox testing, and the error reference. The available operators differ by country — see the per-country pages for the operator list and any country-specific notes. For the end-to-end Direct API request/response sequence, see the Direct API: Mobile Money guide.


How a mobile money payment works

Unlike a card payment, a mobile money payment is asynchronous: the customer approves the debit outside your checkout. Most operators use a handset prompt flow:

  1. The merchant initiates a payment with the customer’s provider and phone number.
  2. The operator sends a push or USSD prompt to the customer’s handset.
  3. The customer enters their PIN to approve (or rejects, or lets it time out).
  4. The operator confirms the outcome back to CrissCross, which notifies you via webhook and exposes the final state on the transaction.

While the customer is approving, the transaction sits in a pending state with authState.type: "pending_approval". For handset-prompt operators there is no POST /payment/authorize step — approval happens entirely on the handset, and you either poll or wait for the webhook. Some rails instead ask the customer for a one-time PIN inside your checkout (the transaction returns an authState of authMethodType: "fields" with a single otp field, submitted via POST /payment/authorize), and some authenticate on the operator’s own page via a redirect — both are covered below and can be exercised in sandbox.

Typical approval takes 10 – 30 seconds. The provider will eventually time the prompt out (usually around 60 – 120 seconds) if the customer takes no action.

Redirect-based operators (Wave)

Some operators approve through a redirect rather than a handset prompt — the customer is sent to the operator’s page (a QR code on desktop, an app deep link on mobile), approves there, and is redirected back. Wave (Francophone West Africa) works this way; see Wave for the full flow. Country pages note which of their operators use the redirect flow.


Supported countries

The available operators are determined by the payerDetails.location (ISO 3166 alpha-3) you set when creating a checkout session. GET /v1/payment/available-methods returns the exhaustive list for that country once a session exists — it is the source of truth at runtime and reflects any operator disabled for your account.

Pick your country for its operators and any country-specific notes:

CountryOperators
BeninMoov, Celtiis, Wave
Burkina FasoMoov, Orange, Wave
CameroonMTN, Orange
Côte d’IvoireMTN, Orange, Moov, Wave
GabonAirtel, Moov
GhanaMTN, AirtelTigo
KenyaM-Pesa, Airtel
NigeriaPaga, OPay, PalmPay
RwandaMTN, Airtel
SenegalOrange, Free, Wave
TanzaniaM-Pesa (Vodacom), Airtel, Tigo, Halotel
TogoMoov, Wave
UgandaMTN, Airtel
ZambiaAirtel, MTN, Zamtel

What you collect from the customer

For any mobile money payment, you need three things:

FieldWhere it goesNotes
OperatorpaymentDetails.providerThe operator slug for the payer’s country — see the country page. Present a country-filtered list; don’t ask the customer to scroll through operators that don’t exist in their country.
Mobile numberpaymentDetails.payerMobileNumberLocal or E.164 format. CrissCross normalises to E.164 using the payer’s location, so 0701234567 and +254701234567 both work for a Kenyan payer.
Full namepaymentDetails.payerFullNameSome operators require this; we always pass it through. Falls back to payerDetails.fullName from the session if omitted.

The country code itself comes from payerDetails.location on the session — an ISO 3166 alpha-3 code like KEN, NGA, ZAF. You don’t pass the country code on the payment request again.


Integration options

You can accept mobile money through any of the standard CrissCross integration paths:

  • Hosted Checkout — CrissCross renders the operator selector, mobile number field, and pending-approval screen. Lowest engineering cost.
  • CrissCross SDK — drop-in components that handle the input fields and approval polling for you.
  • Direct API: Mobile Money — full control. You collect the inputs, call POST /v1/payment, and either poll or rely on webhooks for completion.

The Direct API guide is the most concrete reference for what fields are sent and what responses look like.


Sandbox testing

Sandbox is on by default for every test merchant. Hit https://api.crisscross.money with sandbox credentials and any mobile money request will be routed to the sandbox connector — no real handset, no real operator, no money moves.

The sandbox decides the outcome based on the last digits of the mobile number you submit. The match is on the normalised E.164 form, so the country code doesn’t matter: 0970000005, +27970000005, and +254970000005 all trigger the same scenario when sent with a payerDetails.location of ZAF, KEN, etc. Any number not listed below succeeds normally.

Authorisation failures

These numbers cause the transaction to move from pending to a final failed state and emit a transaction.failed webhook. The authState.code lets you distinguish reasons.

Mobile numberFailure codeMeaning
0970000005PAYIN_INSUFFICIENT_FUNDSThe payer’s wallet has insufficient funds.
0970000006CUSTOMER_REJECTEDThe customer rejected the prompt on their handset.
0970000007TIMEOUTThe customer didn’t respond before the operator timed out.
0970000008ACCOUNT_NOT_ACTIVEThe mobile money account is not active.
0970000009PAYIN_PAYER_INVALID_ACCOUNTNo mobile money account exists for this number.
0970000010PAYIN_PAYER_LIMIT_EXCEEDEDThe payer’s daily limit would be exceeded.
0970000011MONTHLY_LIMIT_EXCEEDEDThe payer’s monthly limit would be exceeded.
0970000014TRANSACTION_NOT_FOUNDThe provider can’t locate the transaction.

System errors

These return an error authState rather than auth_failure. Retry semantics differ — see the Direct API guide for which can be retried.

Mobile numberError codeMeaning
0970000012INTERNAL_ERRORA CrissCross-side error. Not retryable on the same transaction.
0970000013DOWNSTREAM_ERRORThe provider returned an error. Retryable.

Transient errors (test your retry logic)

These numbers misbehave for the first ~2 seconds after the transaction is created, then succeed. They’re useful for verifying that your polling and retry code is resilient.

Mobile numberBehaviour
0970000015POST /v1/payment errors with DOWNSTREAM_ERROR for 2 seconds, then succeeds on the next attempt.
0970000016The transaction is created normally, but GET /v1/payment/{transactionId} errors with DOWNSTREAM_ERROR for 2 seconds before returning a normal authorised state.
0970000017The first execution returns auth_failure; if your account has a fallback processor configured for the same method, the fallback attempt succeeds.

Delayed confirmations

These numbers stay pending for a fixed window before confirming, simulating a customer who is slow to approve on their handset. Combined with a short session expiry, 0970000018 exercises the late-debit path — the confirmation arrives after the session has expired, triggering the automatic-refund flow.

Mobile numberBehaviour
0970000018Confirms after ~5 minutes.
0970000019Confirms after 30 seconds.
0970000020Confirms after 1 minute.

OTP authentication

Some rails ask the customer to confirm the payment with a one-time PIN inside your checkout rather than on their handset. Use this number to exercise that flow end to end:

Mobile numberBehaviour
0970000021OTP required.

The transaction returns an authState of authMethodType: "fields" asking for a single otp field, exactly as production OTP rails do. Submit the code via POST /payment/authorize (Hosted Checkout renders the input automatically):

  • 123456 — the payment is confirmed and completes shortly after.
  • Any other code — the payment fails with INVALID_PIN, mirroring production wrong-OTP behaviour (there is no re-prompt).
  • Submit nothing — the transaction expires when the session does, exercising the OTP-timeout path.

Redirect authentication

Some wallets authenticate the customer on the operator’s own page or app instead of an in-session OTP (see Redirect-based operators). These numbers return an authState of authMethodType: "redirect":

There are two kinds of redirect test number — interactive ones that send the customer to a sandbox provider simulation page with Approve and Decline buttons (standing in for the wallet’s real authorisation page), and timed ones where the provider page is never seen and the outcome resolves automatically:

Mobile numberBehaviour
0970000022Timed: the redirect url is your returnUrl (the customer round-trips straight back) and the payment completes automatically about 10 seconds after initiation. Works headlessly.
0970000023Interactive, with requiresTopLevel: true (deep-link wallets that must open outside an iframe): the customer decides on the provider page. Never auto-resolves.
0970000024Timed: like 0970000022 but the payment fails automatically after about 10 seconds. Works headlessly.
0970000025Interactive: the customer decides on the provider page. Never auto-resolves — ignoring the page is the abandoned-redirect path (the payment stays pending until the session expires).

On the interactive numbers the customer’s choice is the sole resolver, whichever integration type you use — there is no timer to race. After deciding, a Hosted Checkout customer is returned to the checkout, and a Direct API customer is sent to your session’s redirectUrl with a status query parameter appended (complete or failed) — provide one on session creation so the round-trip has somewhere to land.

The timed numbers exist for automated suites: no browser is required, and the outcome is delivered asynchronously through polling or the transaction.completed / transaction.failed webhook — the same way production wallet redirects resolve.

Successful payment

Any number not listed above completes the happy path: the response on POST /v1/payment is pending with authState.type: "pending_approval", and a subsequent GET /v1/payment/{transactionId} returns authorized with a processorReference like PROC-<transactionId>.


Failure and error reference

The full set of authState.code values you can see on a mobile money transaction:

CodeGroupDescription
PAYIN_INSUFFICIENT_FUNDSAuth failureWallet balance too low.
CUSTOMER_REJECTEDAuth failureCustomer declined on handset.
TIMEOUTAuth failureCustomer didn’t respond in time.
ACCOUNT_NOT_ACTIVEAuth failureWallet exists but is inactive / suspended.
PAYIN_PAYER_INVALID_ACCOUNTAuth failureNo wallet for this number on the chosen operator.
PAYIN_PAYER_LIMIT_EXCEEDEDAuth failureDaily transaction limit would be exceeded.
MONTHLY_LIMIT_EXCEEDEDAuth failureMonthly transaction limit would be exceeded.
TRANSACTION_NOT_FOUNDAuth failureProvider can’t locate the transaction (rare).
DECLINEDAuth failureCatch-all decline from the operator.
INVALID_PINAuth failureThe customer entered a wrong OTP / PIN.
INTERNAL_ERRORErrorCrissCross-side error.
DOWNSTREAM_ERRORErrorOperator returned an error. May be retryable.

Auth failures are terminal for the transaction — the customer would need to retry with a fresh payment. Errors marked as retryable in the response (authState.canRetry) can be re-executed against the same checkout session.


Next steps

  • Find your country in the supported countries table for its operators and notes.
  • Walk through the end-to-end API sequence in Direct API: Mobile Money.
  • Configure your webhook subscription to receive transaction.completed, transaction.failed, transaction.errored, transaction.cancelled, and transaction.expired — see Webhooks.