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

# Processor Transactions

> Get processor transaction history

# Get Processor Transactions

Retrieve transaction history for a processor account.

## Endpoint

```http theme={null}
GET /api/v1/processors/:id/transactions
```

## Authentication

<ParamField header="Authorization" type="string" required>
  Bearer token (Processor or Admin JWT)
</ParamField>

## Path Parameters

<ParamField path="id" type="string" required>
  Processor UUID
</ParamField>

## Query Parameters

<ParamField query="limit" type="integer" default="20">
  Results per page (max 100)
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Pagination offset
</ParamField>

## Response

```json theme={null}
{
  "success": true,
  "transactions": [
    {
      "id": "txn_abc123",
      "type": "pos_payment",
      "amount": "150.00 SLE",
      "fee": "1.50 SLE",
      "status": "completed",
      "subscriber_id": "sub_xyz789",
      "created_at": "2025-01-15T10:30:00Z"
    }
  ],
  "total_count": 500,
  "message": "Transactions retrieved successfully"
}
```

## Errors

| Code | Description         |
| ---- | ------------------- |
| 400  | Invalid request     |
| 404  | Processor not found |
| 401  | Unauthorized        |


## OpenAPI

````yaml olive-openapi.json GET /processors/{id}/transactions
openapi: 3.0.0
info:
  description: >-
    API Gateway for OLIVE NFC Card Payment System - Comprehensive payment, card
    management, agent operations, and admin authentication. All /api/v1 routes
    require authentication using either API Key or JWT token.
  title: OLIVE NFC Card Payment API
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    email: support@olive.sl
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://olive-gateway-a6ba.onrender.com/api/v1
security: []
paths:
  /processors/{id}/transactions:
    get:
      tags:
        - Processors
      summary: Get processor transaction history
      description: Retrieve transaction history for a processor account
      parameters:
        - description: Processor ID
          name: id
          in: path
          required: true
          schema:
            type: string
        - description: 'Number of transactions to return (default: 20, max: 100)'
          name: limit
          in: query
          schema:
            type: integer
        - description: 'Offset for pagination (default: 0)'
          name: offset
          in: query
          schema:
            type: integer
      responses:
        '200':
          description: Transaction history retrieved
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Processor not found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      description: >-
        JWT token from admin login for administrative operations. Format:
        'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
      type: apiKey
      name: Authorization
      in: header

````