Skip to main content

User

Query the authenticated account's prepaid credit balance.

Resource base path: /restapi/user

MethodPathDescription
GET/restapi/user/creditBalanceUser Credit Balance
note

apikey and secretkey are required HTTP headers on every request and are omitted from the parameter tables below. See Authentication.


User Credit Balance

User Credit Balance.

GET /restapi/user/creditBalance

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/user/creditBalance" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"userEmail": "user@example.com",
"userType": "string",
"balanceAmount": 0.0,
"type": "string"
}