Get Order List
Returns a paginated list of orders matching the given filters. :param params: Filter and pagination query parameters. :param api_key: Resolved Partner API key, providing the FI scope for the lookup. :return: Paginated order list with items and pagination metadata.
Authorization
APIKeyHeader In: header
Query Parameters
Filter to orders belonging to this partner user account.
Filter to orders placed under this product.
Filter to orders on this side (buy or sell).
Filter to orders currently in this lifecycle state.
Lower bound (inclusive) on the order's placed_at timestamp, UTC.
Upper bound (exclusive) on the order's placed_at timestamp, UTC.
Maximum number of orders to return per page.
251 <= value <= 100Cursor returned from a previous response; pass to fetch the next page.
00 <= valueSort order on placed_at. Defaults to descending (most recent first).
"desc""asc" | "desc"Response Body
application/json
application/json
curl -X GET "https://partner-api.cryptofi-dev.com/v1/orders/"{
"items": [
{
"order_id": "string",
"user_account_id": "string",
"product": "crypto",
"side": "buy",
"symbol": "string",
"quantity": "string",
"notional": "string",
"fee": "string",
"status": "pending",
"placed_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"is_recurring_order": true,
"recurring_order_id": "string"
}
],
"total_records": 0,
"last_record_number": 0,
"per_page": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Order Detail
Returns the order-detail payload for the given order id. :param order_id: Order identifier (the order's tx_id). :param api_key: Resolved Partner API key, providing the FI scope for the lookup. :return: Order-detail response with the order metadata and lifecycle state. :raises HTTPException: 404 Not Found when no order with that id exists within the partner's FI.
Get User Detail
Returns the user-detail payload for the given user account. :param user_account_id: Partner-supplied user identifier (e.g. CIF, member number). :param api_key: Resolved Partner API key, providing the FI scope for the lookup. :return: User-detail response with total market value and the per-product account list. :raises HTTPException: 404 Not Found when no user exists for the given account ID within the partner's FI.