Types > CustomerPaymentSource
Storefront APITypesCustomerPaymentSource
CustomerPaymentSource

Description

Topic: Customers

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 method id

Example: "pm_123456789"


last4: String!

Last 4 digits of the credit card number

Example: "4242"


name: String!

Name of the card holder


stripe_customer_id: String!

Unique customer identifier. See also: Unique Identifiers

Example: "cus_DiAslTjCjpW8JW"


Used By

Mutations

storefrontPaymentSourcesCreate, storefrontPaymentSourcesModify

Queries

storefrontPaymentSources

Preview (typescript)

Loading module