Api referencev1/balance
Get the calling key's credit balance
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/balance"{
"accountId": "string",
"creditsCents": 0,
"spentCents": 0
}{
"error": "unauthorized",
"message": "string",
"signupUrl": "string"
}{
"error": "forbidden",
"message": "string",
"requiredScope": "string",
"grantedScopes": [
"string"
]
}{
"error": "upstream_error",
"message": "string",
"retryable": true
}{
"error": "rate_limited",
"message": "string",
"retryAfter": 0
}{
"error": "upstream_error",
"message": "string",
"retryable": true
}{
"error": "upstream_error",
"message": "string",
"retryable": true
}