Admin Users
Deposit coins for a user
Deposit a specified amount of coins into a user's account with specified reason and direction
post/admin/users/{id}/deposit-coins
Request
- Base URLhttps://api.miaai.chat (the document declares no server; this is the origin it was published from)
- URLhttps://api.miaai.chat/admin/users/{id}/deposit-coins
- AuthHTTP bearer
Path parameters
idstring required
Example:user-uuid-here
User ID
Request body
Example request
{
"amount": 100,
"reason": "PURCHASE",
"direction": "IN"
}Response
Coins deposited successfully
Example response
{
"transactionId": "transaction-uuid-here",
"userId": "user-uuid-here",
"amount": 100,
"reason": "PURCHASE",
"direction": "IN",
"status": "COMPLETED"
}Changes
No recorded changes to this operation across all 1 revision of this API.