post
https://api-sandbox.asaas.com/v3/payments/simulate
Endpoint responsible for simulating sale conditions based on the informed amount, number of installments, and desired payment methods.
This request is useful for integrations that need to present the user with installment estimates or commercial conditions in advance, before the charge is actually created.
Main request parameters
value— Total amount of the installment plan or chargeinstallmentCount— Number of installments considered in the simulationbillingTypes— List of payment methods that should be evaluated in the simulation
When to use this endpoint
This endpoint is commonly used in:
- checkout simulators
- commercial screens
- interfaces that present terms before contracting
- prior installment validation
