Cards

Card Transaction Updated

Sent when a card transaction is updated

Required permissions:

  • payout:account:read
  • webhook_receive:card_transactions
postWebhookcard_transaction.updated

Headers

webhook-id, string required

A unique identifier for this webhook request

Example:msg_xxxxxxxxxxxxxxxxxxxxxxxx
webhook-signature, string required

The signature of the webhook request with the webhook version prepended

Example:v1,BASE64ENCODEDSIGNATURE
webhook-timestamp, string required

The timestamp in seconds since the Unix epoch that the webhook was sent at on the server

Example:1727606400

Payload

object required
account_id, string nullable

The account ID that this webhook event is associated with

api_version, 'v1' required

The API version for this webhook

api_version_date, string nullable required

The dated API version (Api-Version-Date) the payload is serialized to

data, CardTransaction required
id, string required

A unique ID for every single webhook request

previous_attributes, object

For some .updated events, the old values of the payload fields that changed, keyed by field name. Omitted when no capture is available for the event

timestamp, string date-time required

The timestamp in ISO 8601 format that the webhook was sent at on the server

type, 'card_transaction.updated' required

The webhook event type

Example payload

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "api_version": "v1",
  "api_version_date": "2026-07-20",
  "data": {
    "card_id": "icrd_xxxxxxxxxxxxxx",
    "cardholder_id": "user_xxxxxxxxxxxxxx",
    "cashback_usd_amount": 0.25,
    "created_at": "2026-01-01T12:00:00.000Z",
    "currency": "EUR",
    "declined_reason": "account_credit_limit_exceeded",
    "id": "citx_xxxxxxxxxxxxxx",
    "international": true,
    "local_amount": 22.5,
    "merchant_category": "Car Care Supplies",
    "merchant_category_code": "5533",
    "merchant_icon_url": "https://shinetime.example/icons/lone-star-detail-supply.png",
    "merchant_name": "Lone Star Detail Supply",
    "posted_at": "2026-01-01T12:00:00.000Z",
    "status": "completed",
    "transaction_type": "spend",
    "usd_amount": 24.99
  },
  "id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
  "timestamp": "2025-01-01T00:00:00.000Z",
  "type": "card_transaction.updated"
}

Response

Return a 200 status to indicate that the data was received successfully

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.