GET /v1/checkout/sessions/{checkoutSessionId}
GET
/v1/checkout/sessions/{checkoutSessionId}Authorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
checkoutSessionIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
checkoutSessionIdstringrequiredmin 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