Update a Card

Updates the card information by passing the card ID
Cards
Update a Card
 last updated: 
November 30, 2023

. You can only update the:
- billingAddress
- label
- limitInterval
- limitAmount
- cardStatus (you can only change to "inactive" and "active")
- allowedCategories
- blockedCategories

ENDPOINT

  1. PATCH /v1/card/:id

REQUEST

  1. {
  2.     "label": "Travel",
  3.     "limitAmount": "100.00",
  4.     "limitInterval": "daily",
  5.     "cardStatus": "active"
  6. }

RESPONSE

  1. {
  2.     "id": "crd-290d30c2-8284-490f-b2ab-6186a4275624",
  3.     "accountId": "acc-63d656eb-fedc-4250-8111-48a5ff0faed9",
  4.     "businessId": "bus-0fc3d3cb-f2bf-407b-8377-77acc57f5ea6",
  5.     "programId": "prg-b9f17601-4717-460e-bda5-9598f6f6db28",
  6.     "cardholder": {
  7.         "id": "chd-7ce49193-018b-4a82-8f6d-867275526a4f",
  8.         "personId": "per-3ebfa3d2-5d36-411d-984a-9e3a328011c5",
  9.         "billingAddress": {
  10.             "addressType": "billing",
  11.             "line1": "164 Sugarloaf Drive",
  12.             "line2": "",
  13.             "city": "San Mateo",
  14.             "state": "CA",
  15.             "country": "US",
  16.             "postalCode": "94403"
  17.         },
  18.         "createdAt": "2021-12-17T05:21:56Z",
  19.         "modifiedAt": "2021-12-17T07:03:36Z",
  20.         "name": "John Doe"
  21.     },
  22.     "cardType": "physical",
  23.     "label": "Travel",
  24.     "limitAmount": "100.00",
  25.     "limitInterval": "daily",
  26.     "shipping": {
  27.         "id": "shp-2451bcba-603d-4ded-990d-0fc3c932cb61",
  28.         "shippingAddress": {
  29.             "addressType": "shipping",
  30.             "line1": "164 Sugarloaf Dr",
  31.             "line2": "",
  32.             "city": "San Mateo",
  33.             "state": "CA",
  34.             "country": "US",
  35.             "postalCode": "94403"
  36.         },
  37.         "eta": "2021-12-17T07:03:36Z",
  38.         "deliveryStatus": "pending",
  39.         "createdAt": "2021-12-17T07:03:36Z",
  40.         "modifiedAt": "2021-12-17T07:03:36Z"
  41.     },
  42.     "currency": "USD",
  43.     "expiryMonth": "12",
  44.     "expiryYear": "2022",
  45.     "last4": "0387",
  46.     "cardStatus": "active",
  47.     "activatedAt": "2021-12-17T07:04:05Z",
  48.     "createdAt": "2021-12-17T07:03:36Z",
  49.     "modifiedAt": "2021-12-17T07:11:28Z",
  50.     "createdPersonId": "per-3ebfa3d2-5d36-411d-984a-9e3a328011c5",
  51.     "metadata": null,
  52.     "bin": "credit",
  53.     "allowedCategories": [
  54.         "1234",
  55.         "9878"
  56.     ],
  57.     "availableLimit": "",
  58.     "blockedCategories": null,
  59.     "embossingPerson": "",
  60.     "embossingBusiness": "",
  61.     "theme": ""
  62. }