Webhook Sample: card.captured

Webhook sample for when a card authorization is captured
Webhooks
Webhook Sample: card.captured
 last updated: 
November 30, 2023
  1. {
  2.  "eventType": "card.captured",
  3.  "programId": "prg-d4fb72d0-4f99-46b5-b137-91af779827b7",
  4.  "env": "staging",
  5.  "data": {
  6.    "id": "txn-ddf3e8c5-a04a-4251-9ea4-093dc016178a",
  7.    "txnType": "debit",
  8.    "title": "CVS PHARMACY",
  9.    "amount": "-2.00",
  10.    "transferType": "card",
  11.    "subType": "auth",
  12.    "description": "Spent virtual at CVS PHARMACY",
  13.    "balance": "31.00",
  14.    "status": "settled",
  15.    "accountId": "acc-01907154-f727-4a0a-97c4-126dfddf7794",
  16.    "businessId": "",
  17.    "programId": "prg-d4fb72d0-4f99-46b5-b137-91af779827b7",
  18.    "personId": "per-8b4b99ef-4450-4351-930a-e83bff700de4",
  19.    "familyId": "",
  20.    "parentTransferId": "",
  21.    "parentTxnId": "",
  22.    "reviewCode": "",
  23.    "reviewMessage": "",
  24.    "intrabank": null,
  25.    "ach": null,
  26.    "card": {
  27.      "id": "crd-d2457832-2107-43b6-93c4-afa95d910db7",
  28.      "transferId": "tra-1a9fd04d-1f2b-4b23-925c-725817a2c07a",
  29.      "label": "virtual",
  30.      "merchant": {
  31.        "merchantName": "CVS PHARMACY",
  32.        "merchantCity": "SAN JOSE",
  33.        "merchantState": "CA",
  34.        "merchantCountry": "USA",
  35.        "postalCode": "",
  36.        "merchantCategory": "Bakeries",
  37.        "merchantCategoryCode": "5462",
  38.        "merchantId": "CRD ACCEPTOR ID"
  39.      },
  40.      "authMethod": "other",
  41.      "wallet": "",
  42.      "authId": "car-081fa22a-5d51-473c-a724-a395ed4dc2b3",
  43.      "localTransactionAmount": "2.00",
  44.      "localTransactionCurrency": "USD",
  45.      "currencyConversionRate": "1.000000000",
  46.      "rewardAmount": "",
  47.      "isCaptured": true,
  48.      "capturedAt": "2023-03-27T12:55:35Z"
  49.    },
  50.    "domesticWire": null,
  51.    "internationalWire": null,
  52.    "digitalCheck": null,
  53.    "physicalCheck": null,
  54.    "debitCard": null,
  55.    "solidCard": null,
  56.    "crossBorder": null,
  57.    "buy": null,
  58.    "sell": null,
  59.    "enrichedData": {
  60.      "merchant": {
  61.        "name": "CVS",
  62.        "email": "",
  63.        "phone": "",
  64.        "website": "cvs.com",
  65.        "logo": "https://v1.spadeapi.com/logos/verified/cvs.png?size=large",
  66.        "address": {
  67.          "addressType": "",
  68.          "line1": "",
  69.          "line2": "",
  70.          "city": "San Jose",
  71.          "state": "CA",
  72.          "country": "USA",
  73.          "postalCode": ""
  74.        },
  75.        "location": {
  76.          "latitude": "",
  77.          "longitude": ""
  78.        }
  79.      },
  80.      "chartOfAccounts": [],
  81.      "labels": [
  82.        "Retail",
  83.        "Specialty Retail",
  84.        "Pharmacies"
  85.      ]
  86.    },
  87.    "createdAt": "2023-03-27T12:54:21Z",
  88.    "modifiedAt": "2023-03-27T12:55:35Z",
  89.    "txnDate": "2023-03-27T12:54:21Z",
  90.    "metadata": null,
  91.    "fallbackTransferId": "",
  92.    "fallbackTxnId": ""
  93.  }
  94. }