---
title: "Sweeping"
method: POST
path: "/open-api/v3/cryptoconnect/sweeping"
tags: ["Sweeping"]
---

# Sweeping

`POST /open-api/v3/cryptoconnect/sweeping`

## Request

- Base URL: `https://api-sandbox.interlace.money`
- URL: `https://api-sandbox.interlace.money/open-api/v3/cryptoconnect/sweeping`
- Auth: API key in header `x-access-token`

Collect sub-wallet funds to the master wallet.

## Request body

- SweepingRequest
  - `accountId` string, uuid, required
  - `currency` 'USDC' | 'USDT' | 'WUSD', required
  - `amount` number: Triggering condition.

## Response `200`

The request has succeeded.

- object
  - `code` string, required: Code
  - `message` string, required: Message
  - `data` SweepingReply, required
    - `taskId` string, required: The unique identifier for the task.

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `403`: Access is forbidden.
- `409`: The request conflicts with the current state of the server.

---

[API](https://skmtc.dev/interlace/apis/crypto-connect.md) - [All operations](https://skmtc.dev/interlace/apis/crypto-connect/llms.txt) - [OpenAPI document](https://skmtc.dev/interlace/apis/crypto-connect/revisions/9d40c2545370?raw)
