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

# Overview

> The Transaction API facilitates the retrieval, and management of financial transaction records.

### 🔍 Get All Transactions

'Retrieve a list of all transactions processed through Swervpay using the [get](/api-reference/transactions/get-all-transactions) all transaction endpoint which includes details such as transaction amount, status, and associated customer.

**Query Parameters**

<ParamField query="page" type="string" default={1} required>
  The page to return.
</ParamField>

<ParamField query="limit" type="string" default={10} required>
  The maximum number of results to return.
</ParamField>

**Response Example**

Returns an array of transaction objects, each containing details about individual transactions processed through the platform.

```json Response theme={null}
[
  {
    "account_name": "Jane Doe",
    "account_number": "1234567890",
    "amount": 5000,
    "bank_code": "string",
    "bank_name": "Bank name",
    "category": "transfer",
    "charges": 50,
    "created_at": "2024-01-01T12:00:00Z",
    "detail": "Payment for services",
    "fiat_rate": 1.0,
    "id": "trans_789",
    "reference": "ref_101112",
    "report": false,
    "report_message": "",
    "session_id": "session_213",
    "status": "completed",
    "type": "debit",
    "updated_at": "2024-01-02T12:00:00Z",
  }
]
```

### 🔍 Get Transactions

Retrieve details of a specific transaction using its unique ID with the [get](/api-reference/transactions/get) transaction endpoint.

**Path Parameters**

<ParamField path="id" type="string" required>
  The unique identifier of the transaction to retrieve.
</ParamField>

**Response Example**

Retunrs a transaction object containing details about the transaction

```json Response theme={null}
  {
    "account_name": "Jane Doe",
    "account_number": "1234567890",
    "amount": 5000,
    "bank_code": "string",
    "bank_name": "Bank name",
    "category": "transfer",
    "charges": 50,
    "created_at": "2024-01-01T12:00:00Z",
    "customer_id": "cust_456",
    "detail": "Payment for services",
    "fiat_rate": 1.0,
    "id": "trans_789",
    "reference": "ref_101112",
    "report": false,
    "report_message": "",
    "session_id": "session_213",
    "status": "completed",
    "type": "debit",
    "updated_at": "2024-01-02T12:00:00Z",
  }
```
