Browse Packages

Interface: CheckoutSessionPayload

Defined in: packages/sdk/src/core/types.ts:244

Minimal shape of the CheckoutSession returned from commit. Extra fields from the server are preserved — we surface the well-known ones here for IntelliSense but consumers can read any key off the raw object.

Indexable

[key: string]: unknown

Properties

client_secret?

optional client_secret?: string

Defined in: packages/sdk/src/core/types.ts:259


currency?

optional currency?: string

Defined in: packages/sdk/src/core/types.ts:248


customer?

optional customer?: Customer

Defined in: packages/sdk/src/core/types.ts:255


discounts?

optional discounts?: unknown[]

Defined in: packages/sdk/src/core/types.ts:253


id

id: string | number

Defined in: packages/sdk/src/core/types.ts:245


intent_id?

optional intent_id?: string

Defined in: packages/sdk/src/core/types.ts:257


intent_mode?

optional intent_mode?: string

Defined in: packages/sdk/src/core/types.ts:258


intent_type?

optional intent_type?: string

Defined in: packages/sdk/src/core/types.ts:256


line_items?

optional line_items?: unknown[]

Defined in: packages/sdk/src/core/types.ts:252


properties?

optional properties?: Record<string, unknown>

Defined in: packages/sdk/src/core/types.ts:254


status

status: string

Defined in: packages/sdk/src/core/types.ts:247


subtotal?

optional subtotal?: number

Defined in: packages/sdk/src/core/types.ts:249


tax?

optional tax?: number

Defined in: packages/sdk/src/core/types.ts:250


total?

optional total?: number

Defined in: packages/sdk/src/core/types.ts:251


uuid

uuid: string

Defined in: packages/sdk/src/core/types.ts:246

Feature detail