Class: Increase::Models::CardPayment::Element::CardDecline

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.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)


422
# File 'lib/increase/models/card_payment.rb', line 422

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)


427
# File 'lib/increase/models/card_payment.rb', line 427

required :amount, Integer

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


432
# File 'lib/increase/models/card_payment.rb', line 432

required :card_payment_id, String

#currencySymbol

The ISO 4217 code for the destination account currency.

Returns:

  • (Symbol)


437
# File 'lib/increase/models/card_payment.rb', line 437

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)


442
# File 'lib/increase/models/card_payment.rb', line 442

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)


447
# File 'lib/increase/models/card_payment.rb', line 447

required :digital_wallet_token_id, String

#idString

The Card Decline identifier.

Returns:

  • (String)


417
# File 'lib/increase/models/card_payment.rb', line 417

required :id, String

#merchant_acceptor_idString

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

Returns:

  • (String)


452
# File 'lib/increase/models/card_payment.rb', line 452

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)


457
# File 'lib/increase/models/card_payment.rb', line 457

required :merchant_category_code, String

#merchant_cityString

The city the merchant resides in.

Returns:

  • (String)


462
# File 'lib/increase/models/card_payment.rb', line 462

required :merchant_city, String

#merchant_countryString

The country the merchant resides in.

Returns:

  • (String)


467
# File 'lib/increase/models/card_payment.rb', line 467

required :merchant_country, String

#merchant_descriptorString

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

Returns:

  • (String)


472
# File 'lib/increase/models/card_payment.rb', line 472

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)


477
# File 'lib/increase/models/card_payment.rb', line 477

required :merchant_postal_code, String

#merchant_stateString

The state the merchant resides in.

Returns:

  • (String)


482
# File 'lib/increase/models/card_payment.rb', line 482

required :merchant_state, String

#network_detailsIncrease::Models::CardPayment::Element::CardDecline::NetworkDetails

Fields specific to the network.



487
# File 'lib/increase/models/card_payment.rb', line 487

required :network_details, -> { Increase::Models::CardPayment::Element::CardDecline::NetworkDetails }

#network_identifiersIncrease::Models::CardPayment::Element::CardDecline::NetworkIdentifiers

Network-specific identifiers for a specific request or transaction.



492
493
# File 'lib/increase/models/card_payment.rb', line 492

required :network_identifiers,
-> { Increase::Models::CardPayment::Element::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)


498
# File 'lib/increase/models/card_payment.rb', line 498

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)


503
# File 'lib/increase/models/card_payment.rb', line 503

required :physical_card_id, String

#presentment_amountInteger

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

Returns:

  • (Integer)


508
# File 'lib/increase/models/card_payment.rb', line 508

required :presentment_amount, Integer

#presentment_currencyString

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

Returns:

  • (String)


513
# File 'lib/increase/models/card_payment.rb', line 513

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)


518
519
520
521
522
523
524
525
526
# File 'lib/increase/models/card_payment.rb', line 518

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)


531
# File 'lib/increase/models/card_payment.rb', line 531

required :real_time_decision_id, String

#reasonSymbol

Why the transaction was declined.

Returns:

  • (Symbol)


536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
# File 'lib/increase/models/card_payment.rb', line 536

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::CardPayment::Element::CardDecline::Verification

Fields related to verification of cardholder-provided values.



558
# File 'lib/increase/models/card_payment.rb', line 558

required :verification, -> { Increase::Models::CardPayment::Element::CardDecline::Verification }