API Reference
Trade

List child trade orders

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

Returns trade orders belonging to sub-customers of the specified customer. Available to customers with childEnabled: true.

Authorization

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

Path parameters

customerIdinteger<int64>required

Query parameters

pageinteger
pageSizeinteger

Responses

200Paginated list of child trade orders.
statusboolean
Example: true
resultobject
Show child attributes
dataobject[]
Show child attributes
orderIdstring<uuid>
Example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
customerIdinteger<int64>
Example: 42
baseAccountIdinteger<int64>
Example: 10
quoteAccountIdinteger<int64>
Example: 11
baseCurrencystring
Example: "BRL"
quoteCurrencystring
Example: "USD"
sidestring

Direction of the trade from the customer's perspective. - Buy, buying the base currency (spending the quote currency). - Sell, selling the base currency (receiving the quote currency).

BuySell
baseAmountnumber | null
Example: 10000
quoteAmountnumber | null
Example: 1952.32
pricenumber
Example: 5.1232
quotedBaseAmountnumber | null
Example: 10000
quotedQuoteAmountnumber | null
Example: 1952.32
quotedPricenumber
Example: 5.1232
statusIdinteger
Example: 3
tradeStatusobject | null

Trade status object (id + name).

customerStatusstring

Human-readable status for the customer.

Example: "COMPLETED"
spreadnumber
Example: 0.005
originstring | null
expirationAtstring<date-time> | null
createdBystring | null
Example: "admin"
lastUpdatedBystring
Example: "System"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:31: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