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