View Source ExOAPI.Stripe.Schemas.PaymentMethodDetailsInteracPresent (exoapi_stripe v0.1.4)

:brand :: :string

Card brand. Can be interac, mastercard or visa.

:cardholder_name :: :string

The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.

: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.

:emv_auth_data :: :string

Authorization response cryptogram.

: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.

:generated_card :: :string

ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.

:last4 :: :string

The last four digits of the card.

:network :: :string

Identifies which network this charge was processed on. Can be amex, cartes_bancaires, diners, discover, interac, jcb, mastercard, unionpay, visa, or unknown.

::preferred_locales :: :string

:read_method :: :string

How card details were read in this transaction.

:receipt :: ExOAPI.Stripe.Schemas.PaymentMethodDetailsInteracPresentReceipt

A collection of fields required to be displayed on receipts. Only required for EMV transactions.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PaymentMethodDetailsInteracPresent{
  brand: String.t() | nil,
  cardholder_name: String.t() | nil,
  country: String.t() | nil,
  emv_auth_data: String.t() | nil,
  exp_month: integer() | nil,
  exp_year: integer() | nil,
  fingerprint: String.t() | nil,
  funding: String.t() | nil,
  generated_card: String.t() | nil,
  last4: String.t() | nil,
  network: String.t() | nil,
  preferred_locales: [String.t()] | nil,
  read_method:
    (:magnetic_stripe_track2
     | :magnetic_stripe_fallback
     | :contactless_magstripe_mode
     | :contactless_emv
     | :contact_emv)
    | nil,
  receipt: ExOAPI.EctoTypes.AnyOf.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()