Ledger reports show amounts separately for each asset. Each row carries
asset_id, asset_symbol, and scale, and no returned figure adds amounts of different assets. Money figures, such as a program’s owed_value, come from each asset’s value per unit.
Liability
Outstanding liability is the value participants and groups currently hold. This is the number that belongs on a balance sheet.
Each row is one asset and program:
current_balance for the same program and asset.
Add every row of an asset to get its liability: 46,650 PTS here. Two kinds of row can look wrong on their own:
- A per-program row of an asset that programs share can be negative, because value one program issued can be redeemed through another. Redemption attribution shows those flows.
- A row with
program_id: nullholds value Scrip cannot attribute to a program, such as an expired lot whose issuing program is not recorded. It can be negative.
program_id or folder_id, the program_id: null row is excluded so an asset’s rows sum to what those programs hold rather than the entire organization.
With by_bucket, matured value moves from the issuing program’s DEFERRED row to its AVAILABLE row, and the program’s total does not change. When a matured lot’s issuing program is not recorded, the maturity lands on the program_id: null row instead, as an AVAILABLE row and a DEFERRED row of the same amount with opposite signs.
The ledger never changes a posting, so the same as_of returns the same answer: ask for June 30 in July, or in December. A posting can appear a few seconds after its recorded time, so wait at least a minute after as_of before you rely on it; see When a statement is final. Close your books against this number. The rollforward explains how it changed.
Liability rollforward
The rollforward explains a period: opening balance, every movement sorted onto a named line, closing balance._net lines and adjusted, which carry their own sign. This sum holds exactly for every row:
Manual credits appear in
issued and manual debits in debited. expired counts against the program that issued the expired value, as in the liability report.
A maturity also belongs to the issuing program. It only moves value between buckets, so it nets to zero in bucket_movements_net. It adds a program_id: null row only when the matured lot’s issuing program is not recorded.
Every movement has a named line. If the ledger holds activity that no line covers, the request fails instead of returning a report that does not add up. See Get liability rollforward for every field.
adjusted sums, with their signs, every line other than issued, redeemed, and expired. It gives a four-line summary that still closes exactly:
adjusted is -100 + 200 - 300 - 100 - 50 = -350. The lines it sums are still in the row, so do not add adjusted to the full sum above.
A typical close: run liability at period_start and period_end, run the rollforward for the window, and verify that opening plus the itemized lines equals closing for each asset. This is the artifact to hand an auditor.
Monthly rows
Addinterval=month to split each asset and program row into the UTC calendar months of the period:
interval_start, and an interval_end. Both are inclusive. A month runs from its first instant to its last microsecond, such as 2027-05-31T23:59:59.999999Z, except that the first row starts at period_start and the last row ends at period_end. For the program above:
Each month closes exactly, and its closing balance is the next month’s opening balance. A month with no activity still has a row, with the same opening and closing balance. Rows sort by asset symbol, then program name with the
program_id: null row last, then month.
The period can touch at most 24 calendar months. A longer one returns 400 validation_error with param period_end. interval accepts only month.
Redemption attribution
For sharedLOT-mode assets, break gross redemptions down by the program that issued the consumed value and the program used as the redemption channel:
redeemed value and the lot_count consumed. A diagonal cell, where channel_program_id equals issuer_program_id, is a same-program redemption. An off-diagonal cell is a cross-program flow you can use for partner settlement. Value whose issuer is unknown stays in the response with issuer_program_id: null, so the matrix still reconciles to gross channel redemption totals.
Use program_id or folder_id to filter by redemption channel (retaining redemptions made through the matching programs regardless of issuer), or asset_id to select one LOT-mode asset. The report is gross and does not net reversals. It does not allocate reversals back to issuer/channel cells. Use liability rollforward, ledger summary, redemption records, or journal entries for reversal-aware financial reporting. SIMPLE-mode assets do not carry the lot lineage required for issuer attribution.
See Multi-program balances for how this report differs from ordinary per-program liability and activity views.
Expiration schedule
ForLOT-mode assets, project when outstanding value expires:
data is one asset. It sorts outstanding lot value into buckets by expiry period. A period with nothing expiring is left out. Held and deferred lots are included, since they still expire. Three figures cover the value outside the window:
gross_lot_outstanding, the lot value before overdrafts. total_outstanding is the liability:
overdraft_offset is DEBIT value that no lot covered, so the account went below zero. attribution_adjustment is 0 without program_id or folder_id. With either, total_outstanding counts value by the program on each ledger entry, while lots belong to the program that issued them. attribution_adjustment is the difference between the two.
Use this report to estimate breakage, the issued value that is never redeemed, such as expired and forfeited balances. It also forecasts how much value expires in the next 30, 60, or 90 days. See Lots and expiration for the underlying lifecycle.
Statements
Statements give a bank-statement view with running balances, for support tooling, end-user receipts, or per-account audits:asset_id is required, since a running balance only makes sense within one asset. Pass bucket to limit rows and balances to one or more buckets, such as bucket=AVAILABLE,DEFERRED. The balances cover the selected buckets together.
A participant statement covers the participant’s activity in every program and takes no program_id. A group statement takes an optional program_id that limits its rows and balances to one program.
A card program can report spendable value and value that is still maturing (AVAILABLE plus DEFERRED) as of a billing cycle close in one call. Set period_end to the close time. GET /v1/participants/{participant_id}/balances returns only the current balance, so it cannot give that figure for a past moment.
For every row field and its response shape, see Get participant statement. The examples below show how to read and group those rows.
Classifying rows
Three fields on every row tell you what it is. You do not need to fetch the journal entry.
Start with
action_type. Then use rule_id and event_id to separate rule-driven movement from manual and system activity. Then group related rows by reference_id. For a rewards summary over a period, add up the rows by action_type.
Window boundaries
period_start and period_end select rows by created_at. Both bounds are inclusive. opening_balance adds up every posting before period_start, and closing_balance adds up every posting through period_end. For any window:
closing_balance equals the account’s balance as of period_end. Paging does not change the running balance.
period_start and period_end accept fractional seconds. period_end=2027-03-31T23:59:59.999Z closes a month without catching the first posting of the next one. Timestamps in the response are whole seconds, and several postings can share one second. Do not reuse a row’s created_at as the next window’s boundary. To continue a long statement, use the cursor from pagination.
Row order
Rows are oldest first. Passsort_dir=desc to page newest first, for example to show the latest activity on a receipt screen. The order changes only the sequence of rows: each row keeps its running_balance, and opening_balance and closing_balance do not depend on the order or the page. On the first desc page, the first row’s running_balance equals closing_balance.
A cursor works only with the sort_dir it came from. With the other order, the request returns 400 invalid_cursor.
When a statement is final
A row can appear up to a few seconds after itscreated_at. Wait at least a minute after period_end before treating a statement as final. A statement you fetch sooner can gain a row when you fetch it again.
Posting time, not event time
Statements use posting time: the posting’screated_at, which is when the ledger recorded it. For a row created by an event, that is when the event was processed. It is later than the event’s own created_at and is never the event’s event_timestamp.
There is no way to select statement rows by event_timestamp. You set event_timestamp on each event, and events can arrive out of order. Lot spending, holds, settlements, and expirations happen in posting order, so a balance built from event times would not match the ledger. For a customer-facing statement, show event_timestamp as the transaction date next to the posting date. See Timestamps for how the two timestamps relate.
Reading a HELD statement
A statement with bucket=HELD shows value entering and leaving HELD. Each row’s action_type tells you why:
A settlement is a
CREDIT entry with a negative HELD posting, so it appears as a negative CREDIT row with the same reference_id as the authorization credit. See Settlement journal entry and Ledger entries.
For raw movement lists without running balances, the activity endpoints remain available: GET /v1/participants/{participant_id}/activity/history and GET /v1/programs/{program_id}/history, including two time filters: created_after and created_before on record time, and occurred_after and occurred_before on event time.
Ledger summary
Per-asset totals and flows for dashboards:asset_id with either program_id or folder_id (program_id and folder_id are mutually exclusive). Add period_start and period_end for the period view, which adds the fields marked below.
other_adjustments_net is always returned, and it makes the totals add up:
For audit work, or to see debits on their own line, use the liability rollforward, which puts every movement on a named line with no residual.
Program activity
Use the program activity report to compare programs and decide where to follow up. Each row is one program. Get program activity covers the filters, response fields, time windows, sorting, and money values.Rank programs
To find programs whose activity grew most in June, rank byevent_count_change for that month:
event_count with prior_event_count. The prior window has the same length and ends when your requested period starts. Use sort_dir=asc to find the largest drops instead.
Page through programs
The report ranks all matching programs before returning the first page. Followpagination.next_cursor with the same filters and sort to continue. See Sorting and paging for defaults and errors.
What each program owes
To rank programs by what their participants and groups hold in money, setsort_by=owed_value. Send currency when your assets are valued in more than one currency:
owed_value uses each asset’s value per unit. It is a current figure even when you request activity for a past period. For a past balance-sheet figure, use Liability.
A shared asset can give one program a negative balance even though the asset’s total liability is positive; see Liability. Money values explains missing values and how currencies affect the ranking.
List the programs that use an asset
To compare programs using one asset, passasset_id and rank by owed:
PREFUNDED or UNLIMITED assets.
Fulfillment cost
Use the fulfillment-cost report to track what rewards cost you. Money amounts are in currency minor units, such as cents for USD.data totals gift-card orders’ face_value, provider_fee, and cost (face value plus fee), grouped by program, order status, and currency. The date range selects orders by when Scrip created them. The report shows each order’s current status, so running the same report later can give a different breakdown. For example, an order still processing at month-end can appear as succeeded the next day.
by_reward_kind shows what the period’s redemptions spent and cost, one row per reward kind, asset, and cost currency:
If you send
cost when completing a redemption (see Record an external order), the report uses that billed amount and currency instead of the default figure in the table above. Each currency gets its own row.
cost is null when Scrip does not know it: a custom reward with no cost, a gift card redemption with no fulfillment order, or an amount redemption with no reported cost. Those redemptions get a row of their own. points_spent is in the row’s asset, at its scale.
A custom reward’s cost is read when you run the report. Changing a reward’s cost therefore also changes the figures for past periods.
by_reward_kind counts completed redemptions by when they were completed, including any reversed later. That is the same measure as program activity’s by_asset[].redeemed for a period.
Add program_id to report on one program. See Get fulfillment cost report for the returned fields.
Report on one reward
Addreward_id to narrow every figure in the report to one reward’s redemptions. The response also carries figures for the reward: how many redemptions and participants, the amount of the asset spent (points_spent), the money cost, and the gift-card deliveries that failed in the period. figures counts redemptions the same way as by_reward_kind.
figures object in the response:
cost lists one entry for each currency.
Two parameters add to figures:
The previous period ends one microsecond before
period_start, so its bounds carry fractional seconds.
interval and compare need reward_id. Without it, the request returns 400 validation_error. An unknown reward_id returns 404 reward_not_found.
With folder_id, figures counts only the reward’s redemptions in that folder’s programs (a reward redeemed only outside the folder returns zeros).
distinct_participants counts each participant once within a period, so do not add it across periods. failed_deliveries counts gift-card deliveries by when they failed, so it can differ from the FAILED rows of data, which count them by when the order was created.
Journal entries
The journal is the full audit trail. Every aggregate above traces down to these rows. Each entry is an atomic set of postings (debits and credits) that balance to zero.GET /v1/journal-entries. Each row includes all of its postings. For the full filter reference (program, entity, asset, bucket, action_type, reference_id, time and amount ranges) and entry detail semantics, see the Ledger guide.
Scoping reports by folder
Passfolder_id to aggregate or filter a report across every program in a folder and all of its nested subfolders:
folder_id to program activity and follow pagination.next_cursor:
folder_id: Liability, Liability rollforward, Redemption attribution, Expiration schedule, Ledger summary, Program activity, Fulfillment cost, and Failure causes.
- Current hierarchy: Reports always resolve folder membership using the current hierarchy, so moving a program into a folder includes that program’s historical activity in future reports for the new folder.
- Archived resources included: Archived folders and programs remain included in folder-scoped reports so historical totals stay intact.
- Mutually exclusive with
program_id: Sending bothfolder_idandprogram_idreturns400 validation_error.
Common queries
Ledger
How journal entries, postings, buckets, and double-entry accounting work.
Multi-program balances
How pooled vs. partitioned accounts affect redemption attribution.
Reporting API
Endpoint reference for liability, rollforward, statements, and journal entries.