# Get All Users' Transactions

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

### **Overview**

**Retrieves a list of all transaction records across all users in the system.**

This endpoint is typically used for administrative or analytical purposes, such as generating reports, monitoring user activity, or processing settlements.

**Typical use cases**

* Viewing all users’ payment and refund history
* Providing comprehensive transaction reports
* Performing global settlement or analytics across users

### 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": [
        {
            "transaction_id": "transactionId",
            "user_id": "testUserId",
            "created_at": 1753311522294,
            "amount": 1700,
            "currency": "usd",
            "status": "succeeded",
            "payment_type": "paid",
            "transaction_fee": {
                "klaim_fee": 17,
                "total_fee": 96,
                "stripe_fee": 79
            }
        }...
    ],
    "lastKey": {
        "prefix_app_id": "_transaction_meaxc87egtgc",
        "type_id": "1738101593521_bJLvv"
    }
}
```

***

### Attributes

<table><thead><tr><th width="210">Attribute</th><th width="134">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>amount</code></td><td>number</td><td><p>The payment amount in <strong>cents</strong>.  </p><p>(e.g. <mark style="color:orange;"><code>1700</code></mark> represents <mark style="color:orange;"><code>$17.00 USD</code></mark> )</p></td></tr><tr><td><code>currency</code></td><td>string</td><td>ISO 4217 currency code (e.g., usd, krw) — defines how to interpret the amount value.</td></tr><tr><td><code>payment_type</code></td><td>string</td><td>Indicates the nature of the transaction <br>(e.g., paid, refunded, canceled).</td></tr><tr><td><code>transaction_fee</code></td><td>Object</td><td>Breakdown of fees applied to the transaction — includes klaim_fee, stripe_fee, and their total_fee (all values in cents).</td></tr><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 %}
