---
title: "Replace bank"
method: PUT
path: "/banks/{id}/"
tags: ["Payments"]
---

# Replace bank

`PUT /banks/{id}/`

## Request body

- Bank — Workspace-level bank account configured for receiving payments.
  - `id` string
  - `bank` integer, required — Reference to the underlying bank entity (`/generals/banks/`).
  - `name` string, nullable
  - `number` string, nullable
  - `holder_id` string, nullable
  - `holder_name` string, nullable
  - `account_type` 'checking_account' | 'savings_account' | 'sight_account' | 'rut_account' | 'line_of_credit', nullable
  - `auto_match` boolean
  - `extra_data` object
  - `last_sync` string, date-time, nullable
  - `status` 'active' | 'authentication_failed' | 'unknown_error' | 'archived'
  - `archived` string, date-time, nullable
  - `created` string, date-time
  - `updated` string, date-time

## Response `200`

Updated bank.

- Bank — Workspace-level bank account configured for receiving payments.
  - `id` string
  - `bank` integer, required — Reference to the underlying bank entity (`/generals/banks/`).
  - `name` string, nullable
  - `number` string, nullable
  - `holder_id` string, nullable
  - `holder_name` string, nullable
  - `account_type` 'checking_account' | 'savings_account' | 'sight_account' | 'rut_account' | 'line_of_credit', nullable
  - `auto_match` boolean
  - `extra_data` object
  - `last_sync` string, date-time, nullable
  - `status` 'active' | 'authentication_failed' | 'unknown_error' | 'archived'
  - `archived` string, date-time, nullable
  - `created` string, date-time
  - `updated` string, date-time

---

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