GET /v1/checkout/sessions
GET
/v1/checkout/sessionsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredQuery parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
limitstringmatches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
offsetstringmatches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
checkoutSessionsobject[]requiredShow propertiesHide properties
Array of
objectcheckoutSessionIdstringrequiredmin length 1
paymentRequestIdstringrequiredmin length 1
checkoutUrlstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nulltokenstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullmodestringrequiredAllowed:
paymentsubscriptionstatusstringrequiredAllowed:
openpaidcanceledexpiredcustomerIdstringrequiredmin length 1
customerExternalIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
currencystringrequiredmin length 1
amountTotalnumberrequiredamountRemainingnumberrequiredinvoiceNumbersstring[]requiredexpiresAtstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullcreatedAtstringrequiredmin length 1
subscriptionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexternalCustomerRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullsuccessUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcancelUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullreturnUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerEmailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullbillingAddressCollectionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1