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

# Verify NFC card

> Verify card status and balance before payment



## OpenAPI

````yaml /olive-openapi.json post /payment/verify-card
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:
  /payment/verify-card:
    post:
      tags:
        - POS
      summary: Verify NFC card
      description: Verify card status and balance before payment
      requestBody:
        $ref: '#/components/requestBodies/handler.POSVerifyCardRequest'
      responses:
        '200':
          description: Card verified
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Card verification failed
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
components:
  requestBodies:
    handler.POSVerifyCardRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/handler.POSVerifyCardRequest'
      description: Card verification details
      required: true
  schemas:
    handler.POSVerifyCardRequest:
      type: object
      required:
        - card_serial
      properties:
        card_serial:
          description: 'Supports any alphanumeric: CARD0001, 48290173K, etc.'
          type: string
          example: CARD0001
        pin:
          description: >-
            Required for POS routes, optional for payment routes (HMAC provides
            security)
          type: string
          example: '1234'

````