# Get All Users' Credits

<mark style="color:green;">`GET`</mark> `/users/credits`

### **Overview**

Retrieves the **credit balances of all users** in the system.

This endpoint is typically used for administrative purposes such as monitoring, analytics, or generating credit reports across users.

**Typical use cases**

* Retrieving credit balances for all users at once
* Monitoring credit status from an admin dashboard
* Comparing users or performing statistical analysis

### **Header**

| Name                               | Value              |
| ---------------------------------- | ------------------ |
| Content-Type                       | `application/json` |
| Authorization <sup>(API Key)</sup> | `Bearer <API Key>` |

### **Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "message": "fetch resource successfully",
    "data": [
        {
            "credit_balance": 0,
            "user_id": "Z4rNc8KvT1qW"
        },
    ]
}
```

***

### Attributes

<table><thead><tr><th width="210">Attribute</th><th width="134">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>starting_after</code></td><td>Object</td><td>A cursor to use in pagination.<br><br><a href="../other-details/pagination" class="button secondary">Show child attributes</a></td></tr></tbody></table>
{% endtab %}
{% endtabs %}
