Create Subaccount
1 | create_subaccount(authorization, ...)
|
authorization |
set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY" |
... |
Body Params |
account_number |
string. REQUIRED NUBAN Bank Account Number |
business_name |
string. REQUIRED Name of business for subaccount |
percentage_charge |
float. REQUIRED What is the default percentage charged when receiving on behalf of this subaccount? |
settlement_bank |
string. REQUIRED Name of Bank (see list of accepted names by calling List Banks) |
primary_contact_email |
string. A contact email for the subaccount |
primary_contact_name |
string. A name for the contact person for this subaccount |
primary_contact_phone |
string. A phone number to call for this subaccount |
metadata |
string. Stringified JSON object. Sample: "custom_fields":["display_name":"Cart ID","variable_name":"cart_id","value":"8393"] |
settlement_schedule |
string. Any of auto, weekly, monthly, manual. Auto means payout is T+1 and manual means payout to the subaccount should only be made when requested. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.