Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.85 KB

File metadata and controls

45 lines (36 loc) · 2.85 KB

Checkout

It is a sub-resource of the Order model that can be stipulated in order to configure its corresponding checkout

Properties

Name Type Description Notes
allowed_payment_methods List[str] Those are the payment methods that will be available for the link. This field is mutually exclusive with excluded_payment_methods. [optional]
excluded_payment_methods List[str] Payment methods to be excluded from the checkout. This field is mutually exclusive with allowed_payment_methods. [optional]
exclude_card_networks List[str] List of card networks to exclude from the checkout. This field is only applicable for card payments. [optional]
expires_at int It is the time when the link will expire. It is expressed in seconds since the Unix epoch. The valid range is from 5 minutes to 365 days from the creation date.
monthly_installments_enabled bool This flag allows you to specify if months without interest will be active. [optional]
monthly_installments_options List[int] This field allows you to specify the number of months without interest. [optional]
three_ds_mode str Indicates the 3DS2 mode for the order, either smart or strict. This property is only applicable when 3DS is enabled. When 3DS is disabled, this field should be null. [optional]
name str Reason for charge
needs_shipping_contact bool This flag allows you to fill in the shipping information at checkout. [optional]
on_demand_enabled bool This flag allows you to specify if the link will be on demand. [optional]
plan_ids List[str] It is a list of plan IDs that will be associated with the order. [optional]
order_template CheckoutOrderTemplate
payments_limit_count int It is the number of payments that can be made through the link. [optional]
success_url str The URL to redirect to after a successful payment. [optional]
recurrent bool false: single use. true: multiple payments
type str It is the type of link that will be created. It must be a valid type.

Example

from conekta.models.checkout import Checkout

# TODO update the JSON string below
json = "{}"
# create an instance of Checkout from a JSON string
checkout_instance = Checkout.from_json(json)
# print the JSON string representation of the object
print(Checkout.to_json())

# convert the object into a dict
checkout_dict = checkout_instance.to_dict()
# create an instance of Checkout from a dict
checkout_from_dict = Checkout.from_dict(checkout_dict)

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