跳到主要内容

法人账户开户

双因素认证(2FA)法人账户开户

Request

ENDPOINT
/account
MÉTODO
POST
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_statute": "8b0d8c33-01c9-4cf5-a0fa-1d2a96f4b34d",
"company_document_number": "46073462000130",
"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,
"marital_status": "single",
"mother_name": "Sueli Isadora Alves",
"nationality": "Brasileira",
"person_type": "natural",
"phone": {
"area_code": "88",
"country_code": "055",
"number": "995924634"
}
}]
},
"account_manager": {
"address": {
"city": "São Paulo",
"complement": "s/c",
"neighborhood": "Pinheiros",
"number": "215",
"postal_code": "05427000",
"state": "SP",
"street": "Rua Gilberto Sabino"
},
"cnae_code": "4721-1/02",
"company_statute": "39e2bf16-26fc-4684-b4c0-97e46029e916",
"company_document_number": "35082434000162",
"company_type": "ltda",
"email": "partneremail@partner.com",
"foundation_date": "2018-09-16",
"name": "Razão Social do Parceiro",
"person_type": "legal",
"phone": {
"area_code": "11",
"country_code": "055",
"number": "987791122"
},
"trading_name": "Parceiro QI",
"company_representatives": [{
"name": "Nome do Socio da Empresa Parceira",
"address": {
"city": "São Paulo",
"complement": null,
"neighborhood": "Pinheiros",
"number": "45",
"postal_code": "04758001",
"state": "SP",
"street": "Rua do sócio"
},
"email": "nomesocio@partner.com",
"birth_date": "1972-02-02",
"individual_document_number": "34527070835",
"document_identification": "ceca505b-b5ef-4e0b-ab62-a6e03d8d636a",
"document_identification_number": "368335446",
"document_identification_type": "rg",
"is_pep": false,
"marital_status": "single",
"mother_name": "Mãe do sócio",
"nationality": "Brasileira",
"person_type": "natural",
"phone": {
"area_code": "11",
"country_code": "055",
"number": "915185434"
}
}]
},
"allowed_user": {
"email": "nomegerente@partner.com",
"individual_document_number": "34651104630",
"name": "Luiz Alberto Da Silva",
"person_type": "natural",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "991611135"
}
},
"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.000",
"session_id": "jdifj329842"
},
"signer": {
"name": "IVANILDO DE SENA LIMA",
"email": "teste@gmail.com",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "999999999"
},
"document_number": "99999999999"
},
"authentication_type": "opt-in"
}
]
}
}

法人账户开户

Request

ENDPOINT
/account
MÉTODO
POST
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_statute": "8b0d8c33-01c9-4cf5-a0fa-1d2a96f4b34d",
"company_document_number": "46073462000130",
"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,
"marital_status": "single",
"mother_name": "Sueli Isadora Alves",
"nationality": "Brasileira",
"person_type": "natural",
"phone": {
"area_code": "88",
"country_code": "055",
"number": "995924634"
}
}]
},
"account_manager": {
"address": {
"city": "São Paulo",
"complement": "s/c",
"neighborhood": "Pinheiros",
"number": "215",
"postal_code": "05427000",
"state": "SP",
"street": "Rua Gilberto Sabino"
},
"cnae_code": "4721-1/02",
"company_statute": "39e2bf16-26fc-4684-b4c0-97e46029e916",
"company_document_number": "35082434000162",
"company_type": "ltda",
"email": "partneremail@partner.com",
"foundation_date": "2018-09-16",
"name": "Razão Social do Parceiro",
"person_type": "legal",
"phone": {
"area_code": "11",
"country_code": "055",
"number": "987791122"
},
"trading_name": "Parceiro QI",
"company_representatives": [{
"name": "Nome do Socio da Empresa Parceira",
"address": {
"city": "São Paulo",
"complement": null,
"neighborhood": "Pinheiros",
"number": "45",
"postal_code": "04758001",
"state": "SP",
"street": "Rua do sócio"
},
"email": "nomesocio@partner.com",
"birth_date": "1972-02-02",
"individual_document_number": "34527070835",
"document_identification": "ceca505b-b5ef-4e0b-ab62-a6e03d8d636a",
"document_identification_number": "368335446",
"document_identification_type": "rg",
"is_pep": false,
"marital_status": "single",
"mother_name": "Mãe do sócio",
"nationality": "Brasileira",
"person_type": "natural",
"phone": {
"area_code": "11",
"country_code": "055",
"number": "915185434"
}
}]
},
"allowed_user": {
"email": "teste@email.com",
"individual_document_number": "99999999999",
"name": "Luiz Alberto ",
"person_type": "natural",
"phone": {
"country_code": "055",
"area_code": "12",
"number": "999999999"
}
},
"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.000",
"session_id": "jdifj329842"
},
"signer": {
"name": "IVANILDO DE SENA LIMA",
"email": "teste@gmail.com",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "999999999"
},
"document_number": "99999999999"
},
"authentication_type": "opt-in"
}
]
}
}
复制粘贴示例载荷

开始测试之前,company_statutedocument_identification 字段中的 document_keys(UUID)必须替换为上传账户持有人文件时返回的密钥。

CPF/CNPJ 模拟

为模拟审批、拒绝和人工审查情况,可使用账户 owner 的 CPF/CNPJ 首位数字:

0 至 7 -> 人工审查

8 -> 自动拒绝

9 -> 自动审批

Response

STATUS
200
Response Body
{
"data": {
"account_info": {
"account_branch": "0001",
"account_digit": "3",
"account_number": "5283431",
"financial_institution_code": "329"
},
"account_owner": {
"document_number": "46073462000130",
"name": "NOME DA EMPRESA"
},
"allowed_user": {
"document_number": "34651104630",
"name": "Luiz Alberto Da Silva"
}
},
"event_datetime": "2023-05-05 14:48:32",
"key": "5b5371ae-279c-4aa7-bc1c-776e01fea7cf",
"status": "pending_kyc_analysis",
"webhook_type": "account"
}
STATUS
400
Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}

请求体参数

字段类型描述字符数
account_owner *object账户持有人对象account_owner 对象
allowed_user *object关联到账户的用户allowed_user 对象
account_managerobject将通过 API 进行账户操作的集成合作伙伴数据account_manager 对象
signed_contract *object包含合同签署信息的对象signed_contract 对象

account_owner 对象

字段类型描述字符数
address *object账户持有人地址对象address 对象
cnae_code *string国家经济活动分类代码(CNAE)9
company_document_number *stringCNPJ14
company_statute *string公司章程 PDF 的 DOCUMENT_KEY(提前上传)36
company_typeenum公司类型company_type 枚举值
company_representatives *list公司法定代表人列表company_representatives 对象
email *string公司机构电子邮箱254
foundation_date *string公司成立日期("YYYY-MM-DD" 格式)10
name *string公司法定名称100
person_type *enum标识所发送对象为法人,法人对象必须始终为 "legal"person_type 枚举值
phone *object账户持有人电话phone 对象
trading_name *string公司商号200

allowed_user 对象

字段类型描述字符数
email *string账户用户电子邮箱254
individual_document_number *string账户用户 CPF(仅数字)11
name *string账户用户姓名100
person_type *enum标识所发送对象为个人,必须始终为 "natural"person_type 枚举值
phoneobject用户电话phone 对象

account_manager 对象

字段类型描述字符数
address *object集成合作伙伴地址对象address 对象
cnae_code *string国家经济活动分类代码(CNAE)9
company_document_number *stringCNPJ14
company_statute *string公司章程 PDF 的 DOCUMENT_KEY(提前上传)36
company_typeenum公司类型company_type 枚举值
company_representatives *list公司法定代表人列表company_representatives 对象
email *string公司机构电子邮箱254
foundation_date *string公司成立日期("YYYY-MM-DD" 格式)10
name *string公司法定名称100
person_type *enum标识所发送对象为法人,法人对象必须始终为 "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_identificationstring带照片身份证件(身份证或驾照)PDF 的 DOCUMENT_KEY(提前上传)36
document_identification_numberstring带照片身份证件号码(身份证或驾照)16
is_pep *boolean声明该人是否为政治公众人物(PEP)-
marital_statusenum公司代表婚姻状况marital_status 枚举值
mother_name *string公司代表母亲姓名100
nationalitystring公司代表国籍50
person_type *enum标识所发送对象为个人person_type 枚举值
phone *object公司代表电话数据对象phone 对象

address 对象

此对象在个人和法人对象中均存在,是用于表示地址的简单对象。

字段描述示例字符数
street *string街道名称500
state *enum州(两位大写字母)2
city *string城市255
neighborhood *string社区/街区500
number *string门牌号10
postal_code *stringCEP(仅数字)8
complementstring地址补充说明(自由文本)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_keyuuidv4账户持有人自拍照片的唯一识别密钥(DOCUMENT_KEY 在上传文件端点的响应中返回)36
langstring签署时捕获的签署人地理定位经度坐标-
latstring签署时捕获的签署人地理定位纬度坐标-
ip_addressstring签署人设备的 IP 地址-
session_idstring签署时签署人的会话 ID-

signer 对象

字段类型描述字符数
name *string签署人姓名-
email *string签署人电子邮箱-
phone *object签署人电话数据对象phone 对象
document_number *string签署人 CPF11

phone 对象

字段描述示例最大字符数
country_code *string电话 DDI 代码3
area_code *string电话 DDD 代码2
number *string电话号码(仅数字)10

person_type 枚举值

枚举值描述
natural个人
legal法人

document_identification_type 枚举值

枚举值描述
rgRG - 身份证
cnhCNH - 驾照

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分居