Class: Increase::Models::CardPayment::Element::CardDecline
- Defined in:
- lib/increase/models/card_payment.rb
Defined Under Namespace
Classes: NetworkDetails, NetworkIdentifiers, Verification
Instance Attribute Summary collapse
-
#actioner ⇒ Symbol
Whether this authorization was approved by Increase, the card network through stand-in processing, or the user through a real-time decision.
-
#amount ⇒ Integer
The declined amount in the minor unit of the destination account currency.
-
#card_payment_id ⇒ String
The ID of the Card Payment this transaction belongs to.
-
#currency ⇒ Symbol
The ISO 4217 code for the destination account currency.
-
#declined_transaction_id ⇒ String
The identifier of the declined transaction created for this Card Decline.
-
#digital_wallet_token_id ⇒ String
If the authorization was made via a Digital Wallet Token (such as an Apple Pay purchase), the identifier of the token that was used.
-
#id ⇒ String
The Card Decline identifier.
-
#merchant_acceptor_id ⇒ String
The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
-
#merchant_category_code ⇒ String
The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
-
#merchant_city ⇒ String
The city the merchant resides in.
-
#merchant_country ⇒ String
The country the merchant resides in.
-
#merchant_descriptor ⇒ String
The merchant descriptor of the merchant the card is transacting with.
-
#merchant_postal_code ⇒ String
The merchant's postal code.
-
#merchant_state ⇒ String
The state the merchant resides in.
-
#network_details ⇒ Increase::Models::CardPayment::Element::CardDecline::NetworkDetails
Fields specific to the
network
. -
#network_identifiers ⇒ Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers
Network-specific identifiers for a specific request or transaction.
-
#network_risk_score ⇒ Integer
The risk score generated by the card network.
-
#physical_card_id ⇒ String
If the authorization was made in-person with a physical card, the Physical Card that was used.
-
#presentment_amount ⇒ Integer
The declined amount in the minor unit of the transaction's presentment currency.
-
#presentment_currency ⇒ String
The ISO 4217 code for the transaction's presentment currency.
-
#processing_category ⇒ Symbol
The processing category describes the intent behind the authorization, such as whether it was used for bill payments or an automatic fuel dispenser.
-
#real_time_decision_id ⇒ String
The identifier of the Real-Time Decision sent to approve or decline this transaction.
-
#reason ⇒ Symbol
Why the transaction was declined.
-
#verification ⇒ Increase::Models::CardPayment::Element::CardDecline::Verification
Fields related to verification of cardholder-provided values.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#actioner ⇒ Symbol
Whether this authorization was approved by Increase, the card network through stand-in processing, or the user through a real-time decision.
422 |
# File 'lib/increase/models/card_payment.rb', line 422 required :actioner, Increase::Enum.new(:user, :increase, :network) |
#amount ⇒ Integer
The declined amount in the minor unit of the destination account currency. For dollars, for example, this is cents.
427 |
# File 'lib/increase/models/card_payment.rb', line 427 required :amount, Integer |
#card_payment_id ⇒ String
The ID of the Card Payment this transaction belongs to.
432 |
# File 'lib/increase/models/card_payment.rb', line 432 required :card_payment_id, String |
#currency ⇒ Symbol
The ISO 4217 code for the destination account currency.
437 |
# File 'lib/increase/models/card_payment.rb', line 437 required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD) |
#declined_transaction_id ⇒ String
The identifier of the declined transaction created for this Card Decline.
442 |
# File 'lib/increase/models/card_payment.rb', line 442 required :declined_transaction_id, String |
#digital_wallet_token_id ⇒ String
If the authorization was made via a Digital Wallet Token (such as an Apple Pay purchase), the identifier of the token that was used.
447 |
# File 'lib/increase/models/card_payment.rb', line 447 required :digital_wallet_token_id, String |
#id ⇒ String
The Card Decline identifier.
417 |
# File 'lib/increase/models/card_payment.rb', line 417 required :id, String |
#merchant_acceptor_id ⇒ String
The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
452 |
# File 'lib/increase/models/card_payment.rb', line 452 required :merchant_acceptor_id, String |
#merchant_category_code ⇒ String
The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
457 |
# File 'lib/increase/models/card_payment.rb', line 457 required :merchant_category_code, String |
#merchant_city ⇒ String
The city the merchant resides in.
462 |
# File 'lib/increase/models/card_payment.rb', line 462 required :merchant_city, String |
#merchant_country ⇒ String
The country the merchant resides in.
467 |
# File 'lib/increase/models/card_payment.rb', line 467 required :merchant_country, String |
#merchant_descriptor ⇒ String
The merchant descriptor of the merchant the card is transacting with.
472 |
# File 'lib/increase/models/card_payment.rb', line 472 required :merchant_descriptor, String |
#merchant_postal_code ⇒ String
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.
477 |
# File 'lib/increase/models/card_payment.rb', line 477 required :merchant_postal_code, String |
#merchant_state ⇒ String
The state the merchant resides in.
482 |
# File 'lib/increase/models/card_payment.rb', line 482 required :merchant_state, String |
#network_details ⇒ Increase::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_identifiers ⇒ Increase::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_score ⇒ Integer
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.
498 |
# File 'lib/increase/models/card_payment.rb', line 498 required :network_risk_score, Integer |
#physical_card_id ⇒ String
If the authorization was made in-person with a physical card, the Physical Card that was used.
503 |
# File 'lib/increase/models/card_payment.rb', line 503 required :physical_card_id, String |
#presentment_amount ⇒ Integer
The declined amount in the minor unit of the transaction's presentment currency.
508 |
# File 'lib/increase/models/card_payment.rb', line 508 required :presentment_amount, Integer |
#presentment_currency ⇒ String
The ISO 4217 code for the transaction's presentment currency.
513 |
# File 'lib/increase/models/card_payment.rb', line 513 required :presentment_currency, String |
#processing_category ⇒ Symbol
The processing category describes the intent behind the authorization, such as whether it was used for bill payments or an automatic fuel dispenser.
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_id ⇒ String
The identifier of the Real-Time Decision sent to approve or decline this transaction.
531 |
# File 'lib/increase/models/card_payment.rb', line 531 required :real_time_decision_id, String |
#reason ⇒ Symbol
Why the transaction was declined.
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 ) |
#verification ⇒ Increase::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 } |