开立企业账户
账户开立分两个必要步骤。首先,通过 POST 请求发送初步数据以预留账户。随后,系统触发状态为 pending_additional_data 的 account_request.status_change 类型 webhook。在第二步中,通过 PATCH 请求完成账户开立,以补充信息正式确认账户。
Request
ENDPOINT
/account_request/checkingMÉTODO
POSTPath Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_request_key | uuidv4 | 账户预留请求的唯一标识键。 | 36 |
开立自由流动账户
Request Body
{
"account_owner": {
"phone": {
"country_code": "55",
"area_code": "11",
"number": "999999999"
},
"email": "email@teste.com.br",
"person_type": "legal",
"name": "Empresa de Teste",
"address": {
"street": "Rua Abrahão Calux",
"state": "SP",
"city": "São Paulo",
"neighborhood": "Vila Teste",
"number": "116",
"postal_code": "04286100",
"complement": "Complemento"
},
"trading_name": "Nome fantasia",
"company_document_number": "99999999000130",
"cnae_code": "4721102",
"foundation_date": "1980-07-11",
"company_statute": "99999999-01c9-4cf5-a0fa-1d2a96f4b34d",
"company_representatives": [
{
"name": "Nome do Socio",
"individual_document_number": "99999999999",
"document_identification_number": "999999999",
"birth_date": "1989-09-01",
"mother_name": "Maria da Silva",
"email": "teste@gmail.com",
"is_pep": false,
"person_type": "natural",
"nationality": "brasileiro(a)",
"marital_status": "single",
"document_identification": "88888-0ddf-4932-874f-9231794963da",
"phone": {
"country_code": "055",
"area_code": "19",
"number": "999999999"
},
"address": {
"street": "Rua dos Limões",
"neighborhood": "Vila Moinho Velho",
"city": "São Paulo",
"state": "SP",
"postal_code": "04286100",
"number": "116",
"complement": "complemento"
}
}
],
"company_type": "ltda"
},
"signed_contract": {
"document_key": "57cda530-d469-4427-a9d4-2523a510dee1",
"signatures": [
{
"authenticity": {
"timestamp": "2024-05-10T14:15:03.114895Z",
"ip_address": "192168161",
"lang": "-35.8916627",
"lat": "-7.2226067",
"session_id": "54b8e3cf-15de-41e5-9305-0ecf059d6e2a",
"facial_recognition_key": "c367a540-2e7e-4373-a167-61bc43c30dc1"
},
"signer": {
"name": "Nome do assinante",
"email": "teste@gmail.com.br",
"phone": {
"country_code": "55",
"area_code": "11",
"number": "999999999"
},
"document_number": "99999999"
},
"authentication_type": "opt-in"
}
]
},
"additional_documents": [
"61f2a65e-0ddf-4932-874f-9231794963da"
]
}
Request Body 参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| account_owner * | object | 账户所有者对象 | account_owner 对象 |
| allowed_user * | object | 与账户关联的用户。 | allowed_user 对象 |
| account_manager | object | 将通过 API 操作账户的合作集成商数据。 | account_manager 对象 |
signed_contract * | object | 包含 合同签署信息的对象。 | signed_contract 对象 |
account_owner 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| address * | object | 账户持有人地址对象 | address 对象 |
| cnae_code * | string | 国家经济活动分类代码 | 9 |
| company_document_number * | string | CNPJ | 14 |
| company_statute * | string | 公司章程 PDF 的 DOCUMENT_KEY(预先上传)。 | 36 |
| company_type | enum | 公司类型 | company_type 枚举值 |
| company_representatives * | list | 公司法定代表人列表 | company_representatives 对象 |
| email * | string | 公司机构电子邮件。 | 254 |
| foundation_date * | string | 公司成立日期(格式 "YYYY-MM-DD")。 | 10 |
| name * | string | 公司法定名称。 | 100 |
| person_type * | enum | 标识所提交对象为法人。PJ 对象始终应包含值 "legal"。 | person_type 枚举值 |
| phone * | object | 账户持有人电话。 | phone 对象 |
| trading_name * | string | 商业名称。 | 200 |
company_representatives 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| name * | string | 公司代表姓名 | 100 |
| address * | object | 公司代表地址对象 | address 对象 |
| email * | string | 公司代表电子邮件 | 254 |
| birth_date * | string | 公司代表出生日期(格式 "YYYY-MM-DD") | 10 |
| individual_document_number * | string | 公司代表 CPF(仅数字)。 | 11 |
| document_identification | string | 附有照片的身份证明文件(RG 或 CNH)PDF 的 DOCUMENT_KEY(预先上传) | 36 |
| document_identification_number | string | 附有照片的身份证明文件号码(RG 或 CNH) | 16 |
| document_identification_type | enum | 附有照片的身份证明文件类型(RG 或 CNH) | document_identification_type 枚举值 |
| is_pep * | boolean | 声明该人是否为 PEP(http://www.portaldatransparencia.gov.br/download-de-dados/pep)。 | - |
| marital_status | enum | 公司代表婚姻状况 | marital status 枚举值 |
| mother_name * | string | 公司代表母亲姓名 | 100 |
| nationality | string | 公司代表国籍 | 50 |
| person_type * | enum | 标识所提交对象为自然人 | person_type 枚举值 |
| phone * | object | 公司代表电话数据对象 | phone 对象 |
address 对象
此对象出现在 PF 和 PJ 对象中,用于表示地址信息。
| 字段 | 描述 | 示例 | 字符数 |
|---|---|---|---|
| street * | string | 街道地址 | 500 |
| state * | enum | 州(两位大写字母) | 2 |
| city * | string | 城市 | 255 |
| neighborhood * | string | 区/社区 | 500 |
| number * | string | 门牌号 | 10 |
| postal_code * | string | 邮政编码(http://www.buscacep.correios.com.br/sistemas/buscacep/)(仅数字) | 8 |
| complement | string | 地址补充信息(自由文本) | 500 |
signed_contract 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| document_key * | uuidv4 | 账户开立条款或托管账户合同文件的唯一标识键。(DOCUMENT_KEY 由文件上传端点的响应返回) | 36 |
| signatures * | list | 所提交文件的签名数据。列表中每个项目对应文件的一个签署人。 | signatures 对象 |
signatures 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| authenticity * | object | 证明签署人进行电子签名的数据集合。 | authenticity 对象 |
| signer * | object | 包含文件某一签署人数据的对象。 | signer 对象 |
| authentication_type * | enumerator | 签 名类型。始终为 "opt-in" | "opt-in" |
authenticity 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| timestamp * | string | 文件签署时的日期和时间。 | 27 |
| facial_recognition_key | uuidv4 | 账户持有人自拍照片的唯一标识键。(DOCUMENT_KEY 由文件上传端点的响应返回) | 36 |
| lang | string | 签署时捕获的签署人地理位置经度坐标。 | - |
| lat | string | 签署时捕获的签署人地理位置纬度坐标。 | - |
| ip_address | string | 签署人设备的 IP 地址。 | - |
| session_id | string | 签署时签署人的会话 ID。 | - |
signer 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
| name * | string | 签署人姓名。 | - |
| email * | string | 签署人电子邮件。 | - |
| phone * | object | 签署人电话数据对象 | phone 对象 |
| document_number * | string | 签署人 CPF。 | 11 |
phone 对象
| 字段 | 描述 | 示例 | 最大字符数 |
|---|---|---|---|
country_code * | string | 电话国际区号(https://ddi.guiamais.com.br/) | 3 |
area_code * | string | 区号(https://ddd.guiamais.com.br/) | 2 |
number * | string | 电话号码(仅数字) | 10 |
person_type 枚举值
| 枚举值 | 描述 |
|---|---|
| natural | 自然人 |
| legal | 法人 |
document_identification_type 枚举值
| 枚举值 | 描述 |
|---|---|
| rg | RG - 身份证 |
| cnh | CNH - 驾驶证 |
company_type 枚举值
| 枚举值 | 描述 |
|---|---|
| ltda | 有限责任公司 |
| sa | 股份公司 |
| micro_enterprise | 微型企业 |
| freelancer | 自由职业者 |
| sa_opened | 开放式股份公司 |
| sa_closed | 封闭式股份公司 |
| se_ltda | 有限公司制企业 |
| se_cn | 合名公司制企业 |
| se_cs | 简单合资公司制企业 |
| se_ca | 股份合资公司制企业 |
| scp | 参与账户公司 |
| ei | 个体工商户 |
| ese | 在巴西境内的外国公司机构 |
| eeab | 在巴西境内的阿根廷-巴西双边公司机构 |
| ssp | 纯简单公司 |
| ss_ltda | 有限简单公司 |
| ss_cn | 合名简单公司 |
| ss_cs | 简单合资简单公司 |
| eireli_ne | 商业性个人有限责任公司 |
| eireli_ns | 简单性个人有限责任公司 |
| eireli | 个人责任公司 |
| mei | 个体微型创业者 |
| me | 微型企业 |
| cop | 合作社 |
| private_association | 私人协会 |
marital_status 枚举值
| 枚举值 | 描述 |
|---|---|
| single | 未婚 |
| married | 已婚 |
| widower | 丧偶 |
| divorced | 离婚 |
| separated | 分居 |
Response
STATUS
201Response Body
{
"account_info": {
"account_branch": "0001",
"account_digit": "0",
"account_number": "1693580"
},
"account_request_key": "f230f1b5-07af-4737-b0e3-8a472304f5e7",
"account_request_status": "pending_kyc_analysis"
}
注意
account_request_key 字段需要保存,将用于确认账户开立。
Response Body 参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_info * | object | 包含账户持有人信息的对象 | account_info 对象 |
account_request_key * | string | 创建请求的标识键 | - |
account_request_status * | string | KYC 状态 | - |
account_info 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_branch * | string | 支行号 | 4 |
account_digit * | string | 电子邮件 | 11 |
account_number * | string | 账户持有人全名 | 50 |
STATUS
4xxResponse Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP 代码status | QI 代码code | 标题title | 描述(英文)description | 描述(葡文)translation |
|---|---|---|---|---|
| 400 | QIT000001 | Bad Request | Schema Error | Erro de Schema |
| 404 | QIT000404 | Not Found | Resource could not be found | Recurso não encontrado |