---
title: "GET /api/v1.0/{appId}/bankaccounts/countries-field-definitions"
method: GET
path: "/api/v1.0/{appId}/bankaccounts/countries-field-definitions"
tags: ["BankAccount"]
---

# GET /api/v1.0/{appId}/bankaccounts/countries-field-definitions

`GET /api/v1.0/{appId}/bankaccounts/countries-field-definitions`

## Request

- Base URL: `https://api.flipdish.co`
- URL: `https://api.flipdish.co/api/v1.0/{appId}/bankaccounts/countries-field-definitions`
- Auth: OAuth 2 (implicit, authorization URL `https://api.flipdish.co/identity/connect/authorize`, scopes: `api`)

## Path parameters

- `appId` string, required

## Response `200`

OK

- RestApiArrayResultCountryWithAccountFieldsDefinitions: Rest api array result
  - `Data` CountryWithAccountFieldsDefinitions[], required: Generic data object.
    - `CountryCode` string: Country 2-letter ISO code
    - `DisplayName` string: Display name of the country
    - `SupportType` string: Country support type (supported-by-stripe-cc, supported-by-flipdish,not-supported)
    - `FieldDefinitions` AccountFieldDefinition[]: Bank Account field definitions
      - `Key` 'Iban' | 'AccountNumber' | 'RoutingNumber' | 'BSB' | 'BranchCode' | 'BankCode' | 'InstitutionNumber' | 'TransitNumber' | 'ClearingCode' | 'IfscCode' | 'Clabe' | 'SortCode' | 'Swift': Depending on the Key, the field's value will be stored in a different field in PayeeBankAccountData
      - `DisplayName` string: Display name of the field
      - `Type` 'None' | 'Iban': There are some fields that are of type known to the frontend (IBAN, Swift) -- for those frontend should use its own validation library, e.g. ibantools
      - `MinLength` integer, nullable: Minimum length of the field
      - `MaxLength` integer, nullable: Maximum length of the field
      - `DigitsOnly` boolean: Is the field digits (numeric) only
      - `Regex` string: Regex for validating the field (if specified)

## Other responses

- `400`: BadRequest
- `401`: Authentication has been denied for this request.
- `403`: Successful authentication, but authorization has been denied for this request.

---

[API](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/revisions/4d8c2b9e1c13?raw)
