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/meters

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

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
meterIdstringrequired
min length 1
namestringrequired
min length 1
eventNamestringrequired
min length 1
aggregationTypestringrequired
Allowed:sumcountmax
windowGrainstringrequired
Allowed:dayweekmonth
createdAtstringrequired
min length 1
filterSchemaobject | null
Show properties
Any of:
object
object
null
null
archivedAtstring | null
Show properties
Any of:
string
string
null
null
totalnumberrequired
hasMorebooleanrequired
nextOffsetnumber | null
Show properties
Any of:
number
number
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/meters?includeArchived=...&environment=sandbox&merchantAccountId=...&limit=100&offset=0" \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "meterId": "string",
        "name": "string",
        "eventName": "string",
        "aggregationType": "sum",
        "windowGrain": "day",
        "createdAt": "string",
        "filterSchema": {
          "property1": "string",
          "property2": "string"
        },
        "archivedAt": "string"
      }
    ],
    "total": 0,
    "hasMore": true,
    "nextOffset": 0
  },
  "requestId": "string"
}

Was this page helpful?