Class: Increase::Models::PendingTransaction::Source::CardAuthorization

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


167
# File 'lib/increase/models/pending_transaction.rb', line 167

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

#amountInteger

The pending amount in the minor unit of the transaction's currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


172
# File 'lib/increase/models/pending_transaction.rb', line 172

required :amount, Integer

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


177
# File 'lib/increase/models/pending_transaction.rb', line 177

required :card_payment_id, String

#currencySymbol

The ISO 4217 code for the transaction's currency.

Returns:

  • (Symbol)


182
# File 'lib/increase/models/pending_transaction.rb', line 182

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)


187
# File 'lib/increase/models/pending_transaction.rb', line 187

required :digital_wallet_token_id, String

#directionSymbol

The direction descibes the direction the funds will move, either from the cardholder to the merchant or from the merchant to the cardholder.

Returns:

  • (Symbol)


192
# File 'lib/increase/models/pending_transaction.rb', line 192

required :direction, Increase::Enum.new(:settlement, :refund)

#expires_atString

The ISO 8601 when this authorization will expire and the pending transaction will be released.

Returns:

  • (String)


197
# File 'lib/increase/models/pending_transaction.rb', line 197

required :expires_at, String

#idString

The Card Authorization identifier.

Returns:

  • (String)


162
# File 'lib/increase/models/pending_transaction.rb', line 162

required :id, String

#merchant_acceptor_idString

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

Returns:

  • (String)


202
# File 'lib/increase/models/pending_transaction.rb', line 202

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)


207
# File 'lib/increase/models/pending_transaction.rb', line 207

required :merchant_category_code, String

#merchant_cityString

The city the merchant resides in.

Returns:

  • (String)


212
# File 'lib/increase/models/pending_transaction.rb', line 212

required :merchant_city, String

#merchant_countryString

The country the merchant resides in.

Returns:

  • (String)


217
# File 'lib/increase/models/pending_transaction.rb', line 217

required :merchant_country, String

#merchant_descriptorString

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

Returns:

  • (String)


222
# File 'lib/increase/models/pending_transaction.rb', line 222

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)


227
# File 'lib/increase/models/pending_transaction.rb', line 227

required :merchant_postal_code, String

#merchant_stateString

The state the merchant resides in.

Returns:

  • (String)


232
# File 'lib/increase/models/pending_transaction.rb', line 232

required :merchant_state, String

#network_detailsIncrease::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails

Fields specific to the network.



237
238
# File 'lib/increase/models/pending_transaction.rb', line 237

required :network_details,
-> { Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails }

#network_identifiersIncrease::Models::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers

Network-specific identifiers for a specific request or transaction.



243
244
# File 'lib/increase/models/pending_transaction.rb', line 243

required :network_identifiers,
-> { Increase::Models::PendingTransaction::Source::CardAuthorization::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)


249
# File 'lib/increase/models/pending_transaction.rb', line 249

required :network_risk_score, Integer

#pending_transaction_idString

The identifier of the Pending Transaction associated with this Transaction.

Returns:

  • (String)


254
# File 'lib/increase/models/pending_transaction.rb', line 254

required :pending_transaction_id, String

#physical_card_idString

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

Returns:

  • (String)


259
# File 'lib/increase/models/pending_transaction.rb', line 259

required :physical_card_id, String

#presentment_amountInteger

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

Returns:

  • (Integer)


264
# File 'lib/increase/models/pending_transaction.rb', line 264

required :presentment_amount, Integer

#presentment_currencyString

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

Returns:

  • (String)


269
# File 'lib/increase/models/pending_transaction.rb', line 269

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)


274
275
276
277
278
279
280
281
282
# File 'lib/increase/models/pending_transaction.rb', line 274

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)


287
# File 'lib/increase/models/pending_transaction.rb', line 287

required :real_time_decision_id, String

#typeSymbol

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

Returns:

  • (Symbol)


292
# File 'lib/increase/models/pending_transaction.rb', line 292

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

#verificationIncrease::Models::PendingTransaction::Source::CardAuthorization::Verification

Fields related to verification of cardholder-provided values.



297
298
# File 'lib/increase/models/pending_transaction.rb', line 297

required :verification,
-> { Increase::Models::PendingTransaction::Source::CardAuthorization::Verification }