novinzodevelopers
API referencePlugin contractWebhooks

Payment Disputed

POST/webhooks/payment-disputed

Request 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*
reason?string

Value in

  • "fraud"
  • "not_received"
  • "not_as_described"
  • "duplicate"
  • "other"
  • "unknown"
eventId*string

Response Body

text/plain

curl -X POST "https://example.com/webhooks/payment-disputed" \  -H "Content-Type: application/json" \  -d '{    "storeId": "string",    "orderId": "string",    "paymentId": "string",    "customerId": "string",    "provider": "stripe",    "amount": {      "amountMinorUnits": "string",      "currency": "AED"    },    "eventId": "string"  }'
"string"