curl --location --request POST 'https://staging-api.propaga.io/v1/transaction/simulation' \ --header 'Authorization: <your_awesome_token>' \ --header 'Content-Type: application/json' \ --data '{ "cornerStoreId": "39c6ff9e-95ce-4dc2-82f6-bb71022a73ef", "totalAmount": 10000 }'
{ "totalAmountWithInterests": "10464.00", "interests": "464.00", "IVAAmount": "64.00", "paymentDate": "2024-08-14T00:07:09.793Z", "paymentDateString": "13/08/2024", "cornerStoreId": "39c6ff9e-95ce-4dc2-82f6-bb71022a73ef", "daysToPayment": 15 }
Simulate a transaction to get the interests and payment dates for given customer and amount