admin-billing

Correct Drift

Surgical single-asset drift correction. Writes an audited ledger entry + updates organization_storage in one transaction. Use for cases the bulk backfill/remove-stale tools don't cover (refunds, one-off invoice adjustments).

post/admin/billing/reconciliation/correct

Query parameters

organization_idstring required
asset_idstring nullable

Optional asset to attribute

Optional asset to attribute

bytes_deltainteger required

Bytes to add (+) or remove (-) from the ledger

Bytes to add (+) or remove (-) from the ledger

reasonstring required

Required audit reason

Required audit reason

Headers

x-api-keystring nullable

Response

Successful Response

{"stackTrail":"paths:/admin/billing/reconciliation/correct:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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