Check Credit Balance
Get the Current Credit Balance
API Endpoint
GET
https://api.ovcode.com/authentication-status/get/credits
Request Headers
Ocp-Apim-Subscription-KeyYour Enterprise Subscription KeyApi-KeyYour Enterprise Project API KeyRequest Body
No Content
API Response
Success{
"success": true,
"data": {
"balance": 1
},
"error": null
}
Error
{
"success": false,
"data": null,
"error": "<Error Message>"
}
HTTP Status Codes
| Code | Description |
|---|---|
| 200 | OK |
| 201 | Created |
| 204 | No Content |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Not Found |
| 415 | Unsupported Media Type |
| 500 | Internal Server Error |