---
title: "Create Settlement for a Trader"
method: POST
path: "/off_exchange/settlements/trader"
tags: ["Off exchanges"]
---

# Create Settlement for a Trader

`POST /off_exchange/settlements/trader`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/off_exchange/settlements/trader`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/off_exchange/settlements/trader/post.ts> (a function with typed inputs; its response is checked against the schema)

Create settlement for a trader.
Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange).
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

## Headers

- `Idempotency-Key` string

## Request body

- SettlementRequestBody
  - `mainExchangeAccountId` string

## Response `201`

A settlement object

- SettlementResponse
  - `id` string
  - `initiator` string
  - `exchangeReply` string
  - `fireblocksInitiatedTransactions` object
  - `exchangeRequestedTransactions` ExchangeSettlementTransactionsResponse
    - `toExchange` ToExchangeTransaction[]
      - `assetId` string
      - `amount` string
      - `dstAddress` string
      - `dstTag` string: optional
    - `toCollateral` ToCollateralTransaction[]
      - `asset` string
      - `amount` string
      - `srcAddress` string
      - `srcTag` string: optional
      - `fee` string: optional

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
