Skip to main content

Introduction

These public endpoints are available to all merchants and require no API key. They list the countries, providers and bank codes supported by HUB2.

List of countries

You can filter the countries by payment method with the optional method query parameter (for example ?method=mobile_money).
See the API reference for full details.
Use the country code (BF, SN, etc.) in the country fields of payments and transfers.

List of providers

You can filter the providers with the optional country, method and names query parameters (for example ?country=CI&method=mobile_money). Only enabled providers are returned. Pass names as a list: ?names[]=mtn or ?names=mtn&names=orange.
See the API reference for full details.
Use the provider name in the provider fields of payments and transfers. This field is case-insensitive.

List of bank codes

The bank codes available for bank transfers, grouped by country, are returned by the bank codes endpoint.

Payout coverage

The providers, countries and destination types available for payouts change over time. GET /data/providers is the source of truth: query it to know what you can use at any given moment instead of relying on a fixed list. Bank transfer payouts are available in Burkina Faso (BF), Benin (BJ), Guinea-Bissau (GW), Mali (ML), Niger (NE), Senegal (SN) and Togo (TG). HUB2 validates the destination account before sending a bank transfer: an account number that does not match the destination country, or whose structure is invalid, makes the transfer fail with the invalid_destination failure cause, and no request is sent to the bank.