---
title: "PUT /accounts/{id}"
method: PUT
path: "/accounts/{id}"
---

# PUT /accounts/{id}

`PUT /accounts/{id}`

## Request

- Base URL: `https://sandbox.openpayd.com/api`
- URL: `https://sandbox.openpayd.com/api/accounts/{id}`
- Auth: API key in header `Authorization`

## Path parameters

- `id` string, required

## Request body

- object
  - `friendlyName` string
  - `status` 'ACTIVE' | 'SUSPENDED' | 'CLOSED': `ACTIVE`, `SUSPENDED`, `CLOSED` Caution: Closing an Account is permanent and closed accounts cannot be activated again. Any Payins into closed accounts are automatically rejected.
  - `primary` 'true' | 'false': Easily set a virtual IBAN as the primary account or revert it to a non-primary status.

## Response `200`

---

[API](https://skmtc.dev/openpayd/apis/openpayd-api-1.md) - [All operations](https://skmtc.dev/openpayd/apis/openpayd-api-1/llms.txt) - [OpenAPI document](https://skmtc.dev/openpayd/apis/openpayd-api-1/revisions/5aac5c8ce8e6?raw)
