# card

From **Stripe API**.

You can store multiple cards on a customer in order to charge the customer
later. You can also store multiple debit cards on a recipient in order to
transfer to those cards later.

Related guide: [Card Payments with Sources](https://stripe.com/docs/sources/cards).

- Type: `object`

## Properties

### `account`

- Required: false
- Nullable: true

The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.

### `address_city`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

City/District/Suburb/Town/Village.

### `address_country`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Billing address country, if provided when creating card.

### `address_line1`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Address line 1 (Street address/PO Box/Company name).

### `address_line1_check`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.

### `address_line2`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Address line 2 (Apartment/Suite/Unit/Building).

### `address_state`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

State/County/Province/Region.

### `address_zip`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

ZIP or postal code.

### `address_zip_check`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.

### `available_payout_methods`

- Required: false
- Type: `array`
- Nullable: true

A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.

### `brand`

- Required: true
- Type: `string`
- maxLength: `5000`

Card brand. Can be `American Express`, `Diners Club`, `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.

### `country`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.

### `currency`

- Required: false
- Type: `string`
- Nullable: true

Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.

### `customer`

- Required: false
- Nullable: true

The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.

### `cvc_check`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).

### `default_for_currency`

- Required: false
- Type: `boolean`
- Nullable: true

Whether this card is the default external account for its currency.

### `dynamic_last4`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

(For tokenized numbers only.) The last four digits of the device account number.

### `exp_month`

- Required: true
- Type: `integer`

Two-digit number representing the card's expiration month.

### `exp_year`

- Required: true
- Type: `integer`

Four-digit number representing the card's expiration year.

### `fingerprint`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.

*Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.*

### `funding`

- Required: true
- Type: `string`
- maxLength: `5000`

Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.

### `id`

- Required: true
- Type: `string`
- maxLength: `5000`

Unique identifier for the object.

### `last4`

- Required: true
- Type: `string`
- maxLength: `5000`

The last four digits of the card.

### `metadata`

- Required: false
- Type: `object`
- Nullable: true

Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

### `name`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

Cardholder name.

### `object`

- Required: true
- Type: `string`
- Allowed values: `"card"`

String representing the object's type. Objects of the same type share the same value.

### `recipient`

- Required: false
- Nullable: true

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

### `tokenization_method`

- Required: false
- Type: `string`
- Nullable: true
- maxLength: `5000`

If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.

## JSON Schema

```json
{"description":"You can store multiple cards on a customer in order to charge the customer\nlater. You can also store multiple debit cards on a recipient in order to\ntransfer to those cards later.\n\nRelated guide: [Card Payments with Sources](https://stripe.com/docs/sources/cards).","properties":{"account":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"description":"The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.","nullable":true,"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"address_city":{"description":"City/District/Suburb/Town/Village.","maxLength":5000,"nullable":true,"type":"string"},"address_country":{"description":"Billing address country, if provided when creating card.","maxLength":5000,"nullable":true,"type":"string"},"address_line1":{"description":"Address line 1 (Street address/PO Box/Company name).","maxLength":5000,"nullable":true,"type":"string"},"address_line1_check":{"description":"If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.","maxLength":5000,"nullable":true,"type":"string"},"address_line2":{"description":"Address line 2 (Apartment/Suite/Unit/Building).","maxLength":5000,"nullable":true,"type":"string"},"address_state":{"description":"State/County/Province/Region.","maxLength":5000,"nullable":true,"type":"string"},"address_zip":{"description":"ZIP or postal code.","maxLength":5000,"nullable":true,"type":"string"},"address_zip_check":{"description":"If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.","maxLength":5000,"nullable":true,"type":"string"},"available_payout_methods":{"description":"A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.","items":{"enum":["instant","standard"],"type":"string"},"nullable":true,"type":"array"},"brand":{"description":"Card brand. Can be `American Express`, `Diners Club`, `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.","maxLength":5000,"type":"string"},"country":{"description":"Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.","maxLength":5000,"nullable":true,"type":"string"},"currency":{"description":"Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.","nullable":true,"type":"string"},"customer":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"description":"The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.","nullable":true,"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"cvc_check":{"description":"If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).","maxLength":5000,"nullable":true,"type":"string"},"default_for_currency":{"description":"Whether this card is the default external account for its currency.","nullable":true,"type":"boolean"},"dynamic_last4":{"description":"(For tokenized numbers only.) The last four digits of the device account number.","maxLength":5000,"nullable":true,"type":"string"},"exp_month":{"description":"Two-digit number representing the card's expiration month.","type":"integer"},"exp_year":{"description":"Four-digit number representing the card's expiration year.","type":"integer"},"fingerprint":{"description":"Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.*","maxLength":5000,"nullable":true,"type":"string"},"funding":{"description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","maxLength":5000,"type":"string"},"id":{"description":"Unique identifier for the object.","maxLength":5000,"type":"string"},"last4":{"description":"The last four digits of the card.","maxLength":5000,"type":"string"},"metadata":{"additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","nullable":true,"type":"object"},"name":{"description":"Cardholder name.","maxLength":5000,"nullable":true,"type":"string"},"object":{"description":"String representing the object's type. Objects of the same type share the same value.","enum":["card"],"type":"string"},"recipient":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/recipient"}],"description":"The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.","nullable":true,"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/recipient"}]}},"tokenization_method":{"description":"If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.","maxLength":5000,"nullable":true,"type":"string"}},"required":["brand","exp_month","exp_year","funding","id","last4","object"],"title":"Card","type":"object","x-expandableFields":["account","customer","recipient"],"x-resourceId":"card"}
```
