API Reference
Customers

Get customer

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

Retrieves full details of a customer, updates mutable fields, or soft-deletes the customer. Deletion requires all associated accounts to have zero balance.

Update restrictions: the following fields are immutable after creation and cannot be changed: taxId (CPF/CNPJ), typeId (customer type), parentId (hierarchy position). Attempting to update them has no effect.

Authorization

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

Path parameters

customerIdstringrequired

Responses

200Customer details.
statusboolean
Example: true
statusCodeinteger
Example: 200
resultobject
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"
messagestring | null
400Internal error retrieving customer. If the customer does not exist, the response is 200 with result: null and message: "No data found.".
statusboolean
resultany | null
messagestring