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

# Query Verification Status

> Query the current KYB verification status of an institutional sub-account.

## Overview

This page documents the query verification status endpoint. Parameters, response schema, and examples are rendered from the linked OpenAPI definition above.

## Notes

* Authentication uses the standard GatePay signed headers.
* This dedicated institution endpoint does not use `X-GatePay-On-Behalf-Of`.
* Use `subAccountId` to query the KYB verification status of the specified sub-account.
* For shared signing rules, see [/api-reference/version/100/en/common/securityAndSignature](/api-reference/version/100/en/common/securityAndSignature).

## Use Cases

* Poll sub-account verification progress as an institution merchant
* Validate that `currentAuthStatus` is `succeeded` before initiating downstream business operations

## Important Notes

* `currentAuthStatus` values include: `un_open`, `submitted`, `succeeded`, `rejected`
* `auditTime` is returned only when the status is `succeeded` or `rejected`
* `rejectReason` is returned only when the status is `rejected`; it is omitted when the status is `succeeded`
* After verification completes, GatePay also pushes the result via the [Sub-account Verification Result Notification](/api-reference/version/100/en/endpoint/institutional/verifyResultNotification)


## OpenAPI

````yaml api-reference/version/100/en/openapi/institutional-openapi.json GET /pay-cashier/open/v1/certification/verify/query
openapi: 3.1.0
info:
  title: GatePay Institutional API
  description: >-
    Gate Pay Institution API documentation. Create and manage sub-accounts,
    finance, orders, payout, transfer, and more.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://openplatform.gateapi.io
security: []
paths:
  /pay-cashier/open/v1/certification/verify/query:
    get:
      tags:
        - Institutional
      summary: Query Verification Status
      description: >-
        Query the current KYB verification status of an institutional
        sub-account.
      operationId: queryVerify
      parameters:
        - $ref: '#/components/parameters/X-GatePay-Certificate-ClientId'
        - $ref: '#/components/parameters/X-GatePay-Timestamp'
        - $ref: '#/components/parameters/X-GatePay-Nonce'
        - $ref: '#/components/parameters/X-GatePay-Signature'
        - name: subAccountId
          in: query
          required: true
          description: Institutional sub-account ID
          schema:
            type: integer
            format: int64
            example: 53695180
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryVerifyResponseWrapper'
              examples:
                success:
                  summary: Verification passed
                  value:
                    code: '2'
                    message: success
                    data:
                      merchantNo: '12345678'
                      subAccountId: '53695180'
                      currentAuthStatus: succeeded
                      accountType: KYB
                      submitTime: 1780036614339
                      auditTime: 1780036714339
                rejected:
                  summary: Verification rejected
                  value:
                    code: '2'
                    message: success
                    data:
                      merchantNo: '12345678'
                      subAccountId: '53695180'
                      currentAuthStatus: rejected
                      accountType: KYB
                      submitTime: 1780036614339
                      auditTime: 1780036714339
                      rejectReason: ID photo is unclear
components:
  parameters:
    X-GatePay-Certificate-ClientId:
      name: X-GatePay-Certificate-ClientId
      in: header
      required: true
      description: >-
        The clientId assigned when the merchant registers an application in the
        Gate merchant console.
      schema:
        type: string
        example: 4186d0c6-6a35-55a9-8dc6-5312769dbff8
    X-GatePay-Timestamp:
      name: X-GatePay-Timestamp
      in: header
      required: true
      description: >-
        UTC timestamp in milliseconds when the request is generated. GatePay
        will not process requests where the difference from the receive time
        exceeds 10 seconds.
      schema:
        type: string
        example: '1672905655498'
    X-GatePay-Nonce:
      name: X-GatePay-Nonce
      in: header
      required: true
      description: >-
        Random string. Must comply with HTTP header rules; recommended length is
        within 32 characters, composed of digits and letters.
      schema:
        type: string
        example: '9578'
    X-GatePay-Signature:
      name: X-GatePay-Signature
      in: header
      required: true
      description: >-
        Request signature. GatePay uses this signature to verify whether the
        request is valid.
      schema:
        type: string
  schemas:
    QueryVerifyResponseWrapper:
      type: object
      description: Query verification status response
      properties:
        code:
          type: string
          description: Response code
          example: '2'
        message:
          type: string
          description: Response message
          example: success
        data:
          $ref: '#/components/schemas/GatePayVerifyQueryData'
    GatePayVerifyQueryData:
      type: object
      description: Verification status query result
      properties:
        merchantNo:
          type: string
          description: Institution main merchant ID
        subAccountId:
          type: string
          description: Institutional sub-account ID
        currentAuthStatus:
          type: string
          description: Latest overall verification status of the sub-account
          enum:
            - un_open
            - submitted
            - succeeded
            - rejected
        accountType:
          type: string
          description: Verification type; always KYB
          enum:
            - KYB
        submitTime:
          type: integer
          format: int64
          description: Submission time (milliseconds)
        auditTime:
          type: integer
          format: int64
          description: >-
            Audit completion time (milliseconds); returned only when status is
            `succeeded` or `rejected`
        rejectReason:
          type: string
          description: Rejection reason; returned only when status is `rejected`

````