Description Usage Arguments Details Value See Also
View source: R/subscriptions.R
Create a subscription for a customer
1 2 3 |
customerId |
The ID of the customer |
plan |
ID of the plan to subscribe customer to |
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
,
get_subscription
,
list_subscriptions
,
update_subscription
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.