Checkout Session (v1)
Legacy Checkout Session snapshot for checkout_session.completed with api_version v1. The related payment is represented by payment_id.
- idType: stringrequired
Checkout Session ID.
- objectenumconst:checkout_sessionrequired
Identifies the resource carried by this event.
- statusType: stringenumrequired
Checkout Session status at the time of the event.
values- complete
The Checkout Session has completed.
- expired
The Checkout Session has expired.
- open
The Checkout Session is still open.
- complete
- paymentType: stringenum
_status requiredPayment status at the time of the event. Use this value to determine whether payment has completed.
values- no
_payment _required This Checkout Session does not require payment.
- processing
The payment is still processing.
- paid
Payment has completed.
- unpaid
Payment has not completed.
- no
- amountType: integerFormat: int64
_total requiredTotal Checkout amount. Expressed in the smallest currency unit.
- currencyType: stringrequired
Three-letter currency code.
- accountType: string
_id Account associated with the Checkout Session.
- livemodeType: boolean
Whether the resource belongs to live mode or test mode.
- clientType: string | null
_reference _id Your reference for this Checkout Session.
- clientType: string | null
_customer _id Your reference for the customer.
- metadata
Metadata attached to the resource.
Metadata attached to the resource.
- propertyadditionalPropertyType: string
Name
- paymentType: string
_id requiredRelated Payment ID.
- customerType: string | null
Related Customer ID.

