Skip to main content
POST
/
v1
/
qrcodes
/
static
Create static QR code
curl --request POST \
  --url https://plugin-br-pix-direct-jd.sandbox.lerian.net/v1/qrcodes/static \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "12345678901",
  "amount": 100,
  "recipientName": "João da Silva",
  "accountId": "01989f9e-6508-79f8-9540-835be49fbd0d",
  "txId": "TXN123456789",
  "description": "Payment for services"
}'
{
"qrCode": "00020101021226850014br.gov.bcb.pix2563qrcode-h.jdpix.com.br/v2/cobv/9d36b84fc70b478fb95c12729b90ca255204000053039865802BR5913Merchant Name6009Sao Paulo62070503***63042C43"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Obtain token from /v1/login/oauth/access_token endpoint using client credentials (clientId and clientSecret).

Include token in Authorization header: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Token expires after 3600 seconds (1 hour).

Body

application/json
key
string
required

Pix key of the recipient.

Example:

"12345678901"

amount
number
required

Fixed amount for the static QR code.

Example:

100

recipientName
string
required

Name of the recipient (payee).

Example:

"João da Silva"

accountId
string<uuid>
required

Account identifier of the recipient.

Example:

"01989f9e-6508-79f8-9540-835be49fbd0d"

txId
string
required

Unique transaction identifier (endToEndId).

Example:

"TXN123456789"

description
string
required

Description of the payment.

Example:

"Payment for services"

Response

Static QR code created successfully

qrCode
string
required

Generated Pix QR code string.

Example:

"00020101021226850014br.gov.bcb.pix2563qrcode-h.jdpix.com.br/v2/cobv/9d36b84fc70b478fb95c12729b90ca255204000053039865802BR5913Merchant Name6009Sao Paulo62070503***63042C43"