POST /page

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
name String Yes

Name of page

redirect_url String No

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

description String No

The description of the page

slug String No

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

amount Integer No

Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR

metadata String No

Stringified JSON object of custom data

custom_fields[] Array No

If you would like to accept custom fields, specify them here.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.