Skip to main content

Simulate installments

GET/api/v1/bank/public/charge/{uuid}/simulate-installment
Public endpoint

This endpoint is called by the checkout page or SDK to show the payer available installment options. No Bearer token required — the charge UUID provides the context.


Request headers

HeaderValueRequired
Acceptapplication/jsonRecommended

Path parameters

FieldTypeRequiredDescription
uuidstring (UUID)YesCharge UUID to simulate installments for

Response fields

FieldTypeDescription
charge_uuidstringCharge identifier
total_amountnumberOriginal charge amount
currencystringCurrency code
installmentsarrayAvailable installment options
installments[].countintegerNumber of installments (1, 2, 3, …12)
installments[].installment_valuenumberAmount per installment
installments[].total_amountnumberTotal with interest (if applicable)
installments[].interest_ratenumberMonthly interest rate (0 for interest-free)
installments[].interest_freebooleanWhether this option has zero interest

HTTP status codes

StatusDescription
200Installment simulation returned
404Charge not found or expired
422Charge type does not support installments
429Rate limit exceeded
500Internal server error

Code examples

curl -s -X GET "https://core-manager.a55.tech/api/v1/bank/public/charge/a1b2c3d4-e5f6-7890-abcd-ef1234567890/simulate-installment"

Error response example

{
"status": "error",
"message": [
{
"code": "CHARGE_NOT_FOUND",
"source": "simulation",
"description": "Charge a1b2c3d4-e5f6-7890-abcd-ef1234567890 not found or expired"
}
]
}