• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

Object Index

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

Read only Unique ID for this card. Generated by Square.

Max Length 64
card_brand
string

Read only The card's brand.

last_4
string

Read only The last 4 digits of the card number.

Max Length 4
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.

cardholder_name
string

The name of the cardholder.

Max Length 96
billing_address
Address

The billing address for this card.

fingerprint
string

Read only 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.

Max Length 255
card_type
string

Beta

Read only The type of the card. The Card object includes this field only in response to Payments API calls.

prepaid_type
string

Beta

Read only Indicates whether the Card is prepaid or not. The Card object includes this field only in response to Payments API calls.

bin
string

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

Max Length 6

Share Feedback

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