Update Plan
1 | update_plan(authorization, plan_id, ...)
|
authorization |
set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY" |
... |
Body Params |
amount |
int32. Amount to be charged in kobo |
interval |
string. Interval in words. Valid intervals are hourly, daily, weekly, monthly,biannually, annually. |
name |
string. Name of plan |
description |
string. Short description of plan |
send_invoices |
boolean. Set to false if you don't want invoices to be sent to your customers |
send_sms |
boolean. Set to false if you don't want text messages to be sent to your customers |
currency |
string. Currency in which amount is set |
invoice_limit |
int32. Number of invoices to raise during subscription to this plan. Can be overridden by specifying an invoice_limit while subscribing. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.