Static QR codes

Create a new static QRCode

post

Create a new static QRCode

Body

Body params to create a static QRCode

amountintegerRequired

Amount value of the static QRCode

descriptionstringOptional

Description of the static QRCode

external_idstringOptional

External ID of the static QRCode

virtual_account_idstringRequired

Virtual account ID

Responses
201
StaticBrcode
application/json
post
POST /banking/cashin/pix/qrcodes/static HTTP/1.1
Host: api.sandbox.trio.com.br
Content-Type: application/json
Accept: */*
Content-Length: 197

{
  "amount": {
    "amount": 2000,
    "currency": "BRL"
  },
  "description": "description",
  "external_id": "external_id",
  "options": {
    "show_qrcode_image": false
  },
  "virtual_account_id": "01919020-51ee-527b-5147-3feacb8ea333"
}
{
  "data": {
    "amount": {
      "amount": 2000,
      "currency": "BRL"
    },
    "description": "description",
    "external_id": "external_id",
    "id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
    "origin_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
    "origin_type": "none",
    "stages": [
      {
        "id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
        "status": "created",
        "timestamp": "2025-02-03 14:34:01.337164Z"
      }
    ],
    "status": "created",
    "timestamp": "2025-02-03 14:34:01.337152Z",
    "virtual_account_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2"
  }
}

Get a specific static QRCode

get

Get a specific static QRCode

Path parameters
idstring · uuidRequired

Unique identifier

Responses
200
Static QRCode
application/json
get
GET /banking/cashin/pix/qrcodes/static/{id} HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
  "data": {
    "amount": {
      "amount": 2000,
      "currency": "BRL"
    },
    "description": "description",
    "external_id": "external_id",
    "id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
    "origin_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
    "origin_type": "none",
    "stages": [
      {
        "id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2",
        "status": "created",
        "timestamp": "2025-02-03 14:34:01.337164Z"
      }
    ],
    "status": "created",
    "timestamp": "2025-02-03 14:34:01.337152Z",
    "virtual_account_id": "41234d60-f6a9-4c9c-8cc3-5769ce9bbea2"
  }
}

Get a static QRCode image

get

Gets a static QRCode image

Path parameters
idstringRequired

Static QRCode ID

Responses
200
Static QRCode Image
application/json
get
GET /banking/cashin/pix/qrcodes/static/{id}/image HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
  "data": {
    "image": "12389HV8AHRIKVHQ374HFULAGLE8FAH0H4F890QHO2HEFOA7EUG8FU"
  }
}

Get a QRCode static hash

get

Gets a static QRCode hash

Path parameters
idstring · uuidRequired

Unique identifier

Responses
200
Hash
application/json
get
GET /banking/cashin/pix/qrcodes/static/{id}/hash HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
  "data": {
    "hash": "0000BResdasadjvajsidunajkTTrioTecnologia"
  }
}

Last updated

Was this helpful?