Skip to main content
POST
https://staging-api.propaga.io/v1
/
transaction
/
simulation
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
}
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
}

Body

cornerStoreId
string
required
Propaga’s corner store id
totalAmount
number
required
Total amount of the order

Response

totalAmountWithInterests
number
Transaction’s total amount with interests
interests
number
Interests for the transaction
IVAAmount
number
IVA amount for the transaction
paymentDate
string
Payment date for the transaction
cornerStoreId
string
Propaga’s corner store id
daysToPayment
string
Days to payment date