Types > PaymentMethodCreditCard
Commerce APITypesPaymentMethodCreditCard
PaymentMethodCreditCard

Description

Credit card

Fields

address_city: String!

Billing city


address_country: String!

Billing address country code


address_country_info: InfoCountry

Billing address country info if available

Expandable


address_line1: String!

Billing address line 1


address_line2: String!

Billing address line 2


address_state: String!

Billing address state code


address_state_info: InfoProvince

Billing address state info if available

Expandable


address_zip: String!

Billing zip or postal code


brand: String!

Credit card brand

Example: "Visa"


exp_month: Int!

Credit card expiration month

Example: 2


exp_year: Int!

Credit card expiration year

Example: 2019


id: String!

Stripe payment source id

Example: "card_1Ak9dNDVveQRXOWz2ZFPd73P"


last4: String!

Last 4 digits of the credit card number

Example: "4242"


name: String!

Name of the card holder


Used By

Types

PaymentMethod

Preview (typescript)

Loading module