LogoLogo
HomeBlogLoginSignup
  • Get started
  • Guides
  • Reference
  • Banking API
    • Entities
    • Counterparties
    • Institutions
    • Bank accounts
    • Virtual accounts
    • Collecting
      • Dynamic QR codes
      • Static QR codes
      • Refund
    • Payment
      • Pix Key
      • Pix Brcode
    • Transfer
    • Documents
      • Collecting
      • Collecting - Refund
      • Payment
      • Payment - Refund
      • Transfer
    • Checkout
    • Developers
      • Webhooks
Powered by GitBook
On this page

Was this helpful?

  1. Banking API
  2. Collecting

Static QR codes

PreviousDynamic QR codesNextRefund

Last updated 4 months ago

Was this helpful?

Get a static QRCode image

get

Gets a static QRCode image

Path parameters
idstringRequired

Static QRCode ID

Responses
200
Static QRCode Image
application/json
401
Unauthorized
application/json
404
Unprocessable Entity
application/json
500
Internal server error
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
401
Unauthorized
application/json
404
Unprocessable Entity
application/json
500
Internal server error
application/json
get
GET /banking/cashin/pix/qrcodes/static/{id}/hash HTTP/1.1
Host: api.sandbox.trio.com.br
Accept: */*
{
  "data": {
    "hash": "0000BResdasadjvajsidunajkTTrioTecnologia"
  }
}
  • POSTCreate a new static QRCode
  • GETGet a specific static QRCode
  • GETGet a static QRCode image
  • GETGet a QRCode static hash

Get a specific static QRCode

get

Get a specific static QRCode

Path parameters
idstring · uuidRequired

Unique identifier

Responses
200
Static QRCode
application/json
401
Unauthorized
application/json
404
Unprocessable Entity
application/json
500
Internal server error
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"
  }
}

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
401
Unauthorized
application/json
500
Internal server error
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"
  }
}