Pular para o conteúdo principal

Debt Webhooks - Shopee

Info

The response timeout for our webhooks is 5 seconds.

Caution!

QI Tech webhooks should not be mapped strictly. Additional fields may be added to the webhook payloads returned by our APIs.

Webhook Resending

You can query and resend webhooks by following the instructions detailed in the documentation: Webhook Resending.

Disbursement Webhook

Response Body
{
"key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"data": {
"installments": [{
"due_date": "2022-09-29",
"qr_code_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"qr_code_url": "https://qitech.com.br/",
"bank_slip_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"digitable_line": "32990001031000699920446000000201991230000019896"
}, {
"due_date": "2022-10-31",
"qr_code_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"qr_code_url": "https://qitech.com.br/",
"bank_slip_key": "243f9441-872a-4d64-886c-2f9724c36f2e",
"digitable_line": "32990001031000699920447000000209191550000019896"
}, {
"due_date": "2022-11-29",
"qr_code_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"qr_code_url": "https://qitech.com.br/",
"bank_slip_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"digitable_line": "32990001031000699920448000000207891840000019896"
}, {
"due_date": "2022-12-29",
"qr_code_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"qr_code_url": "00020126970014br.gov.bcb.pix2575qrcode-h.sandbox.qitech.app/bacen/cobv/cf7d2d2e-003a-4296-9daf-350864d282245204000053039865802BR5925QI SOCIEDADE DE CREDITO D6009Sao Paulo61080145200062070503***63047335",
"bank_slip_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"digitable_line": "32990001031000699920449000000205892140000019896"
}, {
"due_date": "2023-01-30",
"qr_code_key": "e809ffca-ac2f-4a51-9f4f-df7ffc4de8e3",
"qr_code_url": "https://qitech.com.br/",
"bank_slip_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"digitable_line": "32990001031000699920450000000203792460000019892"
}],
"ted_receipt_list": [{
"fee": 0,
"url": "https://qitech.com.br/",
"amount": 500,
"origin": {
"name": "QI SOCIEDADE DE CRÉDITO DIRETO S.A.",
"type": "payment_account",
"branch": "0001",
"document": "0000000000000",
"bank_code": "000",
"account_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"branch_digit": null,
"account_digit": "5",
"account_branch": "0001",
"account_number": "00002"
},
"timestamp": "2022-09-28T13:00:47",
"description": "DESCRIPTION",
"destination": {
"name": "QI TECH",
"type": "checking_account",
"branch": "0000",
"purpose": "Crédito PIX em Conta",
"document": "000000000000000",
"bank_ispb": "00000000",
"branch_digit": null,
"account_digit": "0",
"account_number": "00000000"
},
"end_to_end_id": null,
"transaction_key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"origin_transaction_key": null
}],
"requester_identifier_key": "57f8e1ce-1080-4d0d-a195-89709b961561"
},
"status": "disbursed",
"webhook_type": "debt",
"event_datetime": "2022-09-28 13:01:23"
}

Cancellation webhook

Response Body
{
"webhook_type": "debt",
"key":"27a099df-4688-43cb-87fa-515b1cf343a5",
"event_datetime": "2022-09-27 07:03:49",
"data": {
"cancel_reason": "Operacao cancelada manualmente",
"cancel_reason_enumerator": "manual"
},
"status":"canceled"
}

Cancel reasons

cancel_reason_enumeratorDescrição
disbursing_errorOperation canceled due to an error during disbursement.
waiting_signatureOperation canceled due to missing signature.
not_assignedOperation canceled because the assignment process was not performed.
manualOperation canceled manually.
unsupported_transactionThe destination account does not support this type of transaction.
rejected_paymentPayment order was rejected by the receiving bank.