AddCredit adds promotional credit to an organization's wallet.
POST/api/v1/billing/wallet/credit
Admin operation to grant credits for promotions, compensation, or goodwill gestures. Credits may have an expiration date.
Authorization
Requires billing:admin permission.
Behavior
- Credits wallet immediately
- Records credit with reason for audit
- Optional expiration date for time-limited credits
Response
Returns updated Wallet with new balance.
Errors
- NOT_FOUND: Organization not found
- PERMISSION_DENIED: Caller lacks billing:admin
Request
Responses
- 200
- default
A successful response.
An unexpected error response.