Bill Sync

Bill Sync

Trigger and monitor bill synchronization for linked accounts. When a sync is triggered, BillerAPI fetches the latest bill data from the biller and updates your records.

Not callable on either host yet. The sandbox host answers these with 404 NOT_FOUND, and the production route reaches a backend gap rather than a working handler. What follows is the intended contract, not a request you can run today — switching hosts or keys will not help.

Related guide: Retrieve Bills

The Sync Record object

A Sync Record captures a single bill-synchronization run for a linked account — when it started, how many bills it found or updated, and whether it succeeded.

Attributes

id*stringUnique sync record identifier
account_link_id*stringThe account link that was synced
status*stringSync status: PENDING, IN_PROGRESS, COMPLETED, FAILED
bills_foundintegerNumber of bills discovered during sync
bills_updatedintegerNumber of bills updated during sync
errorstringError message if sync failed
started_atstringISO 8601 timestamp when sync started
completed_atstringISO 8601 timestamp when sync completed
created_atstringISO 8601 timestamp when the record was created
The Sync Record object
{
  "id": "sync_abc123",
  "account_link_id": "al_xyz789",
  "status": "COMPLETED",
  "bills_found": 3,
  "bills_updated": 1,
  "error": null,
  "started_at": "2026-04-01T12:00:00Z",
  "completed_at": "2026-04-01T12:00:05Z",
  "created_at": "2026-04-01T12:00:00Z"
}
POST/v1/bills/sync/trigger

Trigger a bill sync for a linked account. Returns immediately with a sync record; the sync runs asynchronously in the background.

Request body

account_link_id*stringThe account link to sync bills for
forcebooleanForce a full re-sync even if recently synced (default: false)

Not callable today. The gateway routes this path, but it forwards { account_link_id, force } to a bill-service RPC whose request is { client_id, account_link_ids, force_full_sync }, so the command runs with no client and no links. To force a refresh for one link today, use POST /v1/account-links/:link_id/refresh.

Not callable on either host yet. The sandbox host answers these with 404 NOT_FOUND, and the production route reaches a backend gap rather than a working handler. What follows is the intended contract, not a request you can run today — switching hosts or keys will not help.

curl -X POST https://api.billerapi.com/v1/bills/sync/trigger \
  -H "Authorization: Bearer $BILLERAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account_link_id": "al_xyz789",
    "force": false
  }'
Response201 Created
{
  "id": "sync_abc123",
  "account_link_id": "al_xyz789",
  "status": "PENDING",
  "created_at": "2026-04-01T12:00:00Z"
}
GET/v1/bills/sync

Get sync status and history for an account link.

Query parameters

account_link_id*stringFilter by account link ID
sincestringISO 8601 timestamp to filter syncs created after this date
limitintegerMaximum number of sync records to return (default: 20, max: 100)
include_deletedbooleanInclude deleted sync records (default: false)

Not callable today. The gateway routes this path to a GetSyncStatus RPC that bill-service does not implement — only the request and response types exist, with no handler behind them. To reconcile what changed on a link, use GET /v1/account-links/:link_id/bills/sync, which returns added / modified / removed buckets and is served.

Not callable on either host yet. The sandbox host answers these with 404 NOT_FOUND, and the production route reaches a backend gap rather than a working handler. What follows is the intended contract, not a request you can run today — switching hosts or keys will not help.

curl "https://api.billerapi.com/v1/bills/sync?account_link_id=al_xyz789&limit=10" \
  -H "Authorization: Bearer $BILLERAPI_API_KEY"
Response200 OK
{
  "syncs": [SyncRecord],
  "total": 5
}
Was this page helpful?