# Additional materials

> Onerway asks for materials in two situations: a KYC review and inbound matching. The method is the same — read the request from the event, upload files, submit the materials, then wait for the next event.

*Scenarios · This page is independent of integration method. API parameters live in the API Reference; event semantics in Events and status.*

## Concepts and choices

**An RFI is not a failure.** It means the business step needs more information. Supply what it asks for and the flow continues.

**The request is in the event.** Details live in `data.requestedInfomation`; work from `actionId` and `documentName`, not from experience.

**A revocation means it is no longer needed.** Stop submitting. Materials already sent do not need to be withdrawn.

**Same business, same ID.** A material request does not create a new case; always reference the original `rechargeId` or `userId`.

## Lifecycle and notifications

1. **Receive the RFI event.** KYC arrives as `EMFIN.KYC_STATUS` with `action=COMPLIANCE_KYC_RFI`; inbound payments arrive as `EMFIN.TRANS_RFI`.
2. **Read the request.** Note which documents, and any format or deadline.
3. **Upload the files.** Use `multipart/form-data`; `fileName` is at most 64 characters and each file at most 15 MB. Keep the returned `fileId`.
4. **Submit the materials.** KYC and inbound matching each have a dedicated endpoint, carrying the original business ID and the file list.
5. **Confirm acceptance.** The response means received, not approved.
6. **Wait for the next event.** Another request, a revocation, or the next result.

## Edge cases

| Situation | What to do |
| --- | --- |
| Materials incomplete or wrong | Expect another RFI. It is a second round on the same case, not a new one. |
| Revocation received | Stop submitting; the earlier request stands as a record only. |
| A document cannot be obtained | On the inbound side, explain in `remark` and send `responseType`; completeness is then not checked. |
| Submitting the same batch twice | It does not speed anything up; keep the call idempotent by business ID. |
| File rejected on format or size | Re-upload within the limits of the upload endpoint. |
| Treating RFI as a failure | Do not refund or close the case; supply the materials. |
| No response before the deadline | The business step may time out; the final event decides. |

## The two RFI types

| Scenario | Event | Submission endpoint | What follows |
| --- | --- | --- | --- |
| KYC review | `EMFIN.KYC_STATUS`<br /><br>`action=COMPLIANCE_KYC_RFI` | `POST /api/v2/kyc/rfi/additional/material` | `EMFIN.KYC_STATUS` with a decision |
| Inbound matching | `EMFIN.TRANS_RFI` | `POST /api/v2/deposit/rfi/additional/material` | `EMFIN.RECHARGE_RESULT`, or another RFI |

> On the inbound side you may also send `remark` (≤512 chars) to explain a document you cannot provide; `responseType` is then required. `CONTINUE` continues the review without the materials; `REJECT` treats the transaction as rejected, and `EMFIN.RECHARGE_RESULT` then carries `status=F`.

## Developer view

> There is no sequence diagram here: the RFI path is a single line (request, submit, result), so the endpoint table is more direct.

| Step | Endpoint / event | Key fields |
| --- | --- | --- |
| Read the request | Event `EMFIN.KYC_STATUS` / `EMFIN.TRANS_RFI` | `data.requestedInfomation`, `data.rechargeId` / `data.userId` |
| Upload files | `POST /api/v2/upload/file` | `fileName` (≤64 chars), `file` (≤15 MB); returns `fileId` |
| Submit (KYC) | `POST /api/v2/kyc/rfi/additional/material` | `userId`, `requestedInfomation` (`actionId` / `documentName` / `fileId`) |
| Submit (inbound) | `POST /api/v2/deposit/rfi/additional/material` | `userId`, `rechargeId`, `requestedInfomation`, or `remark` + `responseType` |
| Confirm the real result | Event `EMFIN.KYC_STATUS` / `EMFIN.RECHARGE_RESULT` | `status` |

## Related

- [Scenario overview](/embedded-finance/get-started/scenarios)
- [Accounts and account opening](/embedded-finance/get-started/scenarios/accounts)
- [Inbound and crediting](/embedded-finance/get-started/scenarios/inbound)
- [Events and status](/embedded-finance/get-started/scenarios/events-and-status)
