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

# QR Code Verification

> Validate QR code content and issuer authenticity.

<CardGroup cols={1}>
  <Card title="Philsys API Help Page" href="https://docs.idmetagroup.com/resources/philsys-check-via-api">
    Validate QR code content and issuer authenticity.
  </Card>
</CardGroup>


## OpenAPI

````yaml api-reference-legacy/government-data/philippines/ph-philsys-qr-verification/qr-code-verification.openapi.json POST /api/v1/verification/qr_code_verification
openapi: 3.0.3
info:
  title: IDmeta API - PH Philsys Qr Verification
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    variables:
      environment-subdomain:
        default: integrate
security:
  - bearerAuth: []
paths:
  /api/v1/verification/qr_code_verification:
    post:
      tags:
        - Government Data
      summary: PH Philsys Qr Verification
      description: Validate QR code content and issuer authenticity.
      parameters:
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
        - name: Content-Type
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - DateIssued
                - Issuer
                - subject
                - alg
                - template_id
                - verification_id
              properties:
                DateIssued:
                  type: string
                  description: Date the document or record was issued.
                  example: 29 August 2023
                Issuer:
                  type: string
                  description: The authority or organization that issued the document.
                  example: PSA
                subject:
                  type: object
                  required:
                    - lName
                    - fName
                    - sex
                    - DOB
                    - POB
                    - PCN
                  properties:
                    Suffix:
                      type: string
                      description: Suffix of the subject name.
                      example: ''
                    lName:
                      type: string
                      description: Last name of the subject.
                      example: JOHN
                    fName:
                      type: string
                      description: First name of the subject.
                      example: JACK
                    mName:
                      type: string
                      description: Middle name of the subject.
                      example: DOE
                    sex:
                      type: string
                      description: Gender of the subject.
                      example: Male
                    BF:
                      type: string
                      description: Biometrics Factors or internal reference field.
                      example: '[1,9]'
                    DOB:
                      type: string
                      description: Date of birth of the subject.
                      example: June 06, 1992
                    POB:
                      type: string
                      description: Place of birth of the subject.
                      example: City of Legazpi,Albay
                    PCN:
                      type: string
                      description: Personal Case Number.
                      example: 1234-5678-9123-4567
                alg:
                  type: string
                  description: Algorithm used to validate QR signature.
                  example: EDDSA
                template_id:
                  type: integer
                  description: >-
                    Identifier used to categorize or group requests for tracking
                    or reporting.
                  example: 12345
                verification_id:
                  type: string
                  description: Unique identifier for the verification request.
                  example: '{your_created_verification_id}'
            example:
              DateIssued: <string>
              Issuer: <string>
              subject:
                Suffix: <string>
                lName: <string>
                fName: <string>
                mName: <string>
                sex: <string>
                BF: <string>
                DOB: June 06, 1992
                POB: <string>
                PCN: <string>
              alg: <string>
              template_id: '{your_trust_flow_id}'
              verification_id: '{your_created_verification_id}'
      responses:
        '200':
          description: QR verification processed successfully
          content:
            application/json:
              example:
                isValid: true
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````