POST
/
api
/
v1
/
transactions
/
{threadId}
/
report
Report a fraudulent transaction by thread ID
const url = 'https://api.gnosispay.com/api/v1/transactions/{threadId}/report';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "message": "Successfully reported fraudulent transaction."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

threadId
string
required

The thread ID of the transaction to report as fraudulent

Response

Successfully reported fraudulent transaction

message
string
Example:

"Successfully reported fraudulent transaction."