---
title: "POST /api/ramp/v{currentVersion}/swaporder/unlock"
method: POST
path: "/api/ramp/v{currentVersion}/swaporder/unlock"
---

# POST /api/ramp/v{currentVersion}/swaporder/unlock

`POST /api/ramp/v{currentVersion}/swaporder/unlock`

## Path parameters

- `currentVersion` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `SwapOrderId` string, required — Id of swap order
  - `UnlockAction` 'Complete' | 'Refund', required — The desired unlock action to perform, Complete or Refund
  - `CryptoAddress` string — Wallet to send crypto to, either complete OnRamp or refund OffRamp
  - `FiatWithdrawalKey` string — Withdrawal information to send fiat to, either complete OffRamp or refund OnRamp

## Response `200`

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

## 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/revisions/c1cf67f85267/schema)
