Webhook Sample: card.spend.update

Webhook sample for card transaction updates
Webhooks
Webhook Sample: card.spend.update
 last updated: 
November 30, 2023
  1. {
  2.  "eventType": "card.spend.update",
  3.  "data": {
  4.    "id": "txn-153165a6-3873-497e-ac23-a961604adf47",
  5.    "txnType": "debit",
  6.    "title": "CVS PHARMACY",
  7.    "amount": "-3.00",
  8.    "transferType": "card",
  9.    "subType": "authUpdate",
  10.    "description": "Spent TestCard at CVS PHARMACY",
  11.    "accountId": "acc-49b1282f-a1af-4d30-b5cb-9aa0e5893998",
  12.    "businessId": "bus-1becdea7-3d51-4e7b-80bf-92b7edd14a68",
  13.    "programId": "prg-b9f17601-4717-460e-bda5-9598f6f6db28",
  14.    "personId": "per-c498c296-2682-4b0c-b269-67f84ef6a6e3",
  15.    "balance": "985.00",
  16.    "intrabank": null,
  17.    "ach": null,
  18.    "card": {
  19.      "id": "crd-18c04838-e7cb-4aa4-a384-a8d23440bce1",
  20.      "transferId": "tra-e931141c-1aac-43db-b8c2-6a94d08e9696",
  21.      "label": "TestCard",
  22.      "merchant": {
  23.        "merchantName": "CVS PHARMACY",
  24.        "merchantCity": "SAN JOSE",
  25.        "merchantState": "CA",
  26.        "merchantCountry": "US",
  27.        "postalCode": "95129",
  28.        "merchantCategory": "Drug Stores and Pharmacies",
  29.        "merchantCategoryCode": "5912",
  30.        "merchantId": "CRD ACCEPTOR ID"
  31.       },
  32.       "authMethod": "other",
  33.       "wallet": "",
  34.       "authId": "",
  35.       "localTransactionAmount": "-38.00",
  36.       "localTransactionCurrency": "USD",
  37.       "currencyConversionRate": "1.000000000"
  38.    },
  39.    "createdAt": "2021-11-15T06:45:43Z",
  40.    "txnDate": "2021-11-15T06:45:43Z",
  41.    "status": "settled",
  42.    "domesticWire": null,
  43.    "internationalWire": null,
  44.    "digitalCheck": null,
  45.    "physicalCheck": null,
  46.    "parentTxnId": "txn-3ead55af-31b9-4f8f-ac12-3438c5443909",
  47.    "reviewCode": "",
  48.    "reviewMessage": "",
  49.    "accountCreatedPersonId": "",
  50.    "debitCard": null,
  51.    "solidCard": null
  52.  }
  53. }