Cancel Order
Endpoint: DELETE /orders/{order_id}
Cancels an open order. Note that because FaaSFi executes atomically across multiple chains, a "Cancel" request attempts to cancel the child orders on the underlying platforms. If a child order has already filled on the base layer (e.g., on the Polygon blockchain), it cannot be reversed.
Page: Get Fills
Endpoint: GET /orders/fills
Returns a detailed breakdown of how a parent order was executed.
Response Example:
{
"order_id": "ord_12345",
"total_amount": 50000,
"avg_price": 0.652,
"fills": [
{ "venue": "polymarket", "amount": 30000, "price": 0.65 },
{ "venue": "kalshi", "amount": 20000, "price": 0.655 }
]
}Last updated
