{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/riskified/main/json-schema/riskified-advise-psd2-response-schema.json", "title": "advise_psd2_response", "description": "Advise PSD2 Response", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/riskified-chargeback-guarantee-openapi.yml#/components/schemas/advise_psd2_response", "type": "object", "properties": { "checkout": { "type": "object", "properties": { "id": { "type": "integer", "description": "Unique ID of a checkout being acted upon." }, "action": { "type": "string", "description": "Indicates if the order is likely to be fraudulent and therefore should be declined, or should proceed to the Gateway.", "enum": [ "decline", "proceed" ] }, "status": { "type": "string", "description": "Indicates that the order is captured at Riskified systems.", "enum": [ "captured" ] }, "description": { "type": "string", "description": "Detailed description of the operation, if it exists." }, "advice": { "type": "object", "properties": { "recommendations": { "type": "array", "description": "An array of recommendation types and values.", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Recommendation type", "enum": [ "psd2" ] }, "recommendation": { "type": "string", "enum": [ "sca", "tra", "low_value", "out_of_scope" ], "description": "Textual status describing the PSD2 recommendation.\n\n Possible values are: \n - `sca` - requesting exemption not recommended\n - `tra` - order is recommended and should be liable for exemption request\n - `low_value` - the order qualifies for the Low Value Transaction (LVT) exemption\n - `out_of_scope` - the order is out of scope for PSD2" } } } } } } }, "required": [ "id", "action", "status", "description", "advice" ] } } }