Cards

Updates, freezes, or cancels a card. Updating the card's name, billing address, or limits requires both payout:account:update and company:balance:read; a card's assigned holder may update their own card's pin and frozen state with any user token.

patch/cards/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string required

Card ID to retrieve, prefixed icrd_.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Request body

object required
account_id, string

The owning account ID: a biz_ identifier for a business, or a user_ identifier for a personal account. Provide this or user_id.

billing, object

The billing address. On an issued card this replaces the card's billing address and region is also required. On an invited card, sending it as the invited user completes onboarding and starts card provisioning.

canceled, boolean

Pass true to permanently cancel the card. A canceled card cannot be uncanceled. Cannot be combined with other fields.

cardholder, object

Details for the cardholder. On an invited card, these fields complete onboarding. The legal name comes from an approved identity verification when the invited user has one, and from these fields when they do not. On an issued card, only email and phone can be changed. 3D Secure verification codes go to that email and phone.

frozen, boolean

Pass true to freeze the card, false to unfreeze it. The assigned cardholder may freeze their own card without the payout:account:update scope.

name, string

A display name for the card.

pin, string

New 4-digit PIN. Can only be set on a card assigned to the acting user, who may set it without the payout:account:update scope.

remove_limit, boolean

Pass true to remove the spending limit (make the card unlimited).

spend_limit, number

Spending limit amount, in dollars.

spend_limit_frequency, 'daily' | 'weekly' | 'monthly' | 'one_time'

The window the spend limit applies to.

transaction_limit, number

Per-transaction limit amount, in dollars.

user_id, string

The owning user ID (a user_ identifier). Provide this or account_id.

Example request

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "billing": {
    "city": "Austin",
    "country_code": "US",
    "line1": "4180 Burnet Rd",
    "line2": "Suite 210",
    "postal_code": "78756",
    "region": "TX"
  },
  "canceled": true,
  "cardholder": {
    "email": "marcus@shinetime.example",
    "first_name": "Tanya",
    "last_name": "Cole",
    "phone": "+xxxxxxxxxxx"
  },
  "frozen": true,
  "name": "Detailing supplies",
  "pin": "1234",
  "remove_limit": true,
  "spend_limit": 2500,
  "spend_limit_frequency": "monthly",
  "transaction_limit": 500,
  "user_id": "user_xxxxxxxxxxxxxx"
}

Response

invited card onboarding completed: card provisioning started

object required
billing, object nullable required

The billing address.

canceled_at, string date-time nullable required

When the card was canceled.

created_at, string date-time nullable required

When the card was created.

digital_wallets, string[] nullable required

The digital wallets the card has been added to. List Cards, Update Card, and webhook payloads return null, as does Retrieve Card when the wallets cannot be retrieved.

expiration_month, string nullable required

Card expiration month.

expiration_year, string nullable required

Card expiration year.

id, string required

Card ID, prefixed icrd_.

issued, boolean required

true once the issuer has issued the card. false for an invited card still waiting on its cardholder's onboarding or review, or one the issuer declined; it has no card number until it is issued.

last4, string nullable required

Last four digits of the card number. null for pending invitation cards.

limit, object nullable required

The spending limit configuration.

name, string nullable required

Card display name.

object, 'card' required
secrets, object nullable

Sensitive card details. Present only on GET /cards/:id for active cards; null when the card is inactive or details cannot be retrieved.

spent_last_month, integer nullable required

Total spend in the last 30 days, in cents.

status, 'null' | 'active' | 'frozen' | 'canceled' | 'invited' | 'denied' nullable required

The card status. denied means the issuer declined the cardholder, so the card will never be issued.

type, 'null' | 'virtual' | 'physical' nullable required

The card type.

user_id, string nullable required

Cardholder user ID, prefixed user_, when assigned.

Example response

{
  "billing": {
    "city": "Austin",
    "country_code": "US",
    "line1": "4180 Burnet Rd",
    "line2": "Suite 210",
    "postal_code": "78756",
    "region": "TX"
  },
  "canceled_at": "2026-01-01T12:00:00.000Z",
  "created_at": "2026-01-01T12:00:00.000Z",
  "digital_wallets": [
    "apple_pay"
  ],
  "expiration_month": "12",
  "expiration_year": "2027",
  "id": "icrd_xxxxxxxxxxxxxx",
  "issued": true,
  "last4": "4242",
  "limit": {
    "amount": 50,
    "frequency": "daily"
  },
  "name": "Detailing supplies",
  "object": "card",
  "spent_last_month": 1234,
  "status": "active",
  "type": "virtual",
  "user_id": "user_xxxxxxxxxxxxxx"
}

Changes