Name | Type | Description | Notes |
---|---|---|---|
configuration | str | Optional handle for a configuration to use for this session | [optional] |
locale | str | Optional locale for session. E.g. `en_GB`, `da_DK`, `es_ES`. Defaults to configuration locale or account locale. | [optional] |
ttl | str | 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] |
customer | str | Handle for existing customer to add payment method to. Either this argument must be provided or `create_customer`. | [optional] |
accept_url | str | If checkout is opened in separate window the customer will be directed to this page after success | [optional] |
cancel_url | str | If checkout is opened in separate window the customer will be directed to this page if the customer cancels | [optional] |
payment_methods | list[str] | Optional list of payment methods to use for the checkout session. Format: `<payment_methods> = list of <payment_method>` `<payment_method> = [sca- | scafallback- |
button_text | str | Optional alternative button text. Maximum length 32 characters. | [optional] |
create_customer | CreateCustomer | Create customer object. Either this argument must be provided or reference to existing customer in `customer`. If the `create_customer` object has a handle for an existing customer, this customer will be used. | [optional] |
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.