asclepius-payments

Admin Pay Earnings

Send payment for one physician's approved rows.

Thin over asc_payments.mark_paid rather than a parallel write path — that function owns the batch-id idempotency and the compare-and-set that makes a retried disbursement safe, and a second implementation of it is a second chance to pay twice.

The one thing added here is the compensation guard: an advisor on equity_only holds equity and is not paid per case. It calls compensation.accrues_payment rather than re-testing the column, because the rule that NULL is payable lives in that function and a re-implementation written as != 'equity_only' gets legacy contributors wrong.

post/api/asclepius/admin/earnings/pay

Request

  • Base URL
    https://app.archangelhealth.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://app.archangelhealth.ai/api/asclepius/admin/earnings/pay
  • Auth
    none declared

Headers

authorizationstring nullable

Request body

user_idstring required
earning_idsstring[] nullable
payout_batch_idstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.