---
title: "Retrieves history of token to pix operations"
method: GET
path: "/superuser/sell/token-to-pix/history"
tags: ["Sell Operations"]
---

# Retrieves history of token to pix operations

`GET /superuser/sell/token-to-pix/history`

Retrieves paginated token to pix transactions for user

## Query parameters

- `page` integer
- `pageSize` integer
- `id` string
- `taxId` string
- `txId` string

## Response `200`

Token to pix operations retrieved

- TokenToPixOrderLog
  - `id` string, uuid
  - `pixKey` string
  - `userName` string
  - `userTaxId` string
  - `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
  - `paymentWalletAddress` string
  - `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
  - `createdAt` string, date-time
  - `due` string, date-time
  - `tokenToPixTxs` TokenToPixTx[]
    - `id` object
    - `fromWallet` string
    - `txHash` string
    - `rawAmount` string
    - `amountBrl` integer
    - `markupBrla` integer
    - `accepted` boolean
    - `smartContractOps` SmartcontractOperationLog[]
      - `id` string, uuid
      - `operationName` string
      - `posted` boolean
      - `tx` string
      - `notPostedReason` string
      - `createdAt` string, date-time
      - `isRetry` boolean
      - `feedback` SmartcontractOperationFeedbackLog
        - `id` string, uuid
        - `success` boolean
        - `errorMsg` string
        - `createdAt` string, date-time
    - `transfers` TransferLog[]
      - `amount` integer
      - `name` string
      - `taxId` string
      - `bankCode` string
      - `branchCode` string
      - `accountNumber` string
      - `id` string
      - `createdAt` string, date-time
      - `feedbacks` TransferFeedbackLog[]
        - `id` string, uuid
        - `transferStatus` string
        - `updatedAt` string, date-time
        - `logType` string
        - `error` string
    - `createdAt` 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)
