Skip to main content

Pix

API data

API Gateway
This API is used for payment gateway operations:

Introduction

The Pix endpoints let you generate a QR Code for payment and check the transaction status using the pixTransactionId identifier.


Generate Pix QR Code

Use the endpoint below to create a Pix charge and retrieve the payment code.

POST /v1/pix

Via REST request with the following body:

Request
{
"amount": 1,
"referenceCode": "123"
}

Data dictionary - Parameters

PROPERTYDESCRIPTIONTYPELOCATIONREQUIREDNOTES
amountPix charge amount.integerbodyyesEnter the transaction amount.
referenceCodeCustomer reference code.stringbodynoOptional field for internal reconciliation.
Pix QR Code generated successfully
{
"statusCode": "05",
"statusDescription": "Aguardando pagamento",
"pixTransactionId": "bec7361e36341a3bdad466b73e32d856abac0da6880d8aadd15b5f2590ff2ccc",
"amount": 1,
"dueDate": "2026-03-20T11:09:57.2758708-03:00",
"qrCode": "11120101021226810014br.gov.bcb.pix2559api.rendimento.com.br/q/v2/1caeaeebf6c32159afe08b41108e4a405204000053039865802BR5914282492060111794414Santa Catarina61080000000062070503***630476AG"
}

Data dictionary - Response

PROPERTYDESCRIPTIONTYPE
statusCodePix charge status code.string
statusDescriptionCurrent status description.string
pixTransactionIdPix transaction identifier.string
amountCharge amount.integer
dueDatePayment due date for the QR Code.string
qrCodePix copy-and-paste code.string

Check Pix payment status

Use the identifier returned when creating the QR Code to check the payment progress.

GET /v1/pix/{pixTransactionId}

Via REST request using the route parameter:

Data dictionary - Parameters

PROPERTYDESCRIPTIONTYPELOCATIONREQUIREDNOTES
pixTransactionIdPix transaction identifier.stringpathyesValue returned by the QR Code generation endpoint.
Pix payment status
{
"statusCode": "05",
"statusDescription": "Aguardando pagamento",
"pixTransactionId": "bec7361e36349a3bdad466b73e10d856abac0da6880d8aadd15b5f2590ff2d9c",
"authorizationCode": "SE000ES282492Z593CTQOHZEYDNDVAHUVC",
"amount": 1,
"releaseAt": "2026-03-20T11:07:00"
}

Data dictionary - Response

PROPERTYDESCRIPTIONTYPE
statusCodePix transaction status code.string
statusDescriptionCurrent status description.string
pixTransactionIdPix transaction identifier.string
authorizationCodeTransaction authorization code.string
amountTransaction amount.integer
releaseAtTransaction release or update date.string

Pix status code table

The Pix endpoints return the statusCode field to indicate the current transaction state.

CODECONSTANTABBR.DESCRIPTIONCATEGORY
0ConfirmedCONCompleted / ApprovedSuccess
01NewNOVNewly created transactionPending / Intermediate state
03PendingConfirmationPPCPending confirmationPending / Intermediate state
05AwaitingPaymentPENAwaiting response from the financial institutionPending / Intermediate state
11AwaitingUserAGUAwaiting user actionPending / Intermediate state
14RetryRETScheduled for retryPending / Intermediate state
06DeniedNEGDenied by the financial institutionDenied / Closed without success
04UndonePPNReverted (pending not confirmed)Denied / Closed without success
09ExpiredEXPExpired due to NIT deadlineDenied / Closed without success
12AbandonedABAExpired due to user inactivityDenied / Closed without success
13CancelledCANCancelled by the user/buyerDenied / Closed without success
02InvalidINVIncorrect parameter during creationError / Block
07ErrorERRCommunication error with the authorizerError / Block
08BlockedBLQBlocked after multiple attemptsError / Block
10ReversedESTReversedPost-payment