cancel_subscription: Cancel a subscription

View source: R/subscription.R

cancel_subscriptionR Documentation

Cancel a subscription

Description

Cancels the subscription with the provided ID on Stripe and returns the stripe_subscription object representing the canceled subscription.

Usage

cancel_subscription(subscription_id, end_of_period = FALSE)

Arguments

subscription_id

The identifier of the subscription to be canceled.

end_of_period

If FALSE then the subscription will be canceled immediately, if TRUE then the subscription will be canceled at the end of the subscription period.


MrDAndersen/stRipe documentation built on March 17, 2024, 7:25 p.m.