> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ionicfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The card object

> A business card an owner has made available to an agent.

```json The card object theme={null}
{
  "id": "spcard_9Tb4Nx2Kq8Lm5W",
  "object": "spend.card",
  "account_id": "mer_7Hk2Pq9Lm4Xw1R",
  "livemode": false,
  "label": "Office supplies card",
  "brand": "visa",
  "last4": "4242",
  "exp_month": 12,
  "exp_year": 2028,
  "status": "active",
  "created": 1793782800
}
```

A card (`spcard_…`) is a business card saved through a
[setup session](https://docs.ionicfi.com/api-reference/spend-setup-sessions.md). An agent sees only the cards
an owner has made available to it, and only the label, brand, last four digits,
and expiry. Full card details
are delivered only by claiming an approved [spend intent](https://docs.ionicfi.com/api-reference/spend-intents.md).

## Attributes

**id** `string`

Unique identifier for the card (`spcard_…`). Pass it as `card_id` when you create a spend intent.

**account\_id** `string`

The business that owns the card.

**livemode** `boolean`

`true` in live mode, `false` in test mode.

**label** `string`

The name the owner gave the card.

**brand** `enum`

`visa`, `mastercard`, `amex`, `discover`, `diners`, `jcb`, `unionpay`, or `unknown`.

**last4** `string`

The last four digits of the card number.

**exp\_month** `integer`

Expiration month, from 1 to 12.

**exp\_year** `integer`

Four-digit expiration year.

**status** `enum`

`active`, `suspended`, or `deleted`.

**created** `timestamp`

When the card was saved, in Unix seconds.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.