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
  • locationUrl
    Type: string
    min length:  
    1
    required
  • emitImage
    Type: boolean
  • merchantCity
    Type: string
  • merchantName
    Type: string
  • size
    Type: integer Format: int32

    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"
}