---
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}`

## Request

- Base URL: `https://restapi.rev.io`
- URL: `https://restapi.rev.io/v1/PaymentAccounts/bankaccount/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/rev-io/apis/rev-io-api/docs/v1/PaymentAccounts/bankaccount/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

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.
  - `institution_number` string: Institution number.
  - `transit_number` string: Transit number.
  - `email` string: Email address.
  - `phone` string: Phone 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

## Changes

- **2026-11-03** `f175f5a3b11d`: 1 breaking, 12 info
  - request body became required
  - added the new optional request property `email` (media type: application/json)
  - added the new optional request property `email` (media type: text/json)
  - added the new optional request property `email` (media type: text/html)
  - …9 more

[Operation history](https://skmtc.dev/rev-io/apis/rev-io-api/changes/v1/PaymentAccounts/bankaccount/:id/put.md)

---

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