---
title: "Set up or update sweeping"
method: POST
path: "/v3/merchant-accounts/{id}/sweeping"
tags: ["Merchant accounts"]
---

# Set up or update sweeping

`POST /v3/merchant-accounts/{id}/sweeping`

Set the automatic sweeping settings for a merchant account.

At regular intervals, any available balance in excess of the configured `max_amount_in_minor` is withdrawn to a pre-configured IBAN.

## Path parameters

- `id` string, uuid, required — Unique ID for the Merchant Account

## Headers

- `Tl-Signature` string, required

## Response `204`

Automatic sweeping enabled

## Other responses

- `400` — Invalid Parameters
- `401` — Unauthenticated
- `403` — Forbidden
- `404` — Account Not Found
- `500` — Unknown Error

---

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