Skip to main content

Submit Feedback

POST 

/feedback/v1

Submits feedback about identified fraud through a tab-separated file.

If you come across any fraudulent activity, you can report it to AtData using the Submit Feedback API. This helps AtData prevent similar frauds from happening in the future by keeping track of past fraud reports. It also assists in improving the accuracy of our models by incorporating new fraud trends into our detection logic. So, if you receive information about confirmed fraud, please submit it through the feedback API.

To use this endpoint, you need to send a tab-separated file in the request. An example structure of this .tsv file is presented below:

reference_id email ip risk_level risk_type source
453127da-9020-4bc5-87b9-30317b8be0d0 [email protected] 19.172.217.255 High credit _ card chargeback
9be3edef-9244-4597-baf9-36ebfc271f4d [email protected] 113.214.70.139 High credit _ card chargeback
What is a TSV File?

A TSV (Tab-Separated Values) file is a simple text format for storing data in a tabular structure. Each line in the file represents a row, and fields within a row are separated by tab characters.

The code below shows an example code using Python to perform this request:

Submit Feedback
  # Import Requests
import requests

# Set the endpoint URL
API = "https://api.atdata.com/feedback/v1"

# Replace this with the API Key used for the Fraud API
YOUR_API_KEY = "00000000000000000000000000000000"

# Open your .tsv file
with open("feedback.tsv", "rb") as infl:

# Create a files dictionary
files = {"file": infl}

# Send the file to AtData
resp = requests.post(f"{API}?api _ key={YOUR _ API _ KEY}", files=files)

Request

Responses

Successful Response