description |
---|
Retrieve the user's current credit balance. |
Retrieve the current credit balance for your account.
GET
{API_URL}/users/credits
Returns the data
object, containing the user credit balance in the field available_balance
.
Indicates the result of the request to get your credit balance. success signifies success, while failed indicates an error.
A description of the status of the request.
curl -X GET '{API_URL}/users/credits'
-H 'Authorization: Bearer {TOKEN/KEY}'
{
"data": {
"available_balance": "1228.55600"
},
"message": "User credit balance successfully retrieved",
"status": "success"
}