Essa consulta retorna todas as informações da conta.
Consulta via documento
É possível consultar todos os onboardings de um documento via CPF ou CNPJ utilizando o endpoint abaixo:
Exemplo:
GET https://example.com/company/onboardings?document={{CPForCNPJ}}
Resposta da requisição
[
{
"key": "string",
"company_id": 0,
"target_company_id": 0,
"target_customer_id": 0,
"cpf": "string",
"cnpj": "string",
"status": 0,
"created_at": "string",
"customer_id": 0,
"type": 0,
"email": "string",
"name": "string",
"updated_at": "string",
"additional_data": {},
"linked": false,
"documents": [],
"tags": [],
"addresses": [],
"customer": {
"customer_id": 0,
"profile": 0,
"company_id": 0,
"first_name": "string",
"last_name": "string",
"email": "string",
"telephone": "string",
"salary": 0,
"total_limit": 0,
"is_active": false,
"signed_term": false,
"document": "string",
"newsletter": false,
"date_added": "string",
"birth_date": "string",
"last_login_at": "string",
"onboarding_status": 0,
"onboarding_required": false
}
}
]
Consulta via chave
Utilize uma requisição do tipo GET, utilizando o endpoint /Onboarding/{document}.
Exemplo:
https://example.com/onboarding/{onboardingKey}
Atenção
Você deve informar o TOKEN de acesso no HEADER da requisição. Para saber mais sobre o token de acesso, consulte Login.
Resposta da requisição
{
"value": {
"parent_key": "string",
"key": "string",
"company_id": 0,
"target_company_id": 0,
"phone_number": "string",
"cpf": "string",
"cnpj": "string",
"status": 1,
"created_at": "2024-11-13T20:21:14.045Z",
"customer_id": 0,
"type": 1,
"email": "string",
"name": "string",
"selfie_url": "string",
"next_update_at": "2024-11-13T20:21:14.045Z",
"updated_at": "2024-11-13T20:21:14.045Z",
"reproval_reasons": "string",
"additional_data": "string",
"description": "string",
"contract_type": "string",
"linked": true,
"documents": [
{
"back_image_url": "string",
"front_image_url": "string",
"type": 1,
"document": "string",
"created_at": "2024-11-13T20:21:14.045Z"
}
],
"tags": [
"string"
],
"addresses": [
{
"postal_code": "string",
"federative_unit": "string",
"city": "string",
"street": "string",
"street_number": "string",
"street_complement": "string",
"neighborhood": "string",
"created_at": "2024-11-13T20:21:14.045Z"
}
],
"customer": {
"customer_id": 0,
"profile": 1,
"company_id": 0,
"social_name": "string",
"first_name": "string",
"last_name": "string",
"email": "string",
"telephone": "string",
"salary": 0,
"total_limit": 0,
"is_active": true,
"signed_term": true,
"debit": 0,
"document": "string",
"newsletter": true,
"date_added": "2024-11-13T20:21:14.045Z",
"birth_date": "2024-11-13T20:21:14.045Z",
"deactivation_date": "2024-11-13T20:21:14.045Z",
"marital_status": 0,
"capabilities": "string",
"onboarding_status": 1,
"onboarding_required": true,
"company": {
"accountable": "string",
"closing_day": 0,
"cnpj": "string",
"cpf": "string",
"celcoin_account": "string",
"is_politically_exposed_person": true,
"accountable_mother_name": "string",
"accountable_birth_date": "2024-11-13T20:21:14.045Z",
"document": "string",
"raw_document": "string",
"account_cpf": "string",
"company_id": 0,
"contact": "string",
"email": "string",
"social_reason": "string",
"social_name": "string",
"fantasy_name": "string",
"month_installment_limit": 0,
"phone": "string",
"webhook_url": "string",
"transfer_fee": 0,
"internal_transfer_fee": 0,
"linked_account_fee": 0,
"accountable_cpf": "string",
"accountable_cnpj": "string",
"accountable_type": 1,
"zipcode": "string",
"street": "string",
"street_number": "string",
"street_complement": "string",
"neighborhood": "string",
"state": "string",
"city": "string",
"financially_blocked": true,
"date_added": "2024-11-13T20:21:14.045Z",
"founding_date": "2024-11-13T20:21:14.045Z",
"settled_pix_invoice_fee": 0,
"cash_in_fixed_fee": 0,
"cash_in_proportional_fee": 0,
"pix_cash_in_key": "string",
"movement_awaiting_balance_enabled": true,
"allowed_order_cron": "string",
"consignation_enabled": true,
"big_data_status": 0,
"consignable_mode": 0,
"max_transfer_cash_out": 0,
"max_payment_cash_out": 0,
"default_pix_key": "string",
"company_type": "string",
"balance": 0,
"swap_account": {
"status": 0,
"individual_id": "string",
"business_id": "string",
"account_holder_id": "string",
"balance_account_group_id": "string",
"balance_account_group_created_at": "2024-11-13T20:21:14.045Z",
"updated_at": "2024-11-13T20:21:14.045Z",
"branch": "string",
"account": 0
},
"actual_closing_date": "2024-11-13T20:21:14.045Z",
"last_closing_date": "2024-11-13T20:21:14.045Z"
},
"additional_company_ids": [
0
],
"additional_companies": [
{
"accountable": "string",
"closing_day": 0,
"cnpj": "string",
"cpf": "string",
"celcoin_account": "string",
"is_politically_exposed_person": true,
"accountable_mother_name": "string",
"accountable_birth_date": "2024-11-13T20:21:14.045Z",
"document": "string",
"raw_document": "string",
"account_cpf": "string",
"company_id": 0,
"contact": "string",
"email": "string",
"social_reason": "string",
"social_name": "string",
"fantasy_name": "string",
"month_installment_limit": 0,
"phone": "string",
"webhook_url": "string",
"transfer_fee": 0,
"internal_transfer_fee": 0,
"linked_account_fee": 0,
"accountable_cpf": "string",
"accountable_cnpj": "string",
"accountable_type": 1,
"zipcode": "string",
"street": "string",
"street_number": "string",
"street_complement": "string",
"neighborhood": "string",
"state": "string",
"city": "string",
"financially_blocked": true,
"date_added": "2024-11-13T20:21:14.045Z",
"founding_date": "2024-11-13T20:21:14.045Z",
"settled_pix_invoice_fee": 0,
"cash_in_fixed_fee": 0,
"cash_in_proportional_fee": 0,
"pix_cash_in_key": "string",
"movement_awaiting_balance_enabled": true,
"allowed_order_cron": "string",
"consignation_enabled": true,
"big_data_status": 0,
"consignable_mode": 0,
"max_transfer_cash_out": 0,
"max_payment_cash_out": 0,
"default_pix_key": "string",
"company_type": "string",
"balance": 0,
"swap_account": {
"status": 0,
"individual_id": "string",
"business_id": "string",
"account_holder_id": "string",
"balance_account_group_id": "string",
"balance_account_group_created_at": "2024-11-13T20:21:14.045Z",
"updated_at": "2024-11-13T20:21:14.045Z",
"branch": "string",
"account": 0
},
"actual_closing_date": "2024-11-13T20:21:14.045Z",
"last_closing_date": "2024-11-13T20:21:14.045Z"
}
],
"customer_companies": [
{
"customer_id": 0,
"company_id": 0,
"profile": 1,
"capabilities": "string"
}
],
"addresses": [
{
"street": "string",
"number": "string",
"neighborhood": "string",
"zipcode": "string",
"city": "string",
"state": "string",
"complement": "string"
}
],
"bank_account": {
"document": "string",
"account_number_digit": "string",
"account_number": "string",
"bank_branch": "string",
"account_type_id": 1,
"owner_name": "string",
"document_type_id": 0,
"bank": {
"name": "string",
"code": "string"
}
},
"vehicles": [
{
"license_plate": "string",
"make": "string",
"model": "string",
"year": 0,
"renavam": "string",
"date_added": "2024-11-13T20:21:14.045Z",
"date_deleted": "2024-11-13T20:21:14.045Z"
}
]
},
"company": {
"accountable": "string",
"closing_day": 0,
"cnpj": "string",
"cpf": "string",
"celcoin_account": "string",
"is_politically_exposed_person": true,
"accountable_mother_name": "string",
"accountable_birth_date": "2024-11-13T20:21:14.045Z",
"document": "string",
"raw_document": "string",
"account_cpf": "string",
"company_id": 0,
"contact": "string",
"email": "string",
"social_reason": "string",
"social_name": "string",
"fantasy_name": "string",
"month_installment_limit": 0,
"phone": "string",
"webhook_url": "string",
"transfer_fee": 0,
"internal_transfer_fee": 0,
"linked_account_fee": 0,
"accountable_cpf": "string",
"accountable_cnpj": "string",
"accountable_type": 1,
"zipcode": "string",
"street": "string",
"street_number": "string",
"street_complement": "string",
"neighborhood": "string",
"state": "string",
"city": "string",
"financially_blocked": true,
"date_added": "2024-11-13T20:21:14.046Z",
"founding_date": "2024-11-13T20:21:14.046Z",
"settled_pix_invoice_fee": 0,
"cash_in_fixed_fee": 0,
"cash_in_proportional_fee": 0,
"pix_cash_in_key": "string",
"movement_awaiting_balance_enabled": true,
"allowed_order_cron": "string",
"consignation_enabled": true,
"big_data_status": 0,
"consignable_mode": 0,
"max_transfer_cash_out": 0,
"max_payment_cash_out": 0,
"default_pix_key": "string",
"company_type": "string",
"balance": 0,
"swap_account": {
"status": 0,
"individual_id": "string",
"business_id": "string",
"account_holder_id": "string",
"balance_account_group_id": "string",
"balance_account_group_created_at": "2024-11-13T20:21:14.046Z",
"updated_at": "2024-11-13T20:21:14.046Z",
"branch": "string",
"account": 0
},
"actual_closing_date": "2024-11-13T20:21:14.046Z",
"last_closing_date": "2024-11-13T20:21:14.046Z"
}
},
"error": {
"code": 0,
"message": "string",
"additional_info": "string"
}
}