# Get User's Transactions

<mark style="color:green;">`GET`</mark> `/users/{user_id}/transactions`

### **Overview**

**Retrieves** the list of **financial transactions for a specific user.**

This endpoint returns all payment-related records—such as purchases, top-ups, and refunds—associated with the specified `user_id`.

**Typical use cases**

* Viewing a user’s payment and refund history
* Providing detailed transaction statements
* Performing settlement or analysis on a per-user basis

### Header

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

### Path

<table><thead><tr><th width="161.59765625">Name</th><th width="138.5546875">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>user_id</code></td><td>string</td><td>User identifier (user_id). <br>Optional on create — if not provided, a system-generated ID will be used<br><br><a href="../user/user_id-and-klaim_id" class="button secondary">More description</a></td></tr></tbody></table>

### Response

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

```json
{
    "message": "transactions fetched successfully",
    "data": [
        {
            "transaction_id": "transactionId",
            "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 %}
