Stripe.Fraud.EarlyFraudWarning (stripity_stripe v2.17.3) View Source
Work with Stripe Radar Early Fraud Warnings objects.
You can:
- Retrieve an early fraud warning
- Retrieve all early fraud warnings
Stripe API reference: https://stripe.com/docs/api/radar/early_fraud_warnings
Link to this section Summary
Types
One of "card_never_received", or "fraudulent_card_application", or "made_with_counterfeit_card", or "made_with_lost_card", or "made_with_stolen_card", or "misc", or "unauthorized_use_of_card"
Link to this section Types
Specs
payment_status() :: String.t()
One of "card_never_received", or "fraudulent_card_application", or "made_with_counterfeit_card", or "made_with_lost_card", or "made_with_stolen_card", or "misc", or "unauthorized_use_of_card"
Specs
t() :: %Stripe.Fraud.EarlyFraudWarning{ actionable: boolean(), charge: Stripe.id() | Stripe.Charge.t() | nil, created: Stripe.timestamp(), fraud_type: String.t(), id: Stripe.id(), livemode: boolean(), object: String.t(), payment_intent: Stripe.id() | Stripe.PaymentIntent.t() | nil }
Link to this section Functions
Specs
list(params, Stripe.options()) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.Error.t()} when params: %{ optional(:charge) => Stripe.id() | Stripe.Charge.t(), optional(:payment_intent) => Stripe.id() | Stripe.PaymentIntent.t(), optional(:ending_before) => t() | Stripe.id(), optional(:limit) => 1..100, optional(:starting_after) => t() | Stripe.id() } | %{}
Retrieve a list of Early Fraud Warnings
Specs
retrieve(Stripe.id() | t(), Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()}
Retrieve an Early Fraud Warning