Webhook Sample: card.enriched

Webhook sample for when a card spend is updated with with enriched merchant data
Webhooks
Webhook Sample: card.enriched
 last updated: 
November 30, 2023
  1. {
  2.   "eventType": "card.enriched",
  3.   "data": {
  4.     "id": "txn-b6806752-3a51-4389-a200-d7a67ebb4de5",
  5.     "txnType": "debit",
  6.     "title": "Cars for your choice",
  7.     "amount": "-4.00",
  8.     "transferType": "card",
  9.     "subType": "auth",
  10.     "description": "Spent Virtual Card at Cars for your choice",
  11.     "balance": "1058.87",
  12.     "status": "settled",
  13.     "accountId": "acc-d8d8fcc5-cf0c-4c07-8dc5-61b9bc235f71",
  14.     "businessId": "bus-2db86b81-11d7-4bfb-aaae-ed707a5cf7c9",
  15.     "programId": "prg-68f11d39-65b7-42b5-a81f-496d43d98e61",
  16.     "personId": "per-6628c5f3-2300-40e3-9f68-928cec40f9ac",
  17.     "familyId": "",
  18.     "parentTransferId": "",
  19.     "parentTxnId": "",
  20.     "reviewCode": "",
  21.     "reviewMessage": "",
  22.     "intrabank": null,
  23.     "ach": null,
  24.     "card": {
  25.       "id": "crd-3e47cf41-7682-4a46-8d1a-6be4b1b5b6d5",
  26.       "transferId": "tra-5ff945b8-f24d-4be8-94b1-86c968adc02d",
  27.       "label": "Virtual Card",
  28.       "merchant": {
  29.         "merchantName": "Cars for your choice",
  30.         "merchantCity": "New Jersey",
  31.         "merchantState": "NJ",
  32.         "merchantCountry": "USA",
  33.         "postalCode": "",
  34.         "merchantCategory": "Aquariums",
  35.         "merchantCategoryCode": "7998",
  36.         "merchantId": "CRD ACCEPTOR ID"
  37.       },
  38.       "authMethod": "other",
  39.       "wallet": "",
  40.       "authId": "",
  41.       "localTransactionAmount": "4.00",
  42.       "localTransactionCurrency": "USD",
  43.       "currencyConversionRate": "1.000000000",
  44.       "rewardAmount": ""
  45.     },
  46.     "domesticWire": null,
  47.     "internationalWire": null,
  48.     "digitalCheck": null,
  49.     "physicalCheck": null,
  50.     "debitCard": null,
  51.     "solidCard": null,
  52.     "crossBorder": null,
  53.     "buy": null,
  54.     "sell": null,
  55.     "enrichedData": {
  56.       "merchant": {
  57.         "name": "Cars",
  58.         "email": "",
  59.         "phone": "",
  60.         "website": "",
  61.         "logo": "https://logos.ntropy.com/business_icons-employee_spend-travel-automobile-rentals",
  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.         "Activities",
  79.         "Arts and Entertainment",
  80.         "Aquarium"
  81.       ]
  82.     },
  83.     "createdAt": "2022-12-06T07:41:41Z",
  84.     "modifiedAt": "2022-12-06T07:41:50Z",
  85.     "txnDate": "2022-12-06T07:41:41Z",
  86.     "metadata": null
  87.   }
  88. }