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

# Transaction History

> List all transactions for your account

# Transaction History

Retrieve a paginated list of all transactions.

## Query Parameters

<ParamField query="limit" type="integer" default="20">
  Number of transactions to return (max 100)
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Number of transactions to skip
</ParamField>

<ParamField query="status" type="string">
  Filter by status: `pending`, `completed`, `failed`
</ParamField>

## Response

<ResponseField name="transactions" type="array">
  Array of transaction objects
</ResponseField>

<ResponseField name="total" type="integer">
  Total number of transactions
</ResponseField>

<ResponseField name="hasMore" type="boolean">
  Whether more transactions exist
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.unipay.com/v1/transactions?limit=10&status=completed" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const history = await fetch(
    'https://api.unipay.com/v1/transactions?limit=10',
    { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
  );
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "transactions": [
      {
        "transactionId": "tx_123",
        "status": "completed",
        "createdAt": "2026-04-22T12:00:00Z"
      }
    ],
    "total": 45,
    "hasMore": true
  }
  ```
</ResponseExample>
