get https://api.sandbox.payments.stonex.com/api/v/investigation/
This endpoint allows you to view the details of an ongoing investigation using the supportTicketId
.
The API response contains all the messages added by either you and our support team along with any files that are attached to the investigation.
The status of the investigations is also returned in the response. You can have the following 2 statuses for any investigation:
- OPEN - Investigation has been created and is assigned to one of our client support team members.
- CLOSED - Investigation has been closed by either you or one of our client support team members.
Request
URL: /api/v{version}/investigation/:supportTicketId
Method: GET
Response
The response will contain details of the investigation for the specified supportTicketId
Example response
- When an investigation is OPEN
{
"supportTicketId": "CS5100280091",
"createdBy": "Client ABC",
"createdDate": "2025-02-18T09:20:01.322Z",
"fxId": "123456789",
"topic": "Invoice/FEC",
"reason": "Foreign Exchange Confirmation not received",
"status": "OPEN",
"messages": [
{
"createdBy": "Client ABC",
"createdDate": "2025-02-18T09:20:01.322Z",
"comment": "Please update",
"attachments": []
}
]
}
- When an investigation is CLOSED
{
"supportTicketId": "CS5100280091",
"createdBy": "Client ABC",
"createdDate": "2025-02-18T09:20:01.322Z",
"fxId": "123456789",
"topic": "Invoice/FEC",
"reason": "Foreign Exchange Confirmation not received",
"status": "CLOSED",
"messages": [
{
"createdBy": "Client ABC",
"createdDate": "2025-02-18T09:20:01.322Z",
"comment": "Please update",
"attachments": []
},
{
"createdBy": "StoneX Payments",
"createdDate": "2025-03-03T12:14:12.856Z",
"comment": "Closing this query as it has been resolved",
"attachments": []
}
]
}
Error Scenario
If you provide an invalid supportTicketId
in the API request, then an error is returned as shown below
{
"title": "Bad Input",
"status": 400,
"detail": "Invalid Investigation ID. Please check and provide a valid investigation ID",
"traceId": "00-5d0fddcc4e87a7ceaf5e59747af7ca33-83475b819921d5a6-00",
"errorCode": "INV00004"
}