update_plan: Update Plan

Description Usage Arguments

Description

Update Plan

Usage

1
update_plan(authorization, plan_id, ...)

Arguments

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.


ebinabo/paystack documentation built on May 16, 2019, 8:16 p.m.