Initial Guide
- About Credit as a Service
- Credit Operations
Developer's Guide
- API Integration Guide
APIs Reference
- Simulations
- Onboarding
- POST1 - Client Registration
- POST2 - Address Registration
- POST3 - Document Consultation
- POST4 - Person Consultation
- POST5 - Onboarding Status Consultation
- POST6 - Include Document
- POST7 - Include Person Onboarding
- POST8 - Save Addresses
- POST9 - Save Partner
- POST10 - Save Partners
- POST11 - Include Guarantor
- POST12 - Include Guarantors
- POST
- Hiring
- Guarantees
- Document Printing
- Signatures
- Disbursement
Use Cases
- Personal Loan
10 - Save Partners
curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Pessoa/SalvarSocios \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"dtos": [
{
"codigo": "<string>",
"nome": "<string>",
"documentoFederal": "<string>",
"rg": "<string>",
"rgOrgao": "<string>",
"rguf": "<string>",
"rgData": "2023-11-07T05:31:56Z",
"dtNascimento": "2023-11-07T05:31:56Z",
"percCota": 4999.95,
"estadoCivil": 4999,
"tipoUniao": 4999,
"nomeConjuge": "<string>",
"cpfConjuge": "<string>",
"rgConjuge": "<string>",
"dtNascimentoConjuge": "2023-11-07T05:31:56Z",
"mostrarSocioCCB": true,
"mostrarConjugeCCB": true,
"fielDepositario": true,
"terceiroGarantidor": true,
"cep": "<string>",
"logradouro": "<string>",
"nroLogradouro": "<string>",
"bairro": "<string>",
"complemento": "<string>",
"cidade": "<string>",
"uf": "<string>",
"dtFundacao": "2023-11-07T05:31:56Z",
"dtEntradaSocio": "2023-11-07T05:31:56Z",
"nacionalidade": "<string>",
"naturalDeCidade": "<string>",
"naturalDeUF": "<string>",
"telefone": "<string>",
"celular": "<string>",
"email": "<string>",
"telefoneConjuge": "<string>",
"celularConjuge": "<string>",
"emailConjuge": "<string>"
}
],
"param": {
"documentoCliente": "<string>"
}
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"results": [
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
Through this endpoint, the partner includes or updates records of partners for a specific client. To update, it is necessary to send the “código” field, filled with the record code in the BMP database, or the search will be done through the “DocumentoFederal” field.
Categoria | Operação | Ação | Código | Código Detalhado | Mensagem |
---|---|---|---|---|---|
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | C0048 | V0001 | Método disponível para Pessoa Jurídica |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | C0108 | V0001 | Documento Federal deve ser informado |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | C0108 | V0002 | Cliente não encontrado com o documento {documentoCliente} |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | C0108 | V0003 | Cliente não cadastrado pelo parceiro de integração |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0001 | CPF já cadastrado como sócio |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0002 | Documento deve ser preenchido |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0003 | Nome deve ser preenchido |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0004 | CPF inválido |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0005 | CNPJ Inválido |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0006 | CEP inválido |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0007 | Nome do cônjuge deve ser preenchido |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0008 | CPF do cônjuge deve ser preenchido |
Pessoa | CreateUpdatePessoaSocios | SalvarSocios | T0624 | D0009 | CPF do cônjuge Inválido |
Authorizations
Informe o token
Headers
Body
Número do Cadastro de Pessoa Física (CPF) ou do Cadastro Nacional de Pessoa Jurídica (CNPJ) do Sócio
Será preenchido apenas pelo método SelectPessoa.
Nome do Sócio
1 - 60
Registro Geral (RG)
1 - 20
Órgão de emissão do Registro Geral (RG)
1 - 10
UF de emissão do Registro Geral (RG)
1 - 2
Data de emissão do Registro Geral (RG)
Data de Nascimento se sócio é Pessoa Física
Percentual na sociedade
0 <= x <= 9999.9
Consulta tabela de estado civil
0 <= x <= 9999
Tipo de união: 1 – Comunhão parcial de bens, 2 – Comunhão universal de bens, 3 – Separação total de bens
0 <= x <= 9999
Nome do cônjuge
1 - 60
Número do Cadastro de Pessoa Física (CPF) do cônjuge
1 - 20
Registro Geral (RG) do cônjuge
1 - 20
Data de nascimento do cônjuge
Indica se o Sócio aparece na Cédula de Crédito Bancário (CCB)
Indica se o Cônjuge aparece na Cédula de Crédito Bancário (CCB)
Indica se o Sócio é Fiel Depositário
Indica se o Sócio é Terceiro Garantidor
Código de endereçamento Postal (CEP) do Sócio
1 - 8
Logradouro do Sócio
1 - 100
Número do logradouro do Sócio
1 - 15
Bairro do Sócio
1 - 50
Complemento do endereço do Sócio
1 - 50
Cidade do Sócio
1 - 40
Unidade Federal (UF) do Sócio
1 - 2
Data de fundação quando Sócio é Pessoa Jurídica (PJ)
Data de Entrada do sócio na sociedade
Nacionalidade do sócio
1 - 40
Cidade de nascimento do sócio
1 - 40
Unidade Federal (UF) do sócio
1 - 2
Telefone do sócio
1 - 20
Celular do sócio
1 - 20
E-mail do sócio
1 - 60
Telefone do cônjuge
1 - 20
Celular do cônjuge
1 - 20
E-mail do cônjuge
1 - 60
Response
Was this page helpful?
curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Pessoa/SalvarSocios \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"dtos": [
{
"codigo": "<string>",
"nome": "<string>",
"documentoFederal": "<string>",
"rg": "<string>",
"rgOrgao": "<string>",
"rguf": "<string>",
"rgData": "2023-11-07T05:31:56Z",
"dtNascimento": "2023-11-07T05:31:56Z",
"percCota": 4999.95,
"estadoCivil": 4999,
"tipoUniao": 4999,
"nomeConjuge": "<string>",
"cpfConjuge": "<string>",
"rgConjuge": "<string>",
"dtNascimentoConjuge": "2023-11-07T05:31:56Z",
"mostrarSocioCCB": true,
"mostrarConjugeCCB": true,
"fielDepositario": true,
"terceiroGarantidor": true,
"cep": "<string>",
"logradouro": "<string>",
"nroLogradouro": "<string>",
"bairro": "<string>",
"complemento": "<string>",
"cidade": "<string>",
"uf": "<string>",
"dtFundacao": "2023-11-07T05:31:56Z",
"dtEntradaSocio": "2023-11-07T05:31:56Z",
"nacionalidade": "<string>",
"naturalDeCidade": "<string>",
"naturalDeUF": "<string>",
"telefone": "<string>",
"celular": "<string>",
"email": "<string>",
"telefoneConjuge": "<string>",
"celularConjuge": "<string>",
"emailConjuge": "<string>"
}
],
"param": {
"documentoCliente": "<string>"
}
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"results": [
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}