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/terminal-locations

POST/v1/terminal-locations
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
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
displayNamestringrequired
min length 1
addressobject | null
Show properties
Any of:
object
line1stringrequired
min length 1
line2string | null
Show properties
Any of:
string
string
null
null
citystringrequired
min length 1
regionstring | null
Show properties
Any of:
string
string
null
null
postalCodestringrequired
min length 1
countrystringrequired
min length 1
null
null
Responses
201

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
displayNamestringrequired
min length 1
statusstringrequired
Allowed:activedisabled
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
addressobject | null
Show properties
Any of:
object
line1stringrequired
min length 1
line2string | null
Show properties
Any of:
string
string
null
null
citystringrequired
min length 1
regionstring | null
Show properties
Any of:
string
string
null
null
postalCodestringrequired
min length 1
countrystringrequired
min length 1
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/terminal-locations" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "id": "string",
    "merchantAccountId": "string",
    "displayName": "string",
    "status": "active",
    "createdAt": "string",
    "updatedAt": "string",
    "address": {
      "line1": "string",
      "line2": "string",
      "city": "string",
      "region": "string",
      "postalCode": "string",
      "country": "string"
    }
  },
  "requestId": "string"
}

Was this page helpful?