Remove Credits
POST https://yourwebsite.com/api/credits/remove
Request Body
Name
Type
Description
target_username*
string
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 send less than 0.01!"
}{
"status": false,
"error": "NOT_ENOUGH_CREDITS",
"message": "This user doesn't have enough credits to remove this amount!"
}Last updated