Returns a list of supported countries and their offramp types
/api/offramp/countries
curl -L \
--url 'https://sandbox-api.fonbnk.com/api/offramp/countries' \
--header 'x-client-id: YOUR_API_KEY'
[
{
"countryIsoCode": "NG",
"currencyIsoCode": "NGN",
"name": "Nigeria",
"offrampTypes": [
{
"type": "bank",
"name": "Bank"
},
{
"type": "airtime",
"name": "Airtime"
}
]
},
{
"countryIsoCode": "KE",
"currencyIsoCode": "KES",
"name": "Kenya",
"offrampTypes": [
{
"type": "mobile_money",
"name": "M-PESA",
"carriers": [
{
"id": "618e43914f57e07d255ff353",
"name": "Safaricom Kenya"
}
]
},
{
"type": "airtime",
"name": "Airtime"
},
{
"type": "paybill",
"name": "Paybill"
}
]
},
{
"countryIsoCode": "UG",
"currencyIsoCode": "UGX",
"name": "Uganda",
"offrampTypes": [
{
"type": "mobile_money",
"name": "Mobile money"
},
{
"type": "airtime",
"name": "Airtime"
}
]
},
{
"countryIsoCode": "GH",
"currencyIsoCode": "GHS",
"name": "Ghana",
"offrampTypes": [
{
"type": "mobile_money",
"name": "Mobile money"
},
{
"type": "airtime",
"name": "Airtime"
}
]
},
{
"countryIsoCode": "ZA",
"currencyIsoCode": "ZAR",
"name": "South Africa",
"offrampTypes": [
{
"type": "bank",
"name": "Bank"
},
{
"type": "airtime",
"name": "Airtime"
}
]
},
{
"countryIsoCode": "TZ",
"currencyIsoCode": "TZS",
"name": "Tanzania",
"offrampTypes": [
{
"type": "mobile_money",
"name": "Mobile money"
},
{
"type": "airtime",
"name": "Airtime"
}
]
}
]
Successful response