Create Subaccount
Create a new subaccount on your Terraswitch account.
Body Parameters
name
string
The name of the subaccount
"Corporate NATS"
Yes
description
string
Your description for the subaccount
"This is a business partner"
No
accountNo
string
The recipient bank account number to settle money to.
"0125318431"
Yes
bankCode
string
The bank sort code for the account number provided. Use the List Banks endpoint.
"035"
Yes
string
The contact email for the subaccount
"hello@corporatenats.com"
Yes
phoneNumber
string
The 11-digit phone number for the subaccount
"08137031202"
Yes
phoneCode
string
The dial country code for the phone number provided. Defaulted to "+234"
"+234"
Yes
split
object
The defined object to hold payment split data.
N/A
Yes
split.type
string
Type of split. This can either be percentage
or flat
"percentage"
Yes
split.value
number
The value of the split. For percentage
, range is between 1 - 100 and it cannot be more than 100.
10.05
Yes
Last updated