This object represents a credit card in the customer profile's stored credit cards.
This object is only available in version 3+ of the javascript checkout. Version 3 is the REST based checkout. |
Field | Type | Description | |
merchantId | String | Merchant ID
| |
customerProfileId | integer | Unique identifier for the customer who owns this card | |
id | integer | Unique identifier for this card.
| |
cardType | String | VISA, MasterCard, etc. | |
cardExpMonth | integer | Expiration Month (1-12) | |
cardExpYear | integer | Expiration Year | |
cardNumber | String | This will always be masked except for the last four numbers. | |
lastUsedDate | String | ISO8601 formatted date string of the last time the card was used. | |
lastUsedDateFormatted | String | Pretty formatted (long) string of the last time the card was used. Very handy for using in javascript templates. |