API reference / Payments
get
/v2/providersPayment providers available for a corridor
- Operation
listProviders- Authentication
- API key
Which payment methods are viable for a payer in a given country, in a given currency, at a given amount. Card acquiring is close to nonexistent in Ethiopia and Somalia, so this is a corridor question rather than a global list.
Request
Parameters
countryqueryrequiredstringcurrencyqueryrequiredstringamount_centsqueryintegernullproduct_codequerystringResponses
200Providers, best fit first.
providersProvider[]required400The request body or query failed validation.
errorobjectrequired401No key, an unknown key, a revoked key, or a key whose tenant is not active. All four return an identical body on purpose: distinguishing them would let a caller discover which partners we have.
errorobjectrequiredExample
curl -X GET https://api.haavisa.com/v2/providers \
-H "Authorization: Bearer $HAAVISA_API_KEY"?country=<country>¤cy=<currency>More in Payments
Something unclear? The eligibility guide explains the model behind the answers; the errors guide covers the envelope.