# KYC status notification

> Receive KYC information requests, review results, and cancellations of information requests for a user.

```yaml
openapi: 3.1.0
x-onerway-docs-version: original
x-onerway-spec-key: embedded-finance/webhooks/kyc-status
info:
  title: KYC status notification
  version: original
  description: Receive KYC information requests, review results, and cancellations
    of information requests for a user.
webhooks:
  kyc.status:
    post:
      summary: KYC status notification
      description: Receive KYC information requests, review results, and cancellations
        of information requests for a user.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                request_id:
                  type: string
                  description: Unique notification ID for deduplication.
                  x-onerway-signature-participation: included
                event_type:
                  type: string
                  description: Event type identifier.
                  x-onerway-constraints:
                    - kind: values
                      text: Fixed to `EMFIN.KYC_STATUS` for all three actions.
                  x-onerway-signature-participation: included
                created_at:
                  type: string
                  description: Notification creation time in ISO 8601 format.
                  x-onerway-signature-participation: included
                version:
                  type: string
                  description: Webhook payload version.
                  x-onerway-signature-participation: included
                data:
                  type: object
                  properties:
                    userId:
                      type: integer
                      description: ID of the user whose KYC status is reported.
                    merchantNo:
                      type: string
                      description: Merchant number associated with the user.
                    action:
                      type: string
                      description: Action that triggered this notification.
                      enum:
                        - COMPLIANCE_KYC_RFI
                        - COMPLIANCE_KYC_REVIEW
                        - COMPLIANCE_REVOKE_RFI
                      x-enum-descriptions:
                        COMPLIANCE_KYC_RFI: Compliance requested additional KYC information. Submit the
                          requested materials through the [KYC RFI additional
                          materials](/embedded-finance/api-reference/endpoints/submit-additional-materials)
                          endpoint.
                        COMPLIANCE_KYC_REVIEW: Compliance completed a KYC review.
                        COMPLIANCE_REVOKE_RFI: Compliance canceled a previous KYC information request.
                      x-onerway-constraints:
                        - kind: range
                          max: 32
                          unit: characters
                    kycStatus:
                      type: string
                      description: KYC status of the notified user.
                      enum:
                        - INFORMATION_REQUESTED
                        - APPROVED
                        - REJECTED
                        - UNDER_REVIEW
                      x-enum-descriptions:
                        INFORMATION_REQUESTED: Additional KYC information is requested.
                        APPROVED: The KYC review was approved.
                        REJECTED: The KYC review was rejected.
                        UNDER_REVIEW: KYC is under review after the information request was canceled.
                      x-onerway-constraints:
                        - kind: range
                          max: 32
                          unit: characters
                        - kind: consistency
                          text: "`COMPLIANCE_KYC_RFI` always reports `INFORMATION_REQUESTED`;
                            `COMPLIANCE_KYC_REVIEW` reports `APPROVED` or
                            `REJECTED`; `COMPLIANCE_REVOKE_RFI` always reports
                            `UNDER_REVIEW`."
                    kycActionId:
                      type:
                        - integer
                        - "null"
                      description: KYC action ID. Merchants do not need this field to handle the
                        notification.
                      x-onerway-value:
                        nullable: true
                    remark:
                      type: string
                      description: Remark for the KYC notification.
                      x-onerway-constraints:
                        - kind: range
                          max: 800
                          unit: characters
                        - kind: rule
                          text: When `action` is `COMPLIANCE_KYC_REVIEW` and `kycStatus` is `REJECTED`,
                            this field explains the rejection reason.
                    requestedInfomation:
                      type: array
                      description: KYC information request items. The field name preserves the wire
                        spelling.
                      items:
                        type: object
                        properties:
                          actionId:
                            type: integer
                            description: ID of the information request item.
                          documentName:
                            type:
                              - string
                              - "null"
                            description: Requested document category; may be null in a review notification.
                            x-onerway-constraints:
                              - kind: range
                                max: 32
                                unit: characters
                            x-onerway-value:
                              nullable: true
                          documentDesc:
                            type:
                              - string
                              - "null"
                            description: Additional description of the requested document, if provided.
                            x-onerway-constraints:
                              - kind: range
                                max: 512
                                unit: characters
                            x-onerway-value:
                              nullable: true
                      x-onerway-constraints:
                        - kind: rule
                          text: Review these items for `COMPLIANCE_KYC_RFI`. Ignore them for
                            `COMPLIANCE_KYC_REVIEW`. For
                            `COMPLIANCE_REVOKE_RFI`, they record the canceled
                            request and no longer require action.
                    faceAuths:
                      type:
                        - array
                        - "null"
                      description: Face authentication information returned with an approved KYC
                        review.
                      items:
                        type: object
                        properties:
                          ownerName:
                            type: string
                            description: Name of the person associated with the face authentication URL.
                            x-onerway-constraints:
                              - kind: range
                                max: 256
                                unit: characters
                          faceAuthUrl:
                            type: string
                            description: Face authentication URL for this person; populated for every item
                              in an approved review.
                            x-onerway-constraints:
                              - kind: range
                                max: 1024
                                unit: characters
                      x-onerway-constraints:
                        - kind: rule
                          text: For an approved review, this array contains at least one item, and every
                            item has a non-empty `faceAuthUrl`.
                      x-onerway-value:
                        nullable: true
                        when:
                          en: Null unless `action` is `COMPLIANCE_KYC_REVIEW` and `kycStatus` is
                            `APPROVED`.
                          zh: 仅当 `action` 为 `COMPLIANCE_KYC_REVIEW` 且 `kycStatus` 为 `APPROVED` 时不为
                            `null`；其他情况为 `null`。
                  description: KYC status notification details.
                  x-onerway-signature-participation: included
            examples:
              information_requested:
                summary: Additional KYC information requested
                value:
                  request_id: example_kyc_notification_001
                  event_type: EMFIN.KYC_STATUS
                  created_at: 2026-10-16T10:41:32+08:00
                  version: v1.0
                  data:
                    userId: 12345678
                    merchantNo: 800***
                    action: COMPLIANCE_KYC_RFI
                    kycStatus: INFORMATION_REQUESTED
                    kycActionId: null
                    remark: Additional KYC information requested
                    requestedInfomation:
                      - actionId: 100001
                        documentName: EDD_SUPPORTING_DOCUMENTS
                        documentDesc: null
                      - actionId: 100002
                        documentName: RELATIONSHIP_CLARIFICATION
                        documentDesc: null
                      - actionId: 100003
                        documentName: OTHER
                        documentDesc: example_additional_document_details
                    faceAuths: null
                x-onerway-headers:
                  Content-Type: application/json;charset=UTF-8
                  x-timestamp: replace_with_unix_timestamp
                  x-signature: replace_with_hmac_sha256_signature
              review_approved:
                summary: KYC review approved
                value:
                  request_id: example_kyc_notification_002
                  event_type: EMFIN.KYC_STATUS
                  created_at: 2026-10-16T11:00:00+08:00
                  version: v1.0
                  data:
                    userId: 12345678
                    merchantNo: 800***
                    action: COMPLIANCE_KYC_REVIEW
                    kycStatus: APPROVED
                    kycActionId: null
                    remark: KYC review approved
                    requestedInfomation:
                      - actionId: 100001
                        documentName: null
                        documentDesc: null
                    faceAuths:
                      - ownerName: EXAMPLE USER
                        faceAuthUrl: https://example.com/face-auth?authorizationToken=replace_with_face_auth_token
                x-onerway-headers:
                  Content-Type: application/json;charset=UTF-8
                  x-timestamp: replace_with_unix_timestamp
                  x-signature: replace_with_hmac_sha256_signature
              review_rejected:
                summary: KYC review rejected
                value:
                  request_id: example_kyc_notification_003
                  event_type: EMFIN.KYC_STATUS
                  created_at: 2026-10-16T11:05:00+08:00
                  version: v1.0
                  data:
                    userId: 12345678
                    merchantNo: 800***
                    action: COMPLIANCE_KYC_REVIEW
                    kycStatus: REJECTED
                    kycActionId: null
                    remark: example_kyc_rejection_reason
                    requestedInfomation:
                      - actionId: 100001
                        documentName: null
                        documentDesc: null
                    faceAuths: null
                x-onerway-headers:
                  Content-Type: application/json;charset=UTF-8
                  x-timestamp: replace_with_unix_timestamp
                  x-signature: replace_with_hmac_sha256_signature
              information_request_revoked:
                summary: KYC information request canceled
                value:
                  request_id: example_kyc_notification_004
                  event_type: EMFIN.KYC_STATUS
                  created_at: 2026-10-16T10:43:42+08:00
                  version: v1.0
                  data:
                    userId: 12345678
                    merchantNo: 800***
                    action: COMPLIANCE_REVOKE_RFI
                    kycStatus: UNDER_REVIEW
                    kycActionId: 100004
                    remark: The KYC information request was canceled
                    requestedInfomation:
                      - actionId: 100001
                        documentName: EDD_SUPPORTING_DOCUMENTS
                        documentDesc: null
                      - actionId: 100002
                        documentName: RELATIONSHIP_CLARIFICATION
                        documentDesc: null
                      - actionId: 100003
                        documentName: OTHER
                        documentDesc: example_additional_document_details
                    faceAuths: null
                x-onerway-headers:
                  Content-Type: application/json;charset=UTF-8
                  x-timestamp: replace_with_unix_timestamp
                  x-signature: replace_with_hmac_sha256_signature
      responses:
        "200":
          description: After receiving and accepting the notification, return HTTP 200
            with `respCode=20000`. Onerway retries when the response code is not
            `20000`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  respCode:
                    type: string
                  respMsg:
                    type: string
                required:
                  - respCode
                  - respMsg
              examples:
                return_success:
                  summary: Return success JSON
                  value:
                    respCode: "20000"
                    respMsg: success
      x-onerway-verification:
        scheme: header-hmac
        signature:
          header: x-signature
          encoding: hex
        timestamp:
          header: x-timestamp
          tolerance: 300
        algorithm: hmac-sha256
        rule: timestamp-dot-raw-body
        reference: /embedded-finance/api-reference/webhook-description
      x-onerway-header-fields:
        - name: x-signature
          schema:
            type: string
            description: Webhook signature header.
        - name: x-timestamp
          schema:
            type: string
            description: Webhook verification timestamp header.
```
