---
title: "POST /api/ramp/v2/swaporder/accept"
method: POST
path: "/api/ramp/v2/swaporder/accept"
---

# POST /api/ramp/v2/swaporder/accept

`POST /api/ramp/v2/swaporder/accept`

## Headers

- `Authorization` string, required

## Request body

- object
  - `previewId` string, required — The previewId returned by the Preview endpoint
  - `externalId` string

## Response `200`

Created

- object
  - `id` string
  - `currency` string
  - `depositAmount` number
  - `blockchain` string
  - `referenceId` string
  - `expireAt` string
  - `depositAddress` string
  - `walletAddress` string
  - `base64QRCode` string
  - `blockchainFee` number

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/transfero/apis/authentication.md) · [All operations](https://skmtc.net/transfero/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/transfero/authentication/versions/c1cf67f85267/schema)
