# Handle RFI for an Order

## Option 1: Upload via Merchant Dashboard

You can upload the requested documents directly from the Merchant Dashboard.

### 1. You create the Order

### 2. If additional information is required, you'll see Action Required

![RFI Modal preview](/assets/rfi-order-action-required.e66195f20190fa4db7608c28654e2eb5af7661e9f25b787a52cc0b9d6a118bfc.3da120da.png)

### 3. The dashboard will prompt you to upload the required supporting documents

![RFI Upload Documents preview](/assets/rfi-order-upload-documents.ed44fc1477c05ddef37ee98232bfafe09641a5476ac9e43c189a15600f167ac5.3da120da.png)

### 4. After upload, the status changes to Under Review

![RFI Under Review preview](/assets/rfi-order-under-review.1db64b5f3f7deb41c4acb54e7fb315511283b1e70855eed49bf53b65057644ad.3da120da.png)

### 5. Final decision is shared via callback/webhook (and reflected on the dashboard)

## Option 2: Upload via API

If you want to submit RFI documents through your backend, you can upload them using Glomopay's Update RFI Document API.

### When this happens:

During Create Order, Glomopay runs risk checks as mentioned earlier.

If additional verification is required, the Create API returns:

- status: `action_required`


What you get in the Create response

Along with the `order_id`, you'll receive:

- `rfi_documents` - a list of required documents, each containing:
  - `rfi_document_id`
  - `required_document_type` (e.g., passport)


**Important**: Each `rfi_document_id` represents one specific required document. You must upload documents against the same IDs.

What happens after you upload

Once all required documents are uploaded successfully:

- Status changes to `under_review`
- Glomopay reviews the submission
- Status updates are sent via callback/webhook
- If approved, status becomes active


#### Order Flow (Example)

1. The Create Order API returns `action_required` along with:
  - The order ID
  - One or more RFI document IDs with their required document types
2. Upload the required documents using the [Create a Document API](/api-documentation/apis/openapi/document/createdocument).
3. Call the [Update RFI Documents for Orders API](/api-documentation/apis/openapi/orders/updateorderrfi) by supplying:
  - The order ID returned from step 1
  - The RFI document IDs returned from step 1
  - The id returned from step 2
4. After successfully uploading the documents, the Glomopay compliance team will review the documents and any status update will be communicated via a callback.