v1

latestOpenAPI 3.0.02026-07-265892227.1 KB
Data

Get countries

Returns the list of countries where Hub2 is available

get/data/countries

Query parameters

method'mobile_money' | 'credit_card' | 'bank_transfer'
Example:mobile_money

The payment method type

Response

idstring required

Id of the country

codestring required

The code of the country. Follows the ISO 3166-1 alpha-2

namestring required

Name of the country

Example response

[
  {
    "id": "co_9emDKLlFsYRNWOPiG4pnK",
    "code": "SN",
    "name": "Sénégal"
  }
]