Skip to main content

Query Payment Order

Request

This endpoint allows querying the details of a specific payment order associated with an automatic Pix recurrence.

ENDPOINT
/account/ACCOUNT_KEY/outgoing_recurrence/OUTGOING_RECURRENCE_KEY/payment_order/PAYMENT_ORDER_KEY
METHOD
GET

Path Params

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key.36
outgoing_recurrence_keyuuidv4Unique key of the recurrence to be queried.36
payment_order_keyuuidv4Unique key of the payment order to be queried.36

Response Body

STATUS
200
Response Body
{
"outgoing_recurrence_spi_id": "RR2222222220240429njua7shf40k",
"payment_order_status": "paid",
"reference_date": "2025-06-30",
"payment_order_conciliation_batch_key": "21fc62fd-b0a0-4604-9bea-475e91a9dc82",
"receiver_conciliation_id": "cac0b5f7-4ee2-40f1-b2ad-16902506503d",
"transaction_amount": 125.53,
"transaction_key": "21fc62fd-b0a0-4604-9bea-475e91a9dc56",
"incoming_pix_transfer_key": "21fc62fd-b0a0-4604-9bea-475e91a9dc56",
"debtor_account_data": {
"account_number": "897465",
"account_digit": "1",
"account_branch": "0123",
"ispb": "323243"
},
"created_at": "2021-10-22T20:30:23.459Z",
"paid_at": "2023-10-22T20:30:23.459Z",
"payment_order_attempts": [
{
"payment_order_attempt_key": "uuid",
"end_to_end_id": "id",
"payment_order_attempt_status": "sent",
"payment_order_attempt_error": {
"code": "code",
"description": "description do error",
"translation": "translation"
},
"created_at": "2021-10-22T20:30:23.459Z"
}
]
}

Response Body Params

FieldTypeDescriptionCharacters
outgoing_recurrence_spi_idstringSPI ID of the automatic recurrence.36
payment_order_statusstringCurrent status of the payment order.payment_order_status Enumerators
reference_datestringReference date of the charge.10
payment_order_conciliation_batch_keyuuidv4Conciliation batch key of the payment order.36
receiver_conciliation_iduuidv4Receiver conciliation ID.36
transaction_amountnumberTransaction amount.-
transaction_keyuuidv4Unique transaction key.36
incoming_pix_transfer_keyuuidv4Incoming Pix transfer key.36
debtor_account_dataobjectDebtor account data.debtor_account_data Object
created_atstringOrder creation date/time.-
paid_atstringPayment completion date/time.-
payment_order_attemptsarrayPayment attempts for the order.payment_order_attempts Array

debtor_account_data Object

FieldTypeDescriptionCharacters
account_numberstringAccount number-
account_digitstringAccount digit-
account_branchstringBranch-
ispbstringFinancial institution ISPB-

payment_order_attempts Array

FieldTypeDescriptionCharacters
payment_order_attempt_keystringUnique key of the payment attempt.36
end_to_end_idstringEnd-to-end identifier of the attempt.36
payment_order_attempt_statusstringStatus of the payment attempt.-
payment_order_attempt_errorobjectError associated with the payment attempt.payment_order_attempt_error Object
created_atstringAttempt creation date/time.-

payment_order_attempt_error Object

FieldTypeDescriptionCharacters
codestringError code.-
descriptionstringError description.-
translationstringDescription translation.-

payment_order_status Enumerators

EnumeratorDescription
pending_conciliationAwaiting conciliation.
pendingPending and not yet processed.
acceptedAccepted and awaiting payment.
paidSuccessfully paid.
rejectedRejected and will not be processed.
cancelledCancelled before payment.
STATUS
4XX
Response Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em português",
"code": "codigo"
}
HTTP CodeQI Code
code
Title
title
Description (eng)
description
Description (ptbr)
translation
400QIT000002Bad RequestInvalid request schema.Erro no esquema da requisição.
404APX000002Payment Order Not FoundPayment order {payment_order_key} not found.Ordem de pagamento {payment_order_key} não encontrada.