Submits the documents requested by a Request for Information (RFI). An RFI is raised when Glomo's compliance checks need additional information — for example, a sanctions-screening hold — before a transaction can be completed. Respond to it using the RFI id exposed on the underlying resource (for example, the rfi.id field on a Payment).
Upload each document first using the Create a Document endpoint, then submit the resulting doc_id (or doc_ids) against the matching rfi_doc_id from the RFI's documents_required list. Once the documents are submitted successfully, the RFI status transitions to submitted and the final decision is communicated via webhook.
curl -i -X PATCH \
https://api.glomopay.com/api/v1/rfis/rfi_6a72a39b38jDD/respond \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"documents": [
{
"rfi_doc_id": "rfidoc_6a7c5018sI3ht",
"doc_id": "doc_6a79c6c4SbTxf",
"doc_ids": [
"doc_6a79c6c4SbTxf"
]
}
],
"uploader_comments": "Passport attached for review"
}'The RFI response was submitted successfully; the RFI transitions to submitted.
The current status of the RFI. A successful response transitions the RFI from information_required to submitted. The final decision (approved or rejected) is communicated via webhook.
{ "id": "rfi_6a72a39b38jDD", "status": "submitted" }