Webhook Sample: card.spend

Webhook sample for card transactions
Webhooks
Webhook Sample: card.spend
 last updated: 
November 30, 2023
  1. {
  2.   "eventType": "card.spend",
  3.   "programId": "prg-f5b6c059-797d-43a3-9de7-74a528cbda69",
  4.   "env": "staging",
  5.   "data": {
  6.     "id": "txn-6fa863e9-0b56-44dd-925f-9b7472ed069b",
  7.     "txnType": "debit",
  8.     "title": "CVS PHARMACY",
  9.     "amount": "-38.00",
  10.     "transferType": "card",
  11.     "subType": "auth",
  12.     "description": "Spent PMScript Virtual Debit Card at CVS PHARMACY",
  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": "367.00",
  18.     "intrabank": null,
  19.     "ach": null,
  20.     "card": {
  21.       "id": "crd-28d3654d-014a-4c5b-847f-c066c38dfc4d",
  22.       "transferId": "tra-e5a236f7-0396-47bd-b69a-6d588172be1a",
  23.       "label": "PMScript Virtual Debit Card",
  24.       "merchant": {
  25.         "merchantName": "CVS PHARMACY",
  26.         "merchantCity": "SAN JOSE",
  27.         "merchantState": "CA",
  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": "-38.00",
  38.       "localTransactionCurrency": "USD",
  39.       "currencyConversionRate": "1.000000000"
  40.     },
  41.     "createdAt": "2022-09-14T11:08:12Z",
  42.     "modifiedAt": "2022-09-14T11:08:12Z",
  43.     "txnDate": "2022-09-14T11:08:12Z",
  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": null,
  56.     "familyId": "",
  57.     "buy": null,
  58.     "sell": null
  59.   }
  60. }