Create Fill

post/trade-falcon/api/prime/trading/v1/orders/{orderId}/fills

Creates a fill for an order

Path Parameters

  • orderIdstringRequired
    Order id

Request Body

externalOrderId string required
Order id generated from the external source
Example: 1
externalFillId string required
Fill id generated by the external source
Example: 1
liquiditySourceId string <uuid>required
The liquidity source filling this order
Example: 37617d48-9cd5-4d0a-8f41-b2d0bec2229b
liquiditySourceOrderId string required
Order id generated by the liquidity source
Example: 1
liquiditySourceFillId string required
Fill id generated by the liquidity source
Example: 1
baseAmount string required
Base amount that is either being bought or sold
Example: 100000
quoteAmount string required
Quote currency amount that is either being bought or sold
Example: 100000
feeRevenueCurrency string required
Supported currency of a trade
Allowed values: usd btc eth xrp ltc bch
Example: usd
feeExpenseCurrency string required
Supported currency of a trade
Example: usd
feeRevenueAmount string required
Amount of fees taken by BitGo
Example: 100000
feeExpenseAmount string required
Amount of fees taken by the liquidity source
Example: 100000
executionTime string <date-time>required
ISO date string
reconcile boolean
Reconcile the fill
Example: true

200 Response

400 Response

error string required
Human-readable error message
errorName string required
Immutable error code for API integration
reqId string required
Client request id