Skip to main content

Simulation - BNPL Issuance

Summary

At QI Tech, we provide our clients with the ability to simulate the values of a credit operation before it is actually issued. The simulation follows the same pattern as the debt issuance request, but it is not necessary to provide the borrower's registration and disbursement account details.

Request

ENDPOINT
/v2/credit_operation/simulation
METHOD
POST
Test in Playground
Request Body
{
"credit_operation_type": "ccb",
"disbursed_issue_amount": 2800,
"disbursement_date": "2025-09-24",
"first_due_date": "2025-10-24",
"force_installments_on_workdays": true,
"interest_type": "pre_price_days",
"issuer_person_type": "natural",
"monthly_interest_rate": 0.04488,
"number_of_installments": 12,
"principal_amortization_month_period": 1
}

Request Body Details

FieldTypeDescriptionMax. Char.
credit_operation_type*stringType of credit operationCredit Operation Type Enumerator
disbursed_issue_amount*floatThe value actually released to the borrower15,2
disbursement_date*stringThe specific date the loan funds are made available10
first_due_date*stringDue date of the first installment10
force_installments_on_workdays*booleanIf true, ensures all installment due dates are moved to the next business day5
interest_type*stringAmortization methodInterest Type Enumerator
issuer_person_type*stringDefines whether the issuer is an individual or a legal entityPerson Type Enumerator
monthly_interest_rate*floatThe percentage charged on a principal balance over a one-month period10,6
number_of_installments*integerNumber of installments3
principal_amortization_month_period*integerPeriod, in months, between installments1

Credit Operation Type Enumerator

ValueDescription
ccbBank Credit Certificate (Cédula de Crédito Bancário)

Interest Type Enumerator

ValueDescription
pre_price_daysPre-fixed interest with Price amortization by calendar days
pre_pricePre-fixed interest with Price amortization by months
pre_sacPre-fixed interest with SAC amortization

Person Type Enumerator

ValueDescription
naturalIndividual (natural person)
legalLegal entity (corporation/business)

Response

STATUS
200
Response Body
{
"disbursement_date": "2025-09-24",
"issue_amount": 2821.32,
"interest_type": "pre_price_days",
"assignment_amount": 2829.78,
"base_iof": 10.6,
"total_iof": 21.32,
"additional_iof": 10.72,
"cet": 5.09,
"annual_cet": 81.39,
"first_due_date": "2025-10-24",
"disbursed_amount": 2800,
"prefixed_interest_rate": {
"annual_rate": 0.6935459998,
"daily_rate": 0.0014644728,
"interest_base": "calendar_days",
"monthly_rate": 0.04488
},
"tax_configuration": {
"base_rate": 8.2e-05,
"additional_rate": 0.0038
},
"fees": [
{
"amount": 0.3,
"fee_amount": 8.46,
"amount_type": "percentage",
"fee_type": "spread",
"type": "internal"
}
],
"installments": [
{
"due_date": "2025-10-24",
"amount": 1507.4,
"due_principal": 2821.32,
"due_interest": 0,
"has_interest": true,
"period": 1,
"period_workdays": 1.1,
"calendar_days": 30,
"workdays": 22,
"installment_number": 1,
"period_to_disbursement": 1,
"prefixed_amount": 126.62083829,
"period_workdays_to_disbursement": 1.1,
"calendar_days_to_disbursement": 30,
"workdays_to_disbursement": 22,
"tax_amount": 3.39671674,
"principal_amortization_amount": 1380.77916171
},
{
"due_date": "2025-11-24",
"amount": 1507.4,
"due_principal": 1440.54083829,
"due_interest": 0,
"has_interest": true,
"period": 1,
"period_workdays": 1,
"calendar_days": 31,
"workdays": 20,
"installment_number": 2,
"period_to_disbursement": 2,
"prefixed_amount": 66.85916171,
"period_workdays_to_disbursement": 2.1,
"calendar_days_to_disbursement": 61,
"workdays_to_disbursement": 42,
"tax_amount": 7.20558527,
"principal_amortization_amount": 1440.54083829
}
]
}

Response Body Details

FieldTypeDescription
annual_cetfloatTotal effective cost expressed as a decimal per year
assignment_amountfloatAcquisition value of the credit operation
cetfloatTotal effective cost expressed as a decimal per month
feesarrayFees Object - List of QI Tech fees charged on the operation
disbursed_amountfloatAmount disbursed in the credit operation
disbursement_datestringDisbursement date of the operation
installmentsarrayInstallments Object - Installments of the operation
interest_typestringAmortization method and interest calculation method
additional_ioffloatA fixed-rate tax applied to the transaction principal
base_ioffloatThe taxable amount used as the basis for calculating the Tax on Financial Operations
total_ioffloatThe total amount of Tax on Financial Operations applied to the transaction
issue_amountfloatIssue/nominal value of the credit operation
tax_configurationobjectTax Configuration Object - IOF rate values
first_due_datestringDue date of the first installment
prefixed_interest_rateobjectInterest Rate Object - Nominal interest rate

Fees Object

FieldTypeDescription
amountfloatFee value or percentage
fee_amountfloatMonetary fee value
amount_typestringValue type (percentage or fixed)
fee_typestringFee type
typestringFee classification (internal or external)

Installments Object

FieldTypeDescription
due_datestringInstallment due date
amountfloatTotal installment amount
due_principalfloatOutstanding balance at the time of the installment
installment_numberintegerInstallment number
prefixed_amountfloatPre-fixed interest amount
tax_amountfloatIOF amount on the installment
principal_amortization_amountfloatPrincipal amortization amount
calendar_daysintegerCalendar days between installments
workdaysintegerBusiness days between installments

Tax Configuration Object

FieldTypeDescription
base_ratefloatBase IOF rate
additional_ratefloatAdditional IOF rate

Interest Rate Object

FieldTypeDescription
annual_ratefloatAnnual interest rate
daily_ratefloatDaily interest rate
interest_basestringInterest calculation base
monthly_ratefloatMonthly interest rate