create_subscription: Create Subscription

Description Usage Arguments

Description

Create Subscription

Usage

1
create_subscription(authorization, ...)

Arguments

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)


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