MobileWalletPartner Gateway Docs

Getting started

From zero credentials to your first authenticated request.

1. Get onboarded

The Mobile Wallet team creates your partner record and your first credential, and invites you to the Partner Dashboard. You receive:

  • An AppId — your partner's public identifier.
  • An AppKey — shown in plaintext exactly once, at creation or rotation. It is hashed at rest (PBKDF2) from that point on — nobody, including the gateway's own operators, can retrieve it again. Store it securely; if you lose it, ask an admin to rotate your credential.
  • An environment — you start in Sandbox. Each environment has its own independent credential and IP whitelist, the same way a real payment provider gives you separate test/live key pairs.

Before Live: verify your business

Your Live key is issued once your business is verified (KYB). On the Partner Dashboard, open Verification and fill in your company details (legal name, RCCM and NIU for a Cameroonian company, registered address, director, what you do and how you'll use the gateway, expected volumes, settlement bank account, technical contact), upload your certificate of incorporation and your director's ID (plus any licence, AML policy or bank letter you have), then submit. We review it and email your account contact - with a note if anything needs changing. Sandbox works the whole time, so you can integrate while it's reviewed.

By default, no service is granted to a new partner. An admin grants each service (MOMO_DEPOSIT, MOMO_WITHDRAWAL, …) individually, along with per-service amount/daily limits.

2. Whitelist your IP (Live only)

Live fails closed — a partner with zero configured IP whitelist entries cannot make any Live request at all. Sandbox is open by default, so you can start testing immediately without waiting on a whitelist entry. Ask an admin to add your outbound IP (or CIDR range) before going live.

3. Make your first request

Every request authenticates with HTTP Basic auth — AppId as the username, AppKey as the password:

curl -u "$APP_ID:$APP_KEY" https://gateway.staging.wallet2cash.com/api/v1/services

This endpoint needs no service grant — it just lists the platform's service catalogue, and is a good way to confirm your credential works at all before trying anything that moves money.

A wrong AppId or a wrong AppKey fail with the exact same 401 — you can never tell from the response which half was wrong.

4. Try a Sandbox transaction

With a Sandbox credential, use one of the magic MSISDNs to get a deterministic outcome without touching any real provider:

curl -u "$APP_ID:$APP_KEY" -X POST https://gateway.staging.wallet2cash.com/api/v1/momo/deposit \
  -H "Content-Type: application/json" \
  -d '{
    "partnerOrderId": "my-first-deposit-001",
    "msisdn": "+237670000001",
    "amount": 1000,
    "currency": "XAF"
  }'

+237670000001 always resolves to an immediate success — see Sandbox testing for the full table of deterministic outcomes, including rejections, timeouts, and delayed resolution.

What happens after you send it

Scroll through the steps: the receipt on the right is what your system sees at each one.

  1. Step 1

    You create the deposit

    POST /api/v1/momo/deposit answers at once with GW-00-PENDING. Nothing has moved yet.

  2. Step 2

    The customer approves

    MTN sends a prompt to their phone. Your system waits; never retry a pending payment.

  3. Step 3

    The operator confirms

    The status becomes GW-01-SUCCESS. The gateway follows it with MTN, so you never have to poll.

  4. Step 4

    Your balance is credited

    Two ledger entries are posted, one on your side and one on the platform side, and they net to zero.

  5. Step 5

    Your webhook arrives

    Signed with your secret, retried for 24 hours if your server is down, and listed in GET /api/v1/events.

partnerOrderIdorder-1042

amount5 000 XAF

statusGW-00-PENDING

customerprompt sent

balance10 000 XAF

webhooknot sent

A pending payment is not a failed one. Wait for its final status before you retry, or the customer may be charged twice.

5. Read the status back

curl -u "$APP_ID:$APP_KEY" "https://gateway.staging.wallet2cash.com/api/v1/transactions/my-first-deposit-001"

From here: wire up a webhook so you don't have to poll, understand idempotency before you build real retry logic, and check the error reference for what every GW-xxx code means.