LogoLogo
Document ValidationsPayment Methods
  • Welcome to LimePay API Docs
  • Getting Started with Lime-Pay
  • API Documentation
    • Deposits API
      • Technical and Security Aspects
        • Calculating the Signature
      • Endpoints
        • Deposit Creation Endpoint
          • Notifications
        • Deposit Status Endpoint
        • Payment Methods Endpoint
        • Currency Exchange Endpoint
        • Refund Creation Endpoint
          • Notifications
        • Refund Status Endpoint
      • Payment Methods
        • ๐ŸŒAfrica
          • ๐Ÿ‡ง๐Ÿ‡ฏBenin
          • ๐Ÿ‡ง๐Ÿ‡ผBotswana
          • ๐Ÿ‡จ๐Ÿ‡ฒCameroon
          • ๐Ÿ‡จ๐Ÿ‡ฌCongo Brazzaville
          • ๐Ÿ‡จ๐Ÿ‡ฉCongo DRC
          • ๐Ÿ‡ช๐Ÿ‡ฌEgypt
          • ๐Ÿ‡ฌ๐Ÿ‡ฆGabon
          • ๐Ÿ‡ฌ๐Ÿ‡ญGhana
          • ๐Ÿ‡จ๐Ÿ‡ฎIvory coast
          • ๐Ÿ‡ฐ๐Ÿ‡ชKenya
          • ๐Ÿ‡ฒ๐Ÿ‡ผMalawi
          • ๐Ÿ‡ฒ๐Ÿ‡ฑMali
          • ๐Ÿ‡ณ๐Ÿ‡ฌNigeria
          • ๐Ÿ‡ท๐Ÿ‡ผRwanda
          • ๐Ÿ‡ฟ๐Ÿ‡ฆSouth Africa
          • ๐Ÿ‡น๐Ÿ‡ฟTanzania
          • ๐Ÿ‡น๐Ÿ‡ฌTogo
          • ๐Ÿ‡บ๐Ÿ‡ฌUganda
          • ๐Ÿ‡ฟ๐Ÿ‡ฒZambia
        • ๐ŸŒAsia
          • ๐Ÿ‡ง๐Ÿ‡ฉBangladesh
          • ๐Ÿ‡จ๐Ÿ‡ณChina
          • ๐Ÿ‡ญ๐Ÿ‡ฐHong Kong
          • ๐Ÿ‡ฎ๐Ÿ‡ณIndia
          • ๐Ÿ‡ฎ๐Ÿ‡ฉIndonesia
          • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
          • ๐Ÿ‡ฒ๐Ÿ‡พMalaysia
          • ๐Ÿ‡ต๐Ÿ‡ฐPakistan
          • ๐Ÿ‡น๐Ÿ‡ญThailand
          • ๐Ÿ‡น๐Ÿ‡ทTurkey
          • ๐Ÿ‡ป๐Ÿ‡ณVietnam
      • API Codes
    • Cashouts API
      • Technical and Security Aspects
        • Calculating the Payload-Signature
      • Endpoints
        • Cashout Creation Endpoint
          • Notifications
        • Cashout Status Endpoint
        • Cashout Update Status Endpoint
        • Cashout Cancellation Endpoint
        • Cashout Bank Codes
      • Countries Validations
        • ๐ŸŒAfrican Countries
          • ๐Ÿ‡ง๐Ÿ‡ผBotswana
          • ๐Ÿ‡จ๐Ÿ‡ฒCameroon
          • ๐Ÿ‡จ๐Ÿ‡ฌCongo Brazzaville
          • ๐Ÿ‡จ๐Ÿ‡ฉCongo DRC
          • ๐Ÿ‡ช๐Ÿ‡ฌEgypt
          • ๐Ÿ‡ฌ๐Ÿ‡ญGhana
          • ๐Ÿ‡ฐ๐Ÿ‡ชKenya
          • ๐Ÿ‡ฒ๐Ÿ‡ผMalawi
          • ๐Ÿ‡ณ๐Ÿ‡ฌNigeria
          • ๐Ÿ‡ท๐Ÿ‡ผRwanda
          • ๐Ÿ‡ฟ๐Ÿ‡ฆSouth Africa
          • ๐Ÿ‡ฟ๐Ÿ‡ฒZambia
          • ๐Ÿ‡ฌ๐Ÿ‡ฆGabon
        • ๐ŸŒAsian Countries
          • ๐Ÿ‡ง๐Ÿ‡ฉBangladesh
          • ๐Ÿ‡จ๐Ÿ‡ณChina
          • ๐Ÿ‡ฎ๐Ÿ‡ณIndia
          • ๐Ÿ‡ฎ๐Ÿ‡ฉIndonesia
          • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
          • ๐Ÿ‡ฒ๐Ÿ‡พMalaysia
          • ๐Ÿ‡น๐Ÿ‡ญThailand
          • ๐Ÿ‡น๐Ÿ‡ทTurkey
          • ๐Ÿ‡ป๐Ÿ‡ณVietnam
          • ๐Ÿ‡ต๐Ÿ‡ฐPakistan
      • API Codes
    • Reconciliation API
      • Technical and Security Aspects
      • Endpoints
      • API Codes
  • Knowledge Base
    • Countries Specifications
Powered by GitBook
On this page
  • Countries and currencies
  • Documents validations
  • Postal code validations
  • Phone numbers validations
  • Emails validations

Was this helpful?

  1. Knowledge Base

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.

Country
Country code (ISO 3166-1 alpha-2 code)
Currency code (ISO 4217)

Bangladesh

BD

USD/BDT

Cรดte d'Ivoire

CI

USD / XOF

Egypt

EG

USD/EGP

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

Turkey

TR

USD/TRY

Uganda

UG

USD / UGX

Vietnam

VN

USD / VND

Documents validations

The document sent must follow the validations for its respective document_type described below.

Country
Document type
Validation

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

Egypt

ID

Numeric. Length between 12 and 14

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

Nigeria

ID (NIN)

Numeric. Length 11

Nigeria

PASS (Passport)

Alphanumeric length between 8 and 10

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

Turkey

DL

Numeric Length between 5-8 digits

Turkey

TCKK (Turkish National Identity Card (Kimlik Kartฤฑ)

Numeric length Between 5 to 20 digits

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.

(?i)[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])

Last updated 2 months ago

Was this helpful?

GitHub - google/libphonenumber: Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.GitHub
Logo