> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reinx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Transactions

> List and export agent transactions

## List transactions

```bash theme={null}
GET /v1/transactions
```

Returns the organization's transactions, newest first, cursor-paginated.

### Query parameters

| Parameter   | Type   | Description                                                   |
| ----------- | ------ | ------------------------------------------------------------- |
| `limit`     | number | Max results per page                                          |
| `cursor`    | string | Opaque pagination token from the previous page's `nextCursor` |
| `agent_id`  | uuid   | Filter to one agent                                           |
| `type`      | string | `card` or `wallet`                                            |
| `range`     | string | `7d`, `30d`, `90d`, or `all`                                  |
| `projectId` | uuid   | Filter to one project                                         |
| `teamId`    | uuid   | Filter to one team                                            |

### Response

```json theme={null}
{
  "transactions": [
    {
      "id": "…",
      "createdAt": "2026-07-10T18:22:04Z",
      "agentId": "…",
      "agentName": "Ad Spender",
      "merchant": "0x9c41…d20a",
      "amountCents": 4900,
      "currency": "USD",
      "direction": "debit",
      "rail": "wallet",
      "status": "approved",
      "purpose": "Pay for the market data API subscription",
      "denialReason": null,
      "denialCode": null,
      "onChainTxHash": "0x5b7e…",
      "chainCaip2": "eip155:8453"
    }
  ],
  "nextCursor": "2026-07-10T18:22:04.000Z|…"
}
```

Statuses: `approved`, `pending`, `denied`, `failed`, `reversed`, `expired`.

Pass `nextCursor` back as `cursor` to fetch the next page; `nextCursor` is `null` on the last page. A malformed cursor returns `400 BAD_CURSOR`.

## Export transactions

```bash theme={null}
GET /v1/transactions/export
```

Streams the filtered range as CSV. Accepts the same filters as the list (minus pagination), plus:

| Parameter | Type   | Description                                                           |
| --------- | ------ | --------------------------------------------------------------------- |
| `status`  | string | `approved`, `pending`, `denied`, or `failed`                          |
| `tz`      | string | IANA timezone for timestamps in the file (e.g. `America/Los_Angeles`) |

<Note>
  Approving and denying pending transactions lives under the [Approvals](/api-reference/approvals)
  endpoints.
</Note>
