Skip to main content
POST
Create a new dynamic pix QRCode with due date

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

Trio-Version
enum<string>
required

Version of the v2 contract the client is written against. Each breaking change publishes a new version.

Available options:
2026-10-19.v2
Trio-Target-Org-Id
string<uuid>

ID of another org to act on instead of the API key's own org. The key's org must have been granted access to it, and the request is refused with 403 FORBIDDEN otherwise. When that access or the API key is read-only, only GET and HEAD requests may carry it. When the target org requires mTLS, so does the request. Leave it out to act on the key's own org.

Body

application/json

Pix QRCode with due date payload

Body params to create a dynamic QRCode with due date

amount
integer
required

Amount value of the dynamic QRCode

bank_account_id
string
required

Bank Account ID

counterparty
object
required

Counterparty (payer) information. Required for QRCodes with due date

due_detail
V2 PixDueDetailParams · object
required

Due detail of a Pix charge with due date. Each rule takes amount (cents) for the amount calculation type and value (basis points, 100 = 1%) for percentage.

Example:
options
object
required

QRCode creation options

description
string

Description of the dynamic QRCode

expiration_days
integer | null

Number of days after the due date during which the QRCode can still be paid. Defaults to 1

Required range: x >= 0
external_id
string

External ID of the dynamic QRCode

merchant
object | null

Merchant to register as the split org merchant. When sent, it is saved.

platform_id
string | null

Platform ID of the dynamic QRCode

splits
object[] | null

Cashin split configurations

Response

Pix QRCode with due date

Response schema for a single dynamic QRCode with due date

data
V2 DynamicQRCodeWithDueData · object

A dynamic QRCode with due date, as returned by show and create. image is present only when create was asked for it with options.show_qrcode_image.

Example: