MobileWalletPartner Gateway Docs
Api referenceMomo

Collect a payment (MoMo deposit)

Sends the customer a payment prompt on their phone. The response is usually GW-00-PENDING: the customer still has to approve. You get the final status by webhook, or by polling GET /api/v1/transactions/{orderId}. A successful deposit credits your balance.

POST
/api/v1/momo/deposit

Authorization

PartnerBasic
headerAuthorizationBasic <token>

HTTP Basic auth: your AppId as the username and your AppKey as the password. Sandbox and Live have separate credentials.

Header Parameters

Idempotency-Key?string

Optional. A unique key for this request (e.g. a UUID), up to 255 characters. Retrying with the same key and the same body returns the first response again (marked Idempotent-Replayed: true) instead of running the request twice. Kept 24 hours.

Request Body

  1. body

Asks a customer to pay you from their MTN MoMo wallet.

partnerOrderId*string

Your own unique reference for this payment (max 128 characters). Reusing it never creates a second payment: the gateway returns the existing one with duplicate: true.

msisdn*string

The paying customer's MTN MoMo number, in international format without +. They approve the payment on their phone. In Sandbox use a test number from GET /api/v1/sandbox/test-scenarios.

amount*number

Amount to collect, in whole XAF. Must be within your MOMO_DEPOSIT limits (GET /api/v1/configuration).

Formatdouble
currency?|

ISO 4217 currency code. Optional; defaults to XAF, the only currency MTN MoMo Cameroon supports.

Response Body

OK

  1. response
transactionId?string

The gateway's id for the transaction. Use it to trace it (GET /api/v1/partner/transactions/{transactionId}/trace).

Formatuuid
partnerOrderId?string

Your partnerOrderId for this transaction.

status?string

Public status code: GW-00-PENDING, GW-01-SUCCESS, GW-02-FAILED, GW-03-EXPIRED or GW-04-CANCELLED. See Errors and status codes.

failureCode?|

Why it didn't succeed, as a stable code (ACCOUNT_NOT_FOUND, INSUFFICIENT_FUNDS, CUSTOMER_DECLINED, ...). Null unless it failed, expired or was cancelled.

failureMessage?|

A short explanation of failureCode you can show the customer. Null unless it failed.

duplicate?boolean

true when this partnerOrderId already existed: the response describes that existing transaction and nothing new was created.

Example Request
curl -X POST 'https://gateway.staging.wallet2cash.com/api/v1/momo/deposit' \  -H 'Idempotency-Key: 8e03978e-40d5-43e8-bc93-6894a57f9324' \  -H 'Content-Type: application/json' \  -d '{  "partnerOrderId": "order-2026-10-30-001",  "msisdn": "237670000001",  "amount": 5000}'
Example Response
{  "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",  "partnerOrderId": "string",  "status": "string",  "failureCode": "string",  "failureMessage": "string",  "duplicate": true}