---
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`

## 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.net/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flipdish/flipdish-open-api-v1-0/revisions/a72c0465da74/schema)
