bankstract
Api

Current billing-period usage

Successful parses across the key owner's keys this cycle, the tier cap, and the projected overage in NGN. Failed parses never count.

GET
/v1/usage

Header Parameters

authorization?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/usage"
{  "api_key_id": "string",  "tier": "string",  "period_parses": 0,  "monthly_cap": 0,  "overage_parses": 0,  "projected_overage_naira": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}