Create Instant-Billing Dynamic QR Code
POST/pix/deposits/qr-codes/dynamic/instant-billing
Generate a new instant-billing dynamic QR Code for the user.
Request
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
- application/json
Body
required
PIX Key.
Value in R$ cents
Expiration date to pay dynamic QR Code.
User friendly dynamic QR Code identifier.
User defined payment description.
Payer request.
Responses
- 201
- 400
- 401
- 422
The created dynamic QR Code returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Dynamic QR Code ID.
Associated key ID.
Possible values: [PENDING
, READY
, ERROR
]
Dynamic QR Code state.
User defined payment ID.
User defined payment description.
Expiration date to pay dynamic QR Code.
Dynamic QR Code created at.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"key_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"state": "PENDING",
"summary": "party-payment",
"description": "The party payment.",
"expiration_date": "2025-05-11T06:09:43.278Z",
"created_at": "2025-05-07T20:37:54.302Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.
Authorization: http
name: bearertype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://docs.zrobank.io/pix/deposits/qr-codes/dynamic/instant-billing' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"key": "f6e2e084-29b9-4935-a059-5473b13033aa",
"document_value": 2300,
"expiration_date": "2025-05-07",
"summary": "party-payment",
"description": "Dynamic QR Code to receive payment.",
"payer_request": "Send receipt to my email."
}'