update_subaccount: Update Subaccount

Description Usage Arguments

Description

Update Subaccount

Usage

1
update_subaccount(authorization, subacct_id, ...)

Arguments

authorization

set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY"

...

Body Params

account_number

string. NUBAN Bank Account Number

business_name

string. Name of business for subaccount

percentage_charge

float. 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)

description

string. A description for this subaccount

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.


ebinabo/paystack documentation built on May 16, 2019, 8:16 p.m.