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

**curl**

```bash
curl "https://api.vortex.nyc/v1/merchant-accounts/{merchantAccountId}/statements?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"environment":"sandbox","filename":"stripe-sept.csv","contentType":"text/csv","body":"id,Type,Amount,Fee,Net\nch_1,charge,100.00,3.20,96.80"}'
```

**TypeScript**

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

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await uploadMerchantStatement({
  client: vortex,
  path: { merchantAccountId: "..." },
  query: { environment: "sandbox", merchantAccountId: "..." },
  body: {"environment":"sandbox","filename":"stripe-sept.csv","contentType":"text/csv","body":"id,Type,Amount,Fee,Net\nch_1,charge,100.00,3.20,96.80"},
});
```

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

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `idempotencyKey` (string | null)
- `filename` (string, required)
- `contentType` (string, required)
- `body` (string, required)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "idempotencyKey": "string",
  "filename": "string",
  "contentType": "text/csv",
  "body": "string"
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "id": "string",
    "environment": "sandbox",
    "merchantAccountId": "string",
    "filename": "string",
    "status": "received",
    "createdAt": "string"
  },
  "requestId": "string"
}
```
