Post one statement's matched writer shares to the ledger
Publisher Bulk Ops
Post one statement's matched writer shares to the ledger
POST /publisher/statements//post-to-ledger
POST
Post one statement's matched writer shares to the ledger
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /publisher/statements//post-to-ledger Bridges the statement’s matched WRITER shares into the ledger aspublishing_royalty earning_post transactions, one per writer
TenantUser. Explicit action, never automatic on ingest — line
matching may still be under review. Idempotent per (statement,
writer): re-posting reports already-posted writers under skipped
rather than double-posting.
?dryRun=true (also accepted as dryRun: true in the body)
returns the identical payload shape with nothing written —
data.dryRun is true, data.totals.transactions is 0, and
every entry in posted[].transactionId is the literal string
'dry-run'. Use it to preview shares and spot unmapped writers
before committing.
Authorization: admin role + publisher addon.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
PublisherStatement ID.
Query Parameters
Preview only — identical response shape, nothing written.
Body
application/json
Alternative to the ?dryRun=true query param.