Dynamic QR Codes
Creates a new dynamic pix QRCode
Body params to create a dynamic QRCode
Amount value of the dynamic QRCode
Description of the dynamic QRCode
Expiration datatime
External ID of the dynamic QRCode
Virtual Account ID
Pix QRCode
Unauthorized
Internal server error
POST /banking/cashin/pix/qrcodes HTTP/1.1
Host: api.sandbox.trio.com.br
Content-Type: application/json
Accept: */*
Content-Length: 432
{
"amount": 10,
"counterparty": {
"bank_accounts": [
{
"branch": "1",
"digit": "1",
"ispb": "00000001",
"number": "80808080",
"type": "checking"
}
],
"name": "counterparty_name",
"tax_number": "45261517001"
},
"description": "description",
"expiration_datetime": "2025-07-28 14:14:57.469802Z",
"external_id": "external_id",
"options": {
"allow_change_the_amount_on_payment": true,
"show_qrcode_image": true
},
"virtual_account_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2"
}
{
"data": {
"allow_change_the_amount_on_payment": true,
"amount": {
"amount": 10,
"currency": "BRL"
},
"counterparty_bank_accounts": [
{
"branch": "0001",
"digit": "12345",
"ispb": "00000001",
"number": "12345",
"type": "checking"
}
],
"counterparty_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"description": "QRCode 1",
"expiration_datetime": "2025-07-28 14:14:57.349059Z",
"external_id": "external_id",
"hash": "123",
"id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"image": "12389HV8AHRIKVHQ374HFULAGLE8FAH0H4F890QHO2HEFOA7EUG8FU",
"origin_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"origin_type": "none",
"stages": [
{
"id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"status": "created",
"timestamp": "2025-07-28 14:14:57.349061Z"
}
],
"status": "created",
"timestamp": "2025-07-28 14:14:57.349039Z",
"virtual_account_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2"
}
}
Gets a specific dynamic QRCode
Unique identifier
Dynamic
Unauthorized
Unprocessable Entity
Internal server error
GET /banking/cashin/pix/qrcodes/{id} HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": {
"allow_change_the_amount_on_payment": true,
"amount": {
"amount": 10,
"currency": "BRL"
},
"counterparty_bank_accounts": [
{
"branch": "0001",
"digit": "12345",
"ispb": "00000001",
"number": "12345",
"type": "checking"
}
],
"counterparty_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"description": "QRCode 1",
"expiration_datetime": "2025-07-28 14:14:57.349059Z",
"external_id": "external_id",
"hash": "123",
"id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"image": "12389HV8AHRIKVHQ374HFULAGLE8FAH0H4F890QHO2HEFOA7EUG8FU",
"origin_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"origin_type": "none",
"stages": [
{
"id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
"status": "created",
"timestamp": "2025-07-28 14:14:57.349061Z"
}
],
"status": "created",
"timestamp": "2025-07-28 14:14:57.349039Z",
"virtual_account_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2"
}
}
Updates a dynamic pix QRCode
Unique identifier
Body params to update a dynamic QRCode
Amount value of the dynamic QRCode
Expiration datetime in ISO8601
Update
No Content
Unauthorized
Internal server error
PUT /banking/cashin/pix/qrcodes/{id} HTTP/1.1
Host: api.sandbox.trio.com.br
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"amount": 100,
"expiration_datetime": "2025-07-28 14:14:57.526562Z"
}
No Content
Gets a dynamic hash
Unique identifier
Hash
Unauthorized
Unprocessable Entity
Internal server error
GET /banking/cashin/pix/qrcodes/{id}/hash HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": {
"hash": "0000BResdasadjvajsidunajkTTrioTecnologia"
}
}
Gets a dynamic pix QRCode image
Dynamic Pix QRCode ID
Image
Unauthorized
Unprocessable Entity
Internal server error
GET /banking/cashin/pix/qrcodes/{id}/image HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
"data": {
"image": "12389HV8AHRIKVHQ374HFULAGLE8FAH0H4F890QHO2HEFOA7EUG8FU"
}
}
Was this helpful?