get https://api.sandbox.payments.stonex.com/api/v/investigation//file/
This endpoint allows you to view and download file linked to the investigation.
This endpoint is available for you to download any files that are attached to you ongoing investigations. These could be files attached by our client support team providing more information regarding the payment.
You will need the supportTicketId
and the fileId
in order to download a file. The fileId is available in the View Investigation API response.
Request
URL: /investigation/{supportTicketId}/file/{fileId}
Method: GET
Response
File is available to preview/save on your system.
Error Scenario
- If you provide an invalid
fileId
, the API will return an error
{
"title": "Bad Input",
"status": 400,
"detail": "Invalid File ID. Please check and provide a valid File ID",
"traceId": "00-4794d671c8209c86e0ff4b8185a8e7c7-4d27bf3145c10520-00",
"errorCode": "INV00006"
}