---
title: "Creates a buy BRLA ticket"
method: POST
path: "/superuser/buy/static-pix"
tags: ["Buy Operations"]
---

# Creates a buy BRLA ticket

`POST /superuser/buy/static-pix`

Creates a ticket for minting BRLA. Duration can be configured, and extra fees can be paid using an BRLA Account balance if available

## Query parameters

- `taxId` string, required

## Request body

- BuyStaticPixInput
  - `amount` integer, required — Amount in cents (e.g. 10 would represent R$0.10)
  - `walletAddress` string, required — Wallet where BRLA tokens will be minted after the payment is detected
  - `chain` 'Polygon' | 'Ethereum' | 'Moonbeam' | 'Tron' | 'XRP' | 'Chiliz', required — Not all chains might be available for every operation
  - `due` integer — Ticket is valid until this time. Represents UNIX seconds. Defaults to 5 hours, and can be at maximum 5 hours from the time of creation
  - `coverFeeWithBrlaAccount` boolean — If your account has fees for minting and you also have a linked BRLA Account, you can use it to cover the minting fees
  - `externalId` string — External id you can input to help later conciliation. Up to 40 alphanumeric characters.

## Response `201`

Buy BRLA ticket created

- BuyStaticPixOutput
  - `id` string, uuid
  - `brCode` string — BR Code to be paid. If you want to create a QR Code, this should be its content
  - `due` string, date-time

## Other responses

- `400` — Input could not be validated
- `401` — Authorization failure
- `429` — Rate limited
- `500` — Error internal to the server which probably shouldn't have happened, try again later

---

[API](https://skmtc.net/brla/apis/brla-superuser-api.md) · [All operations](https://skmtc.net/brla/apis/brla-superuser-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brla/brla-superuser-api/revisions/236b95ba5c14/schema)
