Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

POST /v1/merchant-accounts/{merchantAccountId}/statements

POST/v1/merchant-accounts/{merchantAccountId}/statements
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
merchantAccountIdstringrequired
min length 1
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Request body
requiredapplication/json
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
idempotencyKeystring | null
Show properties
Any of:
string
string
null
null
filenamestringrequired
min length 1
contentTypestringrequired
Allowed:text/csvtext/plaintext/tab-separated-valuesapplication/pdfapplication/octet-stream
bodystringrequired
min length 1
Responses
201

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
merchantAccountIdstringrequired
min length 1
filenamestringrequired
min length 1
statusstringrequired
Allowed:receivedparsedfailed
createdAtstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
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"}'
Response
{
  "data": {
    "id": "string",
    "environment": "sandbox",
    "merchantAccountId": "string",
    "filename": "string",
    "status": "received",
    "createdAt": "string"
  },
  "requestId": "string"
}