Name | Type | Description | Notes |
---|---|---|---|
configuration | string | Optional handle for a configuration to use for this session | [optional] |
locale | string | Optional locale for session. E.g. `en_GB`, `da_DK`, `es_ES`. Defaults to configuration locale or account locale. | [optional] |
ttl | string | Optional time-to-live duration. The session will expire after the duration from creation. The duration must be given as an ISO-8601 duration. See https://en.wikipedia.org/wiki/ISO_8601#Durations. E.g. PT3H (three hours). | [optional] |
subscription | string | Handle for existing subscription to activate, add payment method to or change payment method for. Either this argument must be provided or `prepare_subscription`. | [optional] |
accept_url | string | If checkout is opened in separate window the customer will be directed to this page after success | [optional] |
cancel_url | string | If checkout is opened in separate window the customer will be directed to this page if the customer cancels | [optional] |
payment_methods | string[] | Optional list of payment methods to use for the checkout session. Format: `<payment_methods> = list of <payment_method>` `<payment_method> = [sca- | scafallback- |
button_text | string | Optional alternative button text. Maximum length 32 characters. | [optional] |
prepare_subscription | \Swagger\Client\Model\CreatePreparedSubscription | Prepare subscription object. Either this argument must be provided or reference to existing subscription in `subscription`. | [optional] |
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.