This section outlines the specifications for the document field used in the payout API, covering both Brazil and Colombia. Each document type has a specific format that must be validated using regular expressions (regex) in the ECMAScript (JavaScript) standard.

The table below presents the supported document types, their corresponding validation patterns, and examples of valid data by country:

Key typeRegular Expression (ECMAScript (JavaScript))ExampleCountry
CPF^[0-9]{11}$12345678901BR
CNPJ^[0-9]{14}$12345678901234BR
CC^[0-9]{10}$1234567890CO
CE^[A-Za-z]{1}[0-9]{6}$1234567CO
TI^3[0-9]{9}$123456CO
NIT^[0-9]{8,10}$12345678CO

🚧

CNPJ and NIT for legal entities

CNPJ in Brazil and NIT in Colombia are mandatory parameters for legal entities.