---
title: "Create a merchant"
method: POST
path: "/merchants"
---

# Create a merchant

`POST /merchants`

## Request

- Base URL: `https://api.open-finance.ai/v2`
- URL: `https://api.open-finance.ai/v2/merchants`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `create:merchants`

## Request body

- object
  - `name` string, required: The merchant name
  - `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
  - `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

## Response `201`

Response

- object
  - `id` string: The unique identifier of the new merchant

## Other responses

- `400`: Invalid request format or invalid body
- `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.dev/open-finance/apis/data.md) - [All operations](https://skmtc.dev/open-finance/apis/data/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/data/revisions/c18eafb2a770?raw)
