Skip to main content

Request batch Pix transaction scheduling

QI Tech offers the possibility to perform multiple scheduled pix transactions with a single call. In this system, schedules are made asynchronously. If a http status 4xx is returned on the initial call, none of the schedules will be executed. After the request, the integrator partner will receive a webhook for each pix_schedule rejected at the time of creation.

Request

ENDPOINT
/account/ACCOUNT_KEY/pix_schedule_batch
METHOD
POST
{
"request_control_key": "6e4fc980-f8a1-4462-b6e2-d8a49f0ac055",
"pix_schedules": [
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"pix_transfer_type": "key",
"target_pix_key": "target_pix_key@email.com",
"transaction_amount": 500.65,
"end_to_end_id": "E73856642202309201429bZKfklNlbwu",
"pix_message": "Ola Mundo",
"schedule_date": "2024-12-01"
},
{
"request_control_key": "c6804f35-101e-4702-8fbc-c2dbc4c2caea",
"pix_transfer_type": "manual",
"target_account": {
"account_branch": "0001",
"account_digit": "3",
"account_number": "12345678",
"owner_document_number": "32402502000135",
"owner_name": "Qi Tech",
"account_type": "checking_account",
"ispb": "32402502"
},
"transaction_amount": 500.65,
"pix_message": "Ola Mundo",
"schedule_date": "2024-12-01"
},
{
"request_control_key": "a6804f42-101e-4702-8fbc-c2dbc4c2caed",
"pix_transfer_type": "static_qr_code",
"transaction_amount": 500.65,
"end_to_end_id": "E73856642202309201429bZKfklNlbwu",
"receiver_conciliation_id": "REC00000000000000000000009459463343",
"target_pix_key": "target_pix_key@email.com",
"pix_message": "Ola Mundo"
}
]
}

Path Params

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key.36

Body Params

FieldTypeDescriptionCharacters
request_control_key *uuidv4Unique identification key for the request used by the client in uuid v4 format.36
pix_schedules *arrayList of pix_schedule objects linked to the batch.list of Object pix_schedule

Object pix_schedule

FieldTypeDescriptionCharacters
request_control_key *uuidv4Unique identification key for the request used by the client in uuid v4 format.36
pix_transfer_type *enumeratorType of Pix transfer.Enumerator pix_transfer_type
target_pix_keystringPix key of the account to which the transaction will be sent.100
receiver_conciliation_idstringReconciliation ID of the receiver.35
target_account *ObjectDestination account - Should only be sent for transfers with pix_transfer_type of type manual.Object target_account
transaction_amount *numberTransfer amount.10
end_to_end_idstringIdempotency key for a Pix transaction within the SPI (Instant Payment System). This key is returned in Pix key queries. Should only be sent if pix_transfer_type is key, static_qr_code, or dynamic_qr_code.32
pix_messagestringMessage to be sent along with the Pix transfer.140

Object target_account

FieldTypeDescriptionCharacters
account_branch *stringAccount branch.6
account_digit *stringAccount digit.1
account_number *stringAccount number.20
owner_document_number *stringCPF or CNPJ (numbers only) of the account holder.14
owner_name *stringName of the account holder.150
account_type *enumeratorAccount type.Enumerator account_type
ispb *stringBased on the CNPJ of the financial institution (8 digits).8

Enumerator account_type

EnumeratorDescription
checking_accountChecking Account
salary_accountSalary Account
saving_accountSavings Account
payment_accountPayment Account

Enumerator pix_transfer_type

EnumeratorDescription
manualPix using destination account details. Must send target_account.
keyPix using a pix key. Must send target_pix_key. Recommended to send end_to_end_id from the pix key query if previously performed
static_qr_codePix using a static QR code. Must send the end_to_end_id returned in the QR code decode
dynamic_qr_codePix using a dynamic QR code. Must send the end_to_end_id returned in the QR code decode

Response

STATUS
201
Response Body: Batch Schedule Approved
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"schedule_batch_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"schedule_batch_status": "approved",
"created_at": "2021-10-22T20:30:23.459Z"
}

Enumerador schedule_batch_status

EnumeratorDescription
createdBatch schedule created
approvedBatch schedule approved
rejectedBatch schedule rejected
pending_2fa_approvalBatch schedule pending two-factor authentication approval
STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "description in portuguese",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (ptbr)
translation
400QIT000001Bad Requestschema error descriptionSchema Inválido
404PSC000001Account not FoundAccount was not foundConta não encontrada
406PSC000002Invalid Uuidkey was not accepted for not being a valid uuid v4 stringkey não foi aceito por não ser uma palavra uuid v4 válida
400PSC000003Bad Requestpix_message can not be longer than 140 characterspix_message não pode ser maior que 140 caracteres
400PSC000004Bad RequestEmoji not allowed in pix messageEmoji não é permitido na mensagem pix
406PSC000005Invalid Transaction AmountTransaction amount of transaction_amount is not valid. It must be a positive value with at maximum 2 decimal placesO valor de transação transaction_amount não é válido. Deve ser um valor positivo com no máximo duas casas decimais
406PSC000006Invalid end_to_end_idThe end_to_end_id sent end_to_end_id is not validO end_to_end_id enviado end_to_end_id não é válido
400PSC000007Invalid date formatDates must be sent using format YYYY-MM-DDDatas devem ser enviadas no formato YYYY-MM-DD
400PSC000008Invalid Schedule DateSchedule date must be after current date for UTC-3Data de agendamento deve ser após a data atual em UTC-3
400PSC000009Account is ClosedAccount is closedConta está fechada
400PSC000010Account is BlockedAccount is blockedConta está bloqueada
422PSC000011Invalid Account TypePix is not yet implemented for non-checking or non-escrow account typesTransações Pix não estão implementadas para conta que não sejam escrow ou livres
403PSC000012User is not allowed to do this transactionUser is not allowed to do this transactionUsuário não tem autorização para fazer essa transação
400PSC000013Bad RequestFor Manual Pix Transfer Type a target account must be providedPara transação pix do tipo manual, uma conta destino deve ser fornecida
404PSC000014Inquiry Not FoundPix key inquiry was not foundPesquisa de chave pix não encontrada
400PSC000015Bad RequestPix key sent does match inquiry pix key. Verify if end_to_end_id sent is correctChave Pix enviada não condiz com consulta. Verifique se end_to_end_id enviado está correto
404PSC000016Account not foundNonexistent account in destination financial institutionConta inexistente na instituição financeira de destino
400PSC000017Target Account and Source Account must be differentTarget Account must not be the same as Source AccountA conta de destino não pode ser a mesma da conta de origem
409PSC000018Bad Requestrequest_control_key request_control_key already in userequest_control_key request_control_key já utilizada
400PSC000019Invalid TargetAccount does not have permission to transfer to the given target accountA conta não possui permissão para realizar transferências para a conta enviada
404PSC000020Decode Inquiry Not FoundQR Code decode inquiry not foundPesquisa e decodificação de QR code não encontrada
400PSC000021Bad RequestReceiver Conciliation Id sent does match decode inquiry receiver_conciliation_id. Verify if end_to_end_id sent is correctIdentificador de transação enviado não condiz com consulta. Verifique se end_to_end_id enviado está correto
400PSC000022Bad RequestDynamic Instant QR codes cannot be scheduled for paymentPagamentos de vencimento instantâneo não podem ter pagamento agendado
400PSC000023Bad RequestSchedule Date sent is after max payment date for target qr codeData de agendamento enviada é após a data máxima de pagamento para o qr code enviado
400PSC000024Bad RequestPix transfer type sent does match decode inquiry qr code type. Verify if end_to_end_id sent is correctTipo de transação pix enviado enviado não condiz com tipo de qr code da consulta. Verifique se end_to_end_id enviado está correto
400PSC000040Empty pix-schedule list receivedA list of pix schedules must be providedUma lista de agendamentos pix deve ser fornecida
409PSC000041Bad RequestOne or more request_control_key already in useUma ou mais request_control_key já está sendo utilizada
403PSC000045Requester not allowed to access this endpointRequester has no permission to perform pix transfers on this endpointRequester não possui permissão de realizar transações pix através deste endpoint