Types > CustomerPaymentSource
Description
Topic: Customers
Fields
Billing city
Billing address country code
address_country_info: InfoCountry
Billing address country info if available
Expandable
Billing address line 1
Billing address line 2
Billing address state code
address_state_info: InfoProvince
Billing address state info if available
Expandable
Billing zip or postal code
Credit card brand
Example: "Visa"
Credit card expiration month
Example: 2
Credit card expiration year
Example: 2019
Stripe payment method id
Example: "pm_123456789"
Last 4 digits of the credit card number
Example: "4242"
Name of the card holder
Unique customer identifier. See also: Unique Identifiers
Example: "cus_DiAslTjCjpW8JW"
Used By
Mutations
customersPaymentSourcesCreate, customersPaymentSourcesModify
Queries
Preview (typescript)
interface CustomerPaymentSource {address_city: stringaddress_country: stringaddress_country_info?: InfoCountry | nulladdress_line1: stringaddress_line2: stringaddress_state: stringaddress_state_info?: InfoProvince | nulladdress_zip: stringbrand: stringexp_month: numberexp_year: numberid: stringlast4: stringname: stringstripe_customer_id: string}