CARD_UPDATED

Fired when a card is updated in a merchant account.

postWebhookcard_updated

Payload

eventstring

Name of the webhook event.

session_idstring nullable

Unique identifier for the session.

task_idinteger

Unique identifier for the task.

external_user_idstring

Unique identifier for the user.

timestampinteger

Unix timestamp of the webhook event in UTC.

Example payload

{
  "event": "CARD_UPDATED",
  "session_id": "fb5aa994-ed1c-4c3e-b29a-b2a53222e584",
  "task_id": 25605,
  "external_user_id": "3dcbb19a-b2f1-4a7b-8792-d76027b627b3",
  "merchant": {
    "id": 11,
    "name": "Uber"
  },
  "data": {
    "card_id": "123456789",
    "bank_account_id": "91n9al81da0k1yn13",
    "payment_method_type": "card",
    "metadata": {
      "reference_token": "abc123",
      "trace_id": "def456"
    },
    "subscriptions": [
      {
        "id": "ka8sdf0asdfm10as0a0sdfja7ssa8"
      },
      {
        "id": "8asdh29qjss923kd0d920skd8sjd8"
      }
    ]
  },
  "timestamp": 1710864923198
}

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.