json icon

Fraud Check Failed

v1.0.0events

Published when a payment fails fraud screening.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "FraudCheckFailed",
4  "description": "Published when a payment fails fraud screening",
5  "type": "object",
6  "properties": {
7    "paymentId": { "type": "string", "format": "uuid" },
8    "orderId": { "type": "string", "format": "uuid" },
9    "score": {
10      "type": "number",
11      "minimum": 0,
12      "maximum": 1,
13      "description": "Fraud risk score; higher is riskier"
14    },
15    "reason": {
16      "type": "string",
17      "enum": ["HIGH_RISK_SCORE", "BLOCKLISTED", "VELOCITY", "MISMATCH"]
18    },
19    "checkedAt": { "type": "string", "format": "date-time" }
20  },
21  "required": ["paymentId", "orderId", "reason", "checkedAt"]
22}
23

Details

Format
JSON Schema
Resource
events
Filename
schema.json

Versions