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

# Creates a pix-to-usd ticket

`POST /superuser/buy/pix-to-usd`

Creates a ticket for buying a dollar stablecoin. Requires a valid token obtained from the fast-quote endpoint

## Query parameters

- `taxId` string, required

## Request body

- BuyPixToUsdInput
  - `token` string, required — Token acquired from fast-quote endpoint
  - `receiverAddress` string, required
  - `markupAddress` string
  - `externalId` string — External id you can input to help later conciliation. Up to 40 alphanumeric characters.

## Response `201`

Pix-to-usd ticket created

- BuyPixToUsdOutput
  - `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)
