---
title: "Creates a Token to Pix order"
method: POST
path: "/superuser/sell/token-to-pix"
tags: ["Sell Operations"]
---

# Creates a Token to Pix order

`POST /superuser/sell/token-to-pix`

Create Token to Pix order with input information. A wallet address is returned, and the user must send his tokens to this wallet. After we confirm receiving the tokens, the payment is sent to the given pix key

## Query parameters

- `taxId` string, required

## Request body

- TokenToPixInput
  - `token` 'BRLA' | 'USDC' | 'USDT' | 'ETH' | 'GLMR' | 'MATIC' | 'CHZ', required — Not all coins might be available for every operation
  - `chain` 'Polygon' | 'Ethereum' | 'Moonbeam' | 'Tron' | 'XRP' | 'Chiliz', required — Not all chains might be available for every operation
  - `markup` string — If the user wants to add an extra % fee to the operation to be delivered to another wallet. Represents a percentage with at most 4 decimal places (e.g. 0.001 is 0.1%)
  - `markupAddress` string
  - `pixKey` string, required

## Response `201`

Token to Pix order created

- TokenToPixOutput
  - `id` string, uuid
  - `due` string, date-time
  - `paymentWalletAddress` string — Wallet where tokens the user want to sell should be sent to
  - `maximumTokenAmount` string — Maximum amount of tokens we can accept for this operation
  - `minimumTokenAmount` string — Minimum amount of tokens we can accept for this operation. We don't recommend sending an amount too close to the minimum because it fluctuates
  - `token` 'BRLA' | 'USDC' | 'USDT' | 'ETH' | 'GLMR' | 'MATIC' | 'CHZ' — Not all coins might be available for every operation
  - `chain` 'Polygon' | 'Ethereum' | 'Moonbeam' | 'Tron' | 'XRP' | 'Chiliz' — Not all chains might be available for every operation

## 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/versions/236b95ba5c14/schema)
