---
title: "Corporate Swaps"
method: POST
path: "/corporate/swap"
---

# Corporate Swaps

`POST /corporate/swap`

Swap currencies in your corporate account

## Headers

- `api-key` string, required
- `Authorization` string, required

## Request body

- object
  - `applicationId` string, required — Your application ID
  - `sourceAccountId` string, required — The Id of the account to debit
  - `destinationAccountId` string, required — The Id of the account to credit
  - `memo` string — An optional memo
  - `amount` string, required — The amount denominated in the smallest divisible unit of the sending currency. For example: cents or satoshis
  - `ip` string, required — IP address collected as the IP address from which the End User is making the swap request. IMPORTANT - This will be a required parameter from the 15th of June 2023 and is optional until then.

## Response `200`

200

- object
  - `id` string
  - `sourceAccountId` string
  - `destinationAccountId` string
  - `memo` string
  - `status` string
  - `order` object
    - `id` string
    - `price` string
    - `type` string
    - `ticker` string
    - `debit` object
      - `currency` string
      - `amountFloat` string
      - `amount` string
    - `credit` object
      - `currency` string
      - `amountFloat` string
      - `amount` string
  - `datetime` string
  - `balanceBefore` object
    - `balance` object
      - `balance` string
      - `currency` string
    - `amount` object
      - `balance` string
      - `currency` string
    - `currency` string
  - `balanceAfter` object
    - `balance` object
      - `balance` string
      - `currency` string
    - `amount` object
      - `balance` string
      - `currency` string
    - `currency` string
  - `sourceSyncedOwnerId` string
  - `destinationSyncedOwnerId` string
  - `feeEstimate` object
    - `totalFee` string
    - `theirFee` string
    - `ourFee` string
    - `networkFee` string

---

[API](https://skmtc.net/striga/apis/striga-v1.md) · [All operations](https://skmtc.net/striga/apis/striga-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/striga/striga-v1/revisions/63e57aa7df45/schema)
