Record
session
No description available.
record session {
after-expiration: option<string>,
allow-promotion-codes: option<bool>,
amount-subtotal: option<s32>,
amount-total: option<s32>,
automatic-tax: payment-pages-checkout-session-automatic-tax,
billing-address-collection: option<session-billing-address-collection-enum>,
cancel-url: option<string>,
client-reference-id: option<string>,
consent: option<string>,
consent-collection: option<string>,
created: s32,
currency: option<string>,
currency-conversion: option<string>,
custom-fields: list<payment-pages-checkout-session-custom-fields>,
custom-text: payment-pages-checkout-session-custom-text,
customer: option<string>,
customer-creation: option<session-customer-creation-enum>,
customer-details: option<string>,
customer-email: option<string>,
expires-at: s32,
id: string,
invoice: option<string>,
invoice-creation: option<string>,
line-items: option<session-line-items>,
livemode: bool,
locale: option<session-locale-enum>,
metadata: option<session-metadata>,
mode: session-mode-enum,
object: session-object-enum,
payment-intent: option<string>,
payment-link: option<string>,
payment-method-collection: option<session-customer-creation-enum>,
payment-method-options: option<string>,
payment-method-types: list<string>,
payment-status: session-payment-status-enum,
phone-number-collection: option<payment-pages-checkout-session-phone-number-collection>,
recovered-from: option<string>,
setup-intent: option<string>,
shipping-address-collection: option<string>,
shipping-cost: option<string>,
shipping-details: option<string>,
shipping-options: list<payment-pages-checkout-session-shipping-option>,
status: option<session-status-enum>,
submit-type: option<session-submit-type-enum>,
subscription: option<string>,
success-url: string,
tax-id-collection: option<payment-pages-checkout-session-tax-id-collection>,
total-details: option<string>,
url: option<string>,
}Fields
| Name | Type | Description |
|---|---|---|
| after-expiration | option<string> | |
| allow-promotion-codes | option<bool> | |
| amount-subtotal | option<s32> | |
| amount-total | option<s32> | |
| automatic-tax | payment-pages-checkout-session-automatic-tax | |
| billing-address-collection | option<session-billing-address-collection-enum> | |
| cancel-url | option<string> | |
| client-reference-id | option<string> | |
| consent | option<string> | |
| consent-collection | option<string> | |
| created | s32 | |
| currency | option<string> | |
| currency-conversion | option<string> | |
| custom-fields | list<payment-pages-checkout-session-custom-fields> | |
| custom-text | payment-pages-checkout-session-custom-text | |
| customer | option<string> | |
| customer-creation | option<session-customer-creation-enum> | |
| customer-details | option<string> | |
| customer-email | option<string> | |
| expires-at | s32 | |
| id | string | |
| invoice | option<string> | |
| invoice-creation | option<string> | |
| line-items | option<session-line-items> | |
| livemode | bool | |
| locale | option<session-locale-enum> | |
| metadata | option<session-metadata> | |
| mode | session-mode-enum | |
| object | session-object-enum | |
| payment-intent | option<string> | |
| payment-link | option<string> | |
| payment-method-collection | option<session-customer-creation-enum> | |
| payment-method-options | option<string> | |
| payment-method-types | list<string> | |
| payment-status | session-payment-status-enum | |
| phone-number-collection | option<payment-pages-checkout-session-phone-number-collection> | |
| recovered-from | option<string> | |
| setup-intent | option<string> | |
| shipping-address-collection | option<string> | |
| shipping-cost | option<string> | |
| shipping-details | option<string> | |
| shipping-options | list<payment-pages-checkout-session-shipping-option> | |
| status | option<session-status-enum> | |
| submit-type | option<session-submit-type-enum> | |
| subscription | option<string> | |
| success-url | string | |
| tax-id-collection | option<payment-pages-checkout-session-tax-id-collection> | |
| total-details | option<string> | |
| url | option<string> |