cURL
curl --request GET \ --url https://api.weblinq.dev/v1/user/credits \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "balance": 123, "plan": "free", "lastRefill": "<string>" }, "creditsCost": 123, "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "timestamp": "2023-11-07T05:31:56Z" }
Returns the current user credit balance, plan, and last refill date.
Enter your API token or session token
User credits information
The response is of type object.
object