Object Index / Definition

You are viewing an old version of the API
Card

Represents the payment details of a card to be used for payments

These details are determined by the card_nonce generated by SqPaymentForm.

Properties

Name Description
id
string

Unique ID for this card. Generated by Square.

billing_address
Address

The billing address for this card.

bin
string

The first six digits of the card number, known as the Bank Identification Number (BIN). Only the Payments API returns this field.

card_brand
string

The card's brand (such as VISA). See CardBrand for all possible values.

cardholder_name
string

The name of the cardholder.

exp_month
integer

The expiration month of the associated card as an integer between 1 and 12.

exp_year
integer

The four-digit year of the card's expiration date.

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.

last_4
string

The last 4 digits of the card number.

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?