Skip to content

Discover available providers

GET
/api/global/discovery/payment-world/country
curl -X GET "https://api.payhero.africa/api/global/discovery/payment-world/country?country=KE" \
-u "API_USERNAME:API_PASSWORD"

Returns the payment rails, providers and networks available for a given country, so you can decide which provider / provider_config to use.

country
required
string
Example
KE

ISO 3166-1 alpha-2 country code.

Available providers for the country.

Media typeapplication/json
object
rails
object
bank
boolean
card
boolean
momo
boolean
merchant_id
string
has_networks
boolean
country
string
currency
string
available_providers
object
bank
Array<string>
card
Array<string>
momo
Array<string>
provider_networks
object
key
additional properties
any
Example
{
"rails": {
"bank": true,
"card": false,
"momo": true
},
"merchant_id": "",
"has_networks": true,
"country": "KE",
"currency": "KES",
"available_providers": {
"bank": [
"i&m",
"absa",
"equity",
"dtb",
"standard_chartered",
"stanbic",
"kcb"
],
"card": [],
"momo": [
"bitlipa",
"yellowcard",
"m-pesa",
"mpesa_dc",
"sasapay"
]
}
}

Missing or invalid Basic auth credentials.

Media typeapplication/json
object
error_code
string
error_message
string
status_code
integer
Example
{
"error_code": "invalid_argument",
"error_message": "the transaction amount is insufficient as it wont cater for cost: (4.62)",
"status_code": 400
}