Skip to main content

Pix Scheduling completion webhook

After the completion of a Pix schedule, a webhook will be sent to the integration partner with the result.

Warning!

QI Tech webhooks should not be mapped in a restrictive manner. Additional fields may be included in the payloads of the webhooks returned by our APIs.

Webhook Request Body

Request Body: Schedule Completed and Sent
{
"webhook_type": "baas.pix_schedule.completed",
"webhook_datetime": "2021-10-22T20:30:23.459Z",
"data": {
"created_at": "2024-07-10T16:17:28Z",
"pix_message": null,
"rejection_info": null,
"rejection_reason": null,
"request_control_key": "b8eb663e-10fe-4729-9db5-8f8c93de5001",
"schedule_date": "2024-07-10",
"schedule_key": "0c9091ab-079b-4a43-8b3d-d4ba36a23883",
"schedule_status": "sent",
"schedule_transfers": [
{
"created_at": "2024-07-10T16:19:33Z",
"end_to_end_id": "E3240250220240710161922sSHNf8BjI",
"pix_transfer_key": "427b70cd-73b0-45d1-bb4a-97f50f605022",
"pix_transfer_status": "sent"
}
],
"target_account": {
"account_branch": "0001",
"account_digit": "8",
"account_number": "1234567",
"account_type": "checking_account",
"ispb": "99999004",
"owner_document_number": "***91111***",
"owner_name": "Conta manual geral",
"owner_person_type": "natural",
"pix_key": null,
"receiver_conciliation_id": null
},
"transaction_amount": 2.0,
"updated_at": "2024-07-10T16:19:38Z"
}
}
Request Body: Schedule Completed and Rejected
{
"created_at": "2024-07-11T16:03:54Z",
"pix_message": null,
"rejection_info": {
"error_code": "PSC000030",
"error_description": "The maximum amount of pix transfer attempts has been reached",
"error_translation": "A maxima quantidade de retentativas de transacao pix foi atingida",
"rejection_reason": "max_tries_exceeded"
},
"rejection_reason": null,
"request_control_key": "b8eb663e-10fe-4729-9db5-8f8c93de0008",
"schedule_date": "2024-07-11",
"schedule_key": "8b262d82-3fc6-40f0-bfe5-bf18556ededb",
"schedule_status": "rejected",
"schedule_transfers": [
{
"created_at": "2024-07-11T16:04:21Z",
"end_to_end_id": "E32402502202407111604ffoPVrGebI0",
"pix_transfer_key": "c2c4e064-e684-450b-add5-07fb1efe8991",
"pix_transfer_status": "rejected"
},
{
"created_at": "2024-07-11T16:08:33Z",
"end_to_end_id": "E32402502202407111608TQ3C4vRPRPk",
"pix_transfer_key": "c30254db-86b2-4d8a-be01-29fa0d93ae92",
"pix_transfer_status": "rejected"
},
{
"created_at": "2024-07-11T16:09:20Z",
"end_to_end_id": "E32402502202407111609zSUQQOvmMV6",
"pix_transfer_key": "1a329248-fc39-4b49-9b95-8f1c1bb10c8b",
"pix_transfer_status": "rejected"
}
],
"target_account": {
"account_branch": "0001",
"account_digit": "8",
"account_number": "1234567",
"account_type": "checking_account",
"ispb": "99999004",
"owner_document_number": "***91111***",
"owner_name": "Conta manual geral",
"owner_person_type": "natural",
"pix_key": null,
"receiver_conciliation_id": null
},
"transaction_amount": 2.0,
"updated_at": "2024-07-11T16:09:21Z"
}

Webhook Body Param

FieldTypeDescriptionMax. Characters
webhook_typestringAn enumerator that defines the type of event being reported23
webhook_datetimestringDate and time the webhook was sent20
transaction_amountnumberTransfer amount10
target_accountobjectDestination account of the scheduleObject target_account
schedule_transfersarrayList of transfer attempts made by the schedulelist of Object schedule_transfer
schedule_statusstringSchedule statusEnumerator schedule_status
schedule_keystringUnique schedule identification key36
schedule_datestringDate the transaction is to be performed10
request_control_keyuuidv4Unique identification key for the request used by the client in uuid v4 format36
rejection_infoobjectObject with information about the rejection event
rejection_reasonstringRejection reason100
pix_messagestringMessage to be sent along with the Pix transfer140
updated_atstringDate and time of the last schedule update20
created_atstringDate and time of schedule creation20

Pix Schedule Status

EnumeratorDescription
scheduledScheduled transaction
sentSchedule completed and successfully sent. Final status
rejectedSchedule rejected during creation or execution. Final status
cancelledSchedule canceled by customer request. Final status
pending_2fa_approvalPending two-factor authentication approval
pending_creationSchedule in the process of creation (Transitional state for batch scheduling)
waiting_batch_approvalSchedule created and linked to a batch awaiting two-factor authentication approval

Schedule Transfer Object

FieldTypeDescriptionCharacters
pix_transfer_keyuuidv4Unique identification key for the Pix transfer in the QI system36
end_to_end_id *stringIdempotency key for a Pix transaction within the SPI (Instant Payment System)32
pix_transfer_statusstringTransaction statusEnumerator pix_transfer_status
created_atstringDate and time the transaction was created20

Enumerator Pix Transfer Status

EnumeratorDescription
sentTransaction successfully sent. Final status
rejectedTransaction rejected during execution. Final status
pendingTransaction pending conclusion. Transitional state

Object target_account

FieldTypeDescriptionCharacters
account_branchstringAccount branch6
account_digitstringAccount digit1
account_numberstringAccount number20
owner_document_numberstringCPF or CNPJ (numbers only) of the account holder14
owner_namestringName of the account holder150
owner_person_typeenumeratorIdentifier indicating whether the account owner is an individual or legal entityEnumerator owner_person_type
account_typeenumeratorAccount typeEnumerator account_type
ispbstringEight-digit code that identifies banks in the Central Bank's reserve transfer system8
pix_keystringTarget pix key of the schedule100

Enumerator owner_person_type

EnumeratorDescription
naturalIndividual
legalLegal entity

Enumerator account_type

EnumeratorDescription
checking_accountChecking Account
salary_accountSalary Account
saving_accountSavings Account
payment_accountPayment Account