Tenant-wide ledger
Lists double-entry ledger entries across the whole workspace, newest first, with cursor pagination. Filter by category, end user, initiator, provider and endpoint, creation window, attribution keys, ledger event kind, or the pooled platform account.
Request
- Base URLhttps://api.paywithlocus.com/api
- URLhttps://api.paywithlocus.com/api/credits/ledger
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
Case-sensitive immutable ID in the tenant namespace. Prefer an identity-provider subject, not an email address.
Spender reference <type>:<id>, matching the analytics initiator identity. Cannot be combined with externalUserId or account=platform; unattributed is not filterable.
Matches the provider recorded on the ledger entry. Legacy entries without provider metadata are excluded from this filtered ledger view.
metadata.endpoint equality. Requires provider.
Inclusive lower bound. Strict ISO-8601.
Exclusive upper bound. Strict ISO-8601.
Equality filter on metadata.attribution.<key>, one query parameter per key: attribution.entityId=acct_889. Dot form only — bracket form is not parsed.
Narrow to one ledger event kind, e.g. wapi_burn or stripe_topup.
Restrict to the tenant's pooled platform account. Mutually exclusive with externalUserId and with an end-user initiator.
Response
Ledger page
Changes
No recorded changes to this operation across all 1 revision of this API.