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/checkout/sessions

GET/v1/checkout/sessions
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+)?$
Responses
200

Success

dataobjectrequired
Show properties
checkoutSessionsobject[]required
Show properties
Array of object
checkoutSessionIdstringrequired
min length 1
paymentRequestIdstringrequired
min length 1
checkoutUrlstring | nullrequired
Show properties
Any of:
string
string
null
null
tokenstring | nullrequired
Show properties
Any of:
string
string
null
null
modestringrequired
Allowed:paymentsubscription
statusstringrequired
Allowed:openpaidcanceledexpired
customerIdstringrequired
min length 1
customerExternalIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
currencystringrequired
min length 1
amountTotalnumberrequired
amountRemainingnumberrequired
invoiceNumbersstring[]required
expiresAtstring | nullrequired
Show properties
Any of:
string
string
null
null
createdAtstringrequired
min length 1
subscriptionIdstring | null
Show properties
Any of:
string
string
null
null
externalCustomerRefstring | null
Show properties
Any of:
string
string
null
null
successUrlstring | null
Show properties
Any of:
string
string
null
null
cancelUrlstring | null
Show properties
Any of:
string
string
null
null
returnUrlstring | null
Show properties
Any of:
string
string
null
null
paymentMethodIdstring | null
Show properties
Any of:
string
string
null
null
customerEmailstring | null
Show properties
Any of:
string
string
null
null
billingAddressCollectionstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/checkout/sessions?environment=...&merchantAccountId=...&limit=...&offset=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "checkoutSessions": [
      {
        "checkoutSessionId": "string",
        "paymentRequestId": "string",
        "checkoutUrl": "string",
        "token": "string",
        "mode": "payment",
        "status": "open",
        "customerId": "string",
        "customerExternalId": "string",
        "billingAccountId": "string",
        "currency": "string",
        "amountTotal": 0,
        "amountRemaining": 0,
        "invoiceNumbers": [
          "string"
        ],
        "expiresAt": "string",
        "createdAt": "string",
        "subscriptionId": "string",
        "externalCustomerRef": "string",
        "successUrl": "string",
        "cancelUrl": "string",
        "returnUrl": "string",
        "paymentMethodId": "string",
        "customerEmail": "string",
        "billingAddressCollection": "auto"
      }
    ]
  },
  "requestId": "string"
}