Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
21 lines (17 loc) · 2.48 KB

CreateChargeSession.md

File metadata and controls

executable file
·
21 lines (17 loc) · 2.48 KB

CreateChargeSession

Properties

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]
invoice str Handle for existing invoice to charge. Either this argument must be provided or `order`. [optional]
settle bool Whether or not to immediately settle (capture). Default is false. If not settled immediately an authorization will be performed which can be settled later. Normally this have to be done within 7 days. [optional]
order Order Order object. Either this argument must be provided or `invoice`. [optional]
recurring bool If set a recurring payment method is stored for the customer and a reference returned. This parameter if set to true will limit payment methods to those that are reusable. [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]
card_on_file str Reference to existing card payment method (`ca_xxx`) to perform card-on-file payment for. [optional]

[Back to Model list] [Back to API list] [Back to README]