Skip to main content

Webhooks

Throughout the bankslip life cycle, the system sends webhooks to notify the integrating partner about status changes. All the events use the bankslip_collection.bankslip_status_change type.

Webhook configuration

To receive webhooks, you need to have a callback URL configured with QI Tech. Contact integracao@qitech.com.br to set it up.

Webhook structure​

All the bankslip webhooks follow the same base structure:

FieldTypeDescription
webhook_typestringWebhook type. Always bankslip_collection.bankslip_status_change.
webhook_datetimestringDate and time of the event in the ISO 8601 format.
dataobjectData of the event. See the table below.

data attributes​

FieldTypeDescription
bankslip_keystring (UUID)Unique identifier of the bankslip.
bankslip_configuration_keystring (UUID)Identifier of the bankslip configuration.
bankslip_profile_keystring (UUID)Identifier of the bankslip profile.
statusstringCurrent status of the bankslip.
fund_classobjectData of the fund class associated with the bankslip.
external_participant_control_numberstringExternal control number of the participant.
participant_control_numberstringInternal control number of the participant.
face_valuefloatFace value of the bankslip.
due_datestringDue date in the YYYY-MM-DD format.
borrowerobjectData of the drawee (debtor).
assignorobjectData of the assignor.
settlement_instructionsarrayList of settlement instructions linked to the bankslip.
our_numberinteger(Optional) "Nosso número" assigned by the issuing bank.
our_number_digitstring(Optional) Check digit of the "nosso número".
order_numberstring(Optional) Order number.
digitable_linestring(Optional) Digitable line of the bankslip. Present when available after the registration.
barcodestring(Optional) Barcode of the bankslip. Present when available after the registration.

fund_class attributes​

FieldTypeDescription
document_numberstringCNPJ of the fund class.
fund_class_keystring (UUID)Identifier of the fund class.
namestringName of the fund class.

settlement_instructions attributes​

FieldTypeDescription
asset_keystring (UUID)Identifier of the associated asset.
asset_typestringAsset type (e.g. duplicata_mercantil, duplicata_servicos, ccb).
issue_datestringIssue date of the asset in the YYYY-MM-DD format.
maturity_datestringMaturity date of the asset in the YYYY-MM-DD format.
face_valuefloatFace value of the asset.
statusstringStatus of the settlement instruction.
external_idstring(Optional) External identifier of the asset.
installment_numberinteger(Optional) Installment number, when applicable (e.g. installment CCBs).
order_numberstring(Optional) Order number of the instruction.

Events by status​

Bankslip Registration​

STATUS
pending_registration

Sent when a bankslip is created and submitted to the issuing bank for registration. The bankslip awaits confirmation from the banking institution. Depending on the bank, the digitable_line, barcode and our_number fields may be present when the bank returns them immediately upon registration. For other banks, those fields are filled in only after the confirmation via the return file.

Webhook Body
{
"webhook_type": "bankslip_collection.bankslip_status_change",
"webhook_datetime": "2026-04-15T12:55:35Z",
"data": {
"bankslip_key": "7a26c259-1b1f-4d73-9a5b-48230022b8f2",
"bankslip_configuration_key": "b6b4ff70-917c-4003-bc4d-ebc4ccdd606c",
"bankslip_profile_key": "5666937c-944a-44c6-98e6-3591f99fe4ff",
"status": "pending_registration",
"fund_class": {
"document_number": "17.645.194/0001-85",
"fund_class_key": "d81118d0-527b-45b0-8c60-76e9d3ab3aa3",
"name": "Nome da Classe do Fundo"
},
"external_participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"face_value": 629.33,
"due_date": "2026-09-17",
"borrower": {
"document_number": "631.430.668-06",
"name": "Nome do Sacado",
"person_type": "natural_person",
"address": {
"postal_code": "05425-020"
}
},
"assignor": {
"name": "Nome do Cedente",
"document_number": "37.341.966/0001-00",
"person_type": "legal_person"
},
"settlement_instructions": [
{
"asset_key": "22fc5c95-3622-48ad-b26a-99f8d0499e69",
"external_id": "758638e4-6fe6-4b69-8799-30728ca16a22",
"asset_type": "duplicata_mercantil",
"issue_date": "2025-01-17",
"maturity_date": "2026-09-17",
"face_value": 629.33,
"status": "pending_bankslip_payment"
}
],
"our_number": 10507,
"our_number_digit": "0"
}
}

Bankslip Registered​

STATUS
registered

Sent when the issuing bank confirms the registration of the bankslip. From this moment on, the bankslip is ready for payment by the drawee. In this webhook, the digitable_line, barcode, our_number and our_number_digit fields will be present.

Webhook Body
{
"webhook_type": "bankslip_collection.bankslip_status_change",
"webhook_datetime": "2026-04-15T13:10:22Z",
"data": {
"bankslip_key": "7a26c259-1b1f-4d73-9a5b-48230022b8f2",
"bankslip_configuration_key": "b6b4ff70-917c-4003-bc4d-ebc4ccdd606c",
"bankslip_profile_key": "5666937c-944a-44c6-98e6-3591f99fe4ff",
"status": "registered",
"fund_class": {
"document_number": "17.645.194/0001-85",
"fund_class_key": "d81118d0-527b-45b0-8c60-76e9d3ab3aa3",
"name": "Nome da Classe do Fundo"
},
"external_participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"face_value": 629.33,
"due_date": "2026-09-17",
"borrower": {
"document_number": "631.430.668-06",
"name": "Nome do Sacado",
"person_type": "natural_person",
"address": {
"postal_code": "05425-020"
}
},
"assignor": {
"name": "Nome do Cedente",
"document_number": "37.341.966/0001-00",
"person_type": "legal_person"
},
"settlement_instructions": [
{
"asset_key": "22fc5c95-3622-48ad-b26a-99f8d0499e69",
"external_id": "758638e4-6fe6-4b69-8799-30728ca16a22",
"asset_type": "duplicata_mercantil",
"issue_date": "2025-01-17",
"maturity_date": "2026-09-17",
"face_value": 629.33,
"status": "pending_bankslip_payment"
}
],
"our_number": 10507,
"our_number_digit": "0",
"digitable_line": "03399.87654 32100.012345 67890.123456 1 00000000062933",
"barcode": "03391000000000629333987654321000123456789012345"
}
}

Bankslip Rejected​

STATUS
rejected

Sent when the issuing bank rejects the registration of the bankslip. The bankslip will not be available for payment and will not advance in the flow. The linked settlement instructions are also marked as rejected.

Webhook Body
{
"webhook_type": "bankslip_collection.bankslip_status_change",
"webhook_datetime": "2026-04-15T13:10:22Z",
"data": {
"bankslip_key": "7a26c259-1b1f-4d73-9a5b-48230022b8f2",
"bankslip_configuration_key": "b6b4ff70-917c-4003-bc4d-ebc4ccdd606c",
"bankslip_profile_key": "5666937c-944a-44c6-98e6-3591f99fe4ff",
"status": "rejected",
"fund_class": {
"document_number": "17.645.194/0001-85",
"fund_class_key": "d81118d0-527b-45b0-8c60-76e9d3ab3aa3",
"name": "Nome da Classe do Fundo"
},
"external_participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"face_value": 629.33,
"due_date": "2026-09-17",
"borrower": {
"document_number": "631.430.668-06",
"name": "Nome do Sacado",
"person_type": "natural_person",
"address": {
"postal_code": "05425-020"
}
},
"assignor": {
"name": "Nome do Cedente",
"document_number": "37.341.966/0001-00",
"person_type": "legal_person"
},
"settlement_instructions": [
{
"asset_key": "22fc5c95-3622-48ad-b26a-99f8d0499e69",
"external_id": "758638e4-6fe6-4b69-8799-30728ca16a22",
"asset_type": "duplicata_mercantil",
"issue_date": "2025-01-17",
"maturity_date": "2026-09-17",
"face_value": 629.33,
"status": "rejected"
}
],
"our_number": 10507,
"our_number_digit": "0"
}
}

Bankslip Written Off​

STATUS
written_off

Sent when the bankslip is written off at the issuing institution. This can happen upon a cancellation request.

Webhook Body
{
"webhook_type": "bankslip_collection.bankslip_status_change",
"webhook_datetime": "2026-04-15T14:30:00Z",
"data": {
"bankslip_key": "7a26c259-1b1f-4d73-9a5b-48230022b8f2",
"bankslip_configuration_key": "b6b4ff70-917c-4003-bc4d-ebc4ccdd606c",
"bankslip_profile_key": "5666937c-944a-44c6-98e6-3591f99fe4ff",
"status": "written_off",
"fund_class": {
"document_number": "17.645.194/0001-85",
"fund_class_key": "d81118d0-527b-45b0-8c60-76e9d3ab3aa3",
"name": "Nome da Classe do Fundo"
},
"external_participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"participant_control_number": "XO0QYVBF1JU9LFBBKGT7XYQV9",
"face_value": 629.33,
"due_date": "2026-09-17",
"borrower": {
"document_number": "631.430.668-06",
"name": "Nome do Sacado",
"person_type": "natural_person",
"address": {
"postal_code": "05425-020"
}
},
"assignor": {
"name": "Nome do Cedente",
"document_number": "37.341.966/0001-00",
"person_type": "legal_person"
},
"settlement_instructions": [
{
"asset_key": "22fc5c95-3622-48ad-b26a-99f8d0499e69",
"external_id": "758638e4-6fe6-4b69-8799-30728ca16a22",
"asset_type": "duplicata_mercantil",
"issue_date": "2025-01-17",
"maturity_date": "2026-09-17",
"face_value": 629.33,
"status": "written_off"
}
],
"our_number": 10507,
"our_number_digit": "0",
"digitable_line": "03399.87654 32100.012345 67890.123456 1 00000000062933",
"barcode": "03391000000000629333987654321000123456789012345"
}
}