Tax
POST
/v1/simulate/tax
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/simulate/tax' \
--header 'Content-Type: application/json' \
--data-raw '{
"brand": "mastercard",
"installments": 12,
"amount": 19000,
"fee_responsible": "customer"
}'
Response Response Example
200 - Tax - Customer - Tax - Customer
{
"brand": "Mastercard",
"product": "Crédito 12x",
"plataformType": "E-COMMERCE",
"grossAmount": 194.53,
"netAmount": 190,
"mdr": 2.33,
"antecipationRate": 2,
"antecipatedAmount": 225.11,
"installments": [
{
"previsionPaymentDate": "2023-10-30T00:00:00",
"grossAmount": 15.87,
"netAmount": 16.22,
"installment": 1,
"antecipationRate": 2.066666666666667,
"antecipatedAmount": 16.56
},
{
"previsionPaymentDate": "2023-11-28T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 2,
"antecipationRate": 4,
"antecipatedAmount": 16.89
},
{
"previsionPaymentDate": "2023-12-28T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 3,
"antecipationRate": 6,
"antecipatedAmount": 17.24
},
{
"previsionPaymentDate": "2024-01-29T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 4,
"antecipationRate": 8.133333333333333,
"antecipatedAmount": 17.65
},
{
"previsionPaymentDate": "2024-02-26T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 5,
"antecipationRate": 10,
"antecipatedAmount": 18.01
},
{
"previsionPaymentDate": "2024-03-27T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 6,
"antecipationRate": 12,
"antecipatedAmount": 18.42
},
{
"previsionPaymentDate": "2024-04-26T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 7,
"antecipationRate": 14,
"antecipatedAmount": 18.85
},
{
"previsionPaymentDate": "2024-05-27T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 8,
"antecipationRate": 16.066666666666666,
"antecipatedAmount": 19.31
},
{
"previsionPaymentDate": "2024-06-25T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 9,
"antecipationRate": 18,
"antecipatedAmount": 19.77
},
{
"previsionPaymentDate": "2024-07-25T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 10,
"antecipationRate": 20,
"antecipatedAmount": 20.26
},
{
"previsionPaymentDate": "2024-08-26T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 11,
"antecipationRate": 22.133333333333333,
"antecipatedAmount": 20.82
},
{
"previsionPaymentDate": "2024-09-23T00:00:00",
"grossAmount": 15.83,
"netAmount": 16.21,
"installment": 12,
"antecipationRate": 24,
"antecipatedAmount": 21.33
}
],
"saleTypeCode": "credit",
"fees": "cliente"
}
Requisição
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-05-26 19:09:20