latestOpenAPI 3.1.02026-08-10466368560.6 KB

2b2bab8b9017

credits

Admin Add Credits

Admin endpoint to add credits to a user's balance.

Requires admin role.

Args: user_id: Target user ID credit_request: Request with amount and description

Returns: Updated credit information

post/credits/admin/add-credits/{user_id}

Path parameters

user_idstring uuid required

Request body

amountinteger required

Credits to add

descriptionstring required

Reason for adding credits

Response

Successful Response

{"stackTrail":"paths:/credits/admin/add-credits/{user_id}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}