Webhook Sample: card.replaced

Webhook sample for card replacement
Webhooks
Webhook Sample: card.replaced
 last updated: 
November 30, 2023
  1. {
  2.   "eventType": "card.replaced",
  3.   "programId": "prg-ddb08641-6565-465d-ba94-ed199497299f",
  4.   "env": "test",
  5.   "data": {
  6.     "id": "crd-4e03c350-bdea-4186-825b-c0cc9d53fe25",
  7.     "accountId": "acc-cdc4ca0a-2f1b-4c0b-9964-2339268c2d7b",
  8.     "businessId": "",
  9.     "programId": "prg-ddb08641-6565-465d-ba94-ed199497299f",
  10.     "cardholder": {
  11.       "id": "chd-0b23e5da-03f9-41e0-b5a6-00e45bc31009",
  12.       "personId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
  13.       "billingAddress": {
  14.         "addressType": "billing",
  15.         "line1": "123 Main St",
  16.         "line2": "",
  17.         "city": "San Mateo",
  18.         "state": "CA",
  19.         "country": "US",
  20.         "postalCode": "94401"
  21.       },
  22.       "createdAt": "2022-06-21T14:32:16Z",
  23.       "modifiedAt": "2022-06-21T14:32:16Z",
  24.       "name": "John Doe"
  25.     },
  26.     "cardType": "virtual",
  27.     "label": "John's Card",
  28.     "limitAmount": "1000.00",
  29.     "limitInterval": "allTime",
  30.     "shipping": null,
  31.     "currency": "USD",
  32.     "expiryMonth": "06",
  33.     "expiryYear": "2024",
  34.     "last4": "0204",
  35.     "cardStatus": "active",
  36.     "activatedAt": "2022-10-16T16:17:28Z",
  37.     "createdAt": "2022-10-16T16:17:28Z",
  38.     "modifiedAt": "2022-10-16T16:17:28Z",
  39.     "createdPersonId": "per-de343f0d-abc4-43af-b3d0-540e3994f3af",
  40.     "metadata": null,
  41.     "bin": "credit",
  42.     "allowedCategories": null,
  43.     "availableLimit": "990.00",
  44.     "blockedCategories": null,
  45.     "embossingPerson": "",
  46.     "embossingBusiness": "",
  47.     "theme": "",
  48.     "atmAccess": true,
  49.     "allowedMerchants": null,
  50.     "blockedMerchants": null,
  51.     "walletId": "",
  52.     "familyId": "fam-d8b5d10e-9bc0-4c5d-9ecd-3ef95bf8f2fa"
  53.   }
  54. }