Record Statement Balance
const url = 'https://example.com/schedules/statement-balance';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"account":"example","due_date":"2026-04-15","statement_balance":1,"statement_date":"2026-04-15","transaction_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/schedules/statement-balance \ --header 'Content-Type: application/json' \ --data '{ "account": "example", "due_date": "2026-04-15", "statement_balance": 1, "statement_date": "2026-04-15", "transaction_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Record a credit card’s statement balance against the payment it is due
on. The payment instance takes the statement balance (both legs move, the
card’s leg = the balance), is pinned so the current-balance estimate no
longer moves it, and reports basis: statement; the statement, its
closing date and who recorded it stay on the instance. Recording again
replaces it; resetting the instance removes it. Credit cards only — a
loan payment is an ordinary override (PATCH /transactions/{id}).
Request Bodyrequired
Section titled “Request Bodyrequired”A card statement balance for the payment it is due on (decision 80).
Address the payment instance by transaction_id, or by the card
(account) plus the statement’s due_date.
object
Example generated
{ "account": "example", "due_date": "2026-04-15", "statement_balance": 1, "statement_date": "2026-04-15", "transaction_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Responses
Section titled “Responses”Successful Response
object
Where the amount comes from: fixed, an estimate basis (last, rolling_avg_3, rolling_avg_12, counterparty_balance = the card’s current balance), override (a pinned instance: the amount is yours) or statement (a recorded card statement balance, decision 80)
Edited by a human/agent; exempt from rule refresh/resync
The schedule account’s leg before the statement was recorded
Example
{ "basis": "fixed", "statement_source": "human"}Validation Error
object
object
object
Example generated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}