Docs
ENFR
Dashboard
API reference

Reference data

The operators and banks you can use, from the payment partner, for the mode of your key. Answers are cached for up to 10 minutes.

List operators

GET/v1/operators

Mobile money operators open for a currency, in every country of that currency, or in one country with country. authorization tells how customers approve: NONE, PIN (on the phone), OTP (code to send with authorize) or REDIRECT (payment page). Use code with the matching country when you create a collection or a payout.

Key roles: Every role

Query parameters
currencystringRequired
XAFXOFGNFCDFNGNKESGHSUGXTZSRWF
countrystringOptional

Optional ISO 3166-1 alpha-2 code, for example TD with XAF. Unknown pair: 400 country_unsupported.

Returns

Returns a list object whose data holds every operator, with has_more: false.

curl "https://api.monerails.com/v1/operators?currency=XAF" \
  -H "Authorization: Bearer $MONERAIL_KEY"
Response200
{
  "object": "list",
  "url": "/v1/operators",
  "data": [
    {
      "object": "operator",
      "code": "MTN",
      "name": "MTN MoMo",
      "country": "CM",
      "currency": "XAF",
      "authorization": [
        "NONE"
      ],
      "ussd_code": "*126#"
    },
    {
      "object": "operator",
      "code": "ORANGE",
      "name": "Orange Money",
      "country": "CM",
      "currency": "XAF",
      "authorization": [
        "NONE"
      ],
      "ussd_code": "#150*50#"
    }
  ],
  "has_more": false
}

List banks

GET/v1/banks

Banks you can pay out to in a country. Use code, unchanged, as recipient.bank_code. Bank payouts are offered in Ghana, Nigeria, Kenya, Uganda, Tanzania and Rwanda, currently being activated (400 country_unsupported until they open); elsewhere this call returns 400 bank_transfer_unsupported: pay out to a mobile money wallet.

Key roles: Every role

Query parameters
countrystringRequired

ISO 3166-1 alpha-2.

Returns

Returns a list object whose data holds every bank, with has_more: false.

Errors worth handling
HTTPCodeDescription
400country_unsupportedThis country is not open for this currency. See Coverage.
400bank_transfer_unsupportedBank payouts are not available in this country: pay to a mobile money wallet.
503provider_unavailableThis service is not open in this mode yet.
curl "https://api.monerails.com/v1/banks?country=CM" \
  -H "Authorization: Bearer $MONERAIL_KEY"
Response200
{
  "object": "list",
  "url": "/v1/banks",
  "data": [
    {
      "object": "bank",
      "code": "044",
      "name": "Access Bank",
      "country": "NG"
    }
  ],
  "has_more": false
}