Improved
RFI answers now accept files
about 2 hours ago by WILL
You can now answer a Request for Information (RFI) with files through the API. Before, an RFI with a file question returned a 422, and the Customer had to answer on the rfi_link page.
- Works for onboarding RFIs (
POST /api/v1/customers/{customer_uuid}/rfi/answer) and compliance transfer RFIs (POST /api/v2/transfers/{transfer_uuid}/rfi/answer). Payment network transfer RFIs keep one file for each question. - Send a
multipart/form-datarequest. Useanswers[key]for text answers andfiles[key][]for each file. A question can take several files. - Each file question has its own
limitin the GET response: how many files, the size range in KB and the allowed file types. - Each file can be up to 20 MB. Allowed types are
.pdf,.jpg,.jpeg,.png,.docand.docx. A file that is not a PDF must be at least 100 KB. - Validation errors now return
422with code2005. If your code branches on the error code, update it.
See Onboarding RFI and Transfer RFI.