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

GET/v1/prices
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
productIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
priceIdstringrequired
min length 1
productIdstringrequired
min length 1
namestringrequired
min length 1
priceTypestringrequired
Allowed:fixed_recurringfixed_one_timeusage_meteredpay_what_you_wantfreecredit_grantcredit_top_up
currencystringrequired
min length 1
metadataobjectrequired
createdAtstringrequired
min length 1
billingIntervalstring | null
Show properties
Any of:
string
string
null
null
billingIntervalCountnumber | null
Show properties
Any of:
number
number
null
null
unitAmountnumber | null
Show properties
Any of:
number
number
null
null
meterIdstring | null
Show properties
Any of:
string
string
null
null
tiersobject[] | null
Show properties
Any of:
object[]
Array of object
unitAmountnumberrequired
upTonumber | null
Show properties
Any of:
number
number
null
null
null
null
packageAmountnumber | null
Show properties
Any of:
number
number
null
null
packageSizenumber | null
Show properties
Any of:
number
number
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/prices?environment=...&merchantAccountId=...&limit=...&offset=...&includeArchived=...&productId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "priceId": "string",
        "productId": "string",
        "name": "string",
        "priceType": "fixed_recurring",
        "currency": "string",
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "createdAt": "string",
        "billingInterval": "day",
        "billingIntervalCount": 0,
        "unitAmount": 0,
        "meterId": "string",
        "tiers": [
          {
            "unitAmount": 0,
            "upTo": 0
          }
        ],
        "packageAmount": 0,
        "packageSize": 0,
        "archivedAt": "string"
      }
    ],
    "total": 0,
    "hasMore": true,
    "nextOffset": 0
  },
  "requestId": "string"
}

Was this page helpful?