---
title: "Replace a bank account payment account"
method: PUT
path: "/v1/PaymentAccounts/bankaccount/{id}"
tags: ["PaymentAccounts"]
---

# Replace a bank account payment account

`PUT /v1/PaymentAccounts/bankaccount/{id}`

Updates an existing payment account for bank accounts.

## Path parameters

- `id` integer, required

## Request body

- RevAppUpdateModelsBankAccount — Update model for Bank Account Payment Accounts
  - `payment_account_id` integer — Primary identifier for this payment account.
  - `account_name` string, required — The name on the bank account.
  - `account_type` 'CHECKING' | 'SAVINGS', required — Indicates the type of bank account.
  - `bank_name` string — Bank name.
  - `check_number` string — Check number.
  - `customer_id` integer, required — Foreign identifier indicating the customer account associated with this payment method
  - `address_id` integer — Foreign identifier indicating the address associated with this payment method If no address is supplied, the billing address on the customer is used

## Response `200`

OK

- RevWebAPIModelsSuccess
  - `ok` boolean

## Other responses

- `400` — BadRequest
- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/revisions/135571434f6c/schema)
