Description Usage Arguments Details Value See Also
View source: R/subscriptions.R
Update a subscription for a customer
1 2 3 4 |
subscriptionId |
The ID of the subscription |
customerId |
The ID of the customer |
plan |
ID of the plan to subscribe customer to |
prorate |
Whether to prorate switching plans during billing cycle |
proration_date |
Timestamp of proration effective. Default current time |
coupon |
A discount on recurring charges |
source |
A token from get_token |
quantity |
Default is 1 |
metadata |
A named list |
tax_percent |
Postive decimal |
trial_end |
Unix timestamp or 'now' |
Not implemented: application_fee_percent
List object
Other subscriptions: cancel_subscription
,
create_subscription
,
get_subscription
,
list_subscriptions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.