API referencePlugin contractWebhooks
Payment Fraud Warned
POST
/webhooks/payment-fraud-warnedRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
storeId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$orderId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$paymentId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$customerId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$provider*string
Value in
- "stripe"
- "cashapp"
- "moneymotion"
- "crypto"
- "rewarble"
- "plugin"
- "square"
- "sumup"
- "whop"
- "nmi"
- "mollie"
- "revolut"
- "paypal"
- "store_credit"
amount*
fraudType*string
eventId*string
Response Body
text/plain
curl -X POST "https://example.com/webhooks/payment-fraud-warned" \ -H "Content-Type: application/json" \ -d '{ "storeId": "string", "orderId": "string", "paymentId": "string", "customerId": "string", "provider": "stripe", "amount": { "amountMinorUnits": "string", "currency": "AED" }, "fraudType": "string", "eventId": "string" }'"string"