Retrieve a Checkout Session
Retrieve a Checkout Session by its ID.
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
checkout_session_id
string
requiredID of the checkout session to retrieve
Response
200 - application/json
id
string
status
enum<string>
Available options:
open
, complete
, expired
payment_intent_id
string
success_url
string
cancel_url
string
checkout_session_url
string
client_reference_id
string
expiry
string
metadata
object
line_items
object[]
created
string
updated
string
customer_id
string
payment-customer
ID
customer_email
string
amount_total
integer