Skip to main content

Pix Schedule Completion Webhook

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

Warning!

QI Tech webhooks should not be mapped in a restrictive way. Additional fields may be included in the webhook payloads 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 of webhook dispatch20
transaction_amountnumberTransfer amount10
target_accountobjectSchedule destination accounttarget_account object
schedule_transfersarrayList of transfer attempts performed by the schedulelist of schedule_transfer object
schedule_statusstringSchedule statusschedule_status enumerator
schedule_keystringUnique schedule identification key36
schedule_datestringDate on which the transaction will be performed10
request_control_keyuuidv4Unique request identification key used by the client in uuid v4 format36
rejection_infoobjectObject with information about the rejection event
rejection_reasonstringReason for rejectionrejection_reason enumerators
pix_messagestringMessage to be sent along with the Pix transfer140
updated_atstringDate and time of the last schedule update20
created_atstringSchedule creation date and time20

Pix Schedule Status

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

Schedule Transfer Object

FieldTypeDescriptionCharacters
pix_transfer_keyuuidv4Unique identification key of the Pix transfer in the QI system36
end_to_end_id *stringIdempotency key of a Pix transaction within SPI (Instant Payment System)32
pix_transfer_statusstringTransaction statuspix_transfer_status enumerators
created_atstringTransaction creation date and time20

Pix Transfer Status Enumerator

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

target_account Object

FieldTypeDescriptionCharacters
account_branchstringAccount branch6
account_digitstringAccount digit1
account_numberstringAccount number20
owner_document_numberstringCPF or CNPJ (numbers only) of the account holder14
owner_namestringAccount holder name150
owner_person_typeenumeratorIdentifier indicating whether the account owner is a natural or legal personowner_person_type enumerator
owner_namestringAccount holder name150
account_typeenumeratorAccount typeaccount_type enumerator
ispbstringEight-digit code that identifies banks in the Central Bank reserve transfer system8
pix_keystringSchedule target pix key100

owner_person_type Enumerator

EnumDescription
naturalNatural person
legalLegal person

account_type Enumerator

EnumeratorDescription
checking_accountChecking Account
salary_accountSalary Account
saving_accountSavings Account
payment_accountPayment Account

rejection_reason Enumerators

EnumeratorDescription
target_creation_errorError in schedule creation
limit_date_for_approval_surpassedApproval deadline surpassed
limit_date_for_batch_approval_surpassedBatch approval deadline surpassed
max_tries_exceededMaximum number of attempts exceeded
rejection_by_transferRejection by transfer
target_changeChange in destination account
invalid_pix_keyInvalid Pix key
max_token_validation_attempts_exceededMaximum number of token validation attempts exceeded
error_sending_tokenError sending token
max_token_validation_attempts_exceeded_for_batchMaximum number of token validation attempts for batch exceeded