Class: Increase::Models::CardPayment::Element::CardValidation

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)


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

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

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


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

required :card_payment_id, String

#currencySymbol

The ISO 4217 code for the transaction's currency.

Returns:

  • (Symbol)


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

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

#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)


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

required :digital_wallet_token_id, String

#idString

The Card Validation identifier.

Returns:

  • (String)


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

required :id, String

#merchant_acceptor_idString

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

Returns:

  • (String)


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

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)


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

required :merchant_category_code, String

#merchant_cityString

The city the merchant resides in.

Returns:

  • (String)


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

required :merchant_city, String

#merchant_countryString

The country the merchant resides in.

Returns:

  • (String)


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

required :merchant_country, String

#merchant_descriptorString

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

Returns:

  • (String)


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

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)


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

required :merchant_postal_code, String

#merchant_stateString

The state the merchant resides in.

Returns:

  • (String)


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

required :merchant_state, String

#network_detailsIncrease::Models::CardPayment::Element::CardValidation::NetworkDetails

Fields specific to the network.



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

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

#network_identifiersIncrease::Models::CardPayment::Element::CardValidation::NetworkIdentifiers

Network-specific identifiers for a specific request or transaction.



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

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


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

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)


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

required :physical_card_id, String

#real_time_decision_idString

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

Returns:

  • (String)


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

required :real_time_decision_id, String

#typeSymbol

A constant representing the object's type. For this resource it will always be card_validation.

Returns:

  • (Symbol)


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

required :type, Increase::Enum.new(:card_validation)

#verificationIncrease::Models::CardPayment::Element::CardValidation::Verification

Fields related to verification of cardholder-provided values.



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

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