Skip to main content
Log inSign up
Anchor to CustomerPaymentInstrument

CustomerPaymentInstrument

union

Requires read_customers access scope. Also: Requires read_customer_payment_methods scope.

All possible instruments for CustomerPaymentMethods.

OBJECT

Represents a card instrument for customer payment method.

billingAddress

The billing address of the card.

brand
non-null

The brand of the card.

expiresSoon
non-null

Whether the card is about to expire.

expiryMonth
non-null

The expiry month of the card.

expiryYear
non-null

The expiry year of the card.

firstDigits

The card's BIN number.

isRevocable
non-null

The payment method can be revoked if there are no active subscription contracts.

lastDigits
non-null

The last 4 digits of the card.

maskedNumber
non-null

The masked card number with only the last 4 digits displayed.

name
non-null

The name of the card holder.

source

The source of the card if coming from a wallet such as Apple Pay.

virtualLastDigits

The last 4 digits of the Device Account Number.

OBJECT

Represents a PayPal instrument for customer payment method.

billingAddress

The billing address of this payment method.

inactive
non-null

Whether the PayPal billing agreement is inactive.

isRevocable
non-null

Whether the payment method can be revoked.The payment method can be revoked if there are no active subscription contracts.

paypalAccountEmail

The customers's PayPal account email address.

OBJECT

Represents a Shop Pay card instrument for customer payment method.

billingAddress

The billing address of the card.

expiresSoon
non-null

Whether the card is about to expire.

expiryMonth
non-null

The expiry month of the card.

expiryYear
non-null

The expiry year of the card.

inactive
non-null

Whether the Shop Pay billing agreement is inactive.

isRevocable
non-null

The payment method can be revoked if there are no active subscription contracts.

lastDigits
non-null

The last 4 digits of the card.

maskedNumber
non-null

The masked card number with only the last 4 digits displayed.

name
non-null

The name of the card holder.


Was this section helpful?

Anchor to Fields with this unionFields with this union


Was this section helpful?