Transition a statement's status
Publishers
Transition a statement's status
PATCH /publisher/publishers//statements//status
PATCH
Transition a statement's status
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
PATCH /publisher/publishers//statements//status Enforces the locked status state machine (see the Publisher Statements tag description). Setting status to the current value is a no-op (200, unchanged). Approving a statement applies recoupment in the same transaction (H-08) — the response envelope carries an additiverecoupment key when that ran, or warning when un-approving a
statement that already produced ledger rows.
Authorization: admin role + publisher addon.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json
Allowed transitions: draft→pending, pending→approved|draft, approved→paid|pending. paid is terminal.
Available options:
draft, pending, approved, paid