POST /subscription
Servers
- https://api.paystack.co
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 |
---|---|---|---|
customer |
String | Yes |
Customer's email address or customer code |
start_date |
String | No |
Set the date for the first debit. (ISO 8601 format) e.g. 2017-05-16T00:30:13+01:00 |
authorization |
String | No |
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 |
plan |
String | Yes |
Plan code |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.