API – Developers Docs API – Developers Docs
  • Addon Payments
  • POS integrated Payments
  • SpanishSwitch to Spanish
API – Developers Docs API – Developers Docs
API – Developers Docs
  • Addon Payments
  • POS integrated Payments
  • SpanishSwitch to Spanish
Addon Payments
  • Folder icon closed Folder open iconIntegrations
    • Start integrating
      • Welcome for CMS integrations
      • Introduction to integrations: Hosted, Host2Host and JavaScript
    • CMS Plugins
      • Prestashop
        • PrestaShop installation and set-up
        • Common mistakes with PrestaShop installation and set-up
        • Managing transactions with PrestaShop
      • WooCommerce
        • WooCommerce installation and set-up
        • Common mistakes with WooCommerce installation and set-up
        • Managing transactions with WooCommerce
      • Magento
        • Magento installation and set-up
        • Common mistakes with Magento installation and set-up
        • Managing transactions with Magento
      • Salesforce
        • Salesforce Commerce Cloud
    • Cards
      • Hosted Integration
      • Host2Host Integration
      • JavaScript Integration
      • PSD2 and 3DSv2
      • PCI DSS Certification
    • Complement your integration
      • Additional features
      • Managing notifications
      • Complement your JavaScript integration
      • Customizing the payment experience
      • Going Live (Switching to Production)
      • Encryption, signature and sending the request
      • Redirecting customer
    • Payment methods
      • Apple Pay
      • PayByBank
      • Bizum
      • PeX
      • Quix
    • Resources
      • Glossary
      • Payment solutions
      • Response codes
      • State and country codes
      • Currency codes
      • ID document type codes and validations
      • Test cards
    • Tools
      • Postman
      • SDKs
  • Folder icon closed Folder open iconBackOffice Portal
    • Pay by link guide
    • Search operations
    • Creating users
  • Folder icon closed Folder open iconFrequently Asked Questions

ID document type codes and validations

The following table shows the details for validating ID documents on the client API. Document data submitted must follow the characteristics given for each type of ID.

CountryDocument TypeValidation
ArgentinaDNINumerical. Length between 7 and 9
ArgentinaCUIT / CUILNumerical. Length between 7 and 9 or 11
BrazilCPFNumerical. Length 11 (Check verification digits)
BrazilCNPJNumerical. Length between 12 and 14 (Check verification digits)
CameroonPASSNumerical. Length between 9 and 11 inclusive
CameroonCINumerical. Length between 8 and 12 inclusive
CameroonDriving Licence (DL)Numerical. Length between 8 and 10 inclusive
CanadaDriving Licence (DL)Numerical and length between 6 and 9 inclusive or string between 10 and 15 inclusive
CanadaHC (Health Card)Numerical. Length 10
CanadaPASAPORTE (PASS)Length between 8 and 12 inclusive
ChinaIDLength between 3 and 20 inclusive
ChileID / RUN / RUTLength 8 or 9
ColombiaCCNumerical. Length between 6 and 10 inclusive
ColombiaNITNumerical. Length between 8 and 15
ColombiaCENumerical. Length between 6 and 10 inclusive
ColombiaPASSLength between 6 and 10 inclusive
ColombiaCE (for PEPNumerical. Length 15
Ivory CoastIDLength between 8 and 12 inclusive
Dominican RepublicCIENumerical. Length 11
EcuadorCCNumerical. Length between 9 and 10 inclusive
EcuadorRUCNumerical. Length between 12 and 13 and ending in 001
EcuadorPASSNumerical. Length between 12 and 13 and ending in 001
El SalvadorDUILength between 6 and 18 inclusive
GhanaIDLength between 8 and 12 inclusive
IndiaID (PAN)Length between 8 and 12 inclusive
IndiaDriving Licence (DL)Length between 15 and 16 inclusive
IndiaUID (Aadhar card)Numerical. Length 12
IndonesiaNIK / KTPNumerical. Length between 14 and 18 inclusive
JapanDriving Licence (DL) / ID / PASSPORT / RD (Resident Registration Card)Length between 9 and 12 inclusive
KenyaIDLength between 7 and 12 inclusive
MalaysiaIDNumerical. Length between 10 and 14 inclusive
MexicoCURP / RFC / IFE / PASSPORT / ResidencyLength between 8 and 18 inclusive
NicaraguaCILength between 8 and 18 inclusive
NigeriaIDLength between 9 and 12 inclusive
PanamaCIPNumerical. Length between 5 and 10 inclusive
PanamaPASSLength between 8 and 11 inclusive
ParaguayCIC (Civil Identity Card)Length between 6 and 8 inclusive
PeruCENumerical. Length 9
PeruDNINumerical. Length between 8 and 9
PeruPASSLength 12
PeruRUCLength 11
PhilippinesPSNNumerical. Length between 9 and 13 inclusive
South AfricaIDNumerical. Length between 9 and 14 inclusive
TanzaniaIDLength between 8 and 20 inclusive
ThailandIDNumerical. Length between 10 and 14 inclusive
UgandaRIC / NIDNumerical. Length between 11 and 15 inclusive
UruguayCINumerical. Length between 6 and 8 inclusive
VietnamIDNumerical. Length between 9 and 13 inclusive
Comparte este documento

ID document type codes and validations

Copiar el enlace

Clipboard Icon
Tabla de Contenidos

Products

  • Addon Payments
  • POS integrated Payments
  • Universal Pay

Sales

Tell us about your business so we can offer you the best solution.

Contact an expert
Contact an expert
Contact an expert
Contact an expert
Contact an expert

Technical Support

Already a client and need help? Contact us, we’re here for you.

Help

Partners

We work with the best partners for in-store and ecommerce solutions. Want to join us?

Join us

© Comercia Global Payments

Privacy policy
Exercising rights
Client information
Whistleblowing channel
Legal disclaimer
Cookies policy
Ask AI
Write your question. For example: How do I create a payment link?
SmartWiki may skip data. Verify the information or contact support.

SmartWiki, Powered by AI

API - Developers Docs
Manage cookie consent

To offer the best experiences, we use technologies such as cookies to store and/or access device information. Consent to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Failure to consent, or withdrawal of consent, may adversely affect certain features and functions.

Functional Always active
Storage or technical access is strictly necessary for the legitimate purpose of allowing the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
Technical storage or access is necessary for the legitimate purpose of storing preferences not requested by the subscriber or user.
Statistics
El almacenamiento o acceso técnico que es utilizado exclusivamente con fines estadísticos. Storage or technical access that is used exclusively for anonymous statistical purposes. Without a requirement, voluntary compliance by your Internet service provider, or additional records from a third party, information stored or retrieved solely for this purpose cannot be used to identify you.
Marketing
Storage or technical access is necessary to create user profiles to send advertising, or to track the user on a website or several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
See preferences
{title} {title} {title}

Consulta la documentación de las distintas secciones de integraciones:

Comienza a integrar

undraw_add_to_cart_re_wrdo 1 (1) (1)

Plugins para CMS

Complementa la integración

SDKs

Métodos de pago

Herramientas

Addon Payments

Consulta la documentación de Addon Payments. Aquí tienes las distintas secciones:

Integraciones

Consultas frecuentes

Portal Backoffice

Cyberpac

We are currently working on the English version of the Cyberpac documentation. You can view the Spanish version using the buttons below:

Canales BackOffice Portal

Plugins integration

Custom integrations

POS integrated Payments

Create a solution that will help you automate processes. You can even add payment processes on physical terminals.

Payment Integrated with Android POS

Payment Integrated with Smartphone POS

POS Data sheets

Addon Payments

Comercia Global Payments has several integration options so you can choose the most efficient one for you.

Integrations

Frequently Asked Questions

BackOffice Portal

Consult the documentation of the different integrations sections:​

Start integration

undraw_add_to_cart_re_wrdo 1 (1) (1)

CMS Plugins

Complement your integration

SDKs

Payment Methods

Tools