Webhooks de dívida
Informação
O timeout para resposta de nosso webhooks é de 10 segundos.
Atenção!
Os webhooks da QI Tech não devem ser mapeadas de forma restrita. Campos adicionais podem ser incluídos aos payloads dos webhooks retornados em nossas APIs.
Webhook de criação de operação
Response Body
{
"key": "871059bd-4014-41ad-82b4-28275ff0e67b",
"data": {
"entry": null,
"borrower": {
"name": "marcos antonio",
"document_number": "33205493087"
},
"contract": {
"urls": ["https://qitech.com.br/"],
"number": "0000000000/SDM",
"signers": [{
"signer_name": "marcos antonio ",
"signer_role": "issuer",
"signer_email": "teste@teste.com",
"signature_url": "https://qitech.com.br/",
"signer_external_key": "c446eaa1-04ec-429c-97b0-2ef8ea583c44",
"signer_document_number": "75305593972"
}],
"external_contract_key": "c446eaa1-04ec-429c-97b0-2ef8ea583c44"
},
"collaterals": [],
"iof_charge_method": "financed",
"disbursement_options": [{
"cet": "0,6200%",
"base_iof": 8.9496686,
"total_iof": 10.09,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-03-01",
"workdays": 395,
"tax_amount": 8.9496686,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 580,
"due_principal": 299.02,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 24.1,
"business_due_date": "2024-04-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.02
}],
"issue_amount": 299.02,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.136276,
"assignment_amount": 299.02,
"disbursement_date": "2022-09-29",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.43,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 24.1,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}, {
"cet": "0,6200%",
"base_iof": 8.9508658,
"total_iof": 10.09,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-05-01",
"workdays": 394,
"tax_amount": 8.9508658,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 579,
"due_principal": 299.06,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 24.06,
"business_due_date": "2024-05-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.06
}],
"issue_amount": 299.06,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.136428,
"assignment_amount": 299.06,
"disbursement_date": "2022-09-30",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.47,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 24.06,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}, {
"cet": "0,6200%",
"base_iof": 8.952063,
"total_iof": 10.09,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-05-01",
"workdays": 394,
"tax_amount": 8.952063,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 578,
"due_principal": 299.1,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 24.02,
"business_due_date": "2024-05-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.1
}],
"issue_amount": 299.1,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.13658,
"assignment_amount": 299.1,
"disbursement_date": "2022-10-01",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.51,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 24.02,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}, {
"cet": "0,6200%",
"base_iof": 8.9532602,
"total_iof": 10.09,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-05-01",
"workdays": 394,
"tax_amount": 8.9532602,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 577,
"due_principal": 299.14,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 23.98,
"business_due_date": "2024-05-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.14
}],
"issue_amount": 299.14,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.136732,
"assignment_amount": 299.14,
"disbursement_date": "2022-10-02",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.55,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 23.98,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}, {
"cet": "0,6200%",
"base_iof": 8.9544574,
"total_iof": 10.09,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-05-01",
"workdays": 393,
"tax_amount": 8.9544574,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 576,
"due_principal": 299.18,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 23.94,
"business_due_date": "2024-05-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.18
}],
"issue_amount": 299.18,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.136884,
"assignment_amount": 299.18,
"disbursement_date": "2022-10-03",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.59,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 23.94,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}, {
"cet": "0,6200%",
"base_iof": 8.9556546,
"total_iof": 10.09,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-05-01",
"workdays": 392,
"tax_amount": 8.9556546,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 575,
"due_principal": 299.22,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 23.9,
"business_due_date": "2024-05-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.22
}],
"issue_amount": 299.22,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.137036,
"assignment_amount": 299.22,
"disbursement_date": "2022-10-04",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.63,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 23.9,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}, {
"cet": "0,6200%",
"base_iof": 8.9568518,
"total_iof": 10.09,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-05-01",
"workdays": 391,
"tax_amount": 8.9568518,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 574,
"due_principal": 299.26,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 23.86,
"business_due_date": "2024-05-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.26
}],
"issue_amount": 299.26,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.137188,
"assignment_amount": 299.26,
"disbursement_date": "2022-10-05",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.67,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 23.86,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}, {
"cet": "0,6200%",
"base_iof": 8.958049,
"total_iof": 10.1,
"annual_cet": "7,6990%",
"installments": [{
"due_date": "2024-05-01",
"workdays": 390,
"tax_amount": 8.958049,
"fine_amount": null,
"due_interest": 0,
"has_interest": true,
"total_amount": 323.12,
"calendar_days": 573,
"due_principal": 299.3,
"additional_costs": [],
"installment_type": null,
"pre_fixed_amount": 23.82,
"business_due_date": "2024-05-02",
"post_fixed_amount": null,
"installment_number": 1,
"installment_status": null,
"principal_amortization_amount": 299.3
}],
"issue_amount": 299.3,
"contract_fees": [{
"fee_type": "tac",
"fee_amount": 1.5
}],
"additional_iof": 1.13734,
"assignment_amount": 299.3,
"disbursement_date": "2022-10-06",
"contract_fee_amount": 1.5,
"disbursed_issue_amount": 287.7,
"external_contract_fees": [],
"number_of_installments": null,
"total_pre_fixed_amount": 23.82,
"external_contract_fee_amount": 0,
"net_external_contract_fee_amount": 0
}],
"prefixed_interest_rate": {
"created_at": null,
"daily_rate": 0.00013368,
"annual_rate": 0.05,
"monthly_rate": 0.00407412,
"interest_base": "calendar_days_365"
},
"post_fixed_interest_base": "workdays",
"post_fixed_interest_rate": 1,
"requester_identifier_key": "57f8e1ce-1080-4d0d-a195-89709b961561"
},
"status": "waiting_signature",
"webhook_type": "debt",
"event_datetime": "2022-09-29 20:00:54"
}
Webhook de desembolso.
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"
}
Webhook de cancelamento.
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 "
}
Webhook de contrato quitado:
Response Body
{
"key": "27a099df-4688-43cb-87fa-515b1cf343a5",
"data": {
"settlement_amount": 3429.38
},
"status": "settled",
"webhook_type": "debt",
"event_datetime": "2022-09-27 07:03:49"
}
Motivos de cancelamento
cancel_reason_enumerator | Descrição |
---|---|
disbursing_error | Operação cancelada por erro no momento do desembolso. |
waiting_signature | Operação cancelada por falta de assinatura. |
is_portability | A operação foi cancelada pois é uma portabilidade que não foi concluída. |
not_collateral_constituted | A operação foi cancelada pois as garantias não foram constituídas. |
entry_not_paid | A operação foi cancelada pois a entrada não foi paga. |
not_assigned | Operação foi cancelada porque o processo de cessão não foi realizado. |
pix_max_retry | Operação cancelada pois o banco recebedor não conseguiu receber o desembolso. |
lack_of_resource | Operação cancelada por falta de recurso. |
manual | Operação cancelada manualmente. |
kyc_not_accepted | Operação cancelada pois não foi aprovada no compliance. |
not_collateral_fgts | Operação cancelada por erro com FTGS. |
agencia_conta_invalida | Agência ou Conta Destinatária do Crédito Inválida. |
not_assigned | Operação foi cancelada porque o processo de cessão não foi realizado. |
invalid_account | Número da conta de destino é inexistente ou inválido. |
invalid_document_number | CPF/CNPJ da conta de destino está incorreto. |
unsupported_transaction | A conta de destino não suporta este tipo de transação. |
bank_slip_payment | Operação cancelada por erro no pagamento do boleto. |
bank_slip_paid | Operação cancelada pois o boleto já está pago. |
bank_slip_written_off | Operação cancelada pois o boleto já está baixado. |
invalid_ispb | Número ISPB é inválido ou inexistente. |
rejected_payment | Ordem de pagamento foi rejeitada pelo banco recebedor. |