API Reference
Customers

List sub-accounts

GET/api/v1/customer/{customerId}/childrenList
Base URL: https://bloquo.mimicr.dev · provider: https://api.bloquo.io

Returns the list of sub-accounts (children) directly under the specified customer. Useful for master accounts navigating their customer hierarchy.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

customerIdinteger<int64>required

Query parameters

pageinteger
pageSizeinteger

Responses

200Paginated list of sub-customers.
statusboolean
Example: true
statusCodeinteger
Example: 200
resultobject
Show child attributes
dataobject[]
Show child attributes
idinteger<int64>
Example: 42
typeIdinteger<int64>

ID of the customer type (see GET /api/v1/customer/types).

Example: 3
namestring
Example: "Acme Corp Ltda"
taxIdstring
Example: "12.345.678/0001-90"
countrystring
Example: "BR"
parentIdinteger<int64> | null
Example: 1
childEnabledboolean
Example: false
childLoginAllowedboolean

Whether sub-customer users can log in through this customer's portal.

Example: false
childDepthinteger

Current depth of this customer in the hierarchy (root = 0).

Example: 1
maxChildDepthinteger | null
Example: 1
liquidityOperationsCapabilitiesinteger

Bitmask of liquidity operations this customer is allowed to perform.

Example: 3
platformModulesinteger

Bitmask of platform modules enabled for this customer.

Example: 7
enabledboolean
Example: true
typeobject

Customer type details. Present only when includes=type is requested.

Show child attributes
idinteger<int64>
Example: 1
namestring
Example: "EndCustomer"
createdBystring
Example: "admin"
lastUpdatedBystring
Example: "admin"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
paginationobject

Pagination metadata returned by all list endpoints.

Show child attributes
currentPageinteger
Example: 1
pageSizeinteger
Example: 10
totalItemsinteger
Example: 42
totalPagesinteger
Example: 5
messagestring | null