Account Balance
Retrieve the authenticated user’s email and credit balance.
This endpoint returns the authenticated user’s email and available credit balance.
Authentication is required via the x-api-key header.
Use this endpoint to check remaining credits before submitting jobs.
Retrieve the authenticated user's account details including available balance.
Authorizations
x-api-keystringRequired
Responses
200
User account details retrieved successfully.
application/json
emailstringOptionalEmail
balancenumberOptional
Available balance
400
Invalid or missing API key
application/json
401
Unauthorized - Invalid or missing API key
application/json
500
Internal server error
application/json
get/account/balance
GET /v1/account/balance HTTP/1.1
Host: api.deepixels.co
x-api-key: YOUR_API_KEY
Accept: */*
{
"email": "[email protected]",
"balance": 42
}Last updated