PUT /subaccount/{code}
Servers
- https://api.paystack.co
Path parameters
Name | Type | Required | Description |
---|---|---|---|
code |
String | Yes |
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 |
---|---|---|---|
settlement_bank |
String | No |
Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint. |
primary_contact_name |
String | No |
The name of the contact person for this subaccount |
business_name |
String | No |
Name of business for subaccount |
active |
Boolean | No |
Activate or deactivate a subaccount |
description |
String | No |
A description for this subaccount |
primary_contact_email |
String | No |
A contact email for the subaccount |
percentage_charge |
Number | No |
Customer's phone number |
metadata |
String | No |
Stringified JSON object of custom data |
account_number |
String | No |
Bank account number |
primary_contact_phone |
String | No |
A phone number to call for this subaccount |
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.