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
- CDC (Partner A)
Onboarding
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
Response
200
text/plain
OK
The response is of type object
.
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"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.