# Deposit RFI additional materials

> Submit requested materials or request a review decision when materials are unavailable.

```yaml
openapi: 3.1.0
x-onerway-docs-version: original
x-onerway-spec-key: embedded-finance/deposits/submit-deposit-rfi-response
info:
  title: Deposit RFI additional materials
  version: original
  description: Submit requested materials or request a review decision when
    materials are unavailable.
servers:
  - url: https://sandbox-baas.onerway.com/embedded-finance
    description: sandbox
  - url: https://baas.onerway.com
    description: production
paths:
  /api/v2/deposit/rfi/additional/material:
    post:
      summary: Deposit RFI additional materials
      description: Submit requested materials or request a review decision when
        materials are unavailable.
      parameters:
        - name: apiKey
          in: header
          required: true
          description: API key assigned for Embedded Finance API access.
          schema:
            type: string
            description: API key assigned for Embedded Finance API access.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                userId:
                  type: integer
                  description: ID of the user associated with the deposit information request.
                rechargeId:
                  type: integer
                  description: ID of the deposit identified in the deposit RFI notification.
                requestedInfomation:
                  type: string
                  description: Files submitted for the deposit information request.
                  contentMediaType: application/json
                  contentSchema:
                    type: array
                    items:
                      type: object
                      properties:
                        actionId:
                          type: integer
                          description: ID of the corresponding item in the deposit RFI notification.
                        documentName:
                          type: string
                          description: Document name. It must exactly match the `documentName` for this
                            `actionId` in the deposit RFI notification.
                          x-onerway-constraints:
                            - kind: range
                              max: 64
                              unit: characters
                        fileId:
                          type: integer
                          description: ID returned by the file upload API. Provide one file ID per entry;
                            repeat the `actionId` and `documentName` in separate
                            entries for multiple files.
                      required:
                        - actionId
                        - documentName
                        - fileId
                  x-onerway-required: conditional
                  x-onerway-condition:
                    - Required when `remark` is empty.
                  x-onerway-constraints:
                    - kind: consistency
                      text: When `remark` is empty, provide at least one file for every `actionId` in
                        the deposit RFI notification. When `remark` is
                        non-empty, material completeness is not checked and this
                        field may be omitted.
                  x-onerway-format: json_string
                remark:
                  type: string
                  description: Reason or note provided only when no requested materials can be
                    supplied.
                  x-onerway-constraints:
                    - kind: range
                      max: 512
                      unit: characters
                    - kind: rule
                      text: A non-empty value indicates that no materials are being supplied and
                        bypasses the material completeness check. When this
                        field is non-empty, `responseType` is required.
                responseType:
                  type: string
                  description: Requested handling when no materials can be supplied.
                  enum:
                    - CONTINUE
                    - REJECT
                  x-enum-descriptions:
                    CONTINUE: Request continued review without additional materials. The final
                      outcome is reported through the deposit matching result
                      webhook.
                    REJECT: Request rejection of the pending deposit review. The deposit matching
                      result webhook reports `data.status` as `F`.
                  x-onerway-required: conditional
                  x-onerway-condition:
                    - Required when `remark` is non-empty.
              required:
                - userId
                - rechargeId
            examples:
              submit_materials:
                summary: Submit requested materials
                value:
                  userId: 12345678
                  rechargeId: 123456789
                  requestedInfomation: '[{"actionId":100001,"documentName":"BUSINESS_ADDRESS_PROOF","fileId":1001001},{"actionId":100001,"documentName":"BUSINESS_ADDRESS_PROOF","fileId":1001002},{"actionId":100002,"documentName":"OWNERSHIP_STRUCTURE_PROOF","fileId":1001003}]'
              continue_without_materials:
                summary: Continue review without materials
                value:
                  userId: 12345678
                  rechargeId: 123456789
                  remark: The requested documents are unavailable. Please continue the review
                    without additional materials.
                  responseType: CONTINUE
              reject_without_materials:
                summary: Reject review without materials
                value:
                  userId: 12345678
                  rechargeId: 123456789
                  remark: The requested documents are unavailable. Please reject this deposit
                    review.
                  responseType: REJECT
      responses:
        "200":
          description: Deposit RFI response submitted
          content:
            application/json:
              schema:
                type: object
                properties:
                  respCode:
                    type: string
                    description: Response code returned by Onerway. `20000` indicates success.
                  respMsg:
                    type: string
                    description: Human-readable response message.
                  data:
                    type:
                      - object
                      - "null"
                    properties:
                      {}
                    description: Response data; null in the success example.
                    x-onerway-value:
                      nullable: true
              examples:
                success:
                  summary: Deposit RFI response submitted
                  value:
                    respCode: "20000"
                    respMsg: Success
                    data: null
      security:
        - apiKeyAuth:
            []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: apiKey
```
