# 匹配入金 RFI 通知

> 接收匹配入金的补充资料请求。

```yaml
openapi: 3.1.0
x-onerway-docs-version: original
x-onerway-spec-key: embedded-finance/webhooks/match-deposit-rfi
info:
  title: 匹配入金 RFI 通知
  version: original
  description: 接收匹配入金的补充资料请求。
webhooks:
  match.deposit.rfi:
    post:
      summary: 匹配入金 RFI 通知
      description: 接收匹配入金的补充资料请求。
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                request_id:
                  type: string
                  description: 用于通知去重的唯一标识。
                  x-onerway-signature-participation: included
                event_type:
                  type: string
                  description: 事件类型标识。
                  x-onerway-constraints:
                    - kind: values
                      text: 此 Webhook 回调固定为 `EMFIN.TRANS_RFI`。
                  x-onerway-signature-participation: included
                created_at:
                  type: string
                  description: 通知创建时间，采用 ISO 8601 格式。
                  x-onerway-signature-participation: included
                version:
                  type: string
                  description: Webhook 消息版本。
                  x-onerway-signature-participation: included
                data:
                  type: object
                  properties:
                    userId:
                      type: integer
                      description: 该笔入金所属用户的 ID。
                    merchantNo:
                      type: string
                      description: 该笔入金所属的商户号。
                    rechargeId:
                      type: integer
                      description: 需要补充资料的入金交易 ID。
                    requestedInfomation:
                      type: array
                      description: 该笔入金需要补充的资料。
                      items:
                        type: object
                        properties:
                          actionId:
                            type: integer
                            description: 补充资料明细 ID。
                          documentName:
                            type: string
                            description: 要求补充的资料类别。
                            x-onerway-constraints:
                              - kind: range
                                max: 64
                                unit: 字符
                          documentDesc:
                            type:
                              - string
                              - "null"
                            description: 当 `documentName` 为 `OTHER` 时，说明需要补充的资料。
                            x-onerway-constraints:
                              - kind: range
                                max: 512
                                unit: 字符
                            x-onerway-value:
                              nullable: true
                  description: 入金补充资料请求详情。
                  x-onerway-signature-participation: included
            examples:
              information_requested:
                summary: 要求补充入金资料
                value:
                  request_id: example_deposit_rfi_notification_001
                  event_type: EMFIN.TRANS_RFI
                  created_at: 2026-09-14T11:03:43+08:00
                  version: v1.0
                  data:
                    userId: 12345678
                    merchantNo: 800***
                    rechargeId: 123456789
                    requestedInfomation:
                      - actionId: 100001
                        documentName: BUSINESS_ADDRESS_PROOF
                        documentDesc: null
                      - actionId: 100002
                        documentName: OWNERSHIP_STRUCTURE_PROOF
                        documentDesc: null
                      - actionId: 100003
                        documentName: OTHER
                        documentDesc: example_additional_document_details
                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: 成功接收并受理通知后，返回 HTTP 200 和 `respCode=20000`；响应码不是 `20000` 时 Onerway
            会重试。
          content:
            application/json:
              schema:
                type: object
                properties:
                  respCode:
                    type: string
                  respMsg:
                    type: string
                required:
                  - respCode
                  - respMsg
              examples:
                return_success:
                  summary: 返回成功 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: /zh/embedded-finance/api-reference/webhook-description
      x-onerway-header-fields:
        - name: x-signature
          schema:
            type: string
            description: Webhook 签名请求头。
        - name: x-timestamp
          schema:
            type: string
            description: Webhook 验证时间戳请求头。
```
