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/{checkoutSessionId}

GET/v1/checkout/sessions/{checkoutSessionId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
checkoutSessionIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
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/{checkoutSessionId}?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "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"
}

Was this page helpful?