A payment run's status, per payment, or its audit export
payment_run_statusTracks each payment in a run from prepared through approval and release to what landed. Reads the run by run_id: each payment's status (prepared, needs_attention with reasons, no_evidence), its assessment and Rate Receipts, approval, release record and what landed. export: true returns the audit export, where any payment without an assessment, approval or release record shows "no evidence". pr_sample needs no key; a real run needs the router key that made it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| export | No | true: the audit export (JSON) instead of the run. | |
| run_id | Yes | pr_... from run_payments, or pr_sample. | |
| access_key | No | A router key (rk_...), if not sent as a Bearer header. |