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

GET /v1/usage-thresholds

GET/v1/usage-thresholds
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
includeArchivedstring
limitstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
offsetstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
thresholdIdstringrequired
min length 1
meterIdstringrequired
min length 1
thresholdValuenumberrequired
createdAtstringrequired
min length 1
customerIdstring | null
Show properties
Any of:
string
string
null
null
archivedAtstring | null
Show properties
Any of:
string
string
null
null
hasMorebooleanrequired
totalnumberrequired
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/usage-thresholds?environment=...&merchantAccountId=...&includeArchived=...&limit=...&offset=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "thresholdId": "string",
        "meterId": "string",
        "thresholdValue": 0,
        "createdAt": "string",
        "customerId": "string",
        "archivedAt": "string"
      }
    ],
    "hasMore": true,
    "total": 0
  },
  "requestId": "string"
}

Was this page helpful?