Supported Countries
List of supported countries
| Country name. | Country code | Phone prefix | Currency | Status |
|---|---|---|---|---|
Retrieve the list of countries supported by SebPay, including their currencies and phone prefixes.
GET
https://newapi.sebpay.bj/api/v1/countriesReturns all active countries that have at least one configured payment operator.
Headers
X-Public-KeyRequired
stringpk_live_your_key
X-Secret-KeyRequired
stringsk_live_your_secret
Request Body
idRequired
stringUnique country identifier.
country_nameRequired
stringCountry name.
country_codeRequired
stringCountry code
prefixRequired
stringPhone prefix
currencyRequired
objectCurrency
curl -X GET https://newapi.sebpay.bj/api/v1/countries \ -H "X-Public-Key: pk_live_your_key" \ -H "X-Secret-Key: sk_live_your_secret"