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

# Creates a Token to Pix (Solana) order

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

## Request

- Base URL: `https://api.brla.digital:5567/v1`
- URL: `https://api.brla.digital:5567/v1/superuser/sell/token-to-pix/solana`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key` and API key in header `X-API-Signature` and API key in header `X-API-Timestamp`
- TypeScript: <https://skmtc.dev/brla/apis/brla-superuser-api/docs/superuser/sell/token-to-pix/solana/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a Token to Pix order on Solana chain. A transaction (rawTx) is prepared and must be signed by the user before finalizing the process.

## Request body

- PlaceSolanaTokenToPixInput
  - `rawTx` string, required
  - `signature` string, required
  - `markup` string
  - `markupAddress` string
  - `pixKey` string, required
  - `taxId` string, required

## Response `201`

Token to pix solana order created

- PlaceSolanaTokenToPixOutput
  - `id` string: Unique identifier for the newly created token-to-pix solana order

## 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.dev/brla/apis/brla-superuser-api.md) - [All operations](https://skmtc.dev/brla/apis/brla-superuser-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brla/apis/brla-superuser-api/revisions/236b95ba5c14?raw)
