increase 1.274.0 → 1.276.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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/card_payment.rb +1847 -207
  5. data/lib/increase/models/declined_transaction.rb +183 -1
  6. data/lib/increase/models/event.rb +6 -0
  7. data/lib/increase/models/event_list_params.rb +6 -0
  8. data/lib/increase/models/event_subscription.rb +6 -0
  9. data/lib/increase/models/event_subscription_create_params.rb +6 -0
  10. data/lib/increase/models/pending_transaction.rb +185 -1
  11. data/lib/increase/models/transaction.rb +548 -3
  12. data/lib/increase/models/unwrap_webhook_event.rb +6 -0
  13. data/lib/increase/version.rb +1 -1
  14. data/rbi/increase/models/card_payment.rbi +3985 -595
  15. data/rbi/increase/models/declined_transaction.rbi +374 -0
  16. data/rbi/increase/models/event.rbi +14 -0
  17. data/rbi/increase/models/event_list_params.rbi +14 -0
  18. data/rbi/increase/models/event_subscription.rbi +14 -0
  19. data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
  20. data/rbi/increase/models/pending_transaction.rbi +374 -0
  21. data/rbi/increase/models/transaction.rbi +1157 -41
  22. data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
  23. data/sig/increase/models/card_payment.rbs +1912 -274
  24. data/sig/increase/models/declined_transaction.rbs +182 -0
  25. data/sig/increase/models/event.rbs +8 -0
  26. data/sig/increase/models/event_list_params.rbs +8 -0
  27. data/sig/increase/models/event_subscription.rbs +8 -0
  28. data/sig/increase/models/event_subscription_create_params.rbs +8 -0
  29. data/sig/increase/models/pending_transaction.rbs +182 -0
  30. data/sig/increase/models/transaction.rbs +546 -0
  31. data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
  32. metadata +2 -2
@@ -47,12 +47,6 @@ module Increase
47
47
  # @return [String, nil]
48
48
  required :physical_card_id, String, nil?: true
49
49
 
50
- # @!attribute scheme_fees
51
- # The scheme fees associated with this card payment.
52
- #
53
- # @return [Array<Increase::Models::CardPayment::SchemeFee>]
54
- required :scheme_fees, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::SchemeFee] }
55
-
56
50
  # @!attribute state
57
51
  # The summarized state of this card payment.
58
52
  #
@@ -66,7 +60,7 @@ module Increase
66
60
  # @return [Symbol, Increase::Models::CardPayment::Type]
67
61
  required :type, enum: -> { Increase::CardPayment::Type }
68
62
 
69
- # @!method initialize(id:, account_id:, card_id:, created_at:, digital_wallet_token_id:, elements:, physical_card_id:, scheme_fees:, state:, type:)
63
+ # @!method initialize(id:, account_id:, card_id:, created_at:, digital_wallet_token_id:, elements:, physical_card_id:, state:, type:)
70
64
  # Some parameter documentations has been truncated, see
71
65
  # {Increase::Models::CardPayment} for more details.
72
66
  #
@@ -87,8 +81,6 @@ module Increase
87
81
  #
88
82
  # @param physical_card_id [String, nil] The Physical Card identifier for this payment.
89
83
  #
90
- # @param scheme_fees [Array<Increase::Models::CardPayment::SchemeFee>] The scheme fees associated with this card payment.
91
- #
92
84
  # @param state [Increase::Models::CardPayment::State] The summarized state of this card payment.
93
85
  #
94
86
  # @param type [Symbol, Increase::Models::CardPayment::Type] A constant representing the object's type. For this resource it will always be `
@@ -1442,6 +1434,13 @@ module Increase
1442
1434
  # @return [String, nil]
1443
1435
  required :real_time_decision_id, String, nil?: true
1444
1436
 
1437
+ # @!attribute scheme_fees
1438
+ # The scheme fees associated with this card authorization.
1439
+ #
1440
+ # @return [Array<Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee>]
1441
+ required :scheme_fees,
1442
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardAuthorization::SchemeFee] }
1443
+
1445
1444
  # @!attribute terminal_id
1446
1445
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
1447
1446
  # is transacting with.
@@ -1462,7 +1461,7 @@ module Increase
1462
1461
  # @return [Increase::Models::CardPayment::Element::CardAuthorization::Verification]
1463
1462
  required :verification, -> { Increase::CardPayment::Element::CardAuthorization::Verification }
1464
1463
 
1465
- # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, expires_at:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, pending_transaction_id:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, terminal_id:, type:, verification:)
1464
+ # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, expires_at:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, pending_transaction_id:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, scheme_fees:, terminal_id:, type:, verification:)
1466
1465
  # Some parameter documentations has been truncated, see
1467
1466
  # {Increase::Models::CardPayment::Element::CardAuthorization} for more details.
1468
1467
  #
@@ -1521,6 +1520,8 @@ module Increase
1521
1520
  #
1522
1521
  # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
1523
1522
  #
1523
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee>] The scheme fees associated with this card authorization.
1524
+ #
1524
1525
  # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
1525
1526
  #
1526
1527
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Type] A constant representing the object's type. For this resource it will always be `
@@ -2352,6 +2353,179 @@ module Increase
2352
2353
  # @return [Array<Symbol>]
2353
2354
  end
2354
2355
 
2356
+ class SchemeFee < Increase::Internal::Type::BaseModel
2357
+ # @!attribute amount
2358
+ # The fee amount given as a string containing a decimal number.
2359
+ #
2360
+ # @return [String]
2361
+ required :amount, String
2362
+
2363
+ # @!attribute created_at
2364
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
2365
+ # created.
2366
+ #
2367
+ # @return [Time]
2368
+ required :created_at, Time
2369
+
2370
+ # @!attribute currency
2371
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
2372
+ # reimbursement.
2373
+ #
2374
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee::Currency]
2375
+ required :currency, enum: -> { Increase::CardPayment::Element::CardAuthorization::SchemeFee::Currency }
2376
+
2377
+ # @!attribute fee_type
2378
+ # The type of fee being assessed.
2379
+ #
2380
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee::FeeType]
2381
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType }
2382
+
2383
+ # @!attribute fixed_component
2384
+ # The fixed component of the fee, if applicable, given in major units of the fee
2385
+ # amount.
2386
+ #
2387
+ # @return [String, nil]
2388
+ required :fixed_component, String, nil?: true
2389
+
2390
+ # @!attribute variable_rate
2391
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
2392
+ # 0.015 for 1.5%).
2393
+ #
2394
+ # @return [String, nil]
2395
+ required :variable_rate, String, nil?: true
2396
+
2397
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
2398
+ # Some parameter documentations has been truncated, see
2399
+ # {Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee} for more
2400
+ # details.
2401
+ #
2402
+ # @param amount [String] The fee amount given as a string containing a decimal number.
2403
+ #
2404
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
2405
+ #
2406
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
2407
+ #
2408
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee::FeeType] The type of fee being assessed.
2409
+ #
2410
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
2411
+ #
2412
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
2413
+
2414
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
2415
+ # reimbursement.
2416
+ #
2417
+ # @see Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee#currency
2418
+ module Currency
2419
+ extend Increase::Internal::Type::Enum
2420
+
2421
+ # US Dollar (USD)
2422
+ USD = :USD
2423
+
2424
+ # @!method self.values
2425
+ # @return [Array<Symbol>]
2426
+ end
2427
+
2428
+ # The type of fee being assessed.
2429
+ #
2430
+ # @see Increase::Models::CardPayment::Element::CardAuthorization::SchemeFee#fee_type
2431
+ module FeeType
2432
+ extend Increase::Internal::Type::Enum
2433
+
2434
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
2435
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
2436
+ :visa_international_service_assessment_single_currency
2437
+
2438
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
2439
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
2440
+ :visa_international_service_assessment_cross_currency
2441
+
2442
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
2443
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
2444
+
2445
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
2446
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
2447
+
2448
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
2449
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
2450
+
2451
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
2452
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
2453
+
2454
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
2455
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
2456
+ :visa_authorization_reversal_international_point_of_sale
2457
+
2458
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
2459
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
2460
+
2461
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
2462
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
2463
+
2464
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
2465
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
2466
+
2467
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
2468
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
2469
+
2470
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
2471
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
2472
+
2473
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
2474
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
2475
+
2476
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
2477
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
2478
+
2479
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
2480
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
2481
+
2482
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
2483
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
2484
+
2485
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
2486
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
2487
+
2488
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
2489
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
2490
+
2491
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
2492
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
2493
+
2494
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
2495
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
2496
+
2497
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
2498
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
2499
+
2500
+ # A per transaction fee assessed for Base II financial draft - Issuer.
2501
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
2502
+
2503
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
2504
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
2505
+
2506
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
2507
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
2508
+
2509
+ # Issuer card service fee for Commercial Credit cards.
2510
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
2511
+
2512
+ # Issuer Advertising Service Fee for Commercial Credit cards.
2513
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
2514
+
2515
+ # Issuer Community Growth Acceleration Program Fee.
2516
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
2517
+
2518
+ # Issuer Processing Guarantee for Commercial Credit cards.
2519
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
2520
+
2521
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
2522
+ PULSE_SWITCH_FEE = :pulse_switch_fee
2523
+
2524
+ # @!method self.values
2525
+ # @return [Array<Symbol>]
2526
+ end
2527
+ end
2528
+
2355
2529
  # A constant representing the object's type. For this resource it will always be
2356
2530
  # `card_authorization`.
2357
2531
  #
@@ -2782,6 +2956,13 @@ module Increase
2782
2956
  # @return [String, nil]
2783
2957
  required :real_time_decision_id, String, nil?: true
2784
2958
 
2959
+ # @!attribute scheme_fees
2960
+ # The scheme fees associated with this card balance inquiry.
2961
+ #
2962
+ # @return [Array<Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee>]
2963
+ required :scheme_fees,
2964
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee] }
2965
+
2785
2966
  # @!attribute terminal_id
2786
2967
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
2787
2968
  # is transacting with.
@@ -2802,7 +2983,7 @@ module Increase
2802
2983
  # @return [Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification]
2803
2984
  required :verification, -> { Increase::CardPayment::Element::CardBalanceInquiry::Verification }
2804
2985
 
2805
- # @!method initialize(id:, additional_amounts:, balance:, card_payment_id:, currency:, digital_wallet_token_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:, real_time_decision_id:, terminal_id:, type:, verification:)
2986
+ # @!method initialize(id:, additional_amounts:, balance:, card_payment_id:, currency:, digital_wallet_token_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:, real_time_decision_id:, scheme_fees:, terminal_id:, type:, verification:)
2806
2987
  # Some parameter documentations has been truncated, see
2807
2988
  # {Increase::Models::CardPayment::Element::CardBalanceInquiry} for more details.
2808
2989
  #
@@ -2848,6 +3029,8 @@ module Increase
2848
3029
  #
2849
3030
  # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
2850
3031
  #
3032
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee>] The scheme fees associated with this card balance inquiry.
3033
+ #
2851
3034
  # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
2852
3035
  #
2853
3036
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardBalanceInquiry::Type] A constant representing the object's type. For this resource it will always be `
@@ -3599,6 +3782,179 @@ module Increase
3599
3782
  # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
3600
3783
  end
3601
3784
 
3785
+ class SchemeFee < Increase::Internal::Type::BaseModel
3786
+ # @!attribute amount
3787
+ # The fee amount given as a string containing a decimal number.
3788
+ #
3789
+ # @return [String]
3790
+ required :amount, String
3791
+
3792
+ # @!attribute created_at
3793
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
3794
+ # created.
3795
+ #
3796
+ # @return [Time]
3797
+ required :created_at, Time
3798
+
3799
+ # @!attribute currency
3800
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
3801
+ # reimbursement.
3802
+ #
3803
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee::Currency]
3804
+ required :currency, enum: -> { Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::Currency }
3805
+
3806
+ # @!attribute fee_type
3807
+ # The type of fee being assessed.
3808
+ #
3809
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType]
3810
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType }
3811
+
3812
+ # @!attribute fixed_component
3813
+ # The fixed component of the fee, if applicable, given in major units of the fee
3814
+ # amount.
3815
+ #
3816
+ # @return [String, nil]
3817
+ required :fixed_component, String, nil?: true
3818
+
3819
+ # @!attribute variable_rate
3820
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
3821
+ # 0.015 for 1.5%).
3822
+ #
3823
+ # @return [String, nil]
3824
+ required :variable_rate, String, nil?: true
3825
+
3826
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
3827
+ # Some parameter documentations has been truncated, see
3828
+ # {Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee} for more
3829
+ # details.
3830
+ #
3831
+ # @param amount [String] The fee amount given as a string containing a decimal number.
3832
+ #
3833
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
3834
+ #
3835
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
3836
+ #
3837
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType] The type of fee being assessed.
3838
+ #
3839
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
3840
+ #
3841
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
3842
+
3843
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
3844
+ # reimbursement.
3845
+ #
3846
+ # @see Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee#currency
3847
+ module Currency
3848
+ extend Increase::Internal::Type::Enum
3849
+
3850
+ # US Dollar (USD)
3851
+ USD = :USD
3852
+
3853
+ # @!method self.values
3854
+ # @return [Array<Symbol>]
3855
+ end
3856
+
3857
+ # The type of fee being assessed.
3858
+ #
3859
+ # @see Increase::Models::CardPayment::Element::CardBalanceInquiry::SchemeFee#fee_type
3860
+ module FeeType
3861
+ extend Increase::Internal::Type::Enum
3862
+
3863
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
3864
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
3865
+ :visa_international_service_assessment_single_currency
3866
+
3867
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
3868
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
3869
+ :visa_international_service_assessment_cross_currency
3870
+
3871
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
3872
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
3873
+
3874
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
3875
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
3876
+
3877
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
3878
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
3879
+
3880
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
3881
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
3882
+
3883
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
3884
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
3885
+ :visa_authorization_reversal_international_point_of_sale
3886
+
3887
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
3888
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
3889
+
3890
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
3891
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
3892
+
3893
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
3894
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
3895
+
3896
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
3897
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
3898
+
3899
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
3900
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
3901
+
3902
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
3903
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
3904
+
3905
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
3906
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
3907
+
3908
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
3909
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
3910
+
3911
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
3912
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
3913
+
3914
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
3915
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
3916
+
3917
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
3918
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
3919
+
3920
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
3921
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
3922
+
3923
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
3924
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
3925
+
3926
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
3927
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
3928
+
3929
+ # A per transaction fee assessed for Base II financial draft - Issuer.
3930
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
3931
+
3932
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
3933
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
3934
+
3935
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
3936
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
3937
+
3938
+ # Issuer card service fee for Commercial Credit cards.
3939
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
3940
+
3941
+ # Issuer Advertising Service Fee for Commercial Credit cards.
3942
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
3943
+
3944
+ # Issuer Community Growth Acceleration Program Fee.
3945
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
3946
+
3947
+ # Issuer Processing Guarantee for Commercial Credit cards.
3948
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
3949
+
3950
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
3951
+ PULSE_SWITCH_FEE = :pulse_switch_fee
3952
+
3953
+ # @!method self.values
3954
+ # @return [Array<Symbol>]
3955
+ end
3956
+ end
3957
+
3602
3958
  # A constant representing the object's type. For this resource it will always be
3603
3959
  # `card_balance_inquiry`.
3604
3960
  #
@@ -3984,6 +4340,13 @@ module Increase
3984
4340
  # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason]
3985
4341
  required :reason, enum: -> { Increase::CardPayment::Element::CardDecline::Reason }
3986
4342
 
4343
+ # @!attribute scheme_fees
4344
+ # The scheme fees associated with this card decline.
4345
+ #
4346
+ # @return [Array<Increase::Models::CardPayment::Element::CardDecline::SchemeFee>]
4347
+ required :scheme_fees,
4348
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardDecline::SchemeFee] }
4349
+
3987
4350
  # @!attribute terminal_id
3988
4351
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
3989
4352
  # is transacting with.
@@ -3997,7 +4360,7 @@ module Increase
3997
4360
  # @return [Increase::Models::CardPayment::Element::CardDecline::Verification]
3998
4361
  required :verification, -> { Increase::CardPayment::Element::CardDecline::Verification }
3999
4362
 
4000
- # @!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:)
4363
+ # @!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:, scheme_fees:, terminal_id:, verification:)
4001
4364
  # Some parameter documentations has been truncated, see
4002
4365
  # {Increase::Models::CardPayment::Element::CardDecline} for more details.
4003
4366
  #
@@ -4058,6 +4421,8 @@ module Increase
4058
4421
  #
4059
4422
  # @param reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason] Why the transaction was declined.
4060
4423
  #
4424
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardDecline::SchemeFee>] The scheme fees associated with this card decline.
4425
+ #
4061
4426
  # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
4062
4427
  #
4063
4428
  # @param verification [Increase::Models::CardPayment::Element::CardDecline::Verification] Fields related to verification of cardholder-provided values.
@@ -4984,6 +5349,179 @@ module Increase
4984
5349
  # @return [Array<Symbol>]
4985
5350
  end
4986
5351
 
5352
+ class SchemeFee < Increase::Internal::Type::BaseModel
5353
+ # @!attribute amount
5354
+ # The fee amount given as a string containing a decimal number.
5355
+ #
5356
+ # @return [String]
5357
+ required :amount, String
5358
+
5359
+ # @!attribute created_at
5360
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
5361
+ # created.
5362
+ #
5363
+ # @return [Time]
5364
+ required :created_at, Time
5365
+
5366
+ # @!attribute currency
5367
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
5368
+ # reimbursement.
5369
+ #
5370
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::SchemeFee::Currency]
5371
+ required :currency, enum: -> { Increase::CardPayment::Element::CardDecline::SchemeFee::Currency }
5372
+
5373
+ # @!attribute fee_type
5374
+ # The type of fee being assessed.
5375
+ #
5376
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::SchemeFee::FeeType]
5377
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType }
5378
+
5379
+ # @!attribute fixed_component
5380
+ # The fixed component of the fee, if applicable, given in major units of the fee
5381
+ # amount.
5382
+ #
5383
+ # @return [String, nil]
5384
+ required :fixed_component, String, nil?: true
5385
+
5386
+ # @!attribute variable_rate
5387
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
5388
+ # 0.015 for 1.5%).
5389
+ #
5390
+ # @return [String, nil]
5391
+ required :variable_rate, String, nil?: true
5392
+
5393
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
5394
+ # Some parameter documentations has been truncated, see
5395
+ # {Increase::Models::CardPayment::Element::CardDecline::SchemeFee} for more
5396
+ # details.
5397
+ #
5398
+ # @param amount [String] The fee amount given as a string containing a decimal number.
5399
+ #
5400
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
5401
+ #
5402
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardDecline::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
5403
+ #
5404
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardDecline::SchemeFee::FeeType] The type of fee being assessed.
5405
+ #
5406
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
5407
+ #
5408
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
5409
+
5410
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
5411
+ # reimbursement.
5412
+ #
5413
+ # @see Increase::Models::CardPayment::Element::CardDecline::SchemeFee#currency
5414
+ module Currency
5415
+ extend Increase::Internal::Type::Enum
5416
+
5417
+ # US Dollar (USD)
5418
+ USD = :USD
5419
+
5420
+ # @!method self.values
5421
+ # @return [Array<Symbol>]
5422
+ end
5423
+
5424
+ # The type of fee being assessed.
5425
+ #
5426
+ # @see Increase::Models::CardPayment::Element::CardDecline::SchemeFee#fee_type
5427
+ module FeeType
5428
+ extend Increase::Internal::Type::Enum
5429
+
5430
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
5431
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
5432
+ :visa_international_service_assessment_single_currency
5433
+
5434
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
5435
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
5436
+ :visa_international_service_assessment_cross_currency
5437
+
5438
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
5439
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
5440
+
5441
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
5442
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
5443
+
5444
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
5445
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
5446
+
5447
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
5448
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
5449
+
5450
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
5451
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
5452
+ :visa_authorization_reversal_international_point_of_sale
5453
+
5454
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
5455
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
5456
+
5457
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
5458
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
5459
+
5460
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
5461
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
5462
+
5463
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
5464
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
5465
+
5466
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
5467
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
5468
+
5469
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
5470
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
5471
+
5472
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
5473
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
5474
+
5475
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
5476
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
5477
+
5478
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
5479
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
5480
+
5481
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
5482
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
5483
+
5484
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
5485
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
5486
+
5487
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
5488
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
5489
+
5490
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
5491
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
5492
+
5493
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
5494
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
5495
+
5496
+ # A per transaction fee assessed for Base II financial draft - Issuer.
5497
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
5498
+
5499
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
5500
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
5501
+
5502
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
5503
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
5504
+
5505
+ # Issuer card service fee for Commercial Credit cards.
5506
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
5507
+
5508
+ # Issuer Advertising Service Fee for Commercial Credit cards.
5509
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
5510
+
5511
+ # Issuer Community Growth Acceleration Program Fee.
5512
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
5513
+
5514
+ # Issuer Processing Guarantee for Commercial Credit cards.
5515
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
5516
+
5517
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5518
+ PULSE_SWITCH_FEE = :pulse_switch_fee
5519
+
5520
+ # @!method self.values
5521
+ # @return [Array<Symbol>]
5522
+ end
5523
+ end
5524
+
4987
5525
  # @see Increase::Models::CardPayment::Element::CardDecline#verification
4988
5526
  class Verification < Increase::Internal::Type::BaseModel
4989
5527
  # @!attribute card_verification_code
@@ -5328,6 +5866,13 @@ module Increase
5328
5866
  # @return [String, nil]
5329
5867
  required :real_time_decision_id, String, nil?: true
5330
5868
 
5869
+ # @!attribute scheme_fees
5870
+ # The scheme fees associated with this card financial.
5871
+ #
5872
+ # @return [Array<Increase::Models::CardPayment::Element::CardFinancial::SchemeFee>]
5873
+ required :scheme_fees,
5874
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardFinancial::SchemeFee] }
5875
+
5331
5876
  # @!attribute terminal_id
5332
5877
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
5333
5878
  # is transacting with.
@@ -5354,7 +5899,7 @@ module Increase
5354
5899
  # @return [Increase::Models::CardPayment::Element::CardFinancial::Verification]
5355
5900
  required :verification, -> { Increase::CardPayment::Element::CardFinancial::Verification }
5356
5901
 
5357
- # @!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:)
5902
+ # @!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:, scheme_fees:, terminal_id:, transaction_id:, type:, verification:)
5358
5903
  # Some parameter documentations has been truncated, see
5359
5904
  # {Increase::Models::CardPayment::Element::CardFinancial} for more details.
5360
5905
  #
@@ -5408,6 +5953,8 @@ module Increase
5408
5953
  #
5409
5954
  # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
5410
5955
  #
5956
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardFinancial::SchemeFee>] The scheme fees associated with this card financial.
5957
+ #
5411
5958
  # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
5412
5959
  #
5413
5960
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
@@ -6236,7 +6783,180 @@ module Increase
6236
6783
  # @return [Array<Symbol>]
6237
6784
  end
6238
6785
 
6239
- # A constant representing the object's type. For this resource it will always be
6786
+ class SchemeFee < Increase::Internal::Type::BaseModel
6787
+ # @!attribute amount
6788
+ # The fee amount given as a string containing a decimal number.
6789
+ #
6790
+ # @return [String]
6791
+ required :amount, String
6792
+
6793
+ # @!attribute created_at
6794
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
6795
+ # created.
6796
+ #
6797
+ # @return [Time]
6798
+ required :created_at, Time
6799
+
6800
+ # @!attribute currency
6801
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
6802
+ # reimbursement.
6803
+ #
6804
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::SchemeFee::Currency]
6805
+ required :currency, enum: -> { Increase::CardPayment::Element::CardFinancial::SchemeFee::Currency }
6806
+
6807
+ # @!attribute fee_type
6808
+ # The type of fee being assessed.
6809
+ #
6810
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFinancial::SchemeFee::FeeType]
6811
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType }
6812
+
6813
+ # @!attribute fixed_component
6814
+ # The fixed component of the fee, if applicable, given in major units of the fee
6815
+ # amount.
6816
+ #
6817
+ # @return [String, nil]
6818
+ required :fixed_component, String, nil?: true
6819
+
6820
+ # @!attribute variable_rate
6821
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
6822
+ # 0.015 for 1.5%).
6823
+ #
6824
+ # @return [String, nil]
6825
+ required :variable_rate, String, nil?: true
6826
+
6827
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
6828
+ # Some parameter documentations has been truncated, see
6829
+ # {Increase::Models::CardPayment::Element::CardFinancial::SchemeFee} for more
6830
+ # details.
6831
+ #
6832
+ # @param amount [String] The fee amount given as a string containing a decimal number.
6833
+ #
6834
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
6835
+ #
6836
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardFinancial::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
6837
+ #
6838
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardFinancial::SchemeFee::FeeType] The type of fee being assessed.
6839
+ #
6840
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
6841
+ #
6842
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
6843
+
6844
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
6845
+ # reimbursement.
6846
+ #
6847
+ # @see Increase::Models::CardPayment::Element::CardFinancial::SchemeFee#currency
6848
+ module Currency
6849
+ extend Increase::Internal::Type::Enum
6850
+
6851
+ # US Dollar (USD)
6852
+ USD = :USD
6853
+
6854
+ # @!method self.values
6855
+ # @return [Array<Symbol>]
6856
+ end
6857
+
6858
+ # The type of fee being assessed.
6859
+ #
6860
+ # @see Increase::Models::CardPayment::Element::CardFinancial::SchemeFee#fee_type
6861
+ module FeeType
6862
+ extend Increase::Internal::Type::Enum
6863
+
6864
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
6865
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
6866
+ :visa_international_service_assessment_single_currency
6867
+
6868
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
6869
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
6870
+ :visa_international_service_assessment_cross_currency
6871
+
6872
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
6873
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
6874
+
6875
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
6876
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
6877
+
6878
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
6879
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
6880
+
6881
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
6882
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
6883
+
6884
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
6885
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
6886
+ :visa_authorization_reversal_international_point_of_sale
6887
+
6888
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
6889
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
6890
+
6891
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
6892
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
6893
+
6894
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
6895
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
6896
+
6897
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
6898
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
6899
+
6900
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
6901
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
6902
+
6903
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
6904
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
6905
+
6906
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
6907
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
6908
+
6909
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
6910
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
6911
+
6912
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
6913
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
6914
+
6915
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
6916
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
6917
+
6918
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
6919
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
6920
+
6921
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
6922
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
6923
+
6924
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
6925
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
6926
+
6927
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
6928
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
6929
+
6930
+ # A per transaction fee assessed for Base II financial draft - Issuer.
6931
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
6932
+
6933
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
6934
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
6935
+
6936
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
6937
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
6938
+
6939
+ # Issuer card service fee for Commercial Credit cards.
6940
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
6941
+
6942
+ # Issuer Advertising Service Fee for Commercial Credit cards.
6943
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
6944
+
6945
+ # Issuer Community Growth Acceleration Program Fee.
6946
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
6947
+
6948
+ # Issuer Processing Guarantee for Commercial Credit cards.
6949
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
6950
+
6951
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
6952
+ PULSE_SWITCH_FEE = :pulse_switch_fee
6953
+
6954
+ # @!method self.values
6955
+ # @return [Array<Symbol>]
6956
+ end
6957
+ end
6958
+
6959
+ # A constant representing the object's type. For this resource it will always be
6240
6960
  # `card_financial`.
6241
6961
  #
6242
6962
  # @see Increase::Models::CardPayment::Element::CardFinancial#type
@@ -6477,6 +7197,13 @@ module Increase
6477
7197
  # @return [String, nil]
6478
7198
  required :pending_transaction_id, String, nil?: true
6479
7199
 
7200
+ # @!attribute scheme_fees
7201
+ # The scheme fees associated with this card fuel confirmation.
7202
+ #
7203
+ # @return [Array<Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee>]
7204
+ required :scheme_fees,
7205
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee] }
7206
+
6480
7207
  # @!attribute type
6481
7208
  # A constant representing the object's type. For this resource it will always be
6482
7209
  # `card_fuel_confirmation`.
@@ -6491,7 +7218,7 @@ module Increase
6491
7218
  # @return [Integer]
6492
7219
  required :updated_authorization_amount, Integer
6493
7220
 
6494
- # @!method initialize(id:, card_authorization_id:, currency:, network:, network_identifiers:, pending_transaction_id:, type:, updated_authorization_amount:)
7221
+ # @!method initialize(id:, card_authorization_id:, currency:, network:, network_identifiers:, pending_transaction_id:, scheme_fees:, type:, updated_authorization_amount:)
6495
7222
  # Some parameter documentations has been truncated, see
6496
7223
  # {Increase::Models::CardPayment::Element::CardFuelConfirmation} for more details.
6497
7224
  #
@@ -6512,6 +7239,8 @@ module Increase
6512
7239
  #
6513
7240
  # @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Card Fuel Confirm
6514
7241
  #
7242
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee>] The scheme fees associated with this card fuel confirmation.
7243
+ #
6515
7244
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::Type] A constant representing the object's type. For this resource it will always be `
6516
7245
  #
6517
7246
  # @param updated_authorization_amount [Integer] The updated authorization amount after this fuel confirmation, in the minor unit
@@ -6593,6 +7322,179 @@ module Increase
6593
7322
  # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
6594
7323
  end
6595
7324
 
7325
+ class SchemeFee < Increase::Internal::Type::BaseModel
7326
+ # @!attribute amount
7327
+ # The fee amount given as a string containing a decimal number.
7328
+ #
7329
+ # @return [String]
7330
+ required :amount, String
7331
+
7332
+ # @!attribute created_at
7333
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
7334
+ # created.
7335
+ #
7336
+ # @return [Time]
7337
+ required :created_at, Time
7338
+
7339
+ # @!attribute currency
7340
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
7341
+ # reimbursement.
7342
+ #
7343
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee::Currency]
7344
+ required :currency, enum: -> { Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::Currency }
7345
+
7346
+ # @!attribute fee_type
7347
+ # The type of fee being assessed.
7348
+ #
7349
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType]
7350
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType }
7351
+
7352
+ # @!attribute fixed_component
7353
+ # The fixed component of the fee, if applicable, given in major units of the fee
7354
+ # amount.
7355
+ #
7356
+ # @return [String, nil]
7357
+ required :fixed_component, String, nil?: true
7358
+
7359
+ # @!attribute variable_rate
7360
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
7361
+ # 0.015 for 1.5%).
7362
+ #
7363
+ # @return [String, nil]
7364
+ required :variable_rate, String, nil?: true
7365
+
7366
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
7367
+ # Some parameter documentations has been truncated, see
7368
+ # {Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee} for
7369
+ # more details.
7370
+ #
7371
+ # @param amount [String] The fee amount given as a string containing a decimal number.
7372
+ #
7373
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
7374
+ #
7375
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
7376
+ #
7377
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType] The type of fee being assessed.
7378
+ #
7379
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
7380
+ #
7381
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
7382
+
7383
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
7384
+ # reimbursement.
7385
+ #
7386
+ # @see Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee#currency
7387
+ module Currency
7388
+ extend Increase::Internal::Type::Enum
7389
+
7390
+ # US Dollar (USD)
7391
+ USD = :USD
7392
+
7393
+ # @!method self.values
7394
+ # @return [Array<Symbol>]
7395
+ end
7396
+
7397
+ # The type of fee being assessed.
7398
+ #
7399
+ # @see Increase::Models::CardPayment::Element::CardFuelConfirmation::SchemeFee#fee_type
7400
+ module FeeType
7401
+ extend Increase::Internal::Type::Enum
7402
+
7403
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
7404
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
7405
+ :visa_international_service_assessment_single_currency
7406
+
7407
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
7408
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
7409
+ :visa_international_service_assessment_cross_currency
7410
+
7411
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
7412
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
7413
+
7414
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
7415
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
7416
+
7417
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
7418
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
7419
+
7420
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
7421
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
7422
+
7423
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
7424
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
7425
+ :visa_authorization_reversal_international_point_of_sale
7426
+
7427
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
7428
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
7429
+
7430
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
7431
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
7432
+
7433
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
7434
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
7435
+
7436
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
7437
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
7438
+
7439
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
7440
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
7441
+
7442
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
7443
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
7444
+
7445
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
7446
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
7447
+
7448
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
7449
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
7450
+
7451
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
7452
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
7453
+
7454
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
7455
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
7456
+
7457
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
7458
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
7459
+
7460
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
7461
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
7462
+
7463
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
7464
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
7465
+
7466
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
7467
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
7468
+
7469
+ # A per transaction fee assessed for Base II financial draft - Issuer.
7470
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
7471
+
7472
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
7473
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
7474
+
7475
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
7476
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
7477
+
7478
+ # Issuer card service fee for Commercial Credit cards.
7479
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
7480
+
7481
+ # Issuer Advertising Service Fee for Commercial Credit cards.
7482
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
7483
+
7484
+ # Issuer Community Growth Acceleration Program Fee.
7485
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
7486
+
7487
+ # Issuer Processing Guarantee for Commercial Credit cards.
7488
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
7489
+
7490
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
7491
+ PULSE_SWITCH_FEE = :pulse_switch_fee
7492
+
7493
+ # @!method self.values
7494
+ # @return [Array<Symbol>]
7495
+ end
7496
+ end
7497
+
6596
7498
  # A constant representing the object's type. For this resource it will always be
6597
7499
  # `card_fuel_confirmation`.
6598
7500
  #
@@ -6696,6 +7598,13 @@ module Increase
6696
7598
  # @return [String, nil]
6697
7599
  required :real_time_decision_id, String, nil?: true
6698
7600
 
7601
+ # @!attribute scheme_fees
7602
+ # The scheme fees associated with this card increment.
7603
+ #
7604
+ # @return [Array<Increase::Models::CardPayment::Element::CardIncrement::SchemeFee>]
7605
+ required :scheme_fees,
7606
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardIncrement::SchemeFee] }
7607
+
6699
7608
  # @!attribute type
6700
7609
  # A constant representing the object's type. For this resource it will always be
6701
7610
  # `card_increment`.
@@ -6710,7 +7619,7 @@ module Increase
6710
7619
  # @return [Integer]
6711
7620
  required :updated_authorization_amount, Integer
6712
7621
 
6713
- # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_authorization_id:, currency:, network:, network_identifiers:, network_risk_score:, pending_transaction_id:, presentment_amount:, presentment_currency:, real_time_decision_id:, type:, updated_authorization_amount:)
7622
+ # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_authorization_id:, currency:, network:, network_identifiers:, network_risk_score:, pending_transaction_id:, presentment_amount:, presentment_currency:, real_time_decision_id:, scheme_fees:, type:, updated_authorization_amount:)
6714
7623
  # Some parameter documentations has been truncated, see
6715
7624
  # {Increase::Models::CardPayment::Element::CardIncrement} for more details.
6716
7625
  #
@@ -6744,6 +7653,8 @@ module Increase
6744
7653
  #
6745
7654
  # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this increme
6746
7655
  #
7656
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardIncrement::SchemeFee>] The scheme fees associated with this card increment.
7657
+ #
6747
7658
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Type] A constant representing the object's type. For this resource it will always be `
6748
7659
  #
6749
7660
  # @param updated_authorization_amount [Integer] The updated authorization amount after this increment, in the minor unit of the
@@ -7247,6 +8158,179 @@ module Increase
7247
8158
  # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
7248
8159
  end
7249
8160
 
8161
+ class SchemeFee < Increase::Internal::Type::BaseModel
8162
+ # @!attribute amount
8163
+ # The fee amount given as a string containing a decimal number.
8164
+ #
8165
+ # @return [String]
8166
+ required :amount, String
8167
+
8168
+ # @!attribute created_at
8169
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
8170
+ # created.
8171
+ #
8172
+ # @return [Time]
8173
+ required :created_at, Time
8174
+
8175
+ # @!attribute currency
8176
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
8177
+ # reimbursement.
8178
+ #
8179
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardIncrement::SchemeFee::Currency]
8180
+ required :currency, enum: -> { Increase::CardPayment::Element::CardIncrement::SchemeFee::Currency }
8181
+
8182
+ # @!attribute fee_type
8183
+ # The type of fee being assessed.
8184
+ #
8185
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardIncrement::SchemeFee::FeeType]
8186
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType }
8187
+
8188
+ # @!attribute fixed_component
8189
+ # The fixed component of the fee, if applicable, given in major units of the fee
8190
+ # amount.
8191
+ #
8192
+ # @return [String, nil]
8193
+ required :fixed_component, String, nil?: true
8194
+
8195
+ # @!attribute variable_rate
8196
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
8197
+ # 0.015 for 1.5%).
8198
+ #
8199
+ # @return [String, nil]
8200
+ required :variable_rate, String, nil?: true
8201
+
8202
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
8203
+ # Some parameter documentations has been truncated, see
8204
+ # {Increase::Models::CardPayment::Element::CardIncrement::SchemeFee} for more
8205
+ # details.
8206
+ #
8207
+ # @param amount [String] The fee amount given as a string containing a decimal number.
8208
+ #
8209
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
8210
+ #
8211
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardIncrement::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
8212
+ #
8213
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardIncrement::SchemeFee::FeeType] The type of fee being assessed.
8214
+ #
8215
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
8216
+ #
8217
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
8218
+
8219
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
8220
+ # reimbursement.
8221
+ #
8222
+ # @see Increase::Models::CardPayment::Element::CardIncrement::SchemeFee#currency
8223
+ module Currency
8224
+ extend Increase::Internal::Type::Enum
8225
+
8226
+ # US Dollar (USD)
8227
+ USD = :USD
8228
+
8229
+ # @!method self.values
8230
+ # @return [Array<Symbol>]
8231
+ end
8232
+
8233
+ # The type of fee being assessed.
8234
+ #
8235
+ # @see Increase::Models::CardPayment::Element::CardIncrement::SchemeFee#fee_type
8236
+ module FeeType
8237
+ extend Increase::Internal::Type::Enum
8238
+
8239
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
8240
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
8241
+ :visa_international_service_assessment_single_currency
8242
+
8243
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
8244
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
8245
+ :visa_international_service_assessment_cross_currency
8246
+
8247
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
8248
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
8249
+
8250
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
8251
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
8252
+
8253
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
8254
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
8255
+
8256
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
8257
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
8258
+
8259
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
8260
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
8261
+ :visa_authorization_reversal_international_point_of_sale
8262
+
8263
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
8264
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
8265
+
8266
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
8267
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
8268
+
8269
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
8270
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
8271
+
8272
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
8273
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
8274
+
8275
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
8276
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
8277
+
8278
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
8279
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
8280
+
8281
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
8282
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
8283
+
8284
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
8285
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
8286
+
8287
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
8288
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
8289
+
8290
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
8291
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
8292
+
8293
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
8294
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
8295
+
8296
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
8297
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
8298
+
8299
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
8300
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
8301
+
8302
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
8303
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
8304
+
8305
+ # A per transaction fee assessed for Base II financial draft - Issuer.
8306
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
8307
+
8308
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
8309
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
8310
+
8311
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
8312
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
8313
+
8314
+ # Issuer card service fee for Commercial Credit cards.
8315
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
8316
+
8317
+ # Issuer Advertising Service Fee for Commercial Credit cards.
8318
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
8319
+
8320
+ # Issuer Community Growth Acceleration Program Fee.
8321
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
8322
+
8323
+ # Issuer Processing Guarantee for Commercial Credit cards.
8324
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
8325
+
8326
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8327
+ PULSE_SWITCH_FEE = :pulse_switch_fee
8328
+
8329
+ # @!method self.values
8330
+ # @return [Array<Symbol>]
8331
+ end
8332
+ end
8333
+
7250
8334
  # A constant representing the object's type. For this resource it will always be
7251
8335
  # `card_increment`.
7252
8336
  #
@@ -7375,6 +8459,13 @@ module Increase
7375
8459
  },
7376
8460
  nil?: true
7377
8461
 
8462
+ # @!attribute scheme_fees
8463
+ # The scheme fees associated with this card refund.
8464
+ #
8465
+ # @return [Array<Increase::Models::CardPayment::Element::CardRefund::SchemeFee>]
8466
+ required :scheme_fees,
8467
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardRefund::SchemeFee] }
8468
+
7378
8469
  # @!attribute transaction_id
7379
8470
  # The identifier of the Transaction associated with this Transaction.
7380
8471
  #
@@ -7388,7 +8479,7 @@ module Increase
7388
8479
  # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::Type]
7389
8480
  required :type, enum: -> { Increase::CardPayment::Element::CardRefund::Type }
7390
8481
 
7391
- # @!method initialize(id:, amount:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
8482
+ # @!method initialize(id:, amount:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, presentment_amount:, presentment_currency:, purchase_details:, scheme_fees:, transaction_id:, type:)
7392
8483
  # Some parameter documentations has been truncated, see
7393
8484
  # {Increase::Models::CardPayment::Element::CardRefund} for more details.
7394
8485
  #
@@ -7432,6 +8523,8 @@ module Increase
7432
8523
  #
7433
8524
  # @param purchase_details [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi
7434
8525
  #
8526
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardRefund::SchemeFee>] The scheme fees associated with this card refund.
8527
+ #
7435
8528
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
7436
8529
  #
7437
8530
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardRefund::Type] A constant representing the object's type. For this resource it will always be `
@@ -8565,6 +9658,179 @@ module Increase
8565
9658
  end
8566
9659
  end
8567
9660
 
9661
+ class SchemeFee < Increase::Internal::Type::BaseModel
9662
+ # @!attribute amount
9663
+ # The fee amount given as a string containing a decimal number.
9664
+ #
9665
+ # @return [String]
9666
+ required :amount, String
9667
+
9668
+ # @!attribute created_at
9669
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
9670
+ # created.
9671
+ #
9672
+ # @return [Time]
9673
+ required :created_at, Time
9674
+
9675
+ # @!attribute currency
9676
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
9677
+ # reimbursement.
9678
+ #
9679
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::SchemeFee::Currency]
9680
+ required :currency, enum: -> { Increase::CardPayment::Element::CardRefund::SchemeFee::Currency }
9681
+
9682
+ # @!attribute fee_type
9683
+ # The type of fee being assessed.
9684
+ #
9685
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::SchemeFee::FeeType]
9686
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType }
9687
+
9688
+ # @!attribute fixed_component
9689
+ # The fixed component of the fee, if applicable, given in major units of the fee
9690
+ # amount.
9691
+ #
9692
+ # @return [String, nil]
9693
+ required :fixed_component, String, nil?: true
9694
+
9695
+ # @!attribute variable_rate
9696
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
9697
+ # 0.015 for 1.5%).
9698
+ #
9699
+ # @return [String, nil]
9700
+ required :variable_rate, String, nil?: true
9701
+
9702
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
9703
+ # Some parameter documentations has been truncated, see
9704
+ # {Increase::Models::CardPayment::Element::CardRefund::SchemeFee} for more
9705
+ # details.
9706
+ #
9707
+ # @param amount [String] The fee amount given as a string containing a decimal number.
9708
+ #
9709
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
9710
+ #
9711
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardRefund::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
9712
+ #
9713
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardRefund::SchemeFee::FeeType] The type of fee being assessed.
9714
+ #
9715
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
9716
+ #
9717
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
9718
+
9719
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
9720
+ # reimbursement.
9721
+ #
9722
+ # @see Increase::Models::CardPayment::Element::CardRefund::SchemeFee#currency
9723
+ module Currency
9724
+ extend Increase::Internal::Type::Enum
9725
+
9726
+ # US Dollar (USD)
9727
+ USD = :USD
9728
+
9729
+ # @!method self.values
9730
+ # @return [Array<Symbol>]
9731
+ end
9732
+
9733
+ # The type of fee being assessed.
9734
+ #
9735
+ # @see Increase::Models::CardPayment::Element::CardRefund::SchemeFee#fee_type
9736
+ module FeeType
9737
+ extend Increase::Internal::Type::Enum
9738
+
9739
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
9740
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
9741
+ :visa_international_service_assessment_single_currency
9742
+
9743
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
9744
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
9745
+ :visa_international_service_assessment_cross_currency
9746
+
9747
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
9748
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
9749
+
9750
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
9751
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
9752
+
9753
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
9754
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
9755
+
9756
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
9757
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
9758
+
9759
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
9760
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
9761
+ :visa_authorization_reversal_international_point_of_sale
9762
+
9763
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
9764
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
9765
+
9766
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
9767
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
9768
+
9769
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
9770
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
9771
+
9772
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
9773
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
9774
+
9775
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
9776
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
9777
+
9778
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
9779
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
9780
+
9781
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
9782
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
9783
+
9784
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
9785
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
9786
+
9787
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
9788
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
9789
+
9790
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
9791
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
9792
+
9793
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
9794
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
9795
+
9796
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
9797
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
9798
+
9799
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
9800
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
9801
+
9802
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
9803
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
9804
+
9805
+ # A per transaction fee assessed for Base II financial draft - Issuer.
9806
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
9807
+
9808
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
9809
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
9810
+
9811
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
9812
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
9813
+
9814
+ # Issuer card service fee for Commercial Credit cards.
9815
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
9816
+
9817
+ # Issuer Advertising Service Fee for Commercial Credit cards.
9818
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
9819
+
9820
+ # Issuer Community Growth Acceleration Program Fee.
9821
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
9822
+
9823
+ # Issuer Processing Guarantee for Commercial Credit cards.
9824
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
9825
+
9826
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
9827
+ PULSE_SWITCH_FEE = :pulse_switch_fee
9828
+
9829
+ # @!method self.values
9830
+ # @return [Array<Symbol>]
9831
+ end
9832
+ end
9833
+
8568
9834
  # A constant representing the object's type. For this resource it will always be
8569
9835
  # `card_refund`.
8570
9836
  #
@@ -8692,6 +9958,13 @@ module Increase
8692
9958
  enum: -> { Increase::CardPayment::Element::CardReversal::ReversalReason },
8693
9959
  nil?: true
8694
9960
 
9961
+ # @!attribute scheme_fees
9962
+ # The scheme fees associated with this card reversal.
9963
+ #
9964
+ # @return [Array<Increase::Models::CardPayment::Element::CardReversal::SchemeFee>]
9965
+ required :scheme_fees,
9966
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardReversal::SchemeFee] }
9967
+
8695
9968
  # @!attribute terminal_id
8696
9969
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
8697
9970
  # is transacting with.
@@ -8720,7 +9993,7 @@ module Increase
8720
9993
  # @return [Integer]
8721
9994
  required :updated_authorization_presentment_amount, Integer
8722
9995
 
8723
- # @!method initialize(id:, card_authorization_id:, currency:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_currency:, reversal_amount:, reversal_presentment_amount:, reversal_reason:, terminal_id:, type:, updated_authorization_amount:, updated_authorization_presentment_amount:)
9996
+ # @!method initialize(id:, card_authorization_id:, currency:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_currency:, reversal_amount:, reversal_presentment_amount:, reversal_reason:, scheme_fees:, terminal_id:, type:, updated_authorization_amount:, updated_authorization_presentment_amount:)
8724
9997
  # Some parameter documentations has been truncated, see
8725
9998
  # {Increase::Models::CardPayment::Element::CardReversal} for more details.
8726
9999
  #
@@ -8762,6 +10035,8 @@ module Increase
8762
10035
  #
8763
10036
  # @param reversal_reason [Symbol, Increase::Models::CardPayment::Element::CardReversal::ReversalReason, nil] Why this reversal was initiated.
8764
10037
  #
10038
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardReversal::SchemeFee>] The scheme fees associated with this card reversal.
10039
+ #
8765
10040
  # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
8766
10041
  #
8767
10042
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardReversal::Type] A constant representing the object's type. For this resource it will always be `
@@ -8847,26 +10122,199 @@ module Increase
8847
10122
  # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
8848
10123
  end
8849
10124
 
8850
- # Why this reversal was initiated.
8851
- #
8852
- # @see Increase::Models::CardPayment::Element::CardReversal#reversal_reason
8853
- module ReversalReason
8854
- extend Increase::Internal::Type::Enum
10125
+ # Why this reversal was initiated.
10126
+ #
10127
+ # @see Increase::Models::CardPayment::Element::CardReversal#reversal_reason
10128
+ module ReversalReason
10129
+ extend Increase::Internal::Type::Enum
10130
+
10131
+ # The Card Reversal was initiated at the customer's request.
10132
+ REVERSED_BY_CUSTOMER = :reversed_by_customer
10133
+
10134
+ # The Card Reversal was initiated by the network or acquirer.
10135
+ REVERSED_BY_NETWORK_OR_ACQUIRER = :reversed_by_network_or_acquirer
10136
+
10137
+ # The Card Reversal was initiated by the point of sale device.
10138
+ REVERSED_BY_POINT_OF_SALE = :reversed_by_point_of_sale
10139
+
10140
+ # The Card Reversal was a partial reversal, for any reason.
10141
+ PARTIAL_REVERSAL = :partial_reversal
10142
+
10143
+ # @!method self.values
10144
+ # @return [Array<Symbol>]
10145
+ end
10146
+
10147
+ class SchemeFee < Increase::Internal::Type::BaseModel
10148
+ # @!attribute amount
10149
+ # The fee amount given as a string containing a decimal number.
10150
+ #
10151
+ # @return [String]
10152
+ required :amount, String
10153
+
10154
+ # @!attribute created_at
10155
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
10156
+ # created.
10157
+ #
10158
+ # @return [Time]
10159
+ required :created_at, Time
10160
+
10161
+ # @!attribute currency
10162
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
10163
+ # reimbursement.
10164
+ #
10165
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardReversal::SchemeFee::Currency]
10166
+ required :currency, enum: -> { Increase::CardPayment::Element::CardReversal::SchemeFee::Currency }
10167
+
10168
+ # @!attribute fee_type
10169
+ # The type of fee being assessed.
10170
+ #
10171
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardReversal::SchemeFee::FeeType]
10172
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType }
10173
+
10174
+ # @!attribute fixed_component
10175
+ # The fixed component of the fee, if applicable, given in major units of the fee
10176
+ # amount.
10177
+ #
10178
+ # @return [String, nil]
10179
+ required :fixed_component, String, nil?: true
10180
+
10181
+ # @!attribute variable_rate
10182
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
10183
+ # 0.015 for 1.5%).
10184
+ #
10185
+ # @return [String, nil]
10186
+ required :variable_rate, String, nil?: true
10187
+
10188
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
10189
+ # Some parameter documentations has been truncated, see
10190
+ # {Increase::Models::CardPayment::Element::CardReversal::SchemeFee} for more
10191
+ # details.
10192
+ #
10193
+ # @param amount [String] The fee amount given as a string containing a decimal number.
10194
+ #
10195
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
10196
+ #
10197
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardReversal::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
10198
+ #
10199
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardReversal::SchemeFee::FeeType] The type of fee being assessed.
10200
+ #
10201
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
10202
+ #
10203
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
10204
+
10205
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
10206
+ # reimbursement.
10207
+ #
10208
+ # @see Increase::Models::CardPayment::Element::CardReversal::SchemeFee#currency
10209
+ module Currency
10210
+ extend Increase::Internal::Type::Enum
10211
+
10212
+ # US Dollar (USD)
10213
+ USD = :USD
10214
+
10215
+ # @!method self.values
10216
+ # @return [Array<Symbol>]
10217
+ end
10218
+
10219
+ # The type of fee being assessed.
10220
+ #
10221
+ # @see Increase::Models::CardPayment::Element::CardReversal::SchemeFee#fee_type
10222
+ module FeeType
10223
+ extend Increase::Internal::Type::Enum
10224
+
10225
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
10226
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
10227
+ :visa_international_service_assessment_single_currency
10228
+
10229
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
10230
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
10231
+ :visa_international_service_assessment_cross_currency
10232
+
10233
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
10234
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
10235
+
10236
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
10237
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
10238
+
10239
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
10240
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
10241
+
10242
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
10243
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
10244
+
10245
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
10246
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
10247
+ :visa_authorization_reversal_international_point_of_sale
10248
+
10249
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
10250
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
10251
+
10252
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
10253
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
10254
+
10255
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
10256
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
10257
+
10258
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
10259
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
10260
+
10261
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
10262
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
10263
+
10264
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
10265
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
10266
+
10267
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
10268
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
10269
+
10270
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
10271
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
10272
+
10273
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
10274
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
10275
+
10276
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
10277
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
10278
+
10279
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
10280
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
10281
+
10282
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
10283
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
10284
+
10285
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
10286
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
10287
+
10288
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
10289
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
8855
10290
 
8856
- # The Card Reversal was initiated at the customer's request.
8857
- REVERSED_BY_CUSTOMER = :reversed_by_customer
10291
+ # A per transaction fee assessed for Base II financial draft - Issuer.
10292
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
8858
10293
 
8859
- # The Card Reversal was initiated by the network or acquirer.
8860
- REVERSED_BY_NETWORK_OR_ACQUIRER = :reversed_by_network_or_acquirer
10294
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
10295
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
8861
10296
 
8862
- # The Card Reversal was initiated by the point of sale device.
8863
- REVERSED_BY_POINT_OF_SALE = :reversed_by_point_of_sale
10297
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
10298
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
8864
10299
 
8865
- # The Card Reversal was a partial reversal, for any reason.
8866
- PARTIAL_REVERSAL = :partial_reversal
10300
+ # Issuer card service fee for Commercial Credit cards.
10301
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
8867
10302
 
8868
- # @!method self.values
8869
- # @return [Array<Symbol>]
10303
+ # Issuer Advertising Service Fee for Commercial Credit cards.
10304
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
10305
+
10306
+ # Issuer Community Growth Acceleration Program Fee.
10307
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
10308
+
10309
+ # Issuer Processing Guarantee for Commercial Credit cards.
10310
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
10311
+
10312
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
10313
+ PULSE_SWITCH_FEE = :pulse_switch_fee
10314
+
10315
+ # @!method self.values
10316
+ # @return [Array<Symbol>]
10317
+ end
8870
10318
  end
8871
10319
 
8872
10320
  # A constant representing the object's type. For this resource it will always be
@@ -9018,6 +10466,13 @@ module Increase
9018
10466
  -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails },
9019
10467
  nil?: true
9020
10468
 
10469
+ # @!attribute scheme_fees
10470
+ # The scheme fees associated with this card settlement.
10471
+ #
10472
+ # @return [Array<Increase::Models::CardPayment::Element::CardSettlement::SchemeFee>]
10473
+ required :scheme_fees,
10474
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardSettlement::SchemeFee] }
10475
+
9021
10476
  # @!attribute surcharge
9022
10477
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
9023
10478
  # is added to the overall transaction amount (surcharge), and negative if the
@@ -9039,7 +10494,7 @@ module Increase
9039
10494
  # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type]
9040
10495
  required :type, enum: -> { Increase::CardPayment::Element::CardSettlement::Type }
9041
10496
 
9042
- # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, surcharge:, transaction_id:, type:)
10497
+ # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, scheme_fees:, surcharge:, transaction_id:, type:)
9043
10498
  # Some parameter documentations has been truncated, see
9044
10499
  # {Increase::Models::CardPayment::Element::CardSettlement} for more details.
9045
10500
  #
@@ -9089,6 +10544,8 @@ module Increase
9089
10544
  #
9090
10545
  # @param purchase_details [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi
9091
10546
  #
10547
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardSettlement::SchemeFee>] The scheme fees associated with this card settlement.
10548
+ #
9092
10549
  # @param surcharge [Increase::Models::CardPayment::Element::CardSettlement::Surcharge, nil] Surcharge amount details, if applicable. The amount is positive if the surcharge
9093
10550
  #
9094
10551
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
@@ -10239,6 +11696,179 @@ module Increase
10239
11696
  end
10240
11697
  end
10241
11698
 
11699
+ class SchemeFee < Increase::Internal::Type::BaseModel
11700
+ # @!attribute amount
11701
+ # The fee amount given as a string containing a decimal number.
11702
+ #
11703
+ # @return [String]
11704
+ required :amount, String
11705
+
11706
+ # @!attribute created_at
11707
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
11708
+ # created.
11709
+ #
11710
+ # @return [Time]
11711
+ required :created_at, Time
11712
+
11713
+ # @!attribute currency
11714
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
11715
+ # reimbursement.
11716
+ #
11717
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::SchemeFee::Currency]
11718
+ required :currency, enum: -> { Increase::CardPayment::Element::CardSettlement::SchemeFee::Currency }
11719
+
11720
+ # @!attribute fee_type
11721
+ # The type of fee being assessed.
11722
+ #
11723
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::SchemeFee::FeeType]
11724
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType }
11725
+
11726
+ # @!attribute fixed_component
11727
+ # The fixed component of the fee, if applicable, given in major units of the fee
11728
+ # amount.
11729
+ #
11730
+ # @return [String, nil]
11731
+ required :fixed_component, String, nil?: true
11732
+
11733
+ # @!attribute variable_rate
11734
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
11735
+ # 0.015 for 1.5%).
11736
+ #
11737
+ # @return [String, nil]
11738
+ required :variable_rate, String, nil?: true
11739
+
11740
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
11741
+ # Some parameter documentations has been truncated, see
11742
+ # {Increase::Models::CardPayment::Element::CardSettlement::SchemeFee} for more
11743
+ # details.
11744
+ #
11745
+ # @param amount [String] The fee amount given as a string containing a decimal number.
11746
+ #
11747
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
11748
+ #
11749
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardSettlement::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
11750
+ #
11751
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardSettlement::SchemeFee::FeeType] The type of fee being assessed.
11752
+ #
11753
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
11754
+ #
11755
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
11756
+
11757
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
11758
+ # reimbursement.
11759
+ #
11760
+ # @see Increase::Models::CardPayment::Element::CardSettlement::SchemeFee#currency
11761
+ module Currency
11762
+ extend Increase::Internal::Type::Enum
11763
+
11764
+ # US Dollar (USD)
11765
+ USD = :USD
11766
+
11767
+ # @!method self.values
11768
+ # @return [Array<Symbol>]
11769
+ end
11770
+
11771
+ # The type of fee being assessed.
11772
+ #
11773
+ # @see Increase::Models::CardPayment::Element::CardSettlement::SchemeFee#fee_type
11774
+ module FeeType
11775
+ extend Increase::Internal::Type::Enum
11776
+
11777
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
11778
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
11779
+ :visa_international_service_assessment_single_currency
11780
+
11781
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
11782
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
11783
+ :visa_international_service_assessment_cross_currency
11784
+
11785
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
11786
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
11787
+
11788
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
11789
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
11790
+
11791
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
11792
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
11793
+
11794
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
11795
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
11796
+
11797
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
11798
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
11799
+ :visa_authorization_reversal_international_point_of_sale
11800
+
11801
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
11802
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
11803
+
11804
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
11805
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
11806
+
11807
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
11808
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
11809
+
11810
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
11811
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
11812
+
11813
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
11814
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
11815
+
11816
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
11817
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
11818
+
11819
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
11820
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
11821
+
11822
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
11823
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
11824
+
11825
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
11826
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
11827
+
11828
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
11829
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
11830
+
11831
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
11832
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
11833
+
11834
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
11835
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
11836
+
11837
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
11838
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
11839
+
11840
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
11841
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
11842
+
11843
+ # A per transaction fee assessed for Base II financial draft - Issuer.
11844
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
11845
+
11846
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
11847
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
11848
+
11849
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
11850
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
11851
+
11852
+ # Issuer card service fee for Commercial Credit cards.
11853
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
11854
+
11855
+ # Issuer Advertising Service Fee for Commercial Credit cards.
11856
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
11857
+
11858
+ # Issuer Community Growth Acceleration Program Fee.
11859
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
11860
+
11861
+ # Issuer Processing Guarantee for Commercial Credit cards.
11862
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
11863
+
11864
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
11865
+ PULSE_SWITCH_FEE = :pulse_switch_fee
11866
+
11867
+ # @!method self.values
11868
+ # @return [Array<Symbol>]
11869
+ end
11870
+ end
11871
+
10242
11872
  # @see Increase::Models::CardPayment::Element::CardSettlement#surcharge
10243
11873
  class Surcharge < Increase::Internal::Type::BaseModel
10244
11874
  # @!attribute amount
@@ -10404,6 +12034,13 @@ module Increase
10404
12034
  # @return [String, nil]
10405
12035
  required :real_time_decision_id, String, nil?: true
10406
12036
 
12037
+ # @!attribute scheme_fees
12038
+ # The scheme fees associated with this card validation.
12039
+ #
12040
+ # @return [Array<Increase::Models::CardPayment::Element::CardValidation::SchemeFee>]
12041
+ required :scheme_fees,
12042
+ -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardValidation::SchemeFee] }
12043
+
10407
12044
  # @!attribute terminal_id
10408
12045
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
10409
12046
  # is transacting with.
@@ -10424,7 +12061,7 @@ module Increase
10424
12061
  # @return [Increase::Models::CardPayment::Element::CardValidation::Verification]
10425
12062
  required :verification, -> { Increase::CardPayment::Element::CardValidation::Verification }
10426
12063
 
10427
- # @!method initialize(id:, actioner:, additional_amounts:, card_payment_id:, currency:, digital_wallet_token_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:, real_time_decision_id:, terminal_id:, type:, verification:)
12064
+ # @!method initialize(id:, actioner:, additional_amounts:, card_payment_id:, currency:, digital_wallet_token_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:, real_time_decision_id:, scheme_fees:, terminal_id:, type:, verification:)
10428
12065
  # Some parameter documentations has been truncated, see
10429
12066
  # {Increase::Models::CardPayment::Element::CardValidation} for more details.
10430
12067
  #
@@ -10469,6 +12106,8 @@ module Increase
10469
12106
  #
10470
12107
  # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
10471
12108
  #
12109
+ # @param scheme_fees [Array<Increase::Models::CardPayment::Element::CardValidation::SchemeFee>] The scheme fees associated with this card validation.
12110
+ #
10472
12111
  # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
10473
12112
  #
10474
12113
  # @param type [Symbol, Increase::Models::CardPayment::Element::CardValidation::Type] A constant representing the object's type. For this resource it will always be `
@@ -11241,6 +12880,179 @@ module Increase
11241
12880
  # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro
11242
12881
  end
11243
12882
 
12883
+ class SchemeFee < Increase::Internal::Type::BaseModel
12884
+ # @!attribute amount
12885
+ # The fee amount given as a string containing a decimal number.
12886
+ #
12887
+ # @return [String]
12888
+ required :amount, String
12889
+
12890
+ # @!attribute created_at
12891
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
12892
+ # created.
12893
+ #
12894
+ # @return [Time]
12895
+ required :created_at, Time
12896
+
12897
+ # @!attribute currency
12898
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
12899
+ # reimbursement.
12900
+ #
12901
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::SchemeFee::Currency]
12902
+ required :currency, enum: -> { Increase::CardPayment::Element::CardValidation::SchemeFee::Currency }
12903
+
12904
+ # @!attribute fee_type
12905
+ # The type of fee being assessed.
12906
+ #
12907
+ # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::SchemeFee::FeeType]
12908
+ required :fee_type, enum: -> { Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType }
12909
+
12910
+ # @!attribute fixed_component
12911
+ # The fixed component of the fee, if applicable, given in major units of the fee
12912
+ # amount.
12913
+ #
12914
+ # @return [String, nil]
12915
+ required :fixed_component, String, nil?: true
12916
+
12917
+ # @!attribute variable_rate
12918
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
12919
+ # 0.015 for 1.5%).
12920
+ #
12921
+ # @return [String, nil]
12922
+ required :variable_rate, String, nil?: true
12923
+
12924
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
12925
+ # Some parameter documentations has been truncated, see
12926
+ # {Increase::Models::CardPayment::Element::CardValidation::SchemeFee} for more
12927
+ # details.
12928
+ #
12929
+ # @param amount [String] The fee amount given as a string containing a decimal number.
12930
+ #
12931
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
12932
+ #
12933
+ # @param currency [Symbol, Increase::Models::CardPayment::Element::CardValidation::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
12934
+ #
12935
+ # @param fee_type [Symbol, Increase::Models::CardPayment::Element::CardValidation::SchemeFee::FeeType] The type of fee being assessed.
12936
+ #
12937
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
12938
+ #
12939
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
12940
+
12941
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
12942
+ # reimbursement.
12943
+ #
12944
+ # @see Increase::Models::CardPayment::Element::CardValidation::SchemeFee#currency
12945
+ module Currency
12946
+ extend Increase::Internal::Type::Enum
12947
+
12948
+ # US Dollar (USD)
12949
+ USD = :USD
12950
+
12951
+ # @!method self.values
12952
+ # @return [Array<Symbol>]
12953
+ end
12954
+
12955
+ # The type of fee being assessed.
12956
+ #
12957
+ # @see Increase::Models::CardPayment::Element::CardValidation::SchemeFee#fee_type
12958
+ module FeeType
12959
+ extend Increase::Internal::Type::Enum
12960
+
12961
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
12962
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
12963
+ :visa_international_service_assessment_single_currency
12964
+
12965
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
12966
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
12967
+ :visa_international_service_assessment_cross_currency
12968
+
12969
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
12970
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
12971
+
12972
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
12973
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
12974
+
12975
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
12976
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
12977
+
12978
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
12979
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
12980
+
12981
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
12982
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
12983
+ :visa_authorization_reversal_international_point_of_sale
12984
+
12985
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
12986
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
12987
+
12988
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
12989
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
12990
+
12991
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
12992
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
12993
+
12994
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
12995
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
12996
+
12997
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
12998
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
12999
+
13000
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
13001
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
13002
+
13003
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
13004
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
13005
+
13006
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
13007
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
13008
+
13009
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
13010
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
13011
+
13012
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
13013
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
13014
+
13015
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
13016
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
13017
+
13018
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
13019
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
13020
+
13021
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
13022
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
13023
+
13024
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
13025
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
13026
+
13027
+ # A per transaction fee assessed for Base II financial draft - Issuer.
13028
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
13029
+
13030
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
13031
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
13032
+
13033
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
13034
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
13035
+
13036
+ # Issuer card service fee for Commercial Credit cards.
13037
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
13038
+
13039
+ # Issuer Advertising Service Fee for Commercial Credit cards.
13040
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
13041
+
13042
+ # Issuer Community Growth Acceleration Program Fee.
13043
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
13044
+
13045
+ # Issuer Processing Guarantee for Commercial Credit cards.
13046
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
13047
+
13048
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
13049
+ PULSE_SWITCH_FEE = :pulse_switch_fee
13050
+
13051
+ # @!method self.values
13052
+ # @return [Array<Symbol>]
13053
+ end
13054
+ end
13055
+
11244
13056
  # A constant representing the object's type. For this resource it will always be
11245
13057
  # `inbound_card_validation`.
11246
13058
  #
@@ -11449,178 +13261,6 @@ module Increase
11449
13261
  end
11450
13262
  end
11451
13263
 
11452
- class SchemeFee < Increase::Internal::Type::BaseModel
11453
- # @!attribute amount
11454
- # The fee amount given as a string containing a decimal number.
11455
- #
11456
- # @return [String]
11457
- required :amount, String
11458
-
11459
- # @!attribute created_at
11460
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
11461
- # created.
11462
- #
11463
- # @return [Time]
11464
- required :created_at, Time
11465
-
11466
- # @!attribute currency
11467
- # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
11468
- # reimbursement.
11469
- #
11470
- # @return [Symbol, Increase::Models::CardPayment::SchemeFee::Currency]
11471
- required :currency, enum: -> { Increase::CardPayment::SchemeFee::Currency }
11472
-
11473
- # @!attribute fee_type
11474
- # The type of fee being assessed.
11475
- #
11476
- # @return [Symbol, Increase::Models::CardPayment::SchemeFee::FeeType]
11477
- required :fee_type, enum: -> { Increase::CardPayment::SchemeFee::FeeType }
11478
-
11479
- # @!attribute fixed_component
11480
- # The fixed component of the fee, if applicable, given in major units of the fee
11481
- # amount.
11482
- #
11483
- # @return [String, nil]
11484
- required :fixed_component, String, nil?: true
11485
-
11486
- # @!attribute variable_rate
11487
- # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
11488
- # 0.015 for 1.5%).
11489
- #
11490
- # @return [String, nil]
11491
- required :variable_rate, String, nil?: true
11492
-
11493
- # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
11494
- # Some parameter documentations has been truncated, see
11495
- # {Increase::Models::CardPayment::SchemeFee} for more details.
11496
- #
11497
- # @param amount [String] The fee amount given as a string containing a decimal number.
11498
- #
11499
- # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
11500
- #
11501
- # @param currency [Symbol, Increase::Models::CardPayment::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
11502
- #
11503
- # @param fee_type [Symbol, Increase::Models::CardPayment::SchemeFee::FeeType] The type of fee being assessed.
11504
- #
11505
- # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
11506
- #
11507
- # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
11508
-
11509
- # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
11510
- # reimbursement.
11511
- #
11512
- # @see Increase::Models::CardPayment::SchemeFee#currency
11513
- module Currency
11514
- extend Increase::Internal::Type::Enum
11515
-
11516
- # US Dollar (USD)
11517
- USD = :USD
11518
-
11519
- # @!method self.values
11520
- # @return [Array<Symbol>]
11521
- end
11522
-
11523
- # The type of fee being assessed.
11524
- #
11525
- # @see Increase::Models::CardPayment::SchemeFee#fee_type
11526
- module FeeType
11527
- extend Increase::Internal::Type::Enum
11528
-
11529
- # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
11530
- VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
11531
- :visa_international_service_assessment_single_currency
11532
-
11533
- # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
11534
- VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
11535
- :visa_international_service_assessment_cross_currency
11536
-
11537
- # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
11538
- VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
11539
-
11540
- # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
11541
- VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
11542
-
11543
- # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
11544
- VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
11545
-
11546
- # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
11547
- VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
11548
-
11549
- # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
11550
- VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
11551
- :visa_authorization_reversal_international_point_of_sale
11552
-
11553
- # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
11554
- VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
11555
-
11556
- # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
11557
- VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
11558
-
11559
- # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
11560
- VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
11561
-
11562
- # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
11563
- VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
11564
-
11565
- # Activity, per inquiry, related to the international Issuer for Account Number Verification.
11566
- VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
11567
-
11568
- # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
11569
- VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
11570
-
11571
- # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
11572
- VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
11573
-
11574
- # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
11575
- VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
11576
-
11577
- # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
11578
- VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
11579
-
11580
- # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
11581
- VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
11582
-
11583
- # Activity and fees for the processing of a sales draft original for a purchase transaction.
11584
- VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
11585
-
11586
- # Activity and fees for the processing of an international sales draft original for a purchase transaction.
11587
- VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
11588
-
11589
- # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
11590
- VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
11591
-
11592
- # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
11593
- VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
11594
-
11595
- # A per transaction fee assessed for Base II financial draft - Issuer.
11596
- VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
11597
-
11598
- # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
11599
- VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
11600
-
11601
- # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
11602
- VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
11603
-
11604
- # Issuer card service fee for Commercial Credit cards.
11605
- VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
11606
-
11607
- # Issuer Advertising Service Fee for Commercial Credit cards.
11608
- VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
11609
-
11610
- # Issuer Community Growth Acceleration Program Fee.
11611
- VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
11612
-
11613
- # Issuer Processing Guarantee for Commercial Credit cards.
11614
- VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
11615
-
11616
- # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
11617
- PULSE_SWITCH_FEE = :pulse_switch_fee
11618
-
11619
- # @!method self.values
11620
- # @return [Array<Symbol>]
11621
- end
11622
- end
11623
-
11624
13264
  # @see Increase::Models::CardPayment#state
11625
13265
  class State < Increase::Internal::Type::BaseModel
11626
13266
  # @!attribute authorized_amount