两步式开户
申请自由活动账户预留
Request
ENDPOINT
/account_request/checking MÉTODO
POSTRequest Body - 法人(PJ)账户持有人
{
"account_owner": {
"company_document_number": "64669455000187",
"email": "marcos.alves@yopmail.com",
"foundation_date": "2017-09-16",
"name": "NOME DA EMPRESA"
}
}
Request Body - 自然人(PF)账户持有人
{
"account_owner": {
"document_number": "64669455000187",
"email": "marcos.alves@yopmail.com",
"birthdate": "2017-09-16",
"name": "NOME DA EMPRESA"
}
}
申请 Escrow 账户预留
ENDPOINT
/account_request/escrow MÉTODO
POSTRequest Body - 法人(PJ)账户持有人
{
"account_owner": {
"company_document_number": "64669455000187",
"email": "marcos.alves@yopmail.com",
"foundation_date": "2017-09-16",
"name": "NOME DA EMPRESA"
}
}
Request Body - 自然人(PF)账户持有人
{
"account_owner": {
"document_number": "64669455000187",
"email": "marcos.alves@yopmail.com",
"birthdate": "2017-09-16",
"name": "NOME DA EMPRESA"
}
}
法人(PJ)账户持有人 Body Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| account_owner | object | 账户法人持有人的简化信息 | PJ account_owner 对象 PF account_owner 对象 |
申请预留 PJ 的 account_owner 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| company_document_number * | string | 账户持有人 CNPJ。 | 14 |
| email * | string | 公司联系邮箱。 | 200 |
| foundation_date | string | 公司成立日期。 | 10 |
| name * | string | 账户持有公司注册名称。 | 50 |
申请预留 PF 的 account_owner 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| document_number * | string | 账户持有人 CPF。 | 14 |
| email * | string | 公司联系邮箱。 | 200 |
| birthdate | string | 出生日期。 | 10 |
| name * | string | 账户持有公司注册名称。 | 50 |
Response
STATUS
201Response Body
{
"account_info": {
"account_branch": "0001",
"account_digit": "3",
"account_number": "1638634"
},
"account_request_key": "e48eb139-448e-43b9-9aee-df5f4b51158c",
"account_request_status": "pending_kyc_analysis"
}
KYC 审批 Webhook
Webhook Body
{
"data": {
"account_info": {
"account_digit": "3",
"account_branch": "0001",
"account_number": "1638634"
},
"account_request_key": "dc575950-dcce-48e1-99a6-5fb0ada63d86"
},
"event_datetime": "2022-09-02 22:39:39",
"key": "dc575950-dcce-48e1-99a6-5fb0ada63d86",
"status": "pending_additional_data",
"webhook_type": "account_request.status_change"
}
account_request_status 枚举值
| 枚举值 | 描述 |
|---|---|
| pending_kyc_analysis | 待 KYC 审批 |
| pending_additional_data | 待补充信息 |
| rejected | 开户被拒 |
开立自由活动账户
Request
ENDPOINT
/account_request/ACCOUNT_REQUEST_KEY/checking MÉTODO
PATCHRequest Body - 法人(PJ)账户持有人
{
"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",
"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,
"final_beneficiary": true,
"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"
}
]
},
"additional_documents": ["b12c8807-8f3f-4083-9cb1-7cce641f3786"]
}
Request Body - 自然人(PF)账户持有人
{
"account_owner": {
"address": {
"street": "Av. Brigadeiro Faria Lima",
"state": "SP",
"city": "São Paulo",
"neighborhood": "Jardim Paulistano",
"number": "2391",
"postal_code": "01452905",
"complement": "1o. Andar"
},
"birth_date": "1990-05-06",
"document_identification": "3c24579b-9810-4fa6-9b08-fe67d237160a",
"email": "ivanlima2604@gmail.com",
"individual_document_number": "34651104630",
"is_pep": false,
"mother_name": "Dona Maria Mariane",
"name": "Nome do Titular da Conta",
"nationality": "nationality",
"person_type": "natural",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "999999999"
},
"proof_of_residence": "780456bd-1eec-4e5f-82c0-d8c3921497ea"
},
"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": "Nome do Titular da Conta",
"email": "ivanlima2604@gmail.com",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "999999999"
},
"document_number": "61766976204"
},
"authentication_type": "opt-in"
}
]
},
"additional_documents": ["b12c8807-8f3f-4083-9cb1-7cce641f3786"]
}
Response
STATUS
201Response Body
{
"account_key": "e48eb139-448e-43b9-9aee-df5f4b51158c"
}
ACCOUNT_KEY
account_key 将是账户的唯一识别密钥。所有与账户的交互都将通过它进行。