REST APIFiatBank Accounts

GET

This endpoint serves two purposes:

  1. When called without a countryCode, it returns a list of all supported countries with their codes and full names
  2. When called with a specific countryCode, it returns the required address fields and format for that country

This information is used to dynamically build address collection forms with the appropriate fields for each country.

Query Params

  • countryCode string
    Optional ISO 3166-1 alpha-2 country code. If not provided, all supported countries will be returned.

Responses

200
OK

Response Body

ONE OF

  • countries map of strings required
    Dictionary mapping ISO 3166-1 alpha-2 country codes to their full country names
    countries object
    • <key> string
      Full country name
400
Bad Request

Response Body

object

  • errorName string required
  • error string required
401
Unauthorized

Response Body

object

  • errorName string required
  • error string required
403
Forbidden

Response Body

object

  • errorName string required
  • error string required
404
Not Found

Response Body

object

  • errorName string required
  • error string required
500
Internal Server Error

Response Body

object

  • errorName string required
  • error string required