Countries Specifications
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.
Bangladesh
BD
USD/BDT
Côte d'Ivoire
CI
USD / XOF
Ghana
GH
USD / GHS
India
IN
USD / INR
Indonesia
ID
USD / IDR
Japan
JP
USD / JPY
Kenya
KE
USD / KES
Malaysia
MY
USD / MYR
Nigeria
NG
USD / NGN
Philippines
PH
USD / PHP
Singapore
SG
USD / SGD
South Africa
ZA
USD / ZAR
Thailand
TH
USD / THB
Uganda
UG
USD / UGX
Vietnam
VN
USD / VND
Documents validations
The document
sent must follow the validations for its respective document_type
described below.
Bangladesh
ID
Numeric. Length: 10 digits
Bangladesh
PASS
Length 9 digits, Starting with 2 alphanumerical character (i.e: AB1234567)
Bangladesh
DL (Driving license)
Length: 15, Starting with 2 alphanumerical characters, followed by 7 numerical digits, 1 alphanumerical character and finally 5 numerical (i.e: AB1234567C12345)
Cameroon
PASS
Numeric. Length between 9 and 11 inclusive
Cameroon
CI
Numeric. Length between 8 and 12 inclusive
Cameroon
DL (Driving License)
Numeric. Length between 8 and 10 inclusive
Côte d'Ivoire
ID
Length between 8 and 12 inclusive
Ghana
ID
Length between 8 and 12 inclusive
India
ID (PAN)
Length between 8 and 12 inclusive
India
DL (Driver's License)
Length between 15 and 16 inclusive
India
UID (Aadhar Card)
Numeric. Length 12
Indonesia
NIK / KTP
Numeric. Length between 14 and 18 inclusive
Japan
DL / ID / PASS / RD (Resident Registration Card)
Length between 9 and 12 inclusive
Kenya
ID
Length between 7 and 12 inclusive
Malaysia
ID
Numeric. Length between 10 and 14 inclusive
Nigeria
ID
Length between 9 and 12 inclusive
Philippines
PSN
Numeric. Length between 9 and 13 inclusive
Singapore
NRIC
Length 9
Singapore
PASS
Length 9
South Africa
ID
Numeric. Length between 9 and 14 inclusive
Tanzania
ID
Length between 8 and 20 inclusive
Thailand
ID
Numeric. Length between 10 and 14 inclusive
Uganda
RIC / NID
Numeric. Length between 11 and 15 inclusive
Vietnam
ID
Numeric. 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.
Country
Regex
Example
Cameroon
N/A
N/A
Côte d'Ivoire
N/A
N/A
Ghana
^[A-Za-z]{2}\d{3,5}$
AB1234
India
^\d{3}[\s-/]?\d{3}$
123-456
Japan
N/A
N/A
Indonesia
^\d{5}$
12345
Kenya
^\d{5}$
12345
Malaysia
^\d{5}$
12345
Nigeria
^\d{6}$
123456
Philippines
^\d{3,4}$
1234
Singapore
N/A
N/A
South Africa
^\d{4}$
2345
Tanzania
^\d{5}$
12345
Thailand
^\d{5}$
12345
Uganda
N/A
N/A
Vietnam
^\d{5}$
12345
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.
Emails validations
We suggest you using the following regex to validate email addresses on your end and prevent invalid email
errors.
Last updated