Responses

API Responses

Examples of High Risk Credit Card Transactions

In this section, we'll provide examples of high credit card risk transactions based on the response data with an average risk score of 74.29. Depending on your platform's configuration, you may consider filtering out transactions with risk scores over 80 or even those over 70, as they can also be considered risky.

Example Transaction

Let's use the following cURL command to make an API request:

curl -X POST http://localhost:3000/api/transaction \
-H "Content-Type: application/json" \
-H "x-api-key: fc9c4e0a-2cde-47f0-81ae-da31a6af52cb" \
-d '{
    "email": "client@example.com",
    "product": "Rolex Watch",
    "amount": "1150",
    "location": "Russia",
    "time": "2023-12-15 21:20:00",
    "customerProfile": "New customer",
    "onlinePurchase": "Yes",
    "paymentMethod": "Debit card",
    "shippingAddress": "789 Maple St, Chicago, IL 60601",
    "billingAddress": "456 Pine St, Los Angeles, CA 90001",
    "customerEmail": "peterwilson@gmail.com",
    "customerName": "Alice Smith",
    "isVPN": "Yes"
}'
 
 

Response

{"RiskScore":74.28571428571429}

Examples of Low Risk Credit Card Transactions

 
curl -X POST http://localhost:3000/api/transaction \
-H "Content-Type: application/json" \
-H "x-api-key: fc9c4e0a-2cde-47f0-81ae-da31a6af52cb" \
-d '{
    "email": "client@example.com",
    "product": "Rolex Watch",
    "amount": "1150",
    "location": "Russia",
    "time": "2023-12-15 21:20:00",
    "customerProfile": "New customer",
    "onlinePurchase": "Yes",
    "paymentMethod": "Debit card",
    "shippingAddress": "789 Maple St, Chicago, IL 60601",
    "billingAddress": "456 Pine St, Los Angeles, CA 90001",
    "customerEmail": "peterwilson@gmail.com",
    "customerName": "Alice Smith",
    "isVPN": "No"
}'
 
 

Response

{"RiskScore":15.714285714285714}