Retrieve supported countries for KYC and transaction flows as part of the configuration data required to build onboarding and transaction flows.
Use Cases:
- Populate country dropdowns during customer onboarding
- Determine which countries are enabled for your merchant configuration
- Retrieve state or province options for countries that require region selection
- Filter valid options based on customer location
Response Structure: Each country includes:
id: Two-letter ISO country codedescription: Human-readable country namestates: List of supported states or provinces for that country, if applicable
Security
HMACAuth
- Mock serverhttps://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/countries
- Production environment serverhttps://api.banxa.com/eapi/v0/countries
- Sandbox environment serverhttps://api.banxa-sandbox.com/eapi/v0/countries
curl -i -X GET \
https://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/countries \
-H 'Authorization: YOUR_API_KEY_HERE'Successful response with supported countries and their states or provinces where applicable.
Array []
Two-letter ISO 3166-1 alpha-2 country code.
Example:"US"
Response
Example response showing countries with and without state or province lists.
[ { "id": "US", "description": "United States", "states": [ … ] }, { "id": "CA", "description": "Canada", "states": [ … ] }, { "id": "GB", "description": "United Kingdom", "states": [] } ]