POST https://yourwebsite.com/api/credits/<user>/set
POST
https://yourwebsite.com/api/credits/<user>/set
amount*
decimal
{ "current_credits": "10.25 USD", "current_raw_credits": 10.25, "currency": "USD" }
{ "status": false, "error": "USER_NOT_FOUND", "message": "User not found!" }
{ "status": false, "error": "INVALID_AMOUNT", "message": "You can't set less than 0!" }
Last updated 8 months ago