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

# PRC

> Verify a Philippines Professional Regulation Commission record by license details or by name.

PRC supports exactly one of two search modes: `profession` with `dateOfBirth` and `licenseNo`, or `profession` with `firstName` and `lastName`.


## OpenAPI

````yaml stateless-verification-api/philippines-government/prc.openapi.json POST /api/v3/verifications/philippines/prc-passthrough
openapi: 3.0.3
info:
  title: Philippines Government Verification API - PRC
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    description: Your environment (replace `{environment-subdomain}`)
    variables:
      environment-subdomain:
        default: integrate
        description: IDmeta environment subdomain
security:
  - bearerAuth: []
paths:
  /api/v3/verifications/philippines/prc-passthrough:
    post:
      tags:
        - Philippines Government Verification
      summary: PRC
      description: >-
        Verify a Philippines Professional Regulation Commission record by
        license details or by name.
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer {your_api_token}
        - 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:
              $ref: '#/components/schemas/PRCRequest'
            examples:
              byLicense:
                summary: Search by license details
                value:
                  profession: Mechanical Engineer
                  dateOfBirth: '1990-02-01'
                  licenseNo: '1234567'
                  metadata:
                    yourRef: case-1003
              byName:
                summary: Search by name
                value:
                  profession: Mechanical Engineer
                  firstName: Jordan
                  lastName: Santos
                  metadata:
                    yourRef: case-1004
      responses:
        '200':
          description: >-
            Request processed. Check `data.isValid` and `verificationStatus` to
            determine the outcome.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhilippinesPassthroughSuccessResponse'
              examples:
                valid:
                  summary: Verified result
                  value:
                    success: true
                    message: Philippines PRC processed successfully
                    data:
                      isValid: true
                      profession: Mechanical Engineer
                      firstName: Jordan
                      lastName: Santos
                      registrationNumber: '1234567'
                    verificationStatus: VERIFIED
                    verificationStatusCode: 3
                    transactionId: 79b6f81c-fc48-42ce-b907-763129b0957e
                    verificationType: philippines_prc
                    metadata:
                      yourRef: case-1001
                    createdAt: 2026-09-01 08:00:00+0000
                rejected:
                  summary: Rejected result (still HTTP 200)
                  value:
                    success: true
                    message: Philippines PRC processed successfully
                    data:
                      isValid: false
                    verificationStatus: REJECTED
                    verificationStatusCode: 1
                    transactionId: 79b6f81c-fc48-42ce-b907-763129b0957e
                    verificationType: philippines_prc
                    metadata:
                      yourRef: case-1001
                    createdAt: 2026-09-01 08:00:00+0000
        '400':
          description: >-
            Validation failed. Unsupported QR formats and invalid or expired
            liveness sessions also use this response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhilippinesValidationErrorResponse'
              examples:
                invalidRequest:
                  summary: Validation failed
                  value:
                    success: false
                    code: VALIDATION_FAILED
                    message: >-
                      The request could not be validated. Please check the
                      submitted fields.
                    errors:
                      search:
                        - >-
                          Provide either dateOfBirth with licenseNo, or
                          firstName with lastName.
                    transactionId: null
                    verificationType: philippines_prc
                    createdAt: 2026-09-01 08:00:00+0000
        '500':
          description: Internal error or Philippine government source unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhilippinesPassthroughErrorResponse'
              examples:
                internalError:
                  summary: Internal error
                  value:
                    success: false
                    code: INTERNAL_ERROR
                    message: >-
                      An internal error has occurred while processing your
                      request. Please try again later.
                    verificationStatus: FAILED
                    verificationStatusCode: 6
                    transactionId: f43156f1-c11c-4a38-92d9-c2d3221eba5b
                    verificationType: philippines_prc
                    metadata:
                      yourRef: case-1001
                    createdAt: 2026-09-01 08:00:00+0000
                sourceUnavailable:
                  summary: Philippine government source unavailable
                  value:
                    success: false
                    code: PH_GOV_UNAVAILABLE
                    message: >-
                      The Philippine government source is currently unavailable.
                      Please try again later.
                    verificationStatus: FAILED
                    verificationStatusCode: 6
                    transactionId: f43156f1-c11c-4a38-92d9-c2d3221eba5b
                    verificationType: philippines_prc
                    metadata:
                      yourRef: case-1001
                    createdAt: 2026-09-01 08:00:00+0000
components:
  schemas:
    PRCRequest:
      type: object
      required:
        - profession
      description: >-
        Provide exactly one search mode: dateOfBirth with licenseNo, or
        firstName with lastName.
      properties:
        profession:
          type: string
          description: Registered profession.
          example: Mechanical Engineer
        dateOfBirth:
          type: string
          description: Date of birth for a license-number search in YYYY-MM-DD format.
          example: '1990-02-01'
          format: date
        licenseNo:
          type: string
          description: PRC license or registration number.
          example: '1234567'
        firstName:
          type: string
          description: First name for a name search.
          example: Jordan
        lastName:
          type: string
          description: Last name for a name search.
          example: Santos
        metadata:
          type: object
          additionalProperties: true
          description: >-
            Optional key-value pairs echoed back in completed and source-error
            responses.
      oneOf:
        - required:
            - dateOfBirth
            - licenseNo
        - required:
            - firstName
            - lastName
    PhilippinesPassthroughSuccessResponse:
      type: object
      required:
        - success
        - message
        - data
        - verificationStatus
        - verificationStatusCode
        - transactionId
        - verificationType
        - createdAt
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
        data:
          type: object
          required:
            - isValid
          additionalProperties: true
          description: >-
            CamelCase result fields for this verification type. Additional
            source fields may be returned when available.
          properties:
            isValid:
              type: boolean
              description: Whether the PRC source verified the submitted details.
            profession:
              type: string
            firstName:
              type: string
            lastName:
              type: string
            licenseNumber:
              type: string
            registrationNumber:
              type: string
            pictureValidity:
              type: string
        verificationStatus:
          type: string
          enum:
            - VERIFIED
            - REJECTED
        verificationStatusCode:
          type: integer
          enum:
            - 3
            - 1
          description: '`3` = Verified, `1` = Rejected.'
        transactionId:
          type: string
          format: uuid
        verificationType:
          type: string
          example: philippines_prc
        metadata:
          type: object
          additionalProperties: true
          nullable: true
        createdAt:
          type: string
          example: 2026-09-01 08:00:00+0000
    PhilippinesValidationErrorResponse:
      type: object
      required:
        - success
        - code
        - message
        - errors
        - transactionId
        - verificationType
        - createdAt
      properties:
        success:
          type: boolean
          example: false
        code:
          type: string
          enum:
            - VALIDATION_FAILED
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        transactionId:
          type: string
          format: uuid
          nullable: true
          description: >-
            Null for upfront validation; present when a liveness session fails
            after the transaction starts.
        verificationType:
          type: string
          example: philippines_prc
        metadata:
          type: object
          additionalProperties: true
          nullable: true
        createdAt:
          type: string
    PhilippinesPassthroughErrorResponse:
      type: object
      required:
        - success
        - code
        - message
        - verificationStatus
        - verificationStatusCode
        - transactionId
        - verificationType
        - createdAt
      properties:
        success:
          type: boolean
          example: false
        code:
          type: string
          enum:
            - PH_GOV_UNAVAILABLE
            - INTERNAL_ERROR
        message:
          type: string
        verificationStatus:
          type: string
          example: FAILED
        verificationStatusCode:
          type: integer
          example: 6
        transactionId:
          type: string
          format: uuid
        verificationType:
          type: string
          example: philippines_prc
        metadata:
          type: object
          additionalProperties: true
          nullable: true
        createdAt:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use your API token as a Bearer token in the `Authorization` header.

````