Skip to main content
Learn how to validate the country’s specific details

Countries and currencies

  • The country codes are in ISO 3166-1 alpha-2 format.
  • The currencies are in ISO 4217 format.
CountryCountry code (ISO 3166-1 alpha-2 code)Currency code (ISO 4217)
ArgentinaARUSD / ARS
AustraliaAUUSD / AUS
BrazilBRUSD / BRL
BangladeshBDUSD / BDT
BoliviaBOUSD / BOB
CameroonCMUSD / XAF
CanadaCAUSD / CAD
ChileCLUSD / CLP
ChinaCNUSD / CNY
ColombiaCOUSD / COP
Costa RicaCRUSD / CRC
Côte d’IvoireCIUSD / XOF
Dominican RepublicDOUSD / DOP
EcuadorECUSD
EgyptEGUSD /EGP
El SalvadorSVUSD / SVC
GhanaGHUSD / GHS
GuatemalaGTUSD / GTQ
HondurasHNUSD / HNL
IndiaINUSD / INR
IndonesiaIDUSD / IDR
JapanJPUSD / JPY
KenyaKEUSD / KES
MalaysiaMYUSD / MYR
MexicoMXUSD / MXN
NicaraguaNIUSD / NIO
NigeriaNGUSD / NGN
PanamaPAUSD
PeruPEUSD / PEN
ParaguayPYUSD / PYG
PhilippinesPHUSD / PHP
SingaporeSGUSD / SGD
South AfricaZAUSD / ZAR
TanzaniaTZUSD / TZS
TurkeyTRUSD / TRY
ThailandTHUSD / THB
UgandaUGUSD / UGX
UruguayUYUSD / UYU
VenezuelaVEUSD / VES
VietnamVNUSD / VND

Documents validations

The document sent must follow the validations for its respective document_type described below.
CountryDocument typeValidation
ArgentinaDNINumeric. Length 7-9
ArgentinaCUILNumeric. Length between 7 and 9 inclusive or equal to 11
BangladeshIDNumeric. Length: 10 digits
BangladeshPASSLength 9 digits,
Starting with 2 alphanumerical character (i.e: AB1234567)
BangladeshDL (Driving license)Length: 15,
Starting with 2 alphanumerical characters, followed by 7 numerical digits, 1 alphanumerical character and finally 5 numerical (i.e: AB1234567C12345)
BrazilCPFNumeric. Length 11 (Validate verifier-digits)
BoliviaCINumeric. Length: 7
BoliviaCIEAlphanumeric. One character followed by 8 digits
BoliviaPASSAlphanumeric. One character followed by 6 digits
BoliviaNITNumeric. Length:12
CameroonPASSNumeric. Length between 9 and 11 inclusive
CameroonCINumeric. Length between 8 and 12 inclusive
CameroonDL (Driving License)Numeric. Length between 8 and 10 inclusive
CanadaDL (Driving License)Numeric and length between 6 and 9 inclusive or string between 10 and 15 inclusive
CanadaHC (Health Card)Numeric. Length 10
CanadaPASS (Passport)Length between 8 and 12 inclusive
ChileID / RUN / RUTLength 8 or 9
ChinaIDNumeric. Length between 3 and 20 inclusive
ColombiaCCNumeric. Length between 6 and 10 inclusive
ColombiaNITNumeric. Length between 8 and 15
ColombiaCENumeric. Length between 6 and 10 inclusive.
ColombiaPASSLength between 6 and 10 inclusive
ColombiaPPTLength between 6 and 10 inclusive
Costa RicaCILength: 9
Côte d’IvoireIDLength between 8 and 12 inclusive
Dominican RepublicCIENumeric. Length 11
EcuadorCCNumeric. Length between 9 and 10 inclusive
EcuadorDLNumeric. Length 10
EcuadorRUCNumeric. Length between 12 and 13 inclusive and ends with 001
EcuadorPASSAlphanumeric. Length between 8 and 13 inclusive and ends with 001
EgyptIDLength between 12 and 14
El SalvadorDUILength between 6 and 18 inclusive
GhanaIDLength between 8 and 12 inclusive
GuatemalaDPILength between 6 and 18 inclusive
IndiaID (PAN)Length between 8 and 12 inclusive
IndiaDL (Driver’s License)Length between 15 and 16 inclusive
IndiaUID (Aadhar Card)Numeric. Length 12
IndonesiaNIK / KTPNumeric. Length between 14 and 18 inclusive
JapanDL / ID / PASS / RD (Resident Registration Card)Length between 9 and 12 inclusive
KenyaIDLength between 7 and 12 inclusive
MalaysiaIDNumeric. Length between 10 and 14 inclusive
MexicoCURP / RFC / IFE / PASSLength between 7 and 18 inclusive
NicaraguaCILength between 8 and 18 inclusive
NigeriaIDLength between 9 and 12 inclusive
NigeriaID (NIN)Numeric length 11
NigeriaPASS (Passport)Alphanumeric length between 8 and 10
PanamaCIPNumeric. Length between 5 and 10 inclusive
PanamaPASSLength between 8 and 11 inclusive
ParaguayCRC / CRP / DNI / PASS / RUCLength Between 3 and 15 characters
ParaguayCICLength between 6 to 8 characters
PeruCE/CPPNumeric. Length 9
PeruDNINumeric. Length 8-9
PeruPASSNumeric. Length 12
PeruRUCLength 11
PhilippinesPSNNumeric. Length between 9 and 13 inclusive
SingaporeNRICLength 9
SingaporePASSLength 9
South AfricaIDNumeric. Length between 9 and 14 inclusive
TanzaniaIDLength between 8 and 20 inclusive
ThailandIDNumeric. Length between 10 and 14 inclusive
TurkeyDLNumeric Length between 5-8 digits
TurkeyTCKK
(Turkish National Identity Card (Kimlik Kartı)
Numeric length Between 5 to 20 digits
UgandaRIC / NIDNumeric. Length between 11 and 15 inclusive
UruguayCINumeric. Length between 6 and 8 inclusive
VenezuelaCINumeric. Length between 3 and 20 inclusive
VenezuelaRIFNumeric. Length between 3 and 20 inclusive
VietnamIDNumeric. Length between 9 and 13 inclusive

Postal code validations

The validation for the postal codes dependes up on the country sent. Make sure you validate them with the regex in the table below to avoid errors due to Invalid postal Code.

Phone numbers validations

We use the Google’s common library for parsing, formatting, and validating international phone numbers. Validating the phone numbers on your end could help preventing Invalid phone number errors. https://github.com/google/libphonenumber

Emails validations

We suggest you using the following regex to validate email addresses on your end and prevent invalid email errors.