increase 1.117.0 → 1.119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121,6 +121,14 @@ module Increase
121
121
  # @return [Increase::Models::CardPayment::Element::CardDecline, nil]
122
122
  required :card_decline, -> { Increase::CardPayment::Element::CardDecline }, nil?: true
123
123
 
124
+ # @!attribute card_financial
125
+ # A Card Financial object. This field will be present in the JSON response if and
126
+ # only if `category` is equal to `card_financial`. Card Financials are temporary
127
+ # holds placed on a customers funds with the intent to later clear a transaction.
128
+ #
129
+ # @return [Increase::Models::CardPayment::Element::CardFinancial, nil]
130
+ required :card_financial, -> { Increase::CardPayment::Element::CardFinancial }, nil?: true
131
+
124
132
  # @!attribute card_fuel_confirmation
125
133
  # A Card Fuel Confirmation object. This field will be present in the JSON response
126
134
  # if and only if `category` is equal to `card_fuel_confirmation`. Card Fuel
@@ -200,7 +208,7 @@ module Increase
200
208
  # @return [Object, nil]
201
209
  required :other, Increase::Internal::Type::Unknown, nil?: true
202
210
 
203
- # @!method initialize(card_authentication:, card_authorization:, card_authorization_expiration:, card_decline:, card_fuel_confirmation:, card_increment:, card_refund:, card_reversal:, card_settlement:, card_validation:, category:, created_at:, other:)
211
+ # @!method initialize(card_authentication:, card_authorization:, card_authorization_expiration:, card_decline:, card_financial:, card_fuel_confirmation:, card_increment:, card_refund:, card_reversal:, card_settlement:, card_validation:, category:, created_at:, other:)
204
212
  # Some parameter documentations has been truncated, see
205
213
  # {Increase::Models::CardPayment::Element} for more details.
206
214
  #
@@ -212,6 +220,8 @@ module Increase
212
220
  #
213
221
  # @param card_decline [Increase::Models::CardPayment::Element::CardDecline, nil] A Card Decline object. This field will be present in the JSON response if and on
214
222
  #
223
+ # @param card_financial [Increase::Models::CardPayment::Element::CardFinancial, nil] A Card Financial object. This field will be present in the JSON response if and
224
+ #
215
225
  # @param card_fuel_confirmation [Increase::Models::CardPayment::Element::CardFuelConfirmation, nil] A Card Fuel Confirmation object. This field will be present in the JSON response
216
226
  #
217
227
  # @param card_increment [Increase::Models::CardPayment::Element::CardIncrement, nil] A Card Increment object. This field will be present in the JSON response if and
@@ -2091,9 +2101,1270 @@ module Increase
2091
2101
  # The processing category describes the intent behind the authorization, such as
2092
2102
  # whether it was used for bill payments or an automatic fuel dispenser.
2093
2103
  #
2094
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::ProcessingCategory]
2104
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::ProcessingCategory]
2105
+ required :processing_category,
2106
+ enum: -> { Increase::CardPayment::Element::CardDecline::ProcessingCategory }
2107
+
2108
+ # @!attribute real_time_decision_id
2109
+ # The identifier of the Real-Time Decision sent to approve or decline this
2110
+ # transaction.
2111
+ #
2112
+ # @return [String, nil]
2113
+ required :real_time_decision_id, String, nil?: true
2114
+
2115
+ # @!attribute real_time_decision_reason
2116
+ # This is present if a specific decline reason was given in the real-time
2117
+ # decision.
2118
+ #
2119
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil]
2120
+ required :real_time_decision_reason,
2121
+ enum: -> { Increase::CardPayment::Element::CardDecline::RealTimeDecisionReason },
2122
+ nil?: true
2123
+
2124
+ # @!attribute reason
2125
+ # Why the transaction was declined.
2126
+ #
2127
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason]
2128
+ required :reason, enum: -> { Increase::CardPayment::Element::CardDecline::Reason }
2129
+
2130
+ # @!attribute terminal_id
2131
+ # The terminal identifier (commonly abbreviated as TID) of the terminal the card
2132
+ # is transacting with.
2133
+ #
2134
+ # @return [String, nil]
2135
+ required :terminal_id, String, nil?: true
2136
+
2137
+ # @!attribute verification
2138
+ # Fields related to verification of cardholder-provided values.
2139
+ #
2140
+ # @return [Increase::Models::CardPayment::Element::CardDecline::Verification]
2141
+ required :verification, -> { Increase::CardPayment::Element::CardDecline::Verification }
2142
+
2143
+ # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, incremented_card_authorization_id:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:)
2144
+ # Some parameter documentations has been truncated, see
2145
+ # {Increase::Models::CardPayment::Element::CardDecline} for more details.
2146
+ #
2147
+ # A Card Decline object. This field will be present in the JSON response if and
2148
+ # only if `category` is equal to `card_decline`.
2149
+ #
2150
+ # @param id [String] The Card Decline identifier.
2151
+ #
2152
+ # @param actioner [Symbol, Increase::Models::CardPayment::Element::CardDecline::Actioner] Whether this authorization was approved by Increase, the card network through st
2153
+ #
2154
+ # @param additional_amounts [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts] Additional amounts associated with the card authorization, such as ATM surcharge
2155
+ #
2156
+ # @param amount [Integer] The declined amount in the minor unit of the destination account currency. For d
2157
+ #
2158
+ # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to.
2159
+ #
2160
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
2161
+ #
2162
+ # @param declined_transaction_id [String] The identifier of the declined transaction created for this Card Decline.
2163
+ #
2164
+ # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p
2165
+ #
2166
+ # @param direction [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh
2167
+ #
2168
+ # @param incremented_card_authorization_id [String, nil] The identifier of the card authorization this request attempted to incrementally
2169
+ #
2170
+ # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
2171
+ #
2172
+ # @param merchant_category_code [String] The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car
2173
+ #
2174
+ # @param merchant_city [String, nil] The city the merchant resides in.
2175
+ #
2176
+ # @param merchant_country [String] The country the merchant resides in.
2177
+ #
2178
+ # @param merchant_descriptor [String] The merchant descriptor of the merchant the card is transacting with.
2179
+ #
2180
+ # @param merchant_postal_code [String, nil] The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
2181
+ #
2182
+ # @param merchant_state [String, nil] The state the merchant resides in.
2183
+ #
2184
+ # @param network_details [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails] Fields specific to the `network`.
2185
+ #
2186
+ # @param network_identifiers [Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction.
2187
+ #
2188
+ # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced
2189
+ #
2190
+ # @param physical_card_id [String, nil] If the authorization was made in-person with a physical card, the Physical Card
2191
+ #
2192
+ # @param presentment_amount [Integer] The declined amount in the minor unit of the transaction's presentment currency.
2193
+ #
2194
+ # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
2195
+ #
2196
+ # @param processing_category [Symbol, Increase::Models::CardPayment::Element::CardDecline::ProcessingCategory] The processing category describes the intent behind the authorization, such as w
2197
+ #
2198
+ # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
2199
+ #
2200
+ # @param real_time_decision_reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil] This is present if a specific decline reason was given in the real-time decision
2201
+ #
2202
+ # @param reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason] Why the transaction was declined.
2203
+ #
2204
+ # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
2205
+ #
2206
+ # @param verification [Increase::Models::CardPayment::Element::CardDecline::Verification] Fields related to verification of cardholder-provided values.
2207
+
2208
+ # Whether this authorization was approved by Increase, the card network through
2209
+ # stand-in processing, or the user through a real-time decision.
2210
+ #
2211
+ # @see Increase::Models::CardPayment::Element::CardDecline#actioner
2212
+ module Actioner
2213
+ extend Increase::Internal::Type::Enum
2214
+
2215
+ # This object was actioned by the user through a real-time decision.
2216
+ USER = :user
2217
+
2218
+ # This object was actioned by Increase without user intervention.
2219
+ INCREASE = :increase
2220
+
2221
+ # This object was actioned by the network, through stand-in processing.
2222
+ NETWORK = :network
2223
+
2224
+ # @!method self.values
2225
+ # @return [Array<Symbol>]
2226
+ end
2227
+
2228
+ # @see Increase::Models::CardPayment::Element::CardDecline#additional_amounts
2229
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
2230
+ # @!attribute clinic
2231
+ # The part of this transaction amount that was for clinic-related services.
2232
+ #
2233
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic, nil]
2234
+ required :clinic,
2235
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic },
2236
+ nil?: true
2237
+
2238
+ # @!attribute dental
2239
+ # The part of this transaction amount that was for dental-related services.
2240
+ #
2241
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Dental, nil]
2242
+ required :dental,
2243
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental },
2244
+ nil?: true
2245
+
2246
+ # @!attribute original
2247
+ # The original pre-authorized amount.
2248
+ #
2249
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original, nil]
2250
+ required :original,
2251
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original },
2252
+ nil?: true
2253
+
2254
+ # @!attribute prescription
2255
+ # The part of this transaction amount that was for healthcare prescriptions.
2256
+ #
2257
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription, nil]
2258
+ required :prescription,
2259
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription },
2260
+ nil?: true
2261
+
2262
+ # @!attribute surcharge
2263
+ # The surcharge amount charged for this transaction by the merchant.
2264
+ #
2265
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge, nil]
2266
+ required :surcharge,
2267
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge },
2268
+ nil?: true
2269
+
2270
+ # @!attribute total_cumulative
2271
+ # The total amount of a series of incremental authorizations, optionally provided.
2272
+ #
2273
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative, nil]
2274
+ required :total_cumulative,
2275
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative },
2276
+ nil?: true
2277
+
2278
+ # @!attribute total_healthcare
2279
+ # The total amount of healthcare-related additional amounts.
2280
+ #
2281
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare, nil]
2282
+ required :total_healthcare,
2283
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare },
2284
+ nil?: true
2285
+
2286
+ # @!attribute transit
2287
+ # The part of this transaction amount that was for transit-related services.
2288
+ #
2289
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit, nil]
2290
+ required :transit,
2291
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit },
2292
+ nil?: true
2293
+
2294
+ # @!attribute unknown
2295
+ # An unknown additional amount.
2296
+ #
2297
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown, nil]
2298
+ required :unknown,
2299
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown },
2300
+ nil?: true
2301
+
2302
+ # @!attribute vision
2303
+ # The part of this transaction amount that was for vision-related services.
2304
+ #
2305
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Vision, nil]
2306
+ required :vision,
2307
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision },
2308
+ nil?: true
2309
+
2310
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
2311
+ # Some parameter documentations has been truncated, see
2312
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts} for
2313
+ # more details.
2314
+ #
2315
+ # Additional amounts associated with the card authorization, such as ATM
2316
+ # surcharges fees. These are usually a subset of the `amount` field and are used
2317
+ # to provide more detailed information about the transaction.
2318
+ #
2319
+ # @param clinic [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic, nil] The part of this transaction amount that was for clinic-related services.
2320
+ #
2321
+ # @param dental [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
2322
+ #
2323
+ # @param original [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original, nil] The original pre-authorized amount.
2324
+ #
2325
+ # @param prescription [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
2326
+ #
2327
+ # @param surcharge [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
2328
+ #
2329
+ # @param total_cumulative [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative, nil] The total amount of a series of incremental authorizations, optionally provided.
2330
+ #
2331
+ # @param total_healthcare [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare, nil] The total amount of healthcare-related additional amounts.
2332
+ #
2333
+ # @param transit [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit, nil] The part of this transaction amount that was for transit-related services.
2334
+ #
2335
+ # @param unknown [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown, nil] An unknown additional amount.
2336
+ #
2337
+ # @param vision [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Vision, nil] The part of this transaction amount that was for vision-related services.
2338
+
2339
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#clinic
2340
+ class Clinic < Increase::Internal::Type::BaseModel
2341
+ # @!attribute amount
2342
+ # The amount in minor units of the `currency` field. The amount is positive if it
2343
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2344
+ # subtracted from the amount (such as a discount).
2345
+ #
2346
+ # @return [Integer]
2347
+ required :amount, Integer
2348
+
2349
+ # @!attribute currency
2350
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2351
+ # amount's currency.
2352
+ #
2353
+ # @return [String]
2354
+ required :currency, String
2355
+
2356
+ # @!method initialize(amount:, currency:)
2357
+ # Some parameter documentations has been truncated, see
2358
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic}
2359
+ # for more details.
2360
+ #
2361
+ # The part of this transaction amount that was for clinic-related services.
2362
+ #
2363
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2364
+ #
2365
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2366
+ end
2367
+
2368
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#dental
2369
+ class Dental < Increase::Internal::Type::BaseModel
2370
+ # @!attribute amount
2371
+ # The amount in minor units of the `currency` field. The amount is positive if it
2372
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2373
+ # subtracted from the amount (such as a discount).
2374
+ #
2375
+ # @return [Integer]
2376
+ required :amount, Integer
2377
+
2378
+ # @!attribute currency
2379
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2380
+ # amount's currency.
2381
+ #
2382
+ # @return [String]
2383
+ required :currency, String
2384
+
2385
+ # @!method initialize(amount:, currency:)
2386
+ # Some parameter documentations has been truncated, see
2387
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Dental}
2388
+ # for more details.
2389
+ #
2390
+ # The part of this transaction amount that was for dental-related services.
2391
+ #
2392
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2393
+ #
2394
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2395
+ end
2396
+
2397
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#original
2398
+ class Original < Increase::Internal::Type::BaseModel
2399
+ # @!attribute amount
2400
+ # The amount in minor units of the `currency` field. The amount is positive if it
2401
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2402
+ # subtracted from the amount (such as a discount).
2403
+ #
2404
+ # @return [Integer]
2405
+ required :amount, Integer
2406
+
2407
+ # @!attribute currency
2408
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2409
+ # amount's currency.
2410
+ #
2411
+ # @return [String]
2412
+ required :currency, String
2413
+
2414
+ # @!method initialize(amount:, currency:)
2415
+ # Some parameter documentations has been truncated, see
2416
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original}
2417
+ # for more details.
2418
+ #
2419
+ # The original pre-authorized amount.
2420
+ #
2421
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2422
+ #
2423
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2424
+ end
2425
+
2426
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#prescription
2427
+ class Prescription < Increase::Internal::Type::BaseModel
2428
+ # @!attribute amount
2429
+ # The amount in minor units of the `currency` field. The amount is positive if it
2430
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2431
+ # subtracted from the amount (such as a discount).
2432
+ #
2433
+ # @return [Integer]
2434
+ required :amount, Integer
2435
+
2436
+ # @!attribute currency
2437
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2438
+ # amount's currency.
2439
+ #
2440
+ # @return [String]
2441
+ required :currency, String
2442
+
2443
+ # @!method initialize(amount:, currency:)
2444
+ # Some parameter documentations has been truncated, see
2445
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription}
2446
+ # for more details.
2447
+ #
2448
+ # The part of this transaction amount that was for healthcare prescriptions.
2449
+ #
2450
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2451
+ #
2452
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2453
+ end
2454
+
2455
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#surcharge
2456
+ class Surcharge < Increase::Internal::Type::BaseModel
2457
+ # @!attribute amount
2458
+ # The amount in minor units of the `currency` field. The amount is positive if it
2459
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2460
+ # subtracted from the amount (such as a discount).
2461
+ #
2462
+ # @return [Integer]
2463
+ required :amount, Integer
2464
+
2465
+ # @!attribute currency
2466
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2467
+ # amount's currency.
2468
+ #
2469
+ # @return [String]
2470
+ required :currency, String
2471
+
2472
+ # @!method initialize(amount:, currency:)
2473
+ # Some parameter documentations has been truncated, see
2474
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge}
2475
+ # for more details.
2476
+ #
2477
+ # The surcharge amount charged for this transaction by the merchant.
2478
+ #
2479
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2480
+ #
2481
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2482
+ end
2483
+
2484
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_cumulative
2485
+ class TotalCumulative < Increase::Internal::Type::BaseModel
2486
+ # @!attribute amount
2487
+ # The amount in minor units of the `currency` field. The amount is positive if it
2488
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2489
+ # subtracted from the amount (such as a discount).
2490
+ #
2491
+ # @return [Integer]
2492
+ required :amount, Integer
2493
+
2494
+ # @!attribute currency
2495
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2496
+ # amount's currency.
2497
+ #
2498
+ # @return [String]
2499
+ required :currency, String
2500
+
2501
+ # @!method initialize(amount:, currency:)
2502
+ # Some parameter documentations has been truncated, see
2503
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative}
2504
+ # for more details.
2505
+ #
2506
+ # The total amount of a series of incremental authorizations, optionally provided.
2507
+ #
2508
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2509
+ #
2510
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2511
+ end
2512
+
2513
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_healthcare
2514
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
2515
+ # @!attribute amount
2516
+ # The amount in minor units of the `currency` field. The amount is positive if it
2517
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2518
+ # subtracted from the amount (such as a discount).
2519
+ #
2520
+ # @return [Integer]
2521
+ required :amount, Integer
2522
+
2523
+ # @!attribute currency
2524
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2525
+ # amount's currency.
2526
+ #
2527
+ # @return [String]
2528
+ required :currency, String
2529
+
2530
+ # @!method initialize(amount:, currency:)
2531
+ # Some parameter documentations has been truncated, see
2532
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare}
2533
+ # for more details.
2534
+ #
2535
+ # The total amount of healthcare-related additional amounts.
2536
+ #
2537
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2538
+ #
2539
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2540
+ end
2541
+
2542
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#transit
2543
+ class Transit < Increase::Internal::Type::BaseModel
2544
+ # @!attribute amount
2545
+ # The amount in minor units of the `currency` field. The amount is positive if it
2546
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2547
+ # subtracted from the amount (such as a discount).
2548
+ #
2549
+ # @return [Integer]
2550
+ required :amount, Integer
2551
+
2552
+ # @!attribute currency
2553
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2554
+ # amount's currency.
2555
+ #
2556
+ # @return [String]
2557
+ required :currency, String
2558
+
2559
+ # @!method initialize(amount:, currency:)
2560
+ # Some parameter documentations has been truncated, see
2561
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit}
2562
+ # for more details.
2563
+ #
2564
+ # The part of this transaction amount that was for transit-related services.
2565
+ #
2566
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2567
+ #
2568
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2569
+ end
2570
+
2571
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#unknown
2572
+ class Unknown < Increase::Internal::Type::BaseModel
2573
+ # @!attribute amount
2574
+ # The amount in minor units of the `currency` field. The amount is positive if it
2575
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2576
+ # subtracted from the amount (such as a discount).
2577
+ #
2578
+ # @return [Integer]
2579
+ required :amount, Integer
2580
+
2581
+ # @!attribute currency
2582
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2583
+ # amount's currency.
2584
+ #
2585
+ # @return [String]
2586
+ required :currency, String
2587
+
2588
+ # @!method initialize(amount:, currency:)
2589
+ # Some parameter documentations has been truncated, see
2590
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown}
2591
+ # for more details.
2592
+ #
2593
+ # An unknown additional amount.
2594
+ #
2595
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2596
+ #
2597
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2598
+ end
2599
+
2600
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#vision
2601
+ class Vision < Increase::Internal::Type::BaseModel
2602
+ # @!attribute amount
2603
+ # The amount in minor units of the `currency` field. The amount is positive if it
2604
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2605
+ # subtracted from the amount (such as a discount).
2606
+ #
2607
+ # @return [Integer]
2608
+ required :amount, Integer
2609
+
2610
+ # @!attribute currency
2611
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2612
+ # amount's currency.
2613
+ #
2614
+ # @return [String]
2615
+ required :currency, String
2616
+
2617
+ # @!method initialize(amount:, currency:)
2618
+ # Some parameter documentations has been truncated, see
2619
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Vision}
2620
+ # for more details.
2621
+ #
2622
+ # The part of this transaction amount that was for vision-related services.
2623
+ #
2624
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2625
+ #
2626
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2627
+ end
2628
+ end
2629
+
2630
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
2631
+ # account currency.
2632
+ #
2633
+ # @see Increase::Models::CardPayment::Element::CardDecline#currency
2634
+ module Currency
2635
+ extend Increase::Internal::Type::Enum
2636
+
2637
+ # Canadian Dollar (CAD)
2638
+ CAD = :CAD
2639
+
2640
+ # Swiss Franc (CHF)
2641
+ CHF = :CHF
2642
+
2643
+ # Euro (EUR)
2644
+ EUR = :EUR
2645
+
2646
+ # British Pound (GBP)
2647
+ GBP = :GBP
2648
+
2649
+ # Japanese Yen (JPY)
2650
+ JPY = :JPY
2651
+
2652
+ # US Dollar (USD)
2653
+ USD = :USD
2654
+
2655
+ # @!method self.values
2656
+ # @return [Array<Symbol>]
2657
+ end
2658
+
2659
+ # The direction describes the direction the funds will move, either from the
2660
+ # cardholder to the merchant or from the merchant to the cardholder.
2661
+ #
2662
+ # @see Increase::Models::CardPayment::Element::CardDecline#direction
2663
+ module Direction
2664
+ extend Increase::Internal::Type::Enum
2665
+
2666
+ # A regular card authorization where funds are debited from the cardholder.
2667
+ SETTLEMENT = :settlement
2668
+
2669
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
2670
+ REFUND = :refund
2671
+
2672
+ # @!method self.values
2673
+ # @return [Array<Symbol>]
2674
+ end
2675
+
2676
+ # @see Increase::Models::CardPayment::Element::CardDecline#network_details
2677
+ class NetworkDetails < Increase::Internal::Type::BaseModel
2678
+ # @!attribute category
2679
+ # The payment network used to process this card authorization.
2680
+ #
2681
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category]
2682
+ required :category, enum: -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Category }
2683
+
2684
+ # @!attribute pulse
2685
+ # Fields specific to the `pulse` network.
2686
+ #
2687
+ # @return [Object, nil]
2688
+ required :pulse, Increase::Internal::Type::Unknown, nil?: true
2689
+
2690
+ # @!attribute visa
2691
+ # Fields specific to the `visa` network.
2692
+ #
2693
+ # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil]
2694
+ required :visa,
2695
+ -> {
2696
+ Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa
2697
+ },
2698
+ nil?: true
2699
+
2700
+ # @!method initialize(category:, pulse:, visa:)
2701
+ # Fields specific to the `network`.
2702
+ #
2703
+ # @param category [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
2704
+ #
2705
+ # @param pulse [Object, nil] Fields specific to the `pulse` network.
2706
+ #
2707
+ # @param visa [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
2708
+
2709
+ # The payment network used to process this card authorization.
2710
+ #
2711
+ # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#category
2712
+ module Category
2713
+ extend Increase::Internal::Type::Enum
2714
+
2715
+ # Visa
2716
+ VISA = :visa
2717
+
2718
+ # Pulse
2719
+ PULSE = :pulse
2720
+
2721
+ # @!method self.values
2722
+ # @return [Array<Symbol>]
2723
+ end
2724
+
2725
+ # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#visa
2726
+ class Visa < Increase::Internal::Type::BaseModel
2727
+ # @!attribute electronic_commerce_indicator
2728
+ # For electronic commerce transactions, this identifies the level of security used
2729
+ # in obtaining the customer's payment credential. For mail or telephone order
2730
+ # transactions, identifies the type of mail or telephone order.
2731
+ #
2732
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil]
2733
+ required :electronic_commerce_indicator,
2734
+ enum: -> {
2735
+ Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator
2736
+ },
2737
+ nil?: true
2738
+
2739
+ # @!attribute point_of_service_entry_mode
2740
+ # The method used to enter the cardholder's primary account number and card
2741
+ # expiration date.
2742
+ #
2743
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil]
2744
+ required :point_of_service_entry_mode,
2745
+ enum: -> {
2746
+ Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode
2747
+ },
2748
+ nil?: true
2749
+
2750
+ # @!attribute stand_in_processing_reason
2751
+ # Only present when `actioner: network`. Describes why a card authorization was
2752
+ # approved or declined by Visa through stand-in processing.
2753
+ #
2754
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil]
2755
+ required :stand_in_processing_reason,
2756
+ enum: -> {
2757
+ Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason
2758
+ },
2759
+ nil?: true
2760
+
2761
+ # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:)
2762
+ # Some parameter documentations has been truncated, see
2763
+ # {Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa} for
2764
+ # more details.
2765
+ #
2766
+ # Fields specific to the `visa` network.
2767
+ #
2768
+ # @param electronic_commerce_indicator [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used
2769
+ #
2770
+ # @param point_of_service_entry_mode [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira
2771
+ #
2772
+ # @param stand_in_processing_reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap
2773
+
2774
+ # For electronic commerce transactions, this identifies the level of security used
2775
+ # in obtaining the customer's payment credential. For mail or telephone order
2776
+ # transactions, identifies the type of mail or telephone order.
2777
+ #
2778
+ # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#electronic_commerce_indicator
2779
+ module ElectronicCommerceIndicator
2780
+ extend Increase::Internal::Type::Enum
2781
+
2782
+ # Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
2783
+ MAIL_PHONE_ORDER = :mail_phone_order
2784
+
2785
+ # Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
2786
+ RECURRING = :recurring
2787
+
2788
+ # Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
2789
+ INSTALLMENT = :installment
2790
+
2791
+ # Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
2792
+ UNKNOWN_MAIL_PHONE_ORDER = :unknown_mail_phone_order
2793
+
2794
+ # Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
2795
+ SECURE_ELECTRONIC_COMMERCE = :secure_electronic_commerce
2796
+
2797
+ # Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
2798
+ NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT =
2799
+ :non_authenticated_security_transaction_at_3ds_capable_merchant
2800
+
2801
+ # Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however, cardholder authentication is not performed using 3-D Secure.
2802
+ NON_AUTHENTICATED_SECURITY_TRANSACTION = :non_authenticated_security_transaction
2803
+
2804
+ # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
2805
+ NON_SECURE_TRANSACTION = :non_secure_transaction
2806
+
2807
+ # @!method self.values
2808
+ # @return [Array<Symbol>]
2809
+ end
2810
+
2811
+ # The method used to enter the cardholder's primary account number and card
2812
+ # expiration date.
2813
+ #
2814
+ # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#point_of_service_entry_mode
2815
+ module PointOfServiceEntryMode
2816
+ extend Increase::Internal::Type::Enum
2817
+
2818
+ # Unknown
2819
+ UNKNOWN = :unknown
2820
+
2821
+ # Manual key entry
2822
+ MANUAL = :manual
2823
+
2824
+ # Magnetic stripe read, without card verification value
2825
+ MAGNETIC_STRIPE_NO_CVV = :magnetic_stripe_no_cvv
2826
+
2827
+ # Optical code
2828
+ OPTICAL_CODE = :optical_code
2829
+
2830
+ # Contact chip card
2831
+ INTEGRATED_CIRCUIT_CARD = :integrated_circuit_card
2832
+
2833
+ # Contactless read of chip card
2834
+ CONTACTLESS = :contactless
2835
+
2836
+ # Transaction initiated using a credential that has previously been stored on file
2837
+ CREDENTIAL_ON_FILE = :credential_on_file
2838
+
2839
+ # Magnetic stripe read
2840
+ MAGNETIC_STRIPE = :magnetic_stripe
2841
+
2842
+ # Contactless read of magnetic stripe data
2843
+ CONTACTLESS_MAGNETIC_STRIPE = :contactless_magnetic_stripe
2844
+
2845
+ # Contact chip card, without card verification value
2846
+ INTEGRATED_CIRCUIT_CARD_NO_CVV = :integrated_circuit_card_no_cvv
2847
+
2848
+ # @!method self.values
2849
+ # @return [Array<Symbol>]
2850
+ end
2851
+
2852
+ # Only present when `actioner: network`. Describes why a card authorization was
2853
+ # approved or declined by Visa through stand-in processing.
2854
+ #
2855
+ # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#stand_in_processing_reason
2856
+ module StandInProcessingReason
2857
+ extend Increase::Internal::Type::Enum
2858
+
2859
+ # Increase failed to process the authorization in a timely manner.
2860
+ ISSUER_ERROR = :issuer_error
2861
+
2862
+ # The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
2863
+ INVALID_PHYSICAL_CARD = :invalid_physical_card
2864
+
2865
+ # The 3DS cardholder authentication verification value was invalid.
2866
+ INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE =
2867
+ :invalid_cardholder_authentication_verification_value
2868
+
2869
+ # An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
2870
+ INTERNAL_VISA_ERROR = :internal_visa_error
2871
+
2872
+ # The merchant has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier.
2873
+ MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED =
2874
+ :merchant_transaction_advisory_service_authentication_required
2875
+
2876
+ # The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
2877
+ PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK = :payment_fraud_disruption_acquirer_block
2878
+
2879
+ # An unspecific reason for stand-in processing.
2880
+ OTHER = :other
2881
+
2882
+ # @!method self.values
2883
+ # @return [Array<Symbol>]
2884
+ end
2885
+ end
2886
+ end
2887
+
2888
+ # @see Increase::Models::CardPayment::Element::CardDecline#network_identifiers
2889
+ class NetworkIdentifiers < Increase::Internal::Type::BaseModel
2890
+ # @!attribute authorization_identification_response
2891
+ # The randomly generated 6-character Authorization Identification Response code
2892
+ # sent back to the acquirer in an approved response.
2893
+ #
2894
+ # @return [String, nil]
2895
+ required :authorization_identification_response, String, nil?: true
2896
+
2897
+ # @!attribute retrieval_reference_number
2898
+ # A life-cycle identifier used across e.g., an authorization and a reversal.
2899
+ # Expected to be unique per acquirer within a window of time. For some card
2900
+ # networks the retrieval reference number includes the trace counter.
2901
+ #
2902
+ # @return [String, nil]
2903
+ required :retrieval_reference_number, String, nil?: true
2904
+
2905
+ # @!attribute trace_number
2906
+ # A counter used to verify an individual authorization. Expected to be unique per
2907
+ # acquirer within a window of time.
2908
+ #
2909
+ # @return [String, nil]
2910
+ required :trace_number, String, nil?: true
2911
+
2912
+ # @!attribute transaction_id
2913
+ # A globally unique transaction identifier provided by the card network, used
2914
+ # across multiple life-cycle requests.
2915
+ #
2916
+ # @return [String, nil]
2917
+ required :transaction_id, String, nil?: true
2918
+
2919
+ # @!method initialize(authorization_identification_response:, retrieval_reference_number:, trace_number:, transaction_id:)
2920
+ # Some parameter documentations has been truncated, see
2921
+ # {Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers} for
2922
+ # more details.
2923
+ #
2924
+ # Network-specific identifiers for a specific request or transaction.
2925
+ #
2926
+ # @param authorization_identification_response [String, nil] The randomly generated 6-character Authorization Identification Response code se
2927
+ #
2928
+ # @param retrieval_reference_number [String, nil] A life-cycle identifier used across e.g., an authorization and a reversal. Expec
2929
+ #
2930
+ # @param trace_number [String, nil] A counter used to verify an individual authorization. Expected to be unique per
2931
+ #
2932
+ # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
2933
+ end
2934
+
2935
+ # The processing category describes the intent behind the authorization, such as
2936
+ # whether it was used for bill payments or an automatic fuel dispenser.
2937
+ #
2938
+ # @see Increase::Models::CardPayment::Element::CardDecline#processing_category
2939
+ module ProcessingCategory
2940
+ extend Increase::Internal::Type::Enum
2941
+
2942
+ # Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
2943
+ ACCOUNT_FUNDING = :account_funding
2944
+
2945
+ # Automatic fuel dispenser authorizations occur when a card is used at a gas pump, prior to the actual transaction amount being known. They are followed by an advice message that updates the amount of the pending transaction.
2946
+ AUTOMATIC_FUEL_DISPENSER = :automatic_fuel_dispenser
2947
+
2948
+ # A transaction used to pay a bill.
2949
+ BILL_PAYMENT = :bill_payment
2950
+
2951
+ # Original credit transactions are used to send money to a cardholder.
2952
+ ORIGINAL_CREDIT = :original_credit
2953
+
2954
+ # A regular purchase.
2955
+ PURCHASE = :purchase
2956
+
2957
+ # Quasi-cash transactions represent purchases of items which may be convertible to cash.
2958
+ QUASI_CASH = :quasi_cash
2959
+
2960
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
2961
+ REFUND = :refund
2962
+
2963
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
2964
+ CASH_DISBURSEMENT = :cash_disbursement
2965
+
2966
+ # The processing category is unknown.
2967
+ UNKNOWN = :unknown
2968
+
2969
+ # @!method self.values
2970
+ # @return [Array<Symbol>]
2971
+ end
2972
+
2973
+ # This is present if a specific decline reason was given in the real-time
2974
+ # decision.
2975
+ #
2976
+ # @see Increase::Models::CardPayment::Element::CardDecline#real_time_decision_reason
2977
+ module RealTimeDecisionReason
2978
+ extend Increase::Internal::Type::Enum
2979
+
2980
+ # The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
2981
+ INSUFFICIENT_FUNDS = :insufficient_funds
2982
+
2983
+ # This type of transaction is not allowed for this card. This transaction should not be retried.
2984
+ TRANSACTION_NEVER_ALLOWED = :transaction_never_allowed
2985
+
2986
+ # The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
2987
+ EXCEEDS_APPROVAL_LIMIT = :exceeds_approval_limit
2988
+
2989
+ # The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
2990
+ CARD_TEMPORARILY_DISABLED = :card_temporarily_disabled
2991
+
2992
+ # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
2993
+ SUSPECTED_FRAUD = :suspected_fraud
2994
+
2995
+ # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
2996
+ OTHER = :other
2997
+
2998
+ # @!method self.values
2999
+ # @return [Array<Symbol>]
3000
+ end
3001
+
3002
+ # Why the transaction was declined.
3003
+ #
3004
+ # @see Increase::Models::CardPayment::Element::CardDecline#reason
3005
+ module Reason
3006
+ extend Increase::Internal::Type::Enum
3007
+
3008
+ # The account has been closed.
3009
+ ACCOUNT_CLOSED = :account_closed
3010
+
3011
+ # The Card was not active.
3012
+ CARD_NOT_ACTIVE = :card_not_active
3013
+
3014
+ # The Card has been canceled.
3015
+ CARD_CANCELED = :card_canceled
3016
+
3017
+ # The Physical Card was not active.
3018
+ PHYSICAL_CARD_NOT_ACTIVE = :physical_card_not_active
3019
+
3020
+ # The account's entity was not active.
3021
+ ENTITY_NOT_ACTIVE = :entity_not_active
3022
+
3023
+ # The account was inactive.
3024
+ GROUP_LOCKED = :group_locked
3025
+
3026
+ # The Card's Account did not have a sufficient available balance.
3027
+ INSUFFICIENT_FUNDS = :insufficient_funds
3028
+
3029
+ # The given CVV2 did not match the card's value.
3030
+ CVV2_MISMATCH = :cvv2_mismatch
3031
+
3032
+ # The given PIN did not match the card's value.
3033
+ PIN_MISMATCH = :pin_mismatch
3034
+
3035
+ # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
3036
+ CARD_EXPIRATION_MISMATCH = :card_expiration_mismatch
3037
+
3038
+ # The attempted card transaction is not allowed per Increase's terms.
3039
+ TRANSACTION_NOT_ALLOWED = :transaction_not_allowed
3040
+
3041
+ # The transaction was blocked by a Limit.
3042
+ BREACHES_LIMIT = :breaches_limit
3043
+
3044
+ # Your application declined the transaction via webhook.
3045
+ WEBHOOK_DECLINED = :webhook_declined
3046
+
3047
+ # Your application webhook did not respond without the required timeout.
3048
+ WEBHOOK_TIMED_OUT = :webhook_timed_out
3049
+
3050
+ # Declined by stand-in processing.
3051
+ DECLINED_BY_STAND_IN_PROCESSING = :declined_by_stand_in_processing
3052
+
3053
+ # The card read had an invalid CVV, dCVV, or authorization request cryptogram.
3054
+ INVALID_PHYSICAL_CARD = :invalid_physical_card
3055
+
3056
+ # The original card authorization for this incremental authorization does not exist.
3057
+ MISSING_ORIGINAL_AUTHORIZATION = :missing_original_authorization
3058
+
3059
+ # The transaction was declined because the 3DS authentication failed.
3060
+ FAILED_3DS_AUTHENTICATION = :failed_3ds_authentication
3061
+
3062
+ # The transaction was suspected to be used by a card tester to test for valid card numbers.
3063
+ SUSPECTED_CARD_TESTING = :suspected_card_testing
3064
+
3065
+ # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
3066
+ SUSPECTED_FRAUD = :suspected_fraud
3067
+
3068
+ # @!method self.values
3069
+ # @return [Array<Symbol>]
3070
+ end
3071
+
3072
+ # @see Increase::Models::CardPayment::Element::CardDecline#verification
3073
+ class Verification < Increase::Internal::Type::BaseModel
3074
+ # @!attribute card_verification_code
3075
+ # Fields related to verification of the Card Verification Code, a 3-digit code on
3076
+ # the back of the card.
3077
+ #
3078
+ # @return [Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode]
3079
+ required :card_verification_code,
3080
+ -> { Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode }
3081
+
3082
+ # @!attribute cardholder_address
3083
+ # Cardholder address provided in the authorization request and the address on file
3084
+ # we verified it against.
3085
+ #
3086
+ # @return [Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress]
3087
+ required :cardholder_address,
3088
+ -> { Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress }
3089
+
3090
+ # @!method initialize(card_verification_code:, cardholder_address:)
3091
+ # Some parameter documentations has been truncated, see
3092
+ # {Increase::Models::CardPayment::Element::CardDecline::Verification} for more
3093
+ # details.
3094
+ #
3095
+ # Fields related to verification of cardholder-provided values.
3096
+ #
3097
+ # @param card_verification_code [Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on
3098
+ #
3099
+ # @param cardholder_address [Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file
3100
+
3101
+ # @see Increase::Models::CardPayment::Element::CardDecline::Verification#card_verification_code
3102
+ class CardVerificationCode < Increase::Internal::Type::BaseModel
3103
+ # @!attribute result
3104
+ # The result of verifying the Card Verification Code.
3105
+ #
3106
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result]
3107
+ required :result,
3108
+ enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result }
3109
+
3110
+ # @!method initialize(result:)
3111
+ # Fields related to verification of the Card Verification Code, a 3-digit code on
3112
+ # the back of the card.
3113
+ #
3114
+ # @param result [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code.
3115
+
3116
+ # The result of verifying the Card Verification Code.
3117
+ #
3118
+ # @see Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode#result
3119
+ module Result
3120
+ extend Increase::Internal::Type::Enum
3121
+
3122
+ # No card verification code was provided in the authorization request.
3123
+ NOT_CHECKED = :not_checked
3124
+
3125
+ # The card verification code matched the one on file.
3126
+ MATCH = :match
3127
+
3128
+ # The card verification code did not match the one on file.
3129
+ NO_MATCH = :no_match
3130
+
3131
+ # @!method self.values
3132
+ # @return [Array<Symbol>]
3133
+ end
3134
+ end
3135
+
3136
+ # @see Increase::Models::CardPayment::Element::CardDecline::Verification#cardholder_address
3137
+ class CardholderAddress < Increase::Internal::Type::BaseModel
3138
+ # @!attribute actual_line1
3139
+ # Line 1 of the address on file for the cardholder.
3140
+ #
3141
+ # @return [String, nil]
3142
+ required :actual_line1, String, nil?: true
3143
+
3144
+ # @!attribute actual_postal_code
3145
+ # The postal code of the address on file for the cardholder.
3146
+ #
3147
+ # @return [String, nil]
3148
+ required :actual_postal_code, String, nil?: true
3149
+
3150
+ # @!attribute provided_line1
3151
+ # The cardholder address line 1 provided for verification in the authorization
3152
+ # request.
3153
+ #
3154
+ # @return [String, nil]
3155
+ required :provided_line1, String, nil?: true
3156
+
3157
+ # @!attribute provided_postal_code
3158
+ # The postal code provided for verification in the authorization request.
3159
+ #
3160
+ # @return [String, nil]
3161
+ required :provided_postal_code, String, nil?: true
3162
+
3163
+ # @!attribute result
3164
+ # The address verification result returned to the card network.
3165
+ #
3166
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result]
3167
+ required :result,
3168
+ enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result }
3169
+
3170
+ # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
3171
+ # Some parameter documentations has been truncated, see
3172
+ # {Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress}
3173
+ # for more details.
3174
+ #
3175
+ # Cardholder address provided in the authorization request and the address on file
3176
+ # we verified it against.
3177
+ #
3178
+ # @param actual_line1 [String, nil] Line 1 of the address on file for the cardholder.
3179
+ #
3180
+ # @param actual_postal_code [String, nil] The postal code of the address on file for the cardholder.
3181
+ #
3182
+ # @param provided_line1 [String, nil] The cardholder address line 1 provided for verification in the authorization req
3183
+ #
3184
+ # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request.
3185
+ #
3186
+ # @param result [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result] The address verification result returned to the card network.
3187
+
3188
+ # The address verification result returned to the card network.
3189
+ #
3190
+ # @see Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress#result
3191
+ module Result
3192
+ extend Increase::Internal::Type::Enum
3193
+
3194
+ # No address information was provided in the authorization request.
3195
+ NOT_CHECKED = :not_checked
3196
+
3197
+ # Postal code matches, but the street address does not match or was not provided.
3198
+ POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
3199
+
3200
+ # Postal code does not match, but the street address matches or was not provided.
3201
+ POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
3202
+
3203
+ # Postal code and street address match.
3204
+ MATCH = :match
3205
+
3206
+ # Postal code and street address do not match.
3207
+ NO_MATCH = :no_match
3208
+
3209
+ # Postal code matches, but the street address was not verified. (deprecated)
3210
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
3211
+
3212
+ # @!method self.values
3213
+ # @return [Array<Symbol>]
3214
+ end
3215
+ end
3216
+ end
3217
+ end
3218
+
3219
+ # @see Increase::Models::CardPayment::Element#card_financial
3220
+ class CardFinancial < Increase::Internal::Type::BaseModel
3221
+ # @!attribute id
3222
+ # The Card Financial identifier.
3223
+ #
3224
+ # @return [String]
3225
+ required :id, String
3226
+
3227
+ # @!attribute actioner
3228
+ # Whether this financial was approved by Increase, the card network through
3229
+ # stand-in processing, or the user through a real-time decision.
3230
+ #
3231
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Actioner]
3232
+ required :actioner, enum: -> { Increase::CardPayment::Element::CardFinancial::Actioner }
3233
+
3234
+ # @!attribute additional_amounts
3235
+ # Additional amounts associated with the card authorization, such as ATM
3236
+ # surcharges fees. These are usually a subset of the `amount` field and are used
3237
+ # to provide more detailed information about the transaction.
3238
+ #
3239
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts]
3240
+ required :additional_amounts, -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts }
3241
+
3242
+ # @!attribute amount
3243
+ # The pending amount in the minor unit of the transaction's currency. For dollars,
3244
+ # for example, this is cents.
3245
+ #
3246
+ # @return [Integer]
3247
+ required :amount, Integer
3248
+
3249
+ # @!attribute card_payment_id
3250
+ # The ID of the Card Payment this transaction belongs to.
3251
+ #
3252
+ # @return [String]
3253
+ required :card_payment_id, String
3254
+
3255
+ # @!attribute currency
3256
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
3257
+ # transaction's currency.
3258
+ #
3259
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Currency]
3260
+ required :currency, enum: -> { Increase::CardPayment::Element::CardFinancial::Currency }
3261
+
3262
+ # @!attribute digital_wallet_token_id
3263
+ # If the authorization was made via a Digital Wallet Token (such as an Apple Pay
3264
+ # purchase), the identifier of the token that was used.
3265
+ #
3266
+ # @return [String, nil]
3267
+ required :digital_wallet_token_id, String, nil?: true
3268
+
3269
+ # @!attribute direction
3270
+ # The direction describes the direction the funds will move, either from the
3271
+ # cardholder to the merchant or from the merchant to the cardholder.
3272
+ #
3273
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Direction]
3274
+ required :direction, enum: -> { Increase::CardPayment::Element::CardFinancial::Direction }
3275
+
3276
+ # @!attribute merchant_acceptor_id
3277
+ # The merchant identifier (commonly abbreviated as MID) of the merchant the card
3278
+ # is transacting with.
3279
+ #
3280
+ # @return [String]
3281
+ required :merchant_acceptor_id, String
3282
+
3283
+ # @!attribute merchant_category_code
3284
+ # The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
3285
+ # card is transacting with.
3286
+ #
3287
+ # @return [String]
3288
+ required :merchant_category_code, String
3289
+
3290
+ # @!attribute merchant_city
3291
+ # The city the merchant resides in.
3292
+ #
3293
+ # @return [String, nil]
3294
+ required :merchant_city, String, nil?: true
3295
+
3296
+ # @!attribute merchant_country
3297
+ # The country the merchant resides in.
3298
+ #
3299
+ # @return [String]
3300
+ required :merchant_country, String
3301
+
3302
+ # @!attribute merchant_descriptor
3303
+ # The merchant descriptor of the merchant the card is transacting with.
3304
+ #
3305
+ # @return [String]
3306
+ required :merchant_descriptor, String
3307
+
3308
+ # @!attribute merchant_postal_code
3309
+ # The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
3310
+ # ZIP code, where the first 5 and last 4 are separated by a dash.
3311
+ #
3312
+ # @return [String, nil]
3313
+ required :merchant_postal_code, String, nil?: true
3314
+
3315
+ # @!attribute merchant_state
3316
+ # The state the merchant resides in.
3317
+ #
3318
+ # @return [String, nil]
3319
+ required :merchant_state, String, nil?: true
3320
+
3321
+ # @!attribute network_details
3322
+ # Fields specific to the `network`.
3323
+ #
3324
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails]
3325
+ required :network_details, -> { Increase::CardPayment::Element::CardFinancial::NetworkDetails }
3326
+
3327
+ # @!attribute network_identifiers
3328
+ # Network-specific identifiers for a specific request or transaction.
3329
+ #
3330
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::NetworkIdentifiers]
3331
+ required :network_identifiers, -> { Increase::CardPayment::Element::CardFinancial::NetworkIdentifiers }
3332
+
3333
+ # @!attribute network_risk_score
3334
+ # The risk score generated by the card network. For Visa this is the Visa Advanced
3335
+ # Authorization risk score, from 0 to 99, where 99 is the riskiest. For Pulse the
3336
+ # score is from 0 to 999, where 999 is the riskiest.
3337
+ #
3338
+ # @return [Integer, nil]
3339
+ required :network_risk_score, Integer, nil?: true
3340
+
3341
+ # @!attribute physical_card_id
3342
+ # If the authorization was made in-person with a physical card, the Physical Card
3343
+ # that was used.
3344
+ #
3345
+ # @return [String, nil]
3346
+ required :physical_card_id, String, nil?: true
3347
+
3348
+ # @!attribute presentment_amount
3349
+ # The pending amount in the minor unit of the transaction's presentment currency.
3350
+ #
3351
+ # @return [Integer]
3352
+ required :presentment_amount, Integer
3353
+
3354
+ # @!attribute presentment_currency
3355
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
3356
+ # transaction's presentment currency.
3357
+ #
3358
+ # @return [String]
3359
+ required :presentment_currency, String
3360
+
3361
+ # @!attribute processing_category
3362
+ # The processing category describes the intent behind the financial, such as
3363
+ # whether it was used for bill payments or an automatic fuel dispenser.
3364
+ #
3365
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::ProcessingCategory]
2095
3366
  required :processing_category,
2096
- enum: -> { Increase::CardPayment::Element::CardDecline::ProcessingCategory }
3367
+ enum: -> { Increase::CardPayment::Element::CardFinancial::ProcessingCategory }
2097
3368
 
2098
3369
  # @!attribute real_time_decision_id
2099
3370
  # The identifier of the Real-Time Decision sent to approve or decline this
@@ -2102,21 +3373,6 @@ module Increase
2102
3373
  # @return [String, nil]
2103
3374
  required :real_time_decision_id, String, nil?: true
2104
3375
 
2105
- # @!attribute real_time_decision_reason
2106
- # This is present if a specific decline reason was given in the real-time
2107
- # decision.
2108
- #
2109
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil]
2110
- required :real_time_decision_reason,
2111
- enum: -> { Increase::CardPayment::Element::CardDecline::RealTimeDecisionReason },
2112
- nil?: true
2113
-
2114
- # @!attribute reason
2115
- # Why the transaction was declined.
2116
- #
2117
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason]
2118
- required :reason, enum: -> { Increase::CardPayment::Element::CardDecline::Reason }
2119
-
2120
3376
  # @!attribute terminal_id
2121
3377
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
2122
3378
  # is transacting with.
@@ -2124,38 +3380,48 @@ module Increase
2124
3380
  # @return [String, nil]
2125
3381
  required :terminal_id, String, nil?: true
2126
3382
 
3383
+ # @!attribute transaction_id
3384
+ # The identifier of the Transaction associated with this Transaction.
3385
+ #
3386
+ # @return [String]
3387
+ required :transaction_id, String
3388
+
3389
+ # @!attribute type
3390
+ # A constant representing the object's type. For this resource it will always be
3391
+ # `card_financial`.
3392
+ #
3393
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Type]
3394
+ required :type, enum: -> { Increase::CardPayment::Element::CardFinancial::Type }
3395
+
2127
3396
  # @!attribute verification
2128
3397
  # Fields related to verification of cardholder-provided values.
2129
3398
  #
2130
- # @return [Increase::Models::CardPayment::Element::CardDecline::Verification]
2131
- required :verification, -> { Increase::CardPayment::Element::CardDecline::Verification }
3399
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::Verification]
3400
+ required :verification, -> { Increase::CardPayment::Element::CardFinancial::Verification }
2132
3401
 
2133
- # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, incremented_card_authorization_id:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:)
3402
+ # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, terminal_id:, transaction_id:, type:, verification:)
2134
3403
  # Some parameter documentations has been truncated, see
2135
- # {Increase::Models::CardPayment::Element::CardDecline} for more details.
3404
+ # {Increase::Models::CardPayment::Element::CardFinancial} for more details.
2136
3405
  #
2137
- # A Card Decline object. This field will be present in the JSON response if and
2138
- # only if `category` is equal to `card_decline`.
3406
+ # A Card Financial object. This field will be present in the JSON response if and
3407
+ # only if `category` is equal to `card_financial`. Card Financials are temporary
3408
+ # holds placed on a customers funds with the intent to later clear a transaction.
2139
3409
  #
2140
- # @param id [String] The Card Decline identifier.
3410
+ # @param id [String] The Card Financial identifier.
2141
3411
  #
2142
- # @param actioner [Symbol, Increase::Models::CardPayment::Element::CardDecline::Actioner] Whether this authorization was approved by Increase, the card network through st
3412
+ # @param actioner [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Actioner] Whether this financial was approved by Increase, the card network through stand-
2143
3413
  #
2144
- # @param additional_amounts [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts] Additional amounts associated with the card authorization, such as ATM surcharge
3414
+ # @param additional_amounts [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts] Additional amounts associated with the card authorization, such as ATM surcharge
2145
3415
  #
2146
- # @param amount [Integer] The declined amount in the minor unit of the destination account currency. For d
3416
+ # @param amount [Integer] The pending amount in the minor unit of the transaction's currency. For dollars,
2147
3417
  #
2148
3418
  # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to.
2149
3419
  #
2150
- # @param currency [Symbol, Increase::Models::CardPayment::Element::CardDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
2151
- #
2152
- # @param declined_transaction_id [String] The identifier of the declined transaction created for this Card Decline.
3420
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
2153
3421
  #
2154
3422
  # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p
2155
3423
  #
2156
- # @param direction [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh
2157
- #
2158
- # @param incremented_card_authorization_id [String, nil] The identifier of the card authorization this request attempted to incrementally
3424
+ # @param direction [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Direction] The direction describes the direction the funds will move, either from the cardh
2159
3425
  #
2160
3426
  # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
2161
3427
  #
@@ -2171,34 +3437,34 @@ module Increase
2171
3437
  #
2172
3438
  # @param merchant_state [String, nil] The state the merchant resides in.
2173
3439
  #
2174
- # @param network_details [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails] Fields specific to the `network`.
3440
+ # @param network_details [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails] Fields specific to the `network`.
2175
3441
  #
2176
- # @param network_identifiers [Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction.
3442
+ # @param network_identifiers [Increase::Models::CardPayment::Element::CardFinancial::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction.
2177
3443
  #
2178
3444
  # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced
2179
3445
  #
2180
3446
  # @param physical_card_id [String, nil] If the authorization was made in-person with a physical card, the Physical Card
2181
3447
  #
2182
- # @param presentment_amount [Integer] The declined amount in the minor unit of the transaction's presentment currency.
3448
+ # @param presentment_amount [Integer] The pending amount in the minor unit of the transaction's presentment currency.
2183
3449
  #
2184
3450
  # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
2185
3451
  #
2186
- # @param processing_category [Symbol, Increase::Models::CardPayment::Element::CardDecline::ProcessingCategory] The processing category describes the intent behind the authorization, such as w
3452
+ # @param processing_category [Symbol, Increase::Models::CardPayment::Element::CardFinancial::ProcessingCategory] The processing category describes the intent behind the financial, such as wheth
2187
3453
  #
2188
3454
  # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
2189
3455
  #
2190
- # @param real_time_decision_reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil] This is present if a specific decline reason was given in the real-time decision
3456
+ # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
2191
3457
  #
2192
- # @param reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason] Why the transaction was declined.
3458
+ # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
2193
3459
  #
2194
- # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
3460
+ # @param type [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Type] A constant representing the object's type. For this resource it will always be `
2195
3461
  #
2196
- # @param verification [Increase::Models::CardPayment::Element::CardDecline::Verification] Fields related to verification of cardholder-provided values.
3462
+ # @param verification [Increase::Models::CardPayment::Element::CardFinancial::Verification] Fields related to verification of cardholder-provided values.
2197
3463
 
2198
- # Whether this authorization was approved by Increase, the card network through
3464
+ # Whether this financial was approved by Increase, the card network through
2199
3465
  # stand-in processing, or the user through a real-time decision.
2200
3466
  #
2201
- # @see Increase::Models::CardPayment::Element::CardDecline#actioner
3467
+ # @see Increase::Models::CardPayment::Element::CardFinancial#actioner
2202
3468
  module Actioner
2203
3469
  extend Increase::Internal::Type::Enum
2204
3470
 
@@ -2215,118 +3481,118 @@ module Increase
2215
3481
  # @return [Array<Symbol>]
2216
3482
  end
2217
3483
 
2218
- # @see Increase::Models::CardPayment::Element::CardDecline#additional_amounts
3484
+ # @see Increase::Models::CardPayment::Element::CardFinancial#additional_amounts
2219
3485
  class AdditionalAmounts < Increase::Internal::Type::BaseModel
2220
3486
  # @!attribute clinic
2221
3487
  # The part of this transaction amount that was for clinic-related services.
2222
3488
  #
2223
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic, nil]
3489
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic, nil]
2224
3490
  required :clinic,
2225
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic },
3491
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic },
2226
3492
  nil?: true
2227
3493
 
2228
3494
  # @!attribute dental
2229
3495
  # The part of this transaction amount that was for dental-related services.
2230
3496
  #
2231
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Dental, nil]
3497
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental, nil]
2232
3498
  required :dental,
2233
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental },
3499
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental },
2234
3500
  nil?: true
2235
3501
 
2236
3502
  # @!attribute original
2237
3503
  # The original pre-authorized amount.
2238
3504
  #
2239
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original, nil]
3505
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Original, nil]
2240
3506
  required :original,
2241
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original },
3507
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Original },
2242
3508
  nil?: true
2243
3509
 
2244
3510
  # @!attribute prescription
2245
3511
  # The part of this transaction amount that was for healthcare prescriptions.
2246
3512
  #
2247
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription, nil]
3513
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription, nil]
2248
3514
  required :prescription,
2249
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription },
3515
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription },
2250
3516
  nil?: true
2251
3517
 
2252
3518
  # @!attribute surcharge
2253
3519
  # The surcharge amount charged for this transaction by the merchant.
2254
3520
  #
2255
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge, nil]
3521
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge, nil]
2256
3522
  required :surcharge,
2257
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge },
3523
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge },
2258
3524
  nil?: true
2259
3525
 
2260
3526
  # @!attribute total_cumulative
2261
3527
  # The total amount of a series of incremental authorizations, optionally provided.
2262
3528
  #
2263
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative, nil]
3529
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative, nil]
2264
3530
  required :total_cumulative,
2265
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative },
3531
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative },
2266
3532
  nil?: true
2267
3533
 
2268
3534
  # @!attribute total_healthcare
2269
3535
  # The total amount of healthcare-related additional amounts.
2270
3536
  #
2271
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare, nil]
3537
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare, nil]
2272
3538
  required :total_healthcare,
2273
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare },
3539
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare },
2274
3540
  nil?: true
2275
3541
 
2276
3542
  # @!attribute transit
2277
3543
  # The part of this transaction amount that was for transit-related services.
2278
3544
  #
2279
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit, nil]
3545
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit, nil]
2280
3546
  required :transit,
2281
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit },
3547
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit },
2282
3548
  nil?: true
2283
3549
 
2284
3550
  # @!attribute unknown
2285
3551
  # An unknown additional amount.
2286
3552
  #
2287
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown, nil]
3553
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown, nil]
2288
3554
  required :unknown,
2289
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown },
3555
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown },
2290
3556
  nil?: true
2291
3557
 
2292
3558
  # @!attribute vision
2293
3559
  # The part of this transaction amount that was for vision-related services.
2294
3560
  #
2295
- # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Vision, nil]
3561
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision, nil]
2296
3562
  required :vision,
2297
- -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision },
3563
+ -> { Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision },
2298
3564
  nil?: true
2299
3565
 
2300
3566
  # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
2301
3567
  # Some parameter documentations has been truncated, see
2302
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts} for
3568
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts} for
2303
3569
  # more details.
2304
3570
  #
2305
3571
  # Additional amounts associated with the card authorization, such as ATM
2306
3572
  # surcharges fees. These are usually a subset of the `amount` field and are used
2307
3573
  # to provide more detailed information about the transaction.
2308
3574
  #
2309
- # @param clinic [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic, nil] The part of this transaction amount that was for clinic-related services.
3575
+ # @param clinic [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic, nil] The part of this transaction amount that was for clinic-related services.
2310
3576
  #
2311
- # @param dental [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
3577
+ # @param dental [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
2312
3578
  #
2313
- # @param original [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original, nil] The original pre-authorized amount.
3579
+ # @param original [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Original, nil] The original pre-authorized amount.
2314
3580
  #
2315
- # @param prescription [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
3581
+ # @param prescription [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
2316
3582
  #
2317
- # @param surcharge [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
3583
+ # @param surcharge [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
2318
3584
  #
2319
- # @param total_cumulative [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative, nil] The total amount of a series of incremental authorizations, optionally provided.
3585
+ # @param total_cumulative [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative, nil] The total amount of a series of incremental authorizations, optionally provided.
2320
3586
  #
2321
- # @param total_healthcare [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare, nil] The total amount of healthcare-related additional amounts.
3587
+ # @param total_healthcare [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare, nil] The total amount of healthcare-related additional amounts.
2322
3588
  #
2323
- # @param transit [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit, nil] The part of this transaction amount that was for transit-related services.
3589
+ # @param transit [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit, nil] The part of this transaction amount that was for transit-related services.
2324
3590
  #
2325
- # @param unknown [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown, nil] An unknown additional amount.
3591
+ # @param unknown [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown, nil] An unknown additional amount.
2326
3592
  #
2327
- # @param vision [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Vision, nil] The part of this transaction amount that was for vision-related services.
3593
+ # @param vision [Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision, nil] The part of this transaction amount that was for vision-related services.
2328
3594
 
2329
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#clinic
3595
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#clinic
2330
3596
  class Clinic < Increase::Internal::Type::BaseModel
2331
3597
  # @!attribute amount
2332
3598
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2345,7 +3611,7 @@ module Increase
2345
3611
 
2346
3612
  # @!method initialize(amount:, currency:)
2347
3613
  # Some parameter documentations has been truncated, see
2348
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic}
3614
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic}
2349
3615
  # for more details.
2350
3616
  #
2351
3617
  # The part of this transaction amount that was for clinic-related services.
@@ -2355,7 +3621,7 @@ module Increase
2355
3621
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2356
3622
  end
2357
3623
 
2358
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#dental
3624
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#dental
2359
3625
  class Dental < Increase::Internal::Type::BaseModel
2360
3626
  # @!attribute amount
2361
3627
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2374,7 +3640,7 @@ module Increase
2374
3640
 
2375
3641
  # @!method initialize(amount:, currency:)
2376
3642
  # Some parameter documentations has been truncated, see
2377
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Dental}
3643
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental}
2378
3644
  # for more details.
2379
3645
  #
2380
3646
  # The part of this transaction amount that was for dental-related services.
@@ -2384,7 +3650,7 @@ module Increase
2384
3650
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2385
3651
  end
2386
3652
 
2387
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#original
3653
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#original
2388
3654
  class Original < Increase::Internal::Type::BaseModel
2389
3655
  # @!attribute amount
2390
3656
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2403,7 +3669,7 @@ module Increase
2403
3669
 
2404
3670
  # @!method initialize(amount:, currency:)
2405
3671
  # Some parameter documentations has been truncated, see
2406
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original}
3672
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Original}
2407
3673
  # for more details.
2408
3674
  #
2409
3675
  # The original pre-authorized amount.
@@ -2413,7 +3679,7 @@ module Increase
2413
3679
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2414
3680
  end
2415
3681
 
2416
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#prescription
3682
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#prescription
2417
3683
  class Prescription < Increase::Internal::Type::BaseModel
2418
3684
  # @!attribute amount
2419
3685
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2432,7 +3698,7 @@ module Increase
2432
3698
 
2433
3699
  # @!method initialize(amount:, currency:)
2434
3700
  # Some parameter documentations has been truncated, see
2435
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription}
3701
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription}
2436
3702
  # for more details.
2437
3703
  #
2438
3704
  # The part of this transaction amount that was for healthcare prescriptions.
@@ -2442,7 +3708,7 @@ module Increase
2442
3708
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2443
3709
  end
2444
3710
 
2445
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#surcharge
3711
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#surcharge
2446
3712
  class Surcharge < Increase::Internal::Type::BaseModel
2447
3713
  # @!attribute amount
2448
3714
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2461,7 +3727,7 @@ module Increase
2461
3727
 
2462
3728
  # @!method initialize(amount:, currency:)
2463
3729
  # Some parameter documentations has been truncated, see
2464
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge}
3730
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge}
2465
3731
  # for more details.
2466
3732
  #
2467
3733
  # The surcharge amount charged for this transaction by the merchant.
@@ -2471,7 +3737,7 @@ module Increase
2471
3737
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2472
3738
  end
2473
3739
 
2474
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_cumulative
3740
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#total_cumulative
2475
3741
  class TotalCumulative < Increase::Internal::Type::BaseModel
2476
3742
  # @!attribute amount
2477
3743
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2490,7 +3756,7 @@ module Increase
2490
3756
 
2491
3757
  # @!method initialize(amount:, currency:)
2492
3758
  # Some parameter documentations has been truncated, see
2493
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative}
3759
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative}
2494
3760
  # for more details.
2495
3761
  #
2496
3762
  # The total amount of a series of incremental authorizations, optionally provided.
@@ -2500,7 +3766,7 @@ module Increase
2500
3766
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2501
3767
  end
2502
3768
 
2503
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_healthcare
3769
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#total_healthcare
2504
3770
  class TotalHealthcare < Increase::Internal::Type::BaseModel
2505
3771
  # @!attribute amount
2506
3772
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2519,7 +3785,7 @@ module Increase
2519
3785
 
2520
3786
  # @!method initialize(amount:, currency:)
2521
3787
  # Some parameter documentations has been truncated, see
2522
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare}
3788
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare}
2523
3789
  # for more details.
2524
3790
  #
2525
3791
  # The total amount of healthcare-related additional amounts.
@@ -2529,7 +3795,7 @@ module Increase
2529
3795
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2530
3796
  end
2531
3797
 
2532
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#transit
3798
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#transit
2533
3799
  class Transit < Increase::Internal::Type::BaseModel
2534
3800
  # @!attribute amount
2535
3801
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2548,7 +3814,7 @@ module Increase
2548
3814
 
2549
3815
  # @!method initialize(amount:, currency:)
2550
3816
  # Some parameter documentations has been truncated, see
2551
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit}
3817
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit}
2552
3818
  # for more details.
2553
3819
  #
2554
3820
  # The part of this transaction amount that was for transit-related services.
@@ -2558,7 +3824,7 @@ module Increase
2558
3824
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2559
3825
  end
2560
3826
 
2561
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#unknown
3827
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#unknown
2562
3828
  class Unknown < Increase::Internal::Type::BaseModel
2563
3829
  # @!attribute amount
2564
3830
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2577,7 +3843,7 @@ module Increase
2577
3843
 
2578
3844
  # @!method initialize(amount:, currency:)
2579
3845
  # Some parameter documentations has been truncated, see
2580
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown}
3846
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown}
2581
3847
  # for more details.
2582
3848
  #
2583
3849
  # An unknown additional amount.
@@ -2587,7 +3853,7 @@ module Increase
2587
3853
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2588
3854
  end
2589
3855
 
2590
- # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#vision
3856
+ # @see Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts#vision
2591
3857
  class Vision < Increase::Internal::Type::BaseModel
2592
3858
  # @!attribute amount
2593
3859
  # The amount in minor units of the `currency` field. The amount is positive if it
@@ -2606,7 +3872,7 @@ module Increase
2606
3872
 
2607
3873
  # @!method initialize(amount:, currency:)
2608
3874
  # Some parameter documentations has been truncated, see
2609
- # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Vision}
3875
+ # {Increase::Models::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision}
2610
3876
  # for more details.
2611
3877
  #
2612
3878
  # The part of this transaction amount that was for vision-related services.
@@ -2617,10 +3883,10 @@ module Increase
2617
3883
  end
2618
3884
  end
2619
3885
 
2620
- # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
2621
- # account currency.
3886
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
3887
+ # transaction's currency.
2622
3888
  #
2623
- # @see Increase::Models::CardPayment::Element::CardDecline#currency
3889
+ # @see Increase::Models::CardPayment::Element::CardFinancial#currency
2624
3890
  module Currency
2625
3891
  extend Increase::Internal::Type::Enum
2626
3892
 
@@ -2649,7 +3915,7 @@ module Increase
2649
3915
  # The direction describes the direction the funds will move, either from the
2650
3916
  # cardholder to the merchant or from the merchant to the cardholder.
2651
3917
  #
2652
- # @see Increase::Models::CardPayment::Element::CardDecline#direction
3918
+ # @see Increase::Models::CardPayment::Element::CardFinancial#direction
2653
3919
  module Direction
2654
3920
  extend Increase::Internal::Type::Enum
2655
3921
 
@@ -2663,13 +3929,13 @@ module Increase
2663
3929
  # @return [Array<Symbol>]
2664
3930
  end
2665
3931
 
2666
- # @see Increase::Models::CardPayment::Element::CardDecline#network_details
3932
+ # @see Increase::Models::CardPayment::Element::CardFinancial#network_details
2667
3933
  class NetworkDetails < Increase::Internal::Type::BaseModel
2668
3934
  # @!attribute category
2669
3935
  # The payment network used to process this card authorization.
2670
3936
  #
2671
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category]
2672
- required :category, enum: -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Category }
3937
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Category]
3938
+ required :category, enum: -> { Increase::CardPayment::Element::CardFinancial::NetworkDetails::Category }
2673
3939
 
2674
3940
  # @!attribute pulse
2675
3941
  # Fields specific to the `pulse` network.
@@ -2680,25 +3946,25 @@ module Increase
2680
3946
  # @!attribute visa
2681
3947
  # Fields specific to the `visa` network.
2682
3948
  #
2683
- # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil]
3949
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa, nil]
2684
3950
  required :visa,
2685
3951
  -> {
2686
- Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa
3952
+ Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa
2687
3953
  },
2688
3954
  nil?: true
2689
3955
 
2690
3956
  # @!method initialize(category:, pulse:, visa:)
2691
3957
  # Fields specific to the `network`.
2692
3958
  #
2693
- # @param category [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
3959
+ # @param category [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Category] The payment network used to process this card authorization.
2694
3960
  #
2695
3961
  # @param pulse [Object, nil] Fields specific to the `pulse` network.
2696
3962
  #
2697
- # @param visa [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
3963
+ # @param visa [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
2698
3964
 
2699
3965
  # The payment network used to process this card authorization.
2700
3966
  #
2701
- # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#category
3967
+ # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#category
2702
3968
  module Category
2703
3969
  extend Increase::Internal::Type::Enum
2704
3970
 
@@ -2712,17 +3978,17 @@ module Increase
2712
3978
  # @return [Array<Symbol>]
2713
3979
  end
2714
3980
 
2715
- # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#visa
3981
+ # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#visa
2716
3982
  class Visa < Increase::Internal::Type::BaseModel
2717
3983
  # @!attribute electronic_commerce_indicator
2718
3984
  # For electronic commerce transactions, this identifies the level of security used
2719
3985
  # in obtaining the customer's payment credential. For mail or telephone order
2720
3986
  # transactions, identifies the type of mail or telephone order.
2721
3987
  #
2722
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil]
3988
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::ElectronicCommerceIndicator, nil]
2723
3989
  required :electronic_commerce_indicator,
2724
3990
  enum: -> {
2725
- Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator
3991
+ Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa::ElectronicCommerceIndicator
2726
3992
  },
2727
3993
  nil?: true
2728
3994
 
@@ -2730,10 +3996,10 @@ module Increase
2730
3996
  # The method used to enter the cardholder's primary account number and card
2731
3997
  # expiration date.
2732
3998
  #
2733
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil]
3999
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::PointOfServiceEntryMode, nil]
2734
4000
  required :point_of_service_entry_mode,
2735
4001
  enum: -> {
2736
- Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode
4002
+ Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa::PointOfServiceEntryMode
2737
4003
  },
2738
4004
  nil?: true
2739
4005
 
@@ -2741,31 +4007,31 @@ module Increase
2741
4007
  # Only present when `actioner: network`. Describes why a card authorization was
2742
4008
  # approved or declined by Visa through stand-in processing.
2743
4009
  #
2744
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil]
4010
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::StandInProcessingReason, nil]
2745
4011
  required :stand_in_processing_reason,
2746
4012
  enum: -> {
2747
- Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason
4013
+ Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa::StandInProcessingReason
2748
4014
  },
2749
4015
  nil?: true
2750
4016
 
2751
4017
  # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:)
2752
4018
  # Some parameter documentations has been truncated, see
2753
- # {Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa} for
2754
- # more details.
4019
+ # {Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa}
4020
+ # for more details.
2755
4021
  #
2756
4022
  # Fields specific to the `visa` network.
2757
4023
  #
2758
- # @param electronic_commerce_indicator [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used
4024
+ # @param electronic_commerce_indicator [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used
2759
4025
  #
2760
- # @param point_of_service_entry_mode [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira
4026
+ # @param point_of_service_entry_mode [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira
2761
4027
  #
2762
- # @param stand_in_processing_reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap
4028
+ # @param stand_in_processing_reason [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap
2763
4029
 
2764
4030
  # For electronic commerce transactions, this identifies the level of security used
2765
4031
  # in obtaining the customer's payment credential. For mail or telephone order
2766
4032
  # transactions, identifies the type of mail or telephone order.
2767
4033
  #
2768
- # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#electronic_commerce_indicator
4034
+ # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa#electronic_commerce_indicator
2769
4035
  module ElectronicCommerceIndicator
2770
4036
  extend Increase::Internal::Type::Enum
2771
4037
 
@@ -2801,7 +4067,7 @@ module Increase
2801
4067
  # The method used to enter the cardholder's primary account number and card
2802
4068
  # expiration date.
2803
4069
  #
2804
- # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#point_of_service_entry_mode
4070
+ # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa#point_of_service_entry_mode
2805
4071
  module PointOfServiceEntryMode
2806
4072
  extend Increase::Internal::Type::Enum
2807
4073
 
@@ -2842,7 +4108,7 @@ module Increase
2842
4108
  # Only present when `actioner: network`. Describes why a card authorization was
2843
4109
  # approved or declined by Visa through stand-in processing.
2844
4110
  #
2845
- # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#stand_in_processing_reason
4111
+ # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa#stand_in_processing_reason
2846
4112
  module StandInProcessingReason
2847
4113
  extend Increase::Internal::Type::Enum
2848
4114
 
@@ -2875,7 +4141,7 @@ module Increase
2875
4141
  end
2876
4142
  end
2877
4143
 
2878
- # @see Increase::Models::CardPayment::Element::CardDecline#network_identifiers
4144
+ # @see Increase::Models::CardPayment::Element::CardFinancial#network_identifiers
2879
4145
  class NetworkIdentifiers < Increase::Internal::Type::BaseModel
2880
4146
  # @!attribute authorization_identification_response
2881
4147
  # The randomly generated 6-character Authorization Identification Response code
@@ -2908,7 +4174,7 @@ module Increase
2908
4174
 
2909
4175
  # @!method initialize(authorization_identification_response:, retrieval_reference_number:, trace_number:, transaction_id:)
2910
4176
  # Some parameter documentations has been truncated, see
2911
- # {Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers} for
4177
+ # {Increase::Models::CardPayment::Element::CardFinancial::NetworkIdentifiers} for
2912
4178
  # more details.
2913
4179
  #
2914
4180
  # Network-specific identifiers for a specific request or transaction.
@@ -2922,10 +4188,10 @@ module Increase
2922
4188
  # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
2923
4189
  end
2924
4190
 
2925
- # The processing category describes the intent behind the authorization, such as
4191
+ # The processing category describes the intent behind the financial, such as
2926
4192
  # whether it was used for bill payments or an automatic fuel dispenser.
2927
4193
  #
2928
- # @see Increase::Models::CardPayment::Element::CardDecline#processing_category
4194
+ # @see Increase::Models::CardPayment::Element::CardFinancial#processing_category
2929
4195
  module ProcessingCategory
2930
4196
  extend Increase::Internal::Type::Enum
2931
4197
 
@@ -2960,152 +4226,66 @@ module Increase
2960
4226
  # @return [Array<Symbol>]
2961
4227
  end
2962
4228
 
2963
- # This is present if a specific decline reason was given in the real-time
2964
- # decision.
2965
- #
2966
- # @see Increase::Models::CardPayment::Element::CardDecline#real_time_decision_reason
2967
- module RealTimeDecisionReason
2968
- extend Increase::Internal::Type::Enum
2969
-
2970
- # The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
2971
- INSUFFICIENT_FUNDS = :insufficient_funds
2972
-
2973
- # This type of transaction is not allowed for this card. This transaction should not be retried.
2974
- TRANSACTION_NEVER_ALLOWED = :transaction_never_allowed
2975
-
2976
- # The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
2977
- EXCEEDS_APPROVAL_LIMIT = :exceeds_approval_limit
2978
-
2979
- # The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
2980
- CARD_TEMPORARILY_DISABLED = :card_temporarily_disabled
2981
-
2982
- # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
2983
- SUSPECTED_FRAUD = :suspected_fraud
2984
-
2985
- # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
2986
- OTHER = :other
2987
-
2988
- # @!method self.values
2989
- # @return [Array<Symbol>]
2990
- end
2991
-
2992
- # Why the transaction was declined.
4229
+ # A constant representing the object's type. For this resource it will always be
4230
+ # `card_financial`.
2993
4231
  #
2994
- # @see Increase::Models::CardPayment::Element::CardDecline#reason
2995
- module Reason
4232
+ # @see Increase::Models::CardPayment::Element::CardFinancial#type
4233
+ module Type
2996
4234
  extend Increase::Internal::Type::Enum
2997
4235
 
2998
- # The account has been closed.
2999
- ACCOUNT_CLOSED = :account_closed
3000
-
3001
- # The Card was not active.
3002
- CARD_NOT_ACTIVE = :card_not_active
3003
-
3004
- # The Card has been canceled.
3005
- CARD_CANCELED = :card_canceled
3006
-
3007
- # The Physical Card was not active.
3008
- PHYSICAL_CARD_NOT_ACTIVE = :physical_card_not_active
3009
-
3010
- # The account's entity was not active.
3011
- ENTITY_NOT_ACTIVE = :entity_not_active
3012
-
3013
- # The account was inactive.
3014
- GROUP_LOCKED = :group_locked
3015
-
3016
- # The Card's Account did not have a sufficient available balance.
3017
- INSUFFICIENT_FUNDS = :insufficient_funds
3018
-
3019
- # The given CVV2 did not match the card's value.
3020
- CVV2_MISMATCH = :cvv2_mismatch
3021
-
3022
- # The given PIN did not match the card's value.
3023
- PIN_MISMATCH = :pin_mismatch
3024
-
3025
- # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
3026
- CARD_EXPIRATION_MISMATCH = :card_expiration_mismatch
3027
-
3028
- # The attempted card transaction is not allowed per Increase's terms.
3029
- TRANSACTION_NOT_ALLOWED = :transaction_not_allowed
3030
-
3031
- # The transaction was blocked by a Limit.
3032
- BREACHES_LIMIT = :breaches_limit
3033
-
3034
- # Your application declined the transaction via webhook.
3035
- WEBHOOK_DECLINED = :webhook_declined
3036
-
3037
- # Your application webhook did not respond without the required timeout.
3038
- WEBHOOK_TIMED_OUT = :webhook_timed_out
3039
-
3040
- # Declined by stand-in processing.
3041
- DECLINED_BY_STAND_IN_PROCESSING = :declined_by_stand_in_processing
3042
-
3043
- # The card read had an invalid CVV, dCVV, or authorization request cryptogram.
3044
- INVALID_PHYSICAL_CARD = :invalid_physical_card
3045
-
3046
- # The original card authorization for this incremental authorization does not exist.
3047
- MISSING_ORIGINAL_AUTHORIZATION = :missing_original_authorization
3048
-
3049
- # The transaction was declined because the 3DS authentication failed.
3050
- FAILED_3DS_AUTHENTICATION = :failed_3ds_authentication
3051
-
3052
- # The transaction was suspected to be used by a card tester to test for valid card numbers.
3053
- SUSPECTED_CARD_TESTING = :suspected_card_testing
3054
-
3055
- # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
3056
- SUSPECTED_FRAUD = :suspected_fraud
4236
+ CARD_FINANCIAL = :card_financial
3057
4237
 
3058
4238
  # @!method self.values
3059
4239
  # @return [Array<Symbol>]
3060
4240
  end
3061
4241
 
3062
- # @see Increase::Models::CardPayment::Element::CardDecline#verification
4242
+ # @see Increase::Models::CardPayment::Element::CardFinancial#verification
3063
4243
  class Verification < Increase::Internal::Type::BaseModel
3064
4244
  # @!attribute card_verification_code
3065
4245
  # Fields related to verification of the Card Verification Code, a 3-digit code on
3066
4246
  # the back of the card.
3067
4247
  #
3068
- # @return [Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode]
4248
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode]
3069
4249
  required :card_verification_code,
3070
- -> { Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode }
4250
+ -> { Increase::CardPayment::Element::CardFinancial::Verification::CardVerificationCode }
3071
4251
 
3072
4252
  # @!attribute cardholder_address
3073
4253
  # Cardholder address provided in the authorization request and the address on file
3074
4254
  # we verified it against.
3075
4255
  #
3076
- # @return [Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress]
4256
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress]
3077
4257
  required :cardholder_address,
3078
- -> { Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress }
4258
+ -> { Increase::CardPayment::Element::CardFinancial::Verification::CardholderAddress }
3079
4259
 
3080
4260
  # @!method initialize(card_verification_code:, cardholder_address:)
3081
4261
  # Some parameter documentations has been truncated, see
3082
- # {Increase::Models::CardPayment::Element::CardDecline::Verification} for more
4262
+ # {Increase::Models::CardPayment::Element::CardFinancial::Verification} for more
3083
4263
  # details.
3084
4264
  #
3085
4265
  # Fields related to verification of cardholder-provided values.
3086
4266
  #
3087
- # @param card_verification_code [Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on
4267
+ # @param card_verification_code [Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on
3088
4268
  #
3089
- # @param cardholder_address [Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file
4269
+ # @param cardholder_address [Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file
3090
4270
 
3091
- # @see Increase::Models::CardPayment::Element::CardDecline::Verification#card_verification_code
4271
+ # @see Increase::Models::CardPayment::Element::CardFinancial::Verification#card_verification_code
3092
4272
  class CardVerificationCode < Increase::Internal::Type::BaseModel
3093
4273
  # @!attribute result
3094
4274
  # The result of verifying the Card Verification Code.
3095
4275
  #
3096
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result]
4276
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::Result]
3097
4277
  required :result,
3098
- enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result }
4278
+ enum: -> { Increase::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::Result }
3099
4279
 
3100
4280
  # @!method initialize(result:)
3101
4281
  # Fields related to verification of the Card Verification Code, a 3-digit code on
3102
4282
  # the back of the card.
3103
4283
  #
3104
- # @param result [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code.
4284
+ # @param result [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code.
3105
4285
 
3106
4286
  # The result of verifying the Card Verification Code.
3107
4287
  #
3108
- # @see Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode#result
4288
+ # @see Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode#result
3109
4289
  module Result
3110
4290
  extend Increase::Internal::Type::Enum
3111
4291
 
@@ -3123,7 +4303,7 @@ module Increase
3123
4303
  end
3124
4304
  end
3125
4305
 
3126
- # @see Increase::Models::CardPayment::Element::CardDecline::Verification#cardholder_address
4306
+ # @see Increase::Models::CardPayment::Element::CardFinancial::Verification#cardholder_address
3127
4307
  class CardholderAddress < Increase::Internal::Type::BaseModel
3128
4308
  # @!attribute actual_line1
3129
4309
  # Line 1 of the address on file for the cardholder.
@@ -3153,13 +4333,13 @@ module Increase
3153
4333
  # @!attribute result
3154
4334
  # The address verification result returned to the card network.
3155
4335
  #
3156
- # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result]
4336
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress::Result]
3157
4337
  required :result,
3158
- enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result }
4338
+ enum: -> { Increase::CardPayment::Element::CardFinancial::Verification::CardholderAddress::Result }
3159
4339
 
3160
4340
  # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:)
3161
4341
  # Some parameter documentations has been truncated, see
3162
- # {Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress}
4342
+ # {Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress}
3163
4343
  # for more details.
3164
4344
  #
3165
4345
  # Cardholder address provided in the authorization request and the address on file
@@ -3173,11 +4353,11 @@ module Increase
3173
4353
  #
3174
4354
  # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request.
3175
4355
  #
3176
- # @param result [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result] The address verification result returned to the card network.
4356
+ # @param result [Symbol, Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress::Result] The address verification result returned to the card network.
3177
4357
 
3178
4358
  # The address verification result returned to the card network.
3179
4359
  #
3180
- # @see Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress#result
4360
+ # @see Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress#result
3181
4361
  module Result
3182
4362
  extend Increase::Internal::Type::Enum
3183
4363
 
@@ -8291,6 +9471,9 @@ module Increase
8291
9471
  # Card Fuel Confirmation: details will be under the `card_fuel_confirmation` object.
8292
9472
  CARD_FUEL_CONFIRMATION = :card_fuel_confirmation
8293
9473
 
9474
+ # Card Financial: details will be under the `card_financial` object.
9475
+ CARD_FINANCIAL = :card_financial
9476
+
8294
9477
  # Unknown card payment element.
8295
9478
  OTHER = :other
8296
9479