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

description: An early fraud warning indicates that the card issuer has notified us that a charge may be fraudulent.

Related guide: Early Fraud Warnings.

:actionable :: :boolean

An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later.

:charge :: ExOAPI.Stripe.Schemas.Charge | :string

ID of the charge this early fraud warning is for, optionally expanded.

:created :: :integer

Time at which the object was created. Measured in seconds since the Unix epoch.

:fraud_type :: :string

The type of fraud labelled by the issuer. One of card_never_received, fraudulent_card_application, made_with_counterfeit_card, made_with_lost_card, made_with_stolen_card, misc, unauthorized_use_of_card.

:id :: :string

Unique identifier for the object.

:livemode :: :boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

:object :: :string

String representing the object's type. Objects of the same type share the same value.

:payment_intent :: ExOAPI.Stripe.Schemas.PaymentIntent | :string

ID of the Payment Intent this early fraud warning is for, optionally expanded.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Radar_earlyFraudWarning{
  actionable: boolean() | nil,
  charge: ExOAPI.EctoTypes.AnyOf.t() | nil,
  created: integer() | nil,
  fraud_type: String.t() | nil,
  id: String.t() | nil,
  livemode: boolean() | nil,
  object: :"radar.early_fraud_warning" | nil,
  payment_intent: 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()