Required Fields For Currencies

Currency

NB: Any regex with a - value indicates that it is required to be present. But is not ran through a regex check.

AED

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

aed

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

iban

/^([A-Z]{2}[ -]?[0-9]{2})(?=(?:[ -]?[A-Z0-9]){9,30}$)((?:[ -]?[A-Z0-9]{3,5}){2,7})([ -]?[A-Z0-9]{1,3})?$/

ARS

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

ars

beneficiary_type

Must be either business or individual

bank_name

-

account_number

/^[0-9]{22}$/

account_type

Must be either checking or savings

document_number

/^[0-9]{8,12}$/

AUD

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

aud

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

bsb_number

/^\d{3}-?\d{3}$/

account_number

/^\d{6,25}$/

CAD

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

cad

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

bank_code

branch_code

account_number

/^\d{6,25}$/

CHF

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

chf

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

iban

/^([A-Z]{2}[ -]?[0-9]{2})(?=(?:[ -]?[A-Z0-9]){9,30}$)((?:[ -]?[A-Z0-9]{3,5}){2,7})([ -]?[A-Z0-9]{1,3})?$/

CNY

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

cny

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

COP

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

cop

beneficiary_type

Must be either business or individual

bank_name

-

document_type

Must be one of the following values: national_id ruc passport resident_id

document_number

/^\d{1,15}$/

phone

-

account_number

/^\d{6,25}$/

account_type

Must be one of the following values: checking savings

EUR

FieldRegexNotes

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

eur

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

Only required if rails is set to swift

iban

/^([A-Z]{2}[ -]?[0-9]{2})(?=(?:[ -]?[A-Z0-9]){9,30}$)((?:[ -]?[A-Z0-9]{3,5}){2,7})([ -]?[A-Z0-9]{1,3})?$/

GBP

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

gbp

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

sort_code

/^\d{6}$/

iban

/^([A-Z]{2}[ -]?[0-9]{2})(?=(?:[ -]?[A-Z0-9]){9,30}$)((?:[ -]?[A-Z0-9]{3,5}){2,7})([ -]?[A-Z0-9]{1,3})?$/

HKD

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

hkd

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

bank_code

IDR

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

idr

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

bank_code

-

account_number

/^\d{6,25}$/

INR

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

inr

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

bank_code

-

account_number

/^\d{6,25}$/

ifsc

/^(?=.[0-9])(?=.[a-zA-Z])[a-zA-Z0-9]{11}$/

JPY

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

jpy

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

KRW

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

krw

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

bank_code

MYR

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

myr

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

NZD

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

nzd

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

ncc

PHP

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

php

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

PLN

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

pln

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

iban

/^([A-Z]{2}[ -]?[0-9]{2})(?=(?:[ -]?[A-Z0-9]){9,30}$)((?:[ -]?[A-Z0-9]{3,5}){2,7})([ -]?[A-Z0-9]{1,3})?$/

SGD

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

sgd

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

THB

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

thb

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

account_number

/^\d{6,25}$/

USD

FieldRegexNotes

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

usd

beneficiary_type

Must be either business or individual

bank_name

-

account_number

/^[\da-zA-Z]{6,25}$/

routing_number

/^\d{9}$/

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

Only required if rails is set to swift

iban

/^([A-Z]{2}[ -]?[0-9]{2})(?=(?:[ -]?[A-Z0-9]){9,30}$)((?:[ -]?[A-Z0-9]{3,5}){2,7})([ -]?[A-Z0-9]{1,3})?$/

Can be sent instead of account_number if account_number is not provided by the users bank. Common for swift.

XAF

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

xaf

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

rib_number

-

XOF

FieldRegex

address_line1

-

city

-

postal_code

-

country

ISO 3166-1 alpha-2 format

account_name

-

currency

xof

beneficiary_type

Must be either business or individual

bank_name

-

swift_bic

/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$/

rib_number

-

account_number

/^\d{6,25}$/

Last updated