| Nome | Tipo | Descrição | Required | Default |
|---|---|---|---|---|
| paymentId | string | Identificador único do pagamento. | Sim |
curl --location 'https://api-expert.rakim.com.br/payments/api/sales/fees/calculate' \
--header 'Authorization: Bearer <access_token>'{
"paymentMethods": {
"creditCard": {
"visa": {
"installmentPlans": [
{
"installments": 1,
"installmentValue": 10000,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 558,
"currency": "BRL"
},
"liquid": {
"value": 9442,
"currency": "BRL"
}
},
{
"installments": 2,
"installmentValue": 5000,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 757,
"currency": "BRL"
},
"liquid": {
"value": 9243,
"currency": "BRL"
}
},
{
"installments": 3,
"installmentValue": 3333,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 878,
"currency": "BRL"
},
"liquid": {
"value": 9122,
"currency": "BRL"
}
},
{
"installments": 4,
"installmentValue": 2500,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 999,
"currency": "BRL"
},
"liquid": {
"value": 9001,
"currency": "BRL"
}
},
{
"installments": 5,
"installmentValue": 2000,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 1129,
"currency": "BRL"
},
"liquid": {
"value": 8871,
"currency": "BRL"
}
},
{
"installments": 6,
"installmentValue": 1667,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 1241,
"currency": "BRL"
},
"liquid": {
"value": 8759,
"currency": "BRL"
}
},
{
"installments": 7,
"installmentValue": 1429,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 1389,
"currency": "BRL"
},
"liquid": {
"value": 8611,
"currency": "BRL"
}
},
{
"installments": 8,
"installmentValue": 1250,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 1508,
"currency": "BRL"
},
"liquid": {
"value": 8492,
"currency": "BRL"
}
},
{
"installments": 9,
"installmentValue": 1111,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 1630,
"currency": "BRL"
},
"liquid": {
"value": 8370,
"currency": "BRL"
}
},
{
"installments": 10,
"installmentValue": 1000,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 1750,
"currency": "BRL"
},
"liquid": {
"value": 8250,
"currency": "BRL"
}
},
{
"installments": 11,
"installmentValue": 909,
"interestFree": true,
"amount": {
"value": 10000,
"currency": "BRL"
},
"totalFee": {
"value": 1868,
"currency": "BRL"
},
"liquid": {
"value": 8132,
"currency": "BRL"
}
},
{
"installments": 12,
"installmentValue": 833,
"interestFree": true,
"amount": {
"value": 10000,