novinzodevelopers
API referencePlugin contractWebhooks

Payment Attempted

POST/webhooks/payment-attempted

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})$
provider*string

Value in

  • "stripe"
  • "cashapp"
  • "moneymotion"
  • "crypto"
  • "rewarble"
  • "plugin"
  • "square"
  • "sumup"
  • "whop"
  • "nmi"
  • "mollie"
  • "revolut"
  • "paypal"
  • "store_credit"
attempt*|
eventId*string

Response Body

text/plain

curl -X POST "https://example.com/webhooks/payment-attempted" \  -H "Content-Type: application/json" \  -d '{    "storeId": "string",    "orderId": "string",    "paymentId": "string",    "provider": "stripe",    "attempt": {      "outcome": "approved",      "card": {        "brand": "string",        "bin": "string",        "last4": "string",        "expMonth": 1,        "expYear": 2000,        "funding": "credit",        "issuerCountry": "string",        "wallet": "string",        "fingerprint": "string",        "avs": "match",        "cvv": "match",        "threeDSecure": "authenticated"      }    },    "eventId": "string"  }'
"string"