Webhook Sample: card.declined

Webhook sample for declined card authorizations
Webhooks
Webhook Sample: card.declined
 last updated: 
November 30, 2023

Click here for a list of Card Decline Reason Codes that may appear in the "reason" field.

  1. {
  2.  "eventType": "card.declined",
  3.  "data": {
  4.    "cardId": "crd-80909e25-824f-48bd-b2e0-d45a1ac5c42f",
  5.    "amount": "6.00",
  6.    "currency": "USD",
  7.    "status": "closed",
  8.    "reason": "doNotHonor",
  9.    "approved": "false",
  10.    "method": "",
  11.    "merchant": {
  12.      "merchantName": "CVS PHARMACY",
  13.      "merchantCity": "SAN JOSE",
  14.      "merchantState": "CA",
  15.      "merchantCountry": "USA",
  16.      "postalCode": "",
  17.      "merchantCategory": "Bakeries",
  18.      "merchantCategoryCode": "5462",
  19.      "merchantId": "CRD ACCEPTOR ID"
  20.    },
  21.    "createdAt": "2023-03-17T09:15:10Z",
  22.    "authMethod": "online",
  23.    "wallet": "",
  24.    "localTransactionAmount": "6.00",
  25.    "localTransactionCurrency": "USD",
  26.    "currencyConversionRate": "1.000000000",
  27.    "rtaAuthId": "car-d6ee5065-6f77-4ac2-8b91-c0c4481464c9"
  28.  }
  29. }