---
title: "Update a merchant"
method: PUT
path: "/merchants/{merchantId}"
---

# Update a merchant

`PUT /merchants/{merchantId}`

## Path parameters

- `merchantId` string, required

## Request body

- object
  - `name` string — The merchant name
  - `displayName` string — The merchant display name
  - `logo` object — A logo of the merchant
    - `file` string — The file in base64
    - `fileName` string — The file name
    - `fileType` string — The file type
  - `bban` string — The merchant bank account bban
  - `iban` string — The merchant bank account iban
  - `psuId` string — The merchant national id
  - `psuCorporateId` string — The merchant business id
  - `phoneNumber` string — The merchant phone number

## Response `200`

Response

- Merchant
  - `name` string — The merchant name
  - `bban` string — The merchant bank account bban
  - `iban` string — The merchant bank account iban
  - `id` string — The merchant unique identifier
  - `psuId` string — National id of the merchant
  - `psuCorporateId` string — Business id of the merchant
  - `phoneNumber` string — Phone number of the merchant
  - `displayName` string — The merchant display name
  - `logoUrl` string — The url of the logo file
  - `createdAt` string — The timestamp in UTC when the marchant was created
  - `isDeleted` boolean — Indicates if the merchant is deleted

## Other responses

- `400` — Invalid request format or parameters
- `401` — Unauthorized access - Invalid access token
- `403` — Forbidden - Access token missing the required permissions to preform this action
- `404` — Missing ordId or userId in token
- `500` — Internal server error

---

[API](https://skmtc.net/open-finance/apis/auth.md) · [All operations](https://skmtc.net/open-finance/apis/auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open-finance/auth/versions/b4d401b65c3d/schema)
