Skip to main content

Create Static PIX QR Code

The static QR Code is used for payments where the identity of the payer is unknown, as well as when and how many payers there will be. Basically, it consists of a key, and optionally a value, encoded, and can be paid multiple times, as it only references the key.

Request

ENDPOINT
/account/ACCOUNT_KEY/alias/ALIAS_KEY/qrcode
METHOD
POST
Request Body: Static QR Code
{
"request_control_key": "8a923886-afce-4116-ac1f-69bdffcf8da9",
"qr_code_type": "static",
"pix_key": "joaosilva@gmail.com",
"amount": 10.25,
}

Body Params

FieldTypeDescriptionCharacters
request_control_key *stringUnique UUID4 identifier of the request.-
qr_code_type *stringType of the QR Code."static"
pix_key *stringPIX key representing the destination account of the transaction.-
amountfloatQR Code value.If not provided, it will be entered by the payer.

Response

STATUS
201 Created
Response Body: Create Static QR Code
{
"request_control_key": "037b46b1-0c67-4c0d-aac3-1e395dfdcb10",
"base_64_payload": "<BASE64 DA URI DO PIX COPIA E COLA>"
}
FieldTypeDescriptionCharacters
request_control_key *stringUnique UUID4 identifier of the request.-
base_64_payload *stringURL of the QR Code for payment, in base64.-
STATUS
400
Response Body
{
"title": "Bad Request",
"description": "Invalid payload for QR Code creation.",
"translation": "Payload inválido para a criação de QR Code.",
"code": "QRI000003"
}