admin
Add or subtract prepaid credits for a team (audited, idempotent)
Moves credits through the existing ledger primitives only (atomic grant / clamped FOR-UPDATE drawdown, so a balance can never go negative), writes the money-trail row and the tenant audit entry in the SAME transaction, and claims the client-supplied idempotency key so a retried submit replays the stored outcome instead of moving credits twice. Requires a human reason. Admin only.
post/v1/admin/cockpit/teams/{tenant_id}/credit-adjustments
Request
- Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
- URL: https://api.patricia.app/v1/admin/cockpit/teams/{tenant_id}/credit-adjustments
- Auth: HTTP bearer
Path parameters
tenant_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.