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

# Create Reclaim Request

> Submit a request to reclaim funds

# Create Reclaim Request

Submit a request to reclaim (withdraw) funds from processor account. Admin will review.

## Endpoint

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

## Authentication

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

## Path Parameters

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

## Request Body

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

<ParamField body="reason" type="string">
  Reason for reclaim request
</ParamField>

## Response

```json theme={null}
{
  "success": true,
  "request_id": "reclaim_abc123",
  "message": "Reclaim request submitted successfully"
}
```

## Workflow

1. Processor submits reclaim request
2. Request status is `pending`
3. Admin reviews and approves/rejects
4. On approval, funds are transferred

## Errors

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


## OpenAPI

````yaml olive-openapi.json POST /processors/{id}/reclaim
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}/reclaim:
    post:
      tags:
        - Processors
      summary: Create reclaim request
      description: >-
        Submit a request to reclaim funds from processor account (admin will
        review)
      parameters:
        - description: Processor ID
          name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handler.CreateReclaimRequestRequest'
        description: Reclaim request details
        required: true
      responses:
        '200':
          description: Reclaim request created successfully
          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: Server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - BearerAuth: []
components:
  schemas:
    handler.CreateReclaimRequestRequest:
      type: object
      required:
        - amount
      properties:
        amount:
          type: string
          example: '1000.00'
        reason:
          type: string
          example: Cash out request for weekly settlements
  securitySchemes:
    BearerAuth:
      description: >-
        JWT token from admin login for administrative operations. Format:
        'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
      type: apiKey
      name: Authorization
      in: header

````