Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.58 KB

File metadata and controls

33 lines (24 loc) · 1.58 KB

CheckoutResponse

Result of POST /v1/tenants/{tenant_id}/subscriptions. REDIRECT → send the browser to url (Stripe Checkout). CREDENTIAL → feed credential to the Ping++ JS SDK to invoke the chosen channel. SCHEDULED → nothing to pay; the current billed subscription will not renew and expires at period end. APPLIED → the change is already in effect (free-plan downgrade of an unbilled tenant, or a no-op request).

Properties

Name Type Description Notes
action CheckoutAction
billing_system BillingSystem [optional]
url str Stripe Checkout URL (action=REDIRECT). [optional]
credential Dict[str, object] Ping++ charge credential (action=CREDENTIAL). [optional]

Example

from ksapi.models.checkout_response import CheckoutResponse

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

# convert the object into a dict
checkout_response_dict = checkout_response_instance.to_dict()
# create an instance of CheckoutResponse from a dict
checkout_response_from_dict = CheckoutResponse.from_dict(checkout_response_dict)

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