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] |
card_brand | String | The card's brand. See CardBrand for possible values | [optional] |
last_4 | String | The last 4 digits of the card number. | [optional] |
exp_month | Number | The expiration month of the associated card as an integer between 1 and 12. | [optional] |
exp_year | Number | The four-digit year of the card's expiration date. | [optional] |
cardholder_name | String | The name of the cardholder. | [optional] |
billing_address | 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] |
card_type | String | The type of the card. The Card object includes this field only in response to Payments API calls. See CardType for possible values | [optional] [beta] |
prepaid_type | String | Indicates whether the Card is prepaid or not. The Card object includes this field only in response to Payments API calls. See CardPrepaidType for possible values | [optional] [beta] |
bin | String | The first six digits of the card number, known as the Bank Identification Number (BIN). Only the Payments API returns this field. | [optional] |