Class: Increase::Models::DeclinedTransaction::Source::CardDecline

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/declined_transaction.rb

Defined Under Namespace

Classes: NetworkDetails, NetworkIdentifiers, Verification

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#actionerSymbol

Whether this authorization was approved by Increase, the card network through stand-in processing, or the user through a real-time decision.

Returns:

  • (Symbol)


191
# File 'lib/increase/models/declined_transaction.rb', line 191

required :actioner, Increase::Enum.new(:user, :increase, :network)

#amountInteger

The declined amount in the minor unit of the destination account currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


196
# File 'lib/increase/models/declined_transaction.rb', line 196

required :amount, Integer

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


201
# File 'lib/increase/models/declined_transaction.rb', line 201

required :card_payment_id, String

#currencySymbol

The ISO 4217 code for the destination account currency.

Returns:

  • (Symbol)


206
# File 'lib/increase/models/declined_transaction.rb', line 206

required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD)

#declined_transaction_idString

The identifier of the declined transaction created for this Card Decline.

Returns:

  • (String)


211
# File 'lib/increase/models/declined_transaction.rb', line 211

required :declined_transaction_id, String

#digital_wallet_token_idString

If the authorization was made via a Digital Wallet Token (such as an Apple Pay purchase), the identifier of the token that was used.

Returns:

  • (String)


216
# File 'lib/increase/models/declined_transaction.rb', line 216

required :digital_wallet_token_id, String

#idString

The Card Decline identifier.

Returns:

  • (String)


186
# File 'lib/increase/models/declined_transaction.rb', line 186

required :id, String

#merchant_acceptor_idString

The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.

Returns:

  • (String)


221
# File 'lib/increase/models/declined_transaction.rb', line 221

required :merchant_acceptor_id, String

#merchant_category_codeString

The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.

Returns:

  • (String)


226
# File 'lib/increase/models/declined_transaction.rb', line 226

required :merchant_category_code, String

#merchant_cityString

The city the merchant resides in.

Returns:

  • (String)


231
# File 'lib/increase/models/declined_transaction.rb', line 231

required :merchant_city, String

#merchant_countryString

The country the merchant resides in.

Returns:

  • (String)


236
# File 'lib/increase/models/declined_transaction.rb', line 236

required :merchant_country, String

#merchant_descriptorString

The merchant descriptor of the merchant the card is transacting with.

Returns:

  • (String)


241
# File 'lib/increase/models/declined_transaction.rb', line 241

required :merchant_descriptor, String

#merchant_postal_codeString

The merchant's postal code. For US merchants this is either a 5-digit or 9-digit ZIP code, where the first 5 and last 4 are separated by a dash.

Returns:

  • (String)


246
# File 'lib/increase/models/declined_transaction.rb', line 246

required :merchant_postal_code, String

#merchant_stateString

The state the merchant resides in.

Returns:

  • (String)


251
# File 'lib/increase/models/declined_transaction.rb', line 251

required :merchant_state, String

#network_detailsIncrease::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails

Fields specific to the network.



256
257
# File 'lib/increase/models/declined_transaction.rb', line 256

required :network_details,
-> { Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails }

#network_identifiersIncrease::Models::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers

Network-specific identifiers for a specific request or transaction.



262
263
# File 'lib/increase/models/declined_transaction.rb', line 262

required :network_identifiers,
-> { Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers }

#network_risk_scoreInteger

The risk score generated by the card network. For Visa this is the Visa Advanced Authorization risk score, from 0 to 99, where 99 is the riskiest.

Returns:

  • (Integer)


268
# File 'lib/increase/models/declined_transaction.rb', line 268

required :network_risk_score, Integer

#physical_card_idString

If the authorization was made in-person with a physical card, the Physical Card that was used.

Returns:

  • (String)


273
# File 'lib/increase/models/declined_transaction.rb', line 273

required :physical_card_id, String

#presentment_amountInteger

The declined amount in the minor unit of the transaction's presentment currency.

Returns:

  • (Integer)


278
# File 'lib/increase/models/declined_transaction.rb', line 278

required :presentment_amount, Integer

#presentment_currencyString

The ISO 4217 code for the transaction's presentment currency.

Returns:

  • (String)


283
# File 'lib/increase/models/declined_transaction.rb', line 283

required :presentment_currency, String

#processing_categorySymbol

The processing category describes the intent behind the authorization, such as whether it was used for bill payments or an automatic fuel dispenser.

Returns:

  • (Symbol)


288
289
290
291
292
293
294
295
296
# File 'lib/increase/models/declined_transaction.rb', line 288

required :processing_category,
Increase::Enum.new(
  :account_funding,
  :automatic_fuel_dispenser,
  :bill_payment,
  :purchase,
  :quasi_cash,
  :refund
)

#real_time_decision_idString

The identifier of the Real-Time Decision sent to approve or decline this transaction.

Returns:

  • (String)


301
# File 'lib/increase/models/declined_transaction.rb', line 301

required :real_time_decision_id, String

#reasonSymbol

Why the transaction was declined.

Returns:

  • (Symbol)


306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'lib/increase/models/declined_transaction.rb', line 306

required :reason,
Increase::Enum.new(
  :card_not_active,
  :physical_card_not_active,
  :entity_not_active,
  :group_locked,
  :insufficient_funds,
  :cvv2_mismatch,
  :card_expiration_mismatch,
  :transaction_not_allowed,
  :breaches_limit,
  :webhook_declined,
  :webhook_timed_out,
  :declined_by_stand_in_processing,
  :invalid_physical_card,
  :missing_original_authorization,
  :suspected_fraud
)

#verificationIncrease::Models::DeclinedTransaction::Source::CardDecline::Verification

Fields related to verification of cardholder-provided values.



328
# File 'lib/increase/models/declined_transaction.rb', line 328

required :verification, -> { Increase::Models::DeclinedTransaction::Source::CardDecline::Verification }