Document types

When requesting to create a session, if you use any of the payer, buyer or shipping structures, you must send one of the following codes in the documentType attribute depending on the country:

Important note

Depending on the type of document sent, the system will perform the validation based on the following regular expressions

Code
Country
Name
Validation pattern
CC
CO
Cédula de ciudadanía
/^[1-9][0-9]{3,9}$/
CE
CO
Cédula de extranjería
/^([a-zA-Z]{1,5})?[1-9][0-9]{3,7}$/
TI
CO
Tarjeta identidad
/^[1-9][0-9]{4,11}$/
NIT
CO
NIT
/^[1-9]\d{6,9}$/
RUT
CO
RUT
/^[1-9]\d{6,9}$/
PPN
GLOBAL
Pasaporte
/^[a-zA-Z0-9_]{4,16}$/
TAX
GLOBAL
TAX
/^[a-zA-Z0-9_]{4,16}$/
LIC
GLOBAL
LIC
/^[a-zA-Z0-9_]{4,16}$/
SSN
US
Social security number
/^\d{3}\d{2,3}\d{4}$/
CIP
PA
Cédula de identidad personal
/^(PE|E|N|[23456789](?:AV|PI)?|1[0123]?(?:AV|PI)?)-?(\d{1,4})-?(\d{1,6})$/
CPF
BR
Cadastro de Pessoas Físicas
/^\d{10,11}$/
CI
EC
Cédula de identidad
/^\d{10}$/
RUC
EC
Registro único de contribuyente
/^\d{13}$/
DNI
PE
DNI
/^\d{8}$/
CRCPF
CR
Persona Física Nacional
/^[1-9][0-9]{8}$/
CPJ
CR
Persona Jurídica
/^[1-9][0-9]{9}$/
DIMEX
CR
Cédula DIMEX
/^[1-9][0-9]{10,11}$/
DIDI
CR
Cédula DIDI
/^[1-9][0-9]{10,11}$/
CLRUT
CL
RUT
/^(\d{1,2}(?:\.?\d{1,3}){2}-[\dkK])$/

Ejemplo

{
    "name": "Erika",
    "surname": "Howe",
    "email": "[email protected]",
    "documentType": "CC",
    "document": "3572264088",
    "mobile": "3006108300"
}