Create subAccount

POST /sub-account

Use this method to create a new subAccount.

Headers

Name
Value

Authorization

Basic <token>

Body

{
  name: string,
  account: {
    id : number, // Mandatory, accountId (looks like 1234)
    name?: string,
  }
}

Response

{
    "id": number,
    "name": "string",
    "account": {
        "id": string,
        "name": string
    }
}

Last updated

Was this helpful?