CheckoutSession
One customer's attempt to buy on a checkout.
- checkoutType: string | null
Id required - clientType: string | null
Reference Id requiredYour reference for the session.
- completedType: string | nullFormat: date-time
At requiredWhen the order started, once completed.
- createdType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- customerType: string
Id required - expiresType: stringFormat: date-time
At requiredWhen the session can no longer be paid.
- externalType: string | null
Customer Id required - idType: stringrequired
The session's Spondo Billing ID; what
{CHECKOUT_SESSION_ID}in the success URL becomes. - invoiceType: string | null
Id requiredThat order's first invoice, once completed and invoiced.
- orderType: string | null
Id requiredThe order the session made, once completed.
- selectedType: nullable
Product requiredProperties: 2The product and plan the customer took.
- statusType: enumrequired
open: waiting for the customer to pay.processing: paid, with the payment being confirmed.completed: the order has started.expired: not completed byexpiresAt.canceled: the checkout was archived.valuesopenprocessingcompletedexpiredcanceled