Planos enviados na fatura
Define quais opções de parcelamento são impressas na fatura do portador. São até três planos, informados em campos numerados.
POST
/installments/rules/{agreementRuleId}/plan| Campo | Tipo | Em | Descrição |
|---|---|---|---|
| Program-id | integer | header | Id do programa externo. |
| agreementRuleId | integer | path | Regra que receberá a configuração de planos. |
| agreementRuleId | integer | body | Repete o id da regra. Mantenha igual ao valor do path. |
| installmentPlanInvoice1 | integer | body | Quantidade de parcelas do 1º plano ofertado na fatura. |
| installmentPlanInvoice2 | integer | body | Quantidade de parcelas do 2º plano. |
| installmentPlanInvoice3 | integer | body | Quantidade de parcelas do 3º plano. |
Request
{
"agreementRuleId": 1,
"installmentPlanInvoice1": 3,
"installmentPlanInvoice2": 6,
"installmentPlanInvoice3": 9
}Response
{
"version": "1.0.0",
"status": 200,
"body": {
"agreementRuleId": 1,
"agreementTypeId": 1,
"active": true,
"defaultRule": true,
"minimumInstallments": 2,
"maximumInstallments": 12,
"minimumInstallmentValue": 20,
"maximumInstallmentValue": 200,
"limitContractedAgreements": 4,
"interestRatePercentage": 0.15,
"iof": 0.042,
"dailyIof": 0.00082,
"daysAfterDue": 5,
"initialEntryPercentage": 0.1,
"planEntryIncrement": 0.05,
"tiebreakerPercentage": 0.02,
"manualMinEntry": 50,
"manualMaxEntry": 500,
"validityStart": "2024-07-05T21:05:47.000000Z",
"installmentPlanInvoices": [1, 2]
}
}
Updated about 5 hours ago
Did this page help you?