create_page: Create Page

Description Usage Arguments

Description

Create Page

Usage

1
create_page(authorization, ...)

Arguments

authorization

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

...

Body Params

name

string. REQUIRED Name of page

description

string. Short description of page

amount

int32. Default amount you want to accept using this page. If none is set, customer is free to provide any amount of their choice. The latter scenario is useful for accepting donations

slug

string. URL slug you would like to be associated with this page. Page will be accessible at https://paystack.com/pay/[slug]

redirect_url

string. If you would like Paystack to redirect someplace upon successful payment, specify the URL here.

custom_fields

array. If you would like to accept custom fields, specify them here. See sample code for details.


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