Create static QR Code
Request
ENDPOINT
/baas/qrcode/staticMETHOD
POSTRequest Body
{
"qr_code_format": "both",
"pix_key": "3d7d6a2b-f72f-44c7-bb20-79a94dff5954",
"receiver_name": "Tywin Lannister",
"amount": 10.25
}
Body params
Field | Type | Description | Characters |
---|---|---|---|
qrcode_format | string | Indicates the type of return after the QR Code is generated (image, payload, both: default). | - |
pix_key * | string | Pix key linked to the receiving account when executing the payment with the QR Code. | 10 |
receiver_name * | string | Name of the account owner. | - |
amount | float | QR Code amount. If not provided, the payer must enter the total during the transfer. | - |
Response
STATUS
200Response Body
{
"image": "\<IMAGE BASE64\>",
"payload": "\<URI from Pix copia e cola\>"
}
STATUS
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}