create_plan: Create Plan

Description Usage Arguments

Description

Create Plan

Usage

1
create_plan(authorization, ...)

Arguments

authorization

set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY"

...

Body Params

amount

int32. REQUIRED Amount to be charged in kobo

interval

string. REQUIRED Interval in words. Valid intervals are hourly, daily, weekly, monthly,biannually, annually.

name

string. REQUIRED 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.