Initial Guide
- About Credit as a Service
- Credit Operations
Developer's Guide
- API Integration Guide
APIs Reference
- Simulations
- Onboarding
- Hiring
- Guarantees
- Document Printing
- Signatures
- Disbursement
Use Cases
- Personal Loan
- CDC (Partner A)
Simulations
16 - Calculate Grid Installments
curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Proposta/CalcularGridParcelas \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"valorSolicitado": 123,
"valorTabela": 123,
"comJuros": true,
"nroDiasAcrescimo": 123,
"tipoPessoa": 1
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"parcelas": [
{
"prazo": 123,
"vlrParcela": 123,
"vlrCliente": 123,
"vlrLoja": 123,
"percDesconto": 123,
"dataPrimeiroPagamento": "2023-11-07T05:31:56Z"
}
]
}
Through this endpoint, the partner simulates the values of the proposal before even finalizing it in the system. This method allows the override of some values originally captured from the initial store network configuration.
Category | Operation | Action | Code | Detailed Code | Message |
---|---|---|---|---|---|
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0013 | V0001 | Produto não configurado para esta integração |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0195 | V0001 | O número de dias de acréscimo não pode ser negativo |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0001 | O valor solicitado não é válido |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0002 | Formato de cálculo inválido |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0003 | É necessário o produto |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0004 | Prazo inválido ou não localizado para este Produto x Rede |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0005 | Não é possível aprovar a proposta. Produto x Rede x Parcela não possui juros configurado |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0006 | Configuração deve ser enviada para proposta HotMoney |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0007 | Produto Rotativo e HotMoney aceitam apenas formato de cálculo com juros |
Proposta | CalculaGridParcelas | CalcularGridParcelas | C0196 | V0008 | Formato de Cálculo não informado |
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/Proposta/CalcularGridParcelas \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '{
"valorSolicitado": 123,
"valorTabela": 123,
"comJuros": true,
"nroDiasAcrescimo": 123,
"tipoPessoa": 1
}'
{
"msg": "<string>",
"hasError": true,
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"parcelas": [
{
"prazo": 123,
"vlrParcela": 123,
"vlrCliente": 123,
"vlrLoja": 123,
"percDesconto": 123,
"dataPrimeiroPagamento": "2023-11-07T05:31:56Z"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.