Module stripe_api

Source

Enums§

CancelSubscriptionError
struct for typed errors of method cancel_subscription
CreateSetupCheckoutSessionError
struct for typed errors of method create_setup_checkout_session
DirectToPaymentLinkError
struct for typed errors of method direct_to_payment_link
GetAllInvoicesError
struct for typed errors of method get_all_invoices
GetAllPlansError
struct for typed errors of method get_all_plans
UpdateSubscriptionPlanError
struct for typed errors of method update_subscription_plan

Functions§

cancel_subscription
Cancel a subscription by its id
create_setup_checkout_session
Create a checkout session (setup)
direct_to_payment_link
Get a 303 SeeOther redirect link to the stripe checkout page for the plan and organization
get_all_invoices
Get a list of all invoices
get_all_plans
Get a list of all plans
update_subscription_plan
Update a subscription to a new plan