> For the complete documentation index, see [llms.txt](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/stats/retrieve-transaction-history.md).

# Retrieve Transaction History

Use the `GET /stats/transaction-history/` endpoint to retrieve the transaction history, including detailed records of past transactions.

***

#### Parameters

This endpoint does not require any parameters. Simply call the endpoint to fetch the transaction history.

***

#### Responses

**200 OK**

**Description:** The transaction history was successfully retrieved.

**Example Response:**

```json
[
  {
    "transaction_id": "TX12345",
    "date": "2024-11-15T14:25:00Z",
    "amount": 150.75,
    "status": "completed",
    "description": "Payment for service request #7890"
  },
  {
    "transaction_id": "TX12346",
    "date": "2024-11-14T09:10:00Z",
    "amount": 80.50,
    "status": "failed",
    "description": "Payment for service request #7889"
  }
]
```
