---
title: "Card Transaction Declined"
method: POST
path: "card_transaction.declined"
tags: ["Cards"]
---

# Card Transaction Declined

`POST card_transaction.declined` (webhook)

Sent when a card transaction is declined

Required permissions:
 - `payout:account:read`
 - `webhook_receive:card_transactions`

## Headers

- `webhook-id` string, required: A unique identifier for this webhook request
- `webhook-signature` string, required: The signature of the webhook request with the webhook version prepended
- `webhook-timestamp` string, required: The timestamp in seconds since the Unix epoch that the webhook was sent at on the server

## Payload

- object
  - `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
    - `card_id` string, required: The card this transaction was charged to, prefixed `icrd_`.
    - `cardholder_id` string, nullable, required: The user the card is assigned to, prefixed `user_`. Null when the card has no assigned cardholder.
    - `cashback_usd_amount` number, nullable, required: Cashback earned on this transaction as a USD amount. Zero for declined or ineligible transactions, and null when cashback has not been computed yet.
    - `created_at` string, required: When the transaction was authorized, as an ISO 8601 timestamp.
    - `currency` string, nullable, required: ISO 4217 currency code the merchant charged in.
    - `declined_reason` string, nullable, required: Why the transaction was declined. Null unless `status` is `declined`.
    - `id` string, required: Card transaction ID, prefixed `citx_`.
    - `international` boolean, required: True when the merchant is outside the card's home country.
    - `levels_points` number, nullable, required: Whop Levels points this transaction earned for the business. Negative for a refund that takes them back. For a pending transaction, the points it will earn once it settles. Null when it earns none, such as a declined transaction.
    - `local_amount` number, nullable, required: Amount the merchant charged in their own currency. Pair with `currency`.
    - `merchant_category` string, nullable, required: Merchant category label, enriched where available and otherwise as the card network reported it.
    - `merchant_category_code` string, nullable, required: Four-digit ISO 18245 merchant category code (MCC).
    - `merchant_icon_url` string, nullable, required: URL of the enriched merchant logo. Null when no logo was matched.
    - `merchant_name` string, nullable, required: Merchant name, enriched where available and otherwise as the card network reported it.
    - `posted_at` string, nullable, required: When the card network settled the transaction, as an ISO 8601 timestamp. Null until it settles.
    - `status` 'pending' | 'completed' | 'reversed' | 'declined', required: Current status of the transaction.
    - `transaction_type` 'spend', required: The kind of card transaction. Always `spend` today.
    - `usd_amount` number, nullable, required: Amount charged in USD. Negative when the merchant refunded the card.
  - `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.declined', required: The webhook event type

## Acknowledgement `200`

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

---

[API](https://skmtc.dev/whop/apis/whop-api.md) - [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whop/apis/whop-api/revisions/b10d1ab093e8?raw)
