curl --location -g --request POST '/simulate?establishment_id={{establishment_id}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 30000,
"interest": "CLIENT"
}'{
"amount": 30000,
"simulation": {
"credit": {
"1x": {
"total": 30484,
"installment": 30484
},
"2x": {
"total": 30484,
"installment": 15242
},
"3x": {
"total": 30484,
"installment": 10161
},
"4x": {
"total": 30484,
"installment": 7621
},
"5x": {
"total": 30484,
"installment": 6097
},
"6x": {
"total": 30484,
"installment": 5081
},
"7x": {
"total": 30484,
"installment": 4355
},
"8x": {
"total": 30484,
"installment": 3811
},
"9x": {
"total": 30484,
"installment": 3387
},
"10x": {
"total": 30484,
"installment": 3048
},
"11x": {
"total": 30484,
"installment": 2771
},
"12x": {
"total": 30484,
"installment": 2540
},
"13x": {
"total": 30484,
"installment": 2345
},
"14x": {
"total": 30484,
"installment": 2178
},
"15x": {
"total": 30484,
"installment": 2032
},
"16x": {
"total": 30484,
"installment": 1906
},
"17x": {
"total": 30484,
"installment": 1793
},
"18x": {
"total": 30484,
"installment": 1694
}
},
"debit": 30364,
"pix": 30364
}
}