This endpoint is to get validation quota information
Endpoint details #
| Endpoint | https://api-validator.aktiva.co.id/app/v1/quota |
|---|---|
| Method | GET |
| Details | Postman Collection |
Response parameters #
| Parameter | Type | Description |
| msg | string | Response message |
| status | string[Success/Failed] | Response status |
| statusCode | HTTP status code | HTTP status code related to response |
| data.advanceQuotaAvailable | integer | The total amount of advance quota available |
| data.basicQuotaAvailable | integer | The total amount of basic quota available |
| data.totalQuotaAvailable | integer | The total amount of basic and advance quotas combined |
Response example #
Success get information #
HTTP/1.1 200 OK
{
"msg": "Success get quota information",
"status": "Success",
"statusCode": 200,
"data": {
"advanceQuotaAvailable": 19597,
"basicQuotaAvailable": 108869,
"totalQuotaAvailable": 128466
}
}
Error unauthorized #
HTTP/1.1 401 Unauthorized
{
"msg": "Not authorized",
"status": "Failed",
"statusCode": 401,
"data": {
"msg": "not authorized to access this route"
}
}