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.monerail.com/v1/operators?currency=XAF" \
  -H "Authorization: Bearer $MONERAIL_KEY"
Response200
{
  "object": "list",
  "url": "/v1/operators",
  "data": [
    {
      "object": "operator",
      "code": "MTN",
      "name": "MTN Mobile Money",
      "country": "CM",
      "currency": "XAF",
      "authorization": [
        "PIN"
      ],
      "ussd_code": "*126#"
    },
    {
      "object": "operator",
      "code": "ORANGE",
      "name": "Orange Money",
      "country": "CM",
      "currency": "XAF",
      "authorization": [
        "OTP"
      ],
      "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.

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.

curl "https://api.monerail.com/v1/banks?country=CM" \
  -H "Authorization: Bearer $MONERAIL_KEY"
Response200
{
  "object": "list",
  "url": "/v1/banks",
  "data": [
    {
      "object": "bank",
      "code": "10005",
      "name": "Afriland First Bank",
      "country": "CM"
    }
  ],
  "has_more": false
}