---
title: "Switch Bank Account JWE"
method: POST
path: "/bank-account"
---

# Switch Bank Account JWE

`POST /bank-account`

## Request

- Base URL: `https://development.knotapi.com`
- URL: `https://development.knotapi.com/bank-account`
- Auth: HTTP basic

Switch a bank account in a user's merchant account.

## Request body

- object
  - `jwe` string, required: JWE value. The encrypted payload contains a `user` object and a `bank_account` object. Learn more [here](card-switcher/sending-card-data).
  - `task_id` string, required: `task_id` value provided in the [`AUTHENTICATED`](/link/webhook-events/authenticated) webhook.

## Response `200`

Successful request. Receiving this response means your request has passed validations, including the `jwe`.

- object
  - `message` string: Success message.

## Other responses

- `400`: Bad request.
- `403`: Forbidden request.

## Changes

- **2026-11-03** `f10ecfa12c00`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/knotapi/apis/knot-api/changes/bank-account/post.md)

---

[API](https://skmtc.dev/knotapi/apis/knot-api.md) - [All operations](https://skmtc.dev/knotapi/apis/knot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knotapi/apis/knot-api/revisions/f10ecfa12c00?raw)
