Skip to content

Latest commit

History

History
31 lines (22 loc) · 1.23 KB

File metadata and controls

31 lines (22 loc) · 1.23 KB

CreateCheckoutSessionInputBody

Properties

NameTypeDescriptionNotes
cancel_urlstrURL to redirect to on cancel.
price_idstrPrice ID from /v3/billing/products.
success_urlstrURL to redirect to on success.

Example

fromrevengai.models.create_checkout_session_input_bodyimportCreateCheckoutSessionInputBody# TODO update the JSON string belowjson="{}"# create an instance of CreateCheckoutSessionInputBody from a JSON stringcreate_checkout_session_input_body_instance=CreateCheckoutSessionInputBody.from_json(json)
# print the JSON string representation of the objectprint(CreateCheckoutSessionInputBody.to_json())
# convert the object into a dictcreate_checkout_session_input_body_dict=create_checkout_session_input_body_instance.to_dict()
# create an instance of CreateCheckoutSessionInputBody from a dictcreate_checkout_session_input_body_from_dict=CreateCheckoutSessionInputBody.from_dict(create_checkout_session_input_body_dict)

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