Skip to content
Loading keys…
Authorization<token>

A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.

In: header

Query Parameters

localestring

`en` (default) or `fr`, for `name`.

region"Africa" | "Americas" | "Antarctic" | "Asia" | "Europe" | "Oceania"

Only the countries of this region, in any case. Anything else is a 422.

"Africa""Americas""Antarctic""Asia""Europe""Oceania"

Response Body

application/json

curl -X GET "https://api.wajub.com/countries?locale=fr&region=Africa"
GET
/countries
{  "code": 200,  "status": "OK",  "message": "Countries retrieved",  "items": [    {      "code": "CM",      "alpha3": "CMR",      "name": "Cameroon",      "phone_code": "+237",      "currency_code": "XAF",      "flag": "🇨🇲",      "region": "Africa"    }  ]}

Countries list

What did you think of this content?