Private Pension Manual - Collateral Registration and Disbursement
- New Credit (previous)
The API is still in development phase, therefore, this manual is subject to changes.
QI Tech webhooks should not be mapped strictly. Additional fields may be included in the webhook payloads returned by our APIs.
You can consult and resend webhooks following the detailed instructions in the documentation: Webhook Resending.
1 - Collateral Registration
Webhooks
In case of successful collateral registration, the partner will receive the following webhook:
Webhook Body
{
"webhook": {
"key": "<Debt Key>",
"data": {
"collateral_data": "collateral_data": {
"total_gross_amount_lock": 1500,
"investment_funds": [
{
"susep_process_number": "111111111111",
"certificate": "12345678",
"name": "QI Fund Alpha",
"document_number": "32402502000135",
"class": "",
"subclass": "",
"lock_gross_amount": 500,
},
{
"susep_process_number": "222222222222",
"certificate": "87654321",
"name": "QI Fund Beta",
"document_number": "32402502000135",
"class": "",
"subclass": "",
"lock_gross_amount": 500,
},
{
"susep_process_number": "333333333333",
"certificate": "56781234",
"name": "QI Fund Gama",
"document_number": "32402502000135",
"class": "",
"subclass": "",
"lock_gross_amount": 500,
}
]
},
"collateral_type": "private_pension",
"collateral_constituted": true
},
"event_time": "2025-07-10 02:15:01",
"webhook_type": "credit_operation.collateral"
}
}
Collateral Registration Failure
If a reservation fails, a webhook will be sent in the following format to inform the occurrence:
Webhook Body
{
"key": "<Debt Key>",
"status": "failed",
"webhook_type": "private_pension_failed_reservation",
"event_datetime": "2025-10-26 16:41:28",
"data": {
"enumerator": "Fail enumerator.",
"description": "Descrição da falha.",
}
}
2 - Collateral Deregistration
Deregistration of a contract is performed through the permanent cancellation route. This route puts a final status on the contract, which is not subject to retry and triggers the deregistration of the registered collateral.
To perform permanent cancellation, the following endpoint should be used:
Webhooks
Webhook Body
{
"key": "<Debt Key>",
"status": "canceled_permanently",
"webhook_type": "debt",
"event_datetime": "2025-03-18 16:41:28",
"data": {}
}