---
title: "Swaps between currencies"
method: POST
path: "/superuser/swap/v2/place-order"
tags: ["Swap Operations"]
---

# Swaps between currencies

`POST /superuser/swap/v2/place-order`

Use this endpoint to swap between different currencies. Requires a valid token from the fast-quote endpoint

## Query parameters

- `taxId` string, required

## Request body

- SwapInput
  - `token` string, required — Token acquired from fast-quote endpoint
  - `walletAddress` string
  - `receiverAddress` string
  - `markupAddress` string
  - `enforceAtomicSwap` boolean
  - `externalId` string — External id you can input to help later conciliation. Up to 40 alphanumeric characters.
  - `permit` PermitData
    - `deadline` integer — UNIX milliseconds timestamp
    - `nonce` integer
    - `r` string — Hex encoded (e.g. 0x...)
    - `s` string — Hex encoded (e.g. 0x...)
    - `v` integer
  - `signature` string
  - `signatureDeadline` integer

## Response `201`

Operation created

- SwapOutput
  - `id` string, uuid

## 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)
