Skip to main content

Generate Bank Slip or PIX for an Installment

Allows you to generate a bank slip or PIX code for the payment of a specific installment of a credit operation.

Endpoint

Request

ENDPOINT
/debt/DEBT-KEY/installment/INSTALLMENT-KEY/PAYMENT-TYPE
METHOD
POST

Path Parameters

ParameterTypeDescription
DEBT-KEYstringDebt identifier key
INSTALLMENT-KEYstringInstallment identifier key
PAYMENT-TYPEstringDesired payment type: bankslip (Bank Slip) or pix (PIX QR code)
Request Body
{}

Response

Response Body
{
"installment_key": "installment_key",
"due_date": "2022-09-08",
"business_due_date": "2022-09-09",
"pre_fixed_amount": 70.0,
"principal_amortization_amount": 1000.0,
"total_amount": 1070.0,
"bank_slip_key": "bank_slip_key",
"qr_code_key": "qr_code_key",
"qr_code_url": "qr_code_url",
"digitable_line": "digitable_line"
}

Response Body Object

FieldTypeDescription
installment_keystringUnique identifier of the installment in UUID format
due_datestringInstallment due date in YYYY-MM-DD format
business_due_datestringInstallment due date on a business day in YYYY-MM-DD format
pre_fixed_amountnumberInterest amount
principal_amortization_amountnumberPrincipal amount to be amortized
total_amountnumberTotal installment amount (interest + principal)
bank_slip_keystringBank slip identifier key
qr_code_keystringPIX QR code identifier key
qr_code_urlstringURL for PIX QR code payment
digitable_linestringBank slip digitable line