Webhook Sample: card.reward.credit

Webhook sample for card reward transaction
Webhooks
Webhook Sample: card.reward.credit
 last updated: 
November 30, 2023
  1. {
  2.   "eventType": "card.reward.credit",
  3.   "programId": "prg-f5b6c059-797d-43a3-9de7-74a528cbda69",
  4.   "env": "staging",
  5.   "data": {
  6.     "id": "txn-9cf99fe7-c406-4f4a-baef-44a619ddb461",
  7.     "txnType": "credit",
  8.     "title": "REWARD_CONFIRMED AllClean",
  9.     "amount": "0.50",
  10.     "transferType": "card",
  11.     "subType": "reward",
  12.     "description": "Reward - Spent PMScript Virtual Debit Card",
  13.     "accountId": "acc-6e703de6-8409-4493-b301-70642ad2d62a",
  14.     "businessId": "",
  15.     "programId": "prg-f5b6c059-797d-43a3-9de7-74a528cbda69",
  16.     "personId": "per-7c3e1cc7-f083-430e-913d-48ede36615dd",
  17.     "balance": "370.50",
  18.     "intrabank": null,
  19.     "ach": null,
  20.     "card": {
  21.       "id": "crd-28d3654d-014a-4c5b-847f-c066c38dfc4d",
  22.       "transferId": "tra-720442d8-d270-4e70-8470-5f06288757dc",
  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": "Aquariums",
  31.         "merchantCategoryCode": "7998",
  32.         "merchantId": "CRD ACCEPTOR ID"
  33.       },
  34.       "authMethod": "other",
  35.       "wallet": "",
  36.       "authId": "",
  37.       "localTransactionAmount": "",
  38.       "localTransactionCurrency": "",
  39.       "currencyConversionRate": ""
  40.     },
  41.     "createdAt": "2022-09-14T11:09:27Z",
  42.     "modifiedAt": "2022-09-14T11:09:27Z",
  43.     "txnDate": "2022-09-14T11:09:27Z",
  44.     "status": "settled",
  45.     "domesticWire": null,
  46.     "internationalWire": null,
  47.     "digitalCheck": null,
  48.     "physicalCheck": null,
  49.     "parentTxnId": "txn-ae732eba-0ed5-42f2-9e34-2526238e845d",
  50.     "reviewCode": "",
  51.     "reviewMessage": "",
  52.     "debitCard": null,
  53.     "solidCard": null,
  54.     "parentTransferId": "tra-c96724af-4ce8-465c-9299-51d07d693714",
  55.     "enrichedData": null,
  56.     "familyId": "",
  57.     "buy": null,
  58.     "sell": null
  59.   }
  60. }