Skip to main content

Confirm Legal Entity Account Opening

Account opening occurs in two mandatory steps. First, a POST request sends preliminary data to reserve the account. Then, a webhook of type account_request.status_change with status pending_additional_data is triggered. In the second step, a PATCH request finalizes the opening, officially creating the account with the complementary information.

Request

ENDPOINT
/account_request/ACCOUNT_REQUEST_KEY/escrow
METHOD
PATCH

Path Params

FieldTypeDescriptionCharacters
account_request_keyuuidv4Unique identification key for the account reservation request.36

Escrow Account Opening

Request Body
{
"account_owner": {
"address": {
"city": "Caraguatatuba",
"complement": "complemento",
"neighborhood": "Jaraguazinho",
"number": "924",
"postal_code": "11675200",
"state": "SP",
"street": "Praça Jorge Vitório de Souza"
},
"cnae_code": "4721-1/02",
"company_document_number": "64669455000187",
"company_statute": "8b0d8c33-01c9-4cf5-a0fa-1d2a96f4b34d",
"company_type": "ltda",
"email": "marcos.alves@yopmail.com",
"foundation_date": "2017-09-16",
"name": "NOME DA EMPRESA",
"person_type": "legal",
"phone": {
"area_code": "19",
"country_code": "055",
"number": "988888888"
},
"trading_name": "Pães e Doces",
"monthly_revenue": 100000,
"company_representatives": [
{
"name": "Marcos Felipe Henrique Alves",
"address": {
"city": "Recife",
"complement": null,
"neighborhood": "Fundão",
"number": "137",
"postal_code": "52221110",
"state": "PE",
"street": "Rua Camapuã"
},
"email": "marcos.alves@yopmail.com",
"birth_date": "1972-02-02",
"individual_document_number": "08531309069",
"document_identification": "8b0d8c33-01c9-4cf5-a0fa-1d2a96f4b34d",
"document_identification_number": "339122924",
"is_pep": false,
"marital_status": "single",
"mother_name": "Sueli Isadora Alves",
"nationality": "Brasileira",
"person_type": "natural",
"phone": {
"area_code": "88",
"country_code": "055",
"number": "995924634"
}
}
]
},
"signed_contract": {
"document_key": "4d7f4e29-4b58-4905-9a69-b1f9215263f5",
"signatures": [
{
"authenticity": {
"timestamp": "1970-01-01T00:00:01.080100Z",
"facial_recognition_key": "79003de0-2590-455d-9b73-426b8ca284eb",
"lang": "-35.8916627",
"lat": "-7.2226067",
"ip_address": "177.51.1.186",
"session_id": "jdifj329842"
},
"signer": {
"name": "IVANILDO DE SENA LIMA",
"email": "ivanlima2604@gmail.com",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "999999999"
},
"document_number": "61766976204"
},
"authentication_type": "opt-in"
}
]
},
"destinations": [
{
"account_branch": "0001",
"account_number": "1234567",
"account_digit": "1",
"document_number": "04252012000123",
"name": "Conta do FIDC",
"ispb_number": "32402502",
"financial_institution_code_number": "329"
}
],
"additional_documents": ["b12c8807-8f3f-4083-9cb1-7cce641f3786"]
}

Request Body Params

FieldTypeDescriptionCharacters
account_owner *objectObject containing Account Holder informationaccount_owner Object
signed_contract *objectObject containing Account Holder informationsigned_contract Object
destinations *listList of destination accounts authorized to receive transfers.destinations Object
additional_documentslistList of additional/optional document IDs.Array of UUIDs

account_owner Object

FieldTypeDescriptionCharacters
address *objectAccount holder address.address Object
cnae_code *stringNational Classification of Economic Activities9
company_document_number *stringCNPJ14
company_statute uuidv4DOCUMENT_KEY of the company statute PDF (previously uploaded).36
company_type *enumeratorCompany typecompany_type Enumerators
email *stringAccount holder email.200
foundation_date *stringCompany founding date (format "YYYY-MM-DD").10
name *stringAccount holder company name.50
person_type *enumeratorIdentifier indicating whether the submitted object is a natural person or legal entity.person_type Enumerators
phone *objectObject with phone dataphone Object
trading_name *stringTrade name.200
company_representativeslistList of the company's legal representativescompany_representatives Object
monthly_revenue*numberCompany monthly revenue

signed_contract Object

FieldTypeDescriptionCharacters
document_key *uuidv4Unique identification key for the Account Opening Agreement or Escrow Account Contract document. (The DOCUMENT_KEY is returned in the response from the Document upload endpoint)36
signatures *listSignature data for the submitted document. Each item in the list corresponds to a document signer.signatures Object

destinations Object

FieldTypeDescriptionCharacters
account_branch *stringDestination account branch number.4
account_number *stringDestination account number.-
account_digit *stringDestination account number check digit.1
document_number *stringCPF/CNPJ of the destination account holder.-
name stringName/Company Name of the destination account holder.-
ispb_number *stringISPB (CNPJ base) of the destination account financial institution.8
financial_institution_code_number *stringDestination account financial institution code.3

company_representatives Object

FieldTypeDescriptionCharacters
name *stringCompany representative name100
address *objectCompany representative address objectaddress Object
email *stringCompany representative email254
birth_date *stringCompany representative birth date (format "YYYY-MM-DD")10
individual_document_number *stringCompany representative CPF (numbers only).11
document_identificationstringDOCUMENT_KEY of the person's photo identification document PDF (ID or Driver's License) (previously uploaded)36
document_identification_numberstringPerson's photo identification document number (ID or Driver's License)16
document_identification_typeenumPerson's photo identification document type (ID or Driver's License)document_identification_type Enumerators
is_pep *booleanDeclaration whether the person is PEP (http://www.portaldatransparencia.gov.br/download-de-dados/pep).-
marital_statusenumCompany representative marital statusmarital_status Enumerators
mother_name *stringCompany representative mother's name100
nationalitystringCompany representative nationality50
person_type *enumIdentifier indicating that the submitted object is a natural personperson_type Enumerators
phone *objectObject with company representative phone dataphone Object

address Object

This object, present in both natural person and legal entity objects, is a simple object to represent an address.

FieldDescriptionExampleCharacters
street *stringAddress street500
state *enumAddress state (with two uppercase characters)2
city *stringAddress city255
neighborhood *stringAddress neighborhood500
number *stringStreet number10
postal_code *stringAddress ZIP code (http://www.buscacep.correios.com.br/sistemas/buscacep/) (numbers only)8
complementstringAddress complement (free text)500

signed_contract Object

FieldTypeDescriptionCharacters
document_key *uuidv4Unique identification key for the Account Opening Agreement or Escrow Account Contract document. (The DOCUMENT_KEY is returned in the response from the Document upload endpoint)36
signatures *listSignature data for the submitted document. Each item in the list corresponds to a document signer.signatures Object

signatures Object

FieldTypeDescriptionCharacters
authenticity *objectSet of data that evidence the electronic signature performed by the signer.authenticity Object
signer *objectObject containing data of one of the document signers.signer Object
authentication_type *enumeratorSignature type. Will always be "opt-in""opt-in"

authenticity Object

FieldTypeDescriptionCharacters
timestamp *stringDate and time of the document signing moment.27
facial_recognition_key *uuidv4Unique identification key for the account holder's selfie photo.36
langstringLongitude coordinate of the signer's geolocation captured at the signing moment.-
latstringLatitude coordinate of the signer's geolocation captured at the signing moment.-
ip_addressstringSigner's device IP address.-
session_id *stringSigner's session ID at the signing moment.-

signer Object

FieldTypeDescriptionCharacters
name *stringSigner name.-
email *stringSigner email.-
phone *objectObject with signer phone dataphone Object
document_number *stringSigner CPF.11

phone Object

FieldDescriptionExampleMax Characters
country_code *stringPhone country code (https://ddi.guiamais.com.br/)3
area_code *stringPhone area code (https://ddd.guiamais.com.br/)2
number *stringPhone number (numbers only)10

person_type Enumerators

EnumDescription
naturalNatural person
legalLegal entity

document_identification_type Enumerators

EnumDescription
rgRG - General Registry
cnhCNH - National Driver's License

company_type Enumerators

EnumDescription
ltdaLimited Liability Company
saCorporation
micro_enterpriseMicro Enterprise
freelancerFreelancer
sa_openedPublicly Traded Corporation
sa_closedPrivately Held Corporation
se_ltdaLimited Business Partnership
se_cnGeneral Partnership
se_csLimited Partnership
se_caPartnership Limited by Shares
scpSilent Partnership
eiIndividual Entrepreneur
eseBranch Office in Brazil of Foreign Company
eeabBranch Office in Brazil of Argentine-Brazilian Binational Company
sspSimple Partnership
ss_ltdaLimited Simple Partnership
ss_cnSimple General Partnership
ss_csSimple Limited Partnership
eireli_neIndividual Limited Liability Company (Business Nature)
eireli_nsIndividual Limited Liability Company (Simple Nature)
eireliIndividual Limited Liability Company
meiIndividual Microentrepreneur
meMicro Enterprise
copCooperative
private_associationPrivate Association
associationAssociation
othersOthers

marital_status Enumerators

EnumDescription
singleSingle
marriedMarried
widowerWidowed
divorcedDivorced
separatedSeparated

Response

STATUS
201
Response Body
{
"account_key": "e48eb139-448e-43b9-9aee-df5f4b51158c"
}
Attention

The account_key will be the account's unique identification key. All account interactions will be performed through it.

STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description(ptbr)
translation
400QIT000001Bad RequestSchema ErrorSchema Error
404QIT000404Not FoundResource could not be foundResource not found