Reconcile Account
reconcile_accountReconcile an account to a target/statement balance. Computes drift = targetBalance - currentBalance and creates a single ADJUSTMENT transaction for the drift (no-op when there is no drift). Reconciles in the account's own currency. Requires confirmation: true to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account ID to reconcile | |
| confirmation | Yes | Must be true to execute the mutation | |
| targetBalance | Yes | The actual/statement balance the account should match after reconciliation | |
| idempotencyKey | No | Optional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing. |