---
description: This endpoint retrieves transactions associated to the authenticated user.
---

# View All Transactions

<mark style="color:green;">`GET`</mark> `/auth/view-transactions`

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |
| Token        | `<token>`          |

**Response**

{% tabs %}
{% tab title="Successful Response" %}
```json
{
  "type": "object",
  "properties": {
    "transactionId": {
      "type": "string"
    },
    "amount": {
      "type": "number"
    },
    "currency": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}
```
{% endtab %}

{% tab title="Unsuccessful Response" %}
```json
{
  "error": "Invalid request"
}
```
{% endtab %}
{% endtabs %}
