Check remaining credits for your API key
Field | Type | Description |
---|---|---|
credits | integer | Number of credits remaining in your account |
last_topup_at | string or null | ISO 8601 timestamp of your last credit purchase/top-up |
Status Code | Description |
---|---|
401 | Unauthorized - API key missing or invalid |
404 | Not Found - Unable to retrieve credit information |
500 | Internal Server Error - Credit service error |
last_topup_at
will be null
if no credits have been purchasedAPI key authentication. Keys start with 'lk_'.
Credits information retrieved successfully
The response is of type object
.