---
search:
  tags:
    - merchantAccounts
    - PUT
seo:
  description: >-
    Reference for the PUT /v1/merchant-accounts/{merchantAccountId} endpoint in
    the Vortex Payments API.
sidebar:
  label: PUT /v1/merchant-accounts/{merchantAccountId}
  badge: PUT
title: PUT /v1/merchant-accounts/{merchantAccountId}
type: openapi-operation
---
`PUT /v1/merchant-accounts/{merchantAccountId}`

**curl**

```bash
curl "https://api.vortex.nyc/v1/merchant-accounts/:merchantAccountId" \
  -X PUT \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

```ts
import { upsertMerchantAccount, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await upsertMerchantAccount({
  client: vortex,
  path: { merchantAccountId: "..." },
  body: {...},
});
```

**Request body** (`application/json`, required)

- `id` (string, required)
- `environment` (string, required)
- `tenantId` (string, required)
- `displayName` (string, required)
- `legalEntityType` (string, required)
- `country` (string, required)
- `merchantMode` (string, required)
- `defaultCurrency` (string, required)
- `status` (string, required)
- `capabilityStatus` (string, required)
- `platformMerchantAccountId` (string | null)
- `identityAnchorMerchantAccountId` (string | null)
- `platformStatus` (string | null)
- `processorAccountRefs` (object[] | null)
- `createdAt` (string, required)
- `updatedAt` (string, required)

Request body example:

```json
{
  "id": "string",
  "environment": "sandbox",
  "tenantId": "string",
  "displayName": "string",
  "legalEntityType": "string",
  "country": "string",
  "merchantMode": "processing",
  "defaultCurrency": "string",
  "status": "draft",
  "capabilityStatus": "string",
  "platformMerchantAccountId": "string",
  "identityAnchorMerchantAccountId": "string",
  "platformStatus": "none",
  "processorAccountRefs": [
    {
      "provider": "string",
      "objectType": "string",
      "objectId": "string",
      "relationship": "string",
      "recordedAt": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "id": "string",
    "environment": "sandbox"
  },
  "requestId": "string"
}
```
