Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.41 KB

File metadata and controls

42 lines (33 loc) · 2.41 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
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 2 to 365 days (the valid range will be taken from the next day of the creation date at 00:01 hrs)
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]
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]