$FILOBuy on Pons

Batches

Fill a batch

Fill every open order that has a verified quote.

POST/v1/batches/:id/fill

Owner only. Runs a manual fill on each open order. Orders with no verified quote, or short of their min_quotes, are skipped and stay open until their window closes.

Headers

Authorizationstringrequired

Bearer fb_live_…. An API key created in the app. A browser session cookie also works. See Authentication.

Response

fillednumber

Orders filled by this call.

skippednumber

Open orders that could not fill yet.

batchBatch

The batch after the call.

Errors

403forbidden

Not your batch.

404not_found

No such batch.

Request
curl -X POST https://dapp.filobook.run/v1/batches/bat_2f9c41d07e6a83b5/fill \
  -H "Authorization: Bearer $FILOBOOK_KEY"
Response · 200
{
  "filled": 1,
  "skipped": 1,
  "batch": { "id": "bat_2f9c41d07e6a83b5", "summary": { "orders": 2, "open": 1, "filled": 1, "...": "..." }, "...": "..." }
}
Was this page helpful?