Admin
Admin
Recharge User Account
Recharge a user's account with validation (admin only)
Validates that:
- amount/0.2 = quota
- gift_quota = quota (equal bonus) only if amount ≥ 5.00, otherwise gift_quota should be 0
- If the user doesn't exist, creates a new user
- Updates total_recharge by adding the amount
post/admin/recharge
Request
- Base URLhttps://api.deepshare.app (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.