latestOpenAPI 3.0.02026-08-10235750.6 KB

b0f71533dff5

Entity Endpoints

Create a new subaccount for an entity

post/v1/{id}/accounts

Path parameters

idstring required

Entity ID

Request body

namestring required

The name associated with this subaccount

Example request

{
  "name": "Customer 1 account"
}

Response

Example response

{
  "account": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "type": "default",
    "name": "Default",
    "address": "0x32Be343B94f860124dC4fEe278FDCBD38C102D88",
    "ownerId": "550e8400-e29b-41d4-a716-446655440000"
  }
}