Class: Lithic::Models::ThreeDSAuthentication::Psd2Context

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/three_ds_authentication.rb,
sig/lithic/models/three_ds_authentication.rbs

Overview

See Also:

  • Lithic::Models::ThreeDSAuthentication#psd2_context

Defined Under Namespace

Modules: AcquirerExemption, LithicExemptionValidation

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(acquirer_exemption: nil, lithic_exemption_validation: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::ThreeDSAuthentication::Psd2Context for more details.

PSD2/SCA context for EEA and UK transactions. Present when Lithic determines the transaction is in scope for PSD2 Strong Customer Authentication. Absent for out-of-scope transactions.

Parameters:



# File 'lib/lithic/models/three_ds_authentication.rb', line 1196

Instance Attribute Details

#acquirer_exemption ⇒ Symbol, ...

SCA exemption declared by the acquirer in the 3DS authentication request.

  • NONE - No exemption claimed
  • TRANSACTION_RISK_ANALYSIS - Transaction Risk Analysis (TRA) exemption; acquirer asserts low fraud risk
  • LOW_VALUE - Low-value payment exemption; transaction is below the EUR 30 threshold
  • RECURRING_PAYMENT - Recurring payment with a fixed amount to the same payee
  • MERCHANT_INITIATED_TRANSACTION - Merchant-initiated transaction (MIT); cardholder not present
  • TRUSTED_BENEFICIARY - Trusted beneficiary; merchant is on cardholder's whitelist
  • STRONG_CUSTOMER_AUTHENTICATION_DELEGATION - SCA already performed by a delegated third-party authenticator
  • SECURE_CORPORATE_PAYMENT - Secure corporate payment using a dedicated corporate card or process
  • AUTHENTICATION_OUTAGE_EXCEPTION - Authentication outage exception; scheme-level fallback during ACS downtime
  • BUNDLED - Mastercard only; bundled exemption code where the exact exemption type cannot be distinguished


1180
# File 'lib/lithic/models/three_ds_authentication.rb', line 1180

optional :acquirer_exemption, enum: -> { Lithic::ThreeDSAuthentication::Psd2Context::AcquirerExemption }

#lithic_exemption_validation ⇒ Symbol, ...

Lithic's validation of the acquirer-declared exemption. Absent when no acquirer exemption was declared.

  • ACCEPTED - Lithic signals support the acquirer's claim
  • REJECTED - Lithic signals contradict the claim, or a required signal is missing
  • NOT_VALIDATED - Exemption was declared but Lithic has no basis to evaluate it; treated as REJECTED for challenge purposes


1193
1194
# File 'lib/lithic/models/three_ds_authentication.rb', line 1193

optional :lithic_exemption_validation,
enum: -> { Lithic::ThreeDSAuthentication::Psd2Context::LithicExemptionValidation }

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/three_ds_authentication.rb', line 1244

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


837
# File 'sig/lithic/models/three_ds_authentication.rbs', line 837

def to_hash: -> {