Create Subscription
1 | create_subscription(authorization, ...)
|
authorization |
set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY" |
... |
Body Params |
authorization |
string. REQUIRED If customer has multiple authorizations, you can set the desired authorization you wish to use for this subscription here. If this is not supplied, the customer's most recent authorization would be used |
customer |
string. REQUIRED Customer's email address or customer code |
plan |
string. REQUIRED Plan code |
start_date |
string. Set the date for the first debit. (ISO 8601 format) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.