> ## 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 Transfer

> Transfer funds from processor to subscriber

# Processor Transfer

Transfer funds from processor account to a subscriber account.

## Endpoint

```http theme={null}
POST /api/v1/processors/:id/transfer
```

## 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>

## Request Body

<ParamField body="account_id" type="string" required>
  Recipient account ID
</ParamField>

<ParamField body="amount" type="string" required>
  Amount to transfer (e.g., "500.00")
</ParamField>

<ParamField body="description" type="string">
  Transfer description
</ParamField>

## Response

```json theme={null}
{
  "success": true,
  "transaction_id": "txn_abc123",
  "message": "Transfer completed successfully"
}
```

## Errors

| Code | Description                            |
| ---- | -------------------------------------- |
| 400  | Invalid amount or insufficient balance |
| 404  | Processor or account not found         |
| 401  | Unauthorized                           |


## OpenAPI

````yaml olive-openapi.json POST /processors/{id}/transfer
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}/transfer:
    post:
      tags:
        - Processors
      summary: Transfer funds from processor to account
      description: Transfer money from processor account to any OLIVE subscriber account
      parameters:
        - description: Processor ID
          name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handler.ProcessorTransferRequest'
        description: Transfer details
        required: true
      responses:
        '200':
          description: Transfer completed successfully
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Processor or account not found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - BearerAuth: []
components:
  schemas:
    handler.ProcessorTransferRequest:
      type: object
      required:
        - account_id
        - amount
      properties:
        account_id:
          description: Account ID from accounts table
          type: string
          example: acc_xyz123
        amount:
          type: string
          example: '500.00'
        description:
          type: string
          example: Payment for goods
  securitySchemes:
    BearerAuth:
      description: >-
        JWT token from admin login for administrative operations. Format:
        'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
      type: apiKey
      name: Authorization
      in: header

````