sendSubaccountInvite
Add a new sub-account. For masters only
POST api/sendSubaccountInvite
{
“email”: string,
“name”: string, // name to show in email
“type”: “maker” | “taker”
}{
"id": 142,
"inviteId": "8f3d2c1e-9b4a-4f7e-a5d6-7c8b9e0f1a2b",
"email": "sub.user@acme.com",
"type": "taker",
"name": "Acme Sub",
"referrerId": 101,
"masterId": 101,
"whitelabelId": 2,
"relationType": "direct",
"createdAt": 1781481600000,
"expiresAt": 1784073600000
}{
"error": 0
}Last updated