Compose a dynamic Pix BR Code
Builds the EMV BR Code (pixCopiaECola) for a location URL and optionally its PNG image.
Body·
required
application/json
- Type: stringlocation
Url min length:1required - Type: booleanemit
Image - Type: stringmerchant
City - Type: stringmerchant
Name - Type: integer Format: int32size
Signed 32-bit integers (commonly used integer type).
Responses
- application/json
- application/json
Request Example for post/qr/compose
curl http://localhost/qr/compose \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"locationUrl": "pix.finaya.tech/api/v2/loc/abc123",
"merchantName": "Loja Exemplo",
"merchantCity": "SAO PAULO",
"emitImage": true,
"size": 512
}'
{
"pixCopiaECola": "00020101021226...6304ABCD",
"imagem": "string"
}