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

**curl**

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

**TypeScript**

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

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

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

- `id` (string, required)
- `environment` (string, required)
- `merchantAccountId` (string, required)
- `currency` (string, required)
- `status` (string, required)
- `grossAmount` (number, required)
- `feeAmount` (number, required)
- `refundAmount` (number, required)
- `adjustmentAmount` (number, required)
- `netAmount` (number, required)
- `direction` (string, required)
- `processorRefs` (object[], required)
- `createdAt` (string, required)
- `updatedAt` (string, required)
- `accrualStartAt` (string | null)
- `accrualEndAt` (string | null)
- `autoCloseAt` (string | null)
- `openedAt` (string | null)
- `closedAt` (string | null)
- `approvedAt` (string | null)

Request body example:

```json
{
  "id": "string",
  "environment": "sandbox",
  "merchantAccountId": "string",
  "currency": "string",
  "status": "accruing",
  "grossAmount": 0,
  "feeAmount": 0,
  "refundAmount": 0,
  "adjustmentAmount": 0,
  "netAmount": 0,
  "direction": "credit",
  "processorRefs": [
    {
      "provider": "string",
      "objectType": "string",
      "objectId": "string",
      "relationship": "string",
      "recordedAt": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string",
  "accrualStartAt": "string",
  "accrualEndAt": "string",
  "autoCloseAt": "string",
  "openedAt": "string",
  "closedAt": "string",
  "approvedAt": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

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