asclepius-payments
Admin Void Earning
Decline to pay for one case.
Four properties, all of them load-bearing:
- paid is a 409. The money already left; a refund is a treasury operation and out of scope here. Voiding it would leave the ledger saying we owe nothing for work we have already disbursed.
- Idempotent on earning_id — a double-click cannot double-decrement, because the store's guarded UPDATE is the arbiter rather than a read.
- The recomputed total comes back, so the console renders the ledger's number instead of subtracting its own.
- An audit row, because voiding a physician's pay is consequential and must be attributable to the person who did it.
post/api/asclepius/admin/earnings/{earning_id}/void
Request
- Base URLhttps://app.archangelhealth.ai (the document declares no server; this is the origin it was published from)
- URLhttps://app.archangelhealth.ai/api/asclepius/admin/earnings/{earning_id}/void
- Authnone declared
Path parameters
earning_idstring required
Headers
authorizationstring nullable
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.