View Source ExOAPI.Stripe.Schemas.PaymentMethodDetailsCard (exoapi_stripe v0.1.4)
:brand :: :string
Card brand. Can be amex
, diners
, discover
, jcb
, mastercard
, unionpay
, visa
, or unknown
.
:checks :: ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardChecks
Check results by Card networks on Card address and CVC at time of payment.
:country :: :string
Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
:exp_month :: :integer
Two-digit number representing the card's expiration month.
:exp_year :: :integer
Four-digit number representing the card's expiration year.
:fingerprint :: :string
Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.
:funding :: :string
Card funding type. Can be credit
, debit
, prepaid
, or unknown
.
:installments :: ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardInstallments
Installment details for this payment (Mexico only).
For more information, see the installments integration guide.
:last4 :: :string
The last four digits of the card.
:mandate :: ExOAPI.Stripe.Schemas.Mandate
ID of the mandate used to make this payment or created by it.
:network :: :string
Identifies which network this charge was processed on. Can be amex
, cartes_bancaires
, diners
, discover
, interac
, jcb
, mastercard
, unionpay
, visa
, or unknown
.
:three_d_secure :: ExOAPI.Stripe.Schemas.ThreeDSecureDetails
Populated if this transaction used 3D Secure authentication.
:wallet :: ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardWallet
If this Card is part of a card wallet, this contains the details of the card wallet.
Link to this section Summary
Link to this section Types
@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PaymentMethodDetailsCard{ brand: String.t() | nil, checks: ExOAPI.EctoTypes.AnyOf.t() | nil, country: String.t() | nil, exp_month: integer() | nil, exp_year: integer() | nil, fingerprint: String.t() | nil, funding: String.t() | nil, installments: ExOAPI.EctoTypes.AnyOf.t() | nil, last4: String.t() | nil, mandate: String.t() | nil, network: String.t() | nil, three_d_secure: ExOAPI.EctoTypes.AnyOf.t() | nil, wallet: ExOAPI.EctoTypes.AnyOf.t() | nil }
Link to this section Functions
@spec changeset(t(), params()) :: Ecto.Changeset.t()