Create Page
1 | create_page(authorization, ...)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.