Represents the payment details of a card to be used for payments. These details are determined by the card_nonce generated by SqPaymentForm.
| Name |
Type |
Description |
Notes |
| id |
String |
Unique ID for this card. Generated by Square. |
[optional] |
| cardBrand |
CardBrandEnum |
The card's brand (such as `VISA`). See CardBrand for possible values |
[optional] |
| last4 |
String |
The last 4 digits of the card number. |
[optional] |
| expMonth |
Long |
The expiration month of the associated card as an integer between 1 and 12. |
[optional] |
| expYear |
Long |
The four-digit year of the card's expiration date. |
[optional] |
| cardholderName |
String |
The name of the cardholder. |
[optional] |
| billingAddress |
Address |
The billing address for this card. |
[optional] |
| fingerprint |
String |
Not currently set. Intended as a Square-assigned identifier, based on the card number, to identify the card across multiple locations within a single application. |
[optional] |
| Name |
Value |
| OTHER_BRAND |
"OTHER_BRAND" |
| VISA |
"VISA" |
| MASTERCARD |
"MASTERCARD" |
| AMERICAN_EXPRESS |
"AMERICAN_EXPRESS" |
| DISCOVER |
"DISCOVER" |
| DISCOVER_DINERS |
"DISCOVER_DINERS" |
| JCB |
"JCB" |
| CHINA_UNIONPAY |
"CHINA_UNIONPAY" |
| SQUARE_GIFT_CARD |
"SQUARE_GIFT_CARD" |