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

# Peer-to-peer transfer

> Transfer funds between OLIVE users by card serial



## OpenAPI

````yaml /olive-openapi.json post /wallet/transfer-p2p
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:
  /wallet/transfer-p2p:
    post:
      tags:
        - Wallet
      summary: Peer-to-peer transfer
      description: Transfer funds between OLIVE users by card serial
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/handler.TransferP2PRequest'
        description: P2P transfer details
        required: true
      responses:
        '200':
          description: Transfer successful
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    handler.TransferP2PRequest:
      type: object
      required:
        - amount
        - pin
        - recipient_card_serial
        - sender_id
      properties:
        amount:
          description: Accepts decimal format like "100.00" or "100"
          type: string
          example: '100.00'
        memo:
          type: string
          example: Payment for lunch
        pin:
          type: string
          example: '1234'
        recipient_card_serial:
          description: 'Supports any alphanumeric: CARD0001, 48290173K, etc.'
          type: string
          example: CARD0002
        sender_id:
          type: string
          example: subscriber-uuid
  securitySchemes:
    ApiKeyAuth:
      description: >-
        API Key for third-party integrations (WhatsApp, Smart PAY, VULT).
        Format: 'Bearer olive_live_xxxxxxxxxxxxx'
      type: apiKey
      name: Authorization
      in: header
    BearerAuth:
      description: >-
        JWT token from admin login for administrative operations. Format:
        'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
      type: apiKey
      name: Authorization
      in: header

````