Webhook Sample: card.reward.canceled

Webhook sample for when a card reward is canceled
Webhooks
Webhook Sample: card.reward.canceled
 last updated: 
November 30, 2023
  1. {
  2.   "eventType": "card.reward.canceled",
  3.   "programId": "prg-6a8b4066-c4a6-4aeb-abfc-0e037ff27972",
  4.   "env": "test",
  5.   "data": {
  6.     "id": "txn-39fe7011-905d-445b-8d56-cbd233c9b3fd",
  7.     "txnType": "debit",
  8.     "title": "REWARD_CONFIRMED AllClean",
  9.     "amount": "-10.00",
  10.     "transferType": "card",
  11.     "subType": "auth",
  12.     "description": "Spent PMScript Virtual Debit Card at REWARD_CONFIRMED AllClean",
  13.     "accountId": "acc-93022d1e-ef5c-4c67-b4e3-0fbfbab1c059",
  14.     "businessId": "",
  15.     "programId": "prg-6a8b4066-c4a6-4aeb-abfc-0e037ff27972",
  16.     "personId": "per-7760f3b0-d4da-434c-8871-bfd0f94a8252",
  17.     "balance": "485.00",
  18.     "intrabank": null,
  19.     "ach": null,
  20.     "card": {
  21.       "id": "crd-34f8143c-6f93-414e-a545-8924bcc118ee",
  22.       "transferId": "tra-dae2e23a-a3b1-4c55-bd64-904d2dc9d1a4",
  23.       "label": "PMScript Virtual Debit Card",
  24.       "merchant": {
  25.         "merchantName": "REWARD_CONFIRMED AllClean",
  26.         "merchantCity": "New Jersey",
  27.         "merchantState": "NJ",
  28.         "merchantCountry": "USA",
  29.         "postalCode": "",
  30.         "merchantCategory": "Bakeries",
  31.         "merchantCategoryCode": "5462",
  32.         "merchantId": "CRD ACCEPTOR ID"
  33.       },
  34.       "authMethod": "other",
  35.       "wallet": "",
  36.       "authId": "",
  37.       "localTransactionAmount": "10.00",
  38.       "localTransactionCurrency": "USD",
  39.       "currencyConversionRate": "1.000000000"
  40.     },
  41.     "createdAt": "2022-10-06T07:31:03Z",
  42.     "modifiedAt": "2022-10-06T07:31:16Z",
  43.     "txnDate": "2022-10-06T07:31:03Z",
  44.     "status": "settled",
  45.     "domesticWire": null,
  46.     "internationalWire": null,
  47.     "digitalCheck": null,
  48.     "physicalCheck": null,
  49.     "parentTxnId": "",
  50.     "reviewCode": "",
  51.     "reviewMessage": "",
  52.     "debitCard": null,
  53.     "solidCard": null,
  54.     "parentTransferId": "",
  55.     "enrichedData": {
  56.       "merchant": {
  57.         "name": "Reward",
  58.         "email": "",
  59.         "phone": "",
  60.         "website": "",
  61.         "logo": "https://logos.ntropy.com/consumer_icons-travel-gas_and_fuel",
  62.         "address": {
  63.           "addressType": "",
  64.           "line1": "",
  65.           "line2": "",
  66.           "city": "New Jersey",
  67.           "state": "NJ",
  68.           "country": "",
  69.           "postalCode": ""
  70.         },
  71.         "location": {
  72.           "latitude": "0",
  73.           "longitude": "0"
  74.         }
  75.       },
  76.       "chartOfAccounts": [],
  77.       "labels": [
  78.         "Retail",
  79.         "Food and Beverage",
  80.         "Specialty"
  81.       ]
  82.     },
  83.     "familyId": "",
  84.     "buy": null,
  85.     "sell": null
  86.   }
  87. }