Class: Lithic::Models::Fraud::TransactionReportParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/lithic/models/fraud/transaction_report_params.rb

Overview

Defined Under Namespace

Modules: FraudStatus, FraudType

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(fraud_status:, comment: nil, fraud_type: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::Fraud::TransactionReportParams for more details.

Parameters:



# File 'lib/lithic/models/fraud/transaction_report_params.rb', line 60


Instance Attribute Details

#commentString?

Optional field providing additional information or context about why the transaction is considered fraudulent.

Returns:

  • (String, nil)


32
# File 'lib/lithic/models/fraud/transaction_report_params.rb', line 32

optional :comment, String

#fraud_statusSymbol, Lithic::Models::Fraud::TransactionReportParams::FraudStatus

The fraud status of the transaction, string (enum) supporting the following values:

  • ‘SUSPECTED_FRAUD`: The transaction is suspected to be fraudulent, but this hasn’t been confirmed.

  • ‘FRAUDULENT`: The transaction is confirmed to be fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from the `SUSPECTED_FRAUD` state.

  • ‘NOT_FRAUDULENT`: The transaction is (explicitly) marked as not fraudulent. A transaction may immediately be moved into this state, or be graduated into this state from the `SUSPECTED_FRAUD` state.



25
# File 'lib/lithic/models/fraud/transaction_report_params.rb', line 25

required :fraud_status, enum: -> { Lithic::Fraud::TransactionReportParams::FraudStatus }

#fraud_typeSymbol, ...

Specifies the type or category of fraud that the transaction is suspected or confirmed to involve, string (enum) supporting the following values:

  • ‘FIRST_PARTY_FRAUD`: First-party fraud occurs when a legitimate account or cardholder intentionally misuses financial services for personal gain. This includes actions such as disputing legitimate transactions to obtain a refund, abusing return policies, or defaulting on credit obligations without intent to repay.

  • ‘ACCOUNT_TAKEOVER`: Account takeover fraud occurs when a fraudster gains unauthorized access to an existing account, modifies account settings, and carries out fraudulent transactions.

  • ‘CARD_COMPROMISED`: Card compromised fraud occurs when a fraudster gains access to card details without taking over the account, such as through physical card theft, cloning, or online data breaches.

  • ‘IDENTITY_THEFT`: Identity theft fraud occurs when a fraudster uses stolen personal information, such as Social Security numbers or addresses, to open accounts, apply for loans, or conduct financial transactions in someone’s name.

  • ‘CARDHOLDER_MANIPULATION`: This type of fraud occurs when a fraudster manipulates or coerces a legitimate cardholder into unauthorized transactions, often through social engineering tactics.



58
# File 'lib/lithic/models/fraud/transaction_report_params.rb', line 58

optional :fraud_type, enum: -> { Lithic::Fraud::TransactionReportParams::FraudType }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/fraud/transaction_report_params.rb', line 90