Bank rails and the fields each needs for a payout bank account

The bank rails (schemas) payouts can be paid on, with the fields details takes for each: types, required and conditionally-required fields, and allowed values. Filter with currency (e.g. AED) and/or schema (e.g. bank_mena). Use it to build the body of POST recipients: send the chosen schema as details.schema and the matching currency as currencyOut. 404 when bank transfers are not set up for the account; 503 when the banking partner cannot be reached (retry with backoff).

Returns the types of bank account ("schemas") you can be paid out to, and the exact fields each needs. Use it to build the form for Register a bank account.

Authentication

Requires a Product API bearer token: Authorization: Bearer <accessToken>.

Query parameters

NameTypeRequiredDescription
currencystringNoOnly schemas that can pay out this currency, for example EUR. Three letters, not case-sensitive.
schemastringNoOnly this schema, for example bank_sepa.

Leave both out to list every schema available to your account.

Response

200: returns data, an array of schemas.

FieldTypeDescription
schemastringThe schema name. Send it as details.schema when registering the bank account. Examples: bank_sepa, bank_uk, bank_us, bank_swift, bank_mena, bank_africa.
categorystringAlways bank for these schemas.
currenciesstring[]Currencies that can be paid out with this schema. Send one as currencyOut.
railsstring[]The payment rails for this schema, for example sepa, or ach and wire for bank_us. If there is more than one, send the chosen one as rail.
fieldsobject[]The fields to send inside details. See below.

Each entry in fields has:

PropertyMeaning
keyThe field name to use inside details, for example IBAN.
typeThe kind of value: string, numeric, email, iban, bic (a SWIFT/BIC code), sort_code, currency, iso3166_1_alpha3 (a 3-letter country code like DEU), financial_institution (pick one with List financial institutions), or object (a group of sub-fields).
requiredtrue when the field must always be sent.
requiredIfRequired only when another field has a given value. For example accountType=business means: required when accountType is business.
excludedUnlessMust be left out unless another field has a given value. For example firstName with excludedUnless: accountType=individual must not be sent for a business account.
oneOfThe only values allowed, for example ["individual", "business"].
fieldsFor type: object, the sub-fields, described the same way.
{
  "message": "Recipient schemas retrieved successfully",
  "data": [
    {
      "schema": "bank_sepa",
      "category": "bank",
      "currencies": ["EUR"],
      "rails": ["sepa"],
      "fields": [
        { "key": "accountType", "type": "string", "oneOf": ["individual", "business"], "required": true },
        { "key": "firstName", "type": "string", "requiredIf": "accountType=individual", "excludedUnless": "accountType=individual" },
        { "key": "lastName", "type": "string", "requiredIf": "accountType=individual", "excludedUnless": "accountType=individual" },
        { "key": "companyName", "type": "string", "requiredIf": "accountType=business", "excludedUnless": "accountType=business" },
        { "key": "IBAN", "type": "iban", "required": true }
      ]
    },
    {
      "schema": "bank_swift",
      "category": "bank",
      "currencies": ["EUR"],
      "rails": ["swift"],
      "fields": [
        { "key": "accountType", "type": "string", "oneOf": ["individual", "business"], "required": true },
        { "key": "companyName", "type": "string", "requiredIf": "accountType=business", "excludedUnless": "accountType=business" },
        { "key": "swiftCode", "type": "bic", "required": true },
        { "key": "swiftAccountNumber", "type": "string", "required": true },
        { "key": "currency", "type": "currency", "required": true },
        {
          "key": "beneficiaryAddress",
          "type": "object",
          "required": true,
          "fields": [
            { "key": "street_line_1", "type": "string", "required": true },
            { "key": "city", "type": "string", "required": true },
            { "key": "postal_code", "type": "string", "required": true },
            { "key": "country", "type": "iso3166_1_alpha3", "required": true }
          ]
        }
      ]
    }
  ]
}

(The example is shortened; the real response lists every field.)

Example: with bank_sepa for a company, send details as:

{
  "schema": "bank_sepa",
  "accountType": "business",
  "companyName": "Acme Payments GmbH",
  "IBAN": "DE89370400440532013000"
}

Errors

StatusWhen it happens
400currency is not 3 letters (currency must be a 3-letter currency code, e.g. AED), or schema is malformed or not available for payouts on your account.
401The access token is missing, invalid or expired.
404Bank transfers are not set up for your account, or the schema has no field definition.
503Our banking partner is temporarily unreachable. Try again shortly.
Query Params
string

Only the schemas this currency can be paid out on (3 letters, case-insensitive). Every payout schema available to your account when omitted.

string

Only this schema (the bank rail, as in details.schema). 400 when payouts are not available on it for your account (for this currency, when given) or it is not a bank schema; 404 when it has no field definition.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json