SquareConnect::Card

June 12, 2019 ยท View on GitHub

Description

Represents the payment details of a card to be used for payments. These details are determined by the card_nonce generated by SqPaymentForm.

Properties

NameTypeDescriptionNotes
idStringUnique ID for this card. Generated by Square.[optional]
card_brandStringThe card's brand (such as `VISA`). See CardBrand for possible values[optional]
last_4StringThe last 4 digits of the card number.[optional]
exp_monthIntegerThe expiration month of the associated card as an integer between 1 and 12.[optional]
exp_yearIntegerThe four-digit year of the card's expiration date.[optional]
cardholder_nameStringThe name of the cardholder.[optional]
billing_addressAddressThe billing address for this card.[optional]
fingerprintStringA unique, Square-assigned ID that identifies the card across multiple locations and applications for a single Square account.[optional]