increase 1.333.1 → 1.335.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 (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +26 -5
  4. data/lib/increase/models/ach_prenotification.rb +5 -2
  5. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  6. data/lib/increase/models/ach_transfer.rb +9 -3
  7. data/lib/increase/models/ach_transfer_create_params.rb +3 -0
  8. data/lib/increase/models/card.rb +9 -1
  9. data/lib/increase/models/card_dispute.rb +40 -1
  10. data/lib/increase/models/card_dispute_list_params.rb +3 -0
  11. data/lib/increase/models/card_payment.rb +74 -6
  12. data/lib/increase/models/card_push_transfer.rb +53 -1
  13. data/lib/increase/models/check_transfer.rb +4 -8
  14. data/lib/increase/models/declined_transaction.rb +4 -1
  15. data/lib/increase/models/digital_wallet_token.rb +59 -1
  16. data/lib/increase/models/entity.rb +1 -1
  17. data/lib/increase/models/event.rb +12 -0
  18. data/lib/increase/models/event_list_params.rb +12 -0
  19. data/lib/increase/models/event_subscription.rb +12 -0
  20. data/lib/increase/models/event_subscription_create_params.rb +12 -0
  21. data/lib/increase/models/export.rb +17 -1
  22. data/lib/increase/models/export_create_params.rb +78 -1
  23. data/lib/increase/models/fednow_transfer.rb +47 -1
  24. data/lib/increase/models/inbound_wire_transfer.rb +9 -1
  25. data/lib/increase/models/pending_transaction.rb +57 -1
  26. data/lib/increase/models/physical_card.rb +1 -1
  27. data/lib/increase/models/physical_card_profile.rb +38 -1
  28. data/lib/increase/models/real_time_decision.rb +55 -1
  29. data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +3 -0
  30. data/lib/increase/models/simulations/card_authorization_create_params.rb +4 -1
  31. data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +1 -1
  32. data/lib/increase/models/simulations/check_deposit_submit_params.rb +21 -2
  33. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +6 -0
  34. data/lib/increase/models/simulations/entity_update_validation_params.rb +1 -1
  35. data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
  36. data/lib/increase/models/simulations/physical_card_create_params.rb +1 -1
  37. data/lib/increase/models/transaction.rb +23 -8
  38. data/lib/increase/models/unwrap_webhook_event.rb +12 -0
  39. data/lib/increase/models/wire_drawdown_request.rb +20 -1
  40. data/lib/increase/resources/events.rb +4 -1
  41. data/lib/increase/resources/exports.rb +3 -1
  42. data/lib/increase/resources/simulations/check_deposits.rb +3 -0
  43. data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
  44. data/lib/increase/version.rb +1 -1
  45. data/rbi/increase/models/ach_prenotification.rbi +9 -2
  46. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  47. data/rbi/increase/models/ach_transfer.rbi +14 -4
  48. data/rbi/increase/models/ach_transfer_create_params.rbi +4 -0
  49. data/rbi/increase/models/card.rbi +8 -0
  50. data/rbi/increase/models/card_dispute.rbi +56 -0
  51. data/rbi/increase/models/card_dispute_list_params.rbi +7 -0
  52. data/rbi/increase/models/card_payment.rbi +156 -7
  53. data/rbi/increase/models/card_push_transfer.rbi +56 -0
  54. data/rbi/increase/models/check_transfer.rbi +4 -10
  55. data/rbi/increase/models/declined_transaction.rbi +8 -1
  56. data/rbi/increase/models/digital_wallet_token.rbi +131 -0
  57. data/rbi/increase/models/entity.rbi +1 -1
  58. data/rbi/increase/models/event.rbi +22 -0
  59. data/rbi/increase/models/event_list_params.rbi +28 -0
  60. data/rbi/increase/models/event_subscription.rbi +28 -0
  61. data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
  62. data/rbi/increase/models/export.rbi +25 -5
  63. data/rbi/increase/models/export_create_params.rbi +151 -0
  64. data/rbi/increase/models/fednow_transfer.rbi +77 -0
  65. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  66. data/rbi/increase/models/pending_transaction.rbi +129 -0
  67. data/rbi/increase/models/physical_card.rbi +1 -1
  68. data/rbi/increase/models/physical_card_profile.rbi +60 -0
  69. data/rbi/increase/models/real_time_decision.rbi +127 -0
  70. data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +7 -0
  71. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +8 -1
  72. data/rbi/increase/models/simulations/card_balance_inquiry_create_params.rbi +1 -1
  73. data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +21 -3
  74. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +14 -0
  75. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +1 -1
  76. data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
  77. data/rbi/increase/models/simulations/physical_card_create_params.rbi +1 -1
  78. data/rbi/increase/models/transaction.rbi +31 -10
  79. data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
  80. data/rbi/increase/models/wire_drawdown_request.rbi +22 -0
  81. data/rbi/increase/resources/events.rbi +4 -1
  82. data/rbi/increase/resources/exports.rbi +3 -0
  83. data/rbi/increase/resources/simulations/check_deposits.rbi +1 -0
  84. data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
  85. data/sig/increase/models/ach_prenotification.rbs +7 -3
  86. data/sig/increase/models/ach_prenotification_create_params.rbs +2 -2
  87. data/sig/increase/models/ach_transfer.rbs +9 -2
  88. data/sig/increase/models/ach_transfer_create_params.rbs +4 -1
  89. data/sig/increase/models/card.rbs +5 -0
  90. data/sig/increase/models/card_dispute.rbs +21 -0
  91. data/sig/increase/models/card_dispute_list_params.rbs +4 -0
  92. data/sig/increase/models/card_payment.rbs +49 -1
  93. data/sig/increase/models/card_push_transfer.rbs +30 -0
  94. data/sig/increase/models/check_transfer.rbs +5 -5
  95. data/sig/increase/models/declined_transaction.rbs +5 -1
  96. data/sig/increase/models/digital_wallet_token.rbs +61 -2
  97. data/sig/increase/models/entity.rbs +1 -1
  98. data/sig/increase/models/event.rbs +16 -0
  99. data/sig/increase/models/event_list_params.rbs +16 -0
  100. data/sig/increase/models/event_subscription.rbs +16 -0
  101. data/sig/increase/models/event_subscription_create_params.rbs +16 -0
  102. data/sig/increase/models/export.rbs +23 -3
  103. data/sig/increase/models/export_create_params.rbs +76 -0
  104. data/sig/increase/models/fednow_transfer.rbs +37 -0
  105. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  106. data/sig/increase/models/pending_transaction.rbs +40 -0
  107. data/sig/increase/models/physical_card.rbs +1 -1
  108. data/sig/increase/models/physical_card_profile.rbs +17 -0
  109. data/sig/increase/models/real_time_decision.rbs +40 -0
  110. data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +5 -1
  111. data/sig/increase/models/simulations/card_authorization_create_params.rbs +5 -1
  112. data/sig/increase/models/simulations/card_balance_inquiry_create_params.rbs +1 -1
  113. data/sig/increase/models/simulations/check_deposit_submit_params.rbs +10 -3
  114. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +8 -0
  115. data/sig/increase/models/simulations/entity_update_validation_params.rbs +1 -1
  116. data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +7 -0
  117. data/sig/increase/models/simulations/physical_card_create_params.rbs +1 -1
  118. data/sig/increase/models/transaction.rbs +9 -0
  119. data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
  120. data/sig/increase/models/wire_drawdown_request.rbs +10 -0
  121. data/sig/increase/resources/exports.rbs +1 -0
  122. data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
  123. metadata +4 -4
@@ -47,6 +47,18 @@ module Increase
47
47
  sig { returns(Increase::CardDispute::Network::TaggedSymbol) }
48
48
  attr_accessor :network
49
49
 
50
+ # If the Card Dispute has been rejected, this will contain details of the
51
+ # rejection.
52
+ sig { returns(T.nilable(Increase::CardDispute::Rejection)) }
53
+ attr_reader :rejection
54
+
55
+ sig do
56
+ params(
57
+ rejection: T.nilable(Increase::CardDispute::Rejection::OrHash)
58
+ ).void
59
+ end
60
+ attr_writer :rejection
61
+
50
62
  # The status of the Card Dispute.
51
63
  sig { returns(Increase::CardDispute::Status::TaggedSymbol) }
52
64
  attr_accessor :status
@@ -104,6 +116,7 @@ module Increase
104
116
  idempotency_key: T.nilable(String),
105
117
  loss: T.nilable(Increase::CardDispute::Loss::OrHash),
106
118
  network: Increase::CardDispute::Network::OrSymbol,
119
+ rejection: T.nilable(Increase::CardDispute::Rejection::OrHash),
107
120
  status: Increase::CardDispute::Status::OrSymbol,
108
121
  type: Increase::CardDispute::Type::OrSymbol,
109
122
  user_submission_required_by: T.nilable(Time),
@@ -133,6 +146,9 @@ module Increase
133
146
  loss:,
134
147
  # The network that the Card Dispute is associated with.
135
148
  network:,
149
+ # If the Card Dispute has been rejected, this will contain details of the
150
+ # rejection.
151
+ rejection:,
136
152
  # The status of the Card Dispute.
137
153
  status:,
138
154
  # A constant representing the object's type. For this resource it will always be
@@ -167,6 +183,7 @@ module Increase
167
183
  idempotency_key: T.nilable(String),
168
184
  loss: T.nilable(Increase::CardDispute::Loss),
169
185
  network: Increase::CardDispute::Network::TaggedSymbol,
186
+ rejection: T.nilable(Increase::CardDispute::Rejection),
170
187
  status: Increase::CardDispute::Status::TaggedSymbol,
171
188
  type: Increase::CardDispute::Type::TaggedSymbol,
172
189
  user_submission_required_by: T.nilable(Time),
@@ -273,6 +290,42 @@ module Increase
273
290
  end
274
291
  end
275
292
 
293
+ class Rejection < Increase::Internal::Type::BaseModel
294
+ OrHash =
295
+ T.type_alias do
296
+ T.any(Increase::CardDispute::Rejection, Increase::Internal::AnyHash)
297
+ end
298
+
299
+ # Why the Card Dispute was rejected.
300
+ sig { returns(String) }
301
+ attr_accessor :explanation
302
+
303
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
304
+ # the Card Dispute was rejected.
305
+ sig { returns(Time) }
306
+ attr_accessor :rejected_at
307
+
308
+ # If the Card Dispute has been rejected, this will contain details of the
309
+ # rejection.
310
+ sig do
311
+ params(explanation: String, rejected_at: Time).returns(
312
+ T.attached_class
313
+ )
314
+ end
315
+ def self.new(
316
+ # Why the Card Dispute was rejected.
317
+ explanation:,
318
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
319
+ # the Card Dispute was rejected.
320
+ rejected_at:
321
+ )
322
+ end
323
+
324
+ sig { override.returns({ explanation: String, rejected_at: Time }) }
325
+ def to_hash
326
+ end
327
+ end
328
+
276
329
  # The status of the Card Dispute.
277
330
  module Status
278
331
  extend Increase::Internal::Type::Enum
@@ -319,6 +372,9 @@ module Increase
319
372
  # The Card Dispute has been won and no further action can be taken.
320
373
  WON = T.let(:won, Increase::CardDispute::Status::TaggedSymbol)
321
374
 
375
+ # The Card Dispute has been reviewed and rejected, please review the explanation for more details.
376
+ REJECTED = T.let(:rejected, Increase::CardDispute::Status::TaggedSymbol)
377
+
322
378
  sig do
323
379
  override.returns(
324
380
  T::Array[Increase::CardDispute::Status::TaggedSymbol]
@@ -280,6 +280,13 @@ module Increase
280
280
  Increase::CardDisputeListParams::Status::In::TaggedSymbol
281
281
  )
282
282
 
283
+ # The Card Dispute has been reviewed and rejected, please review the explanation for more details.
284
+ REJECTED =
285
+ T.let(
286
+ :rejected,
287
+ Increase::CardDisputeListParams::Status::In::TaggedSymbol
288
+ )
289
+
283
290
  sig do
284
291
  override.returns(
285
292
  T::Array[
@@ -216,8 +216,10 @@ module Increase
216
216
  attr_writer :card_decline
217
217
 
218
218
  # A Card Financial object. This field will be present in the JSON response if and
219
- # only if `category` is equal to `card_financial`. Card Financials are temporary
220
- # holds placed on a customer's funds with the intent to later clear a transaction.
219
+ # only if `category` is equal to `card_financial`. Card Financials are card
220
+ # transactions that have cleared and settled. Unlike a Card Settlement, which
221
+ # clears a previous authorization, a Card Financial is authorized and cleared in a
222
+ # single message.
221
223
  sig do
222
224
  returns(T.nilable(Increase::CardPayment::Element::CardFinancial))
223
225
  end
@@ -417,8 +419,10 @@ module Increase
417
419
  # only if `category` is equal to `card_decline`.
418
420
  card_decline: nil,
419
421
  # A Card Financial object. This field will be present in the JSON response if and
420
- # only if `category` is equal to `card_financial`. Card Financials are temporary
421
- # holds placed on a customer's funds with the intent to later clear a transaction.
422
+ # only if `category` is equal to `card_financial`. Card Financials are card
423
+ # transactions that have cleared and settled. Unlike a Card Settlement, which
424
+ # clears a previous authorization, a Card Financial is authorized and cleared in a
425
+ # single message.
422
426
  card_financial: nil,
423
427
  # A Card Fuel Confirmation object. This field will be present in the JSON response
424
428
  # if and only if `category` is equal to `card_fuel_confirmation`. Card Fuel
@@ -2491,6 +2495,27 @@ module Increase
2491
2495
  sig { returns(Time) }
2492
2496
  attr_accessor :expires_at
2493
2497
 
2498
+ # The healthcare-related fields for this authorization. Only present for specific
2499
+ # programs.
2500
+ sig do
2501
+ returns(
2502
+ T.nilable(
2503
+ Increase::CardPayment::Element::CardAuthorization::Healthcare
2504
+ )
2505
+ )
2506
+ end
2507
+ attr_reader :healthcare
2508
+
2509
+ sig do
2510
+ params(
2511
+ healthcare:
2512
+ T.nilable(
2513
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::OrHash
2514
+ )
2515
+ ).void
2516
+ end
2517
+ attr_writer :healthcare
2518
+
2494
2519
  # The merchant identifier (commonly abbreviated as MID) of the merchant the card
2495
2520
  # is transacting with.
2496
2521
  sig { returns(String) }
@@ -2651,6 +2676,10 @@ module Increase
2651
2676
  direction:
2652
2677
  Increase::CardPayment::Element::CardAuthorization::Direction::OrSymbol,
2653
2678
  expires_at: Time,
2679
+ healthcare:
2680
+ T.nilable(
2681
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::OrHash
2682
+ ),
2654
2683
  merchant_acceptor_id: String,
2655
2684
  merchant_category_code: String,
2656
2685
  merchant_city: T.nilable(String),
@@ -2708,6 +2737,9 @@ module Increase
2708
2737
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
2709
2738
  # will expire and the pending transaction will be released.
2710
2739
  expires_at:,
2740
+ # The healthcare-related fields for this authorization. Only present for specific
2741
+ # programs.
2742
+ healthcare:,
2711
2743
  # The merchant identifier (commonly abbreviated as MID) of the merchant the card
2712
2744
  # is transacting with.
2713
2745
  merchant_acceptor_id:,
@@ -2778,6 +2810,10 @@ module Increase
2778
2810
  direction:
2779
2811
  Increase::CardPayment::Element::CardAuthorization::Direction::TaggedSymbol,
2780
2812
  expires_at: Time,
2813
+ healthcare:
2814
+ T.nilable(
2815
+ Increase::CardPayment::Element::CardAuthorization::Healthcare
2816
+ ),
2781
2817
  merchant_acceptor_id: String,
2782
2818
  merchant_category_code: String,
2783
2819
  merchant_city: T.nilable(String),
@@ -3679,6 +3715,96 @@ module Increase
3679
3715
  end
3680
3716
  end
3681
3717
 
3718
+ class Healthcare < Increase::Internal::Type::BaseModel
3719
+ OrHash =
3720
+ T.type_alias do
3721
+ T.any(
3722
+ Increase::CardPayment::Element::CardAuthorization::Healthcare,
3723
+ Increase::Internal::AnyHash
3724
+ )
3725
+ end
3726
+
3727
+ # The merchant's eligibility under the Internal Revenue Service's 90% Rule for
3728
+ # Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
3729
+ # products. The eligibility is determined based on the list of merchants
3730
+ # maintained by the Special Interest Group for IIAS Standards (SIGIS).
3731
+ sig do
3732
+ returns(
3733
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
3734
+ )
3735
+ end
3736
+ attr_accessor :merchant_ninety_percent_eligibility
3737
+
3738
+ # The healthcare-related fields for this authorization. Only present for specific
3739
+ # programs.
3740
+ sig do
3741
+ params(
3742
+ merchant_ninety_percent_eligibility:
3743
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::OrSymbol
3744
+ ).returns(T.attached_class)
3745
+ end
3746
+ def self.new(
3747
+ # The merchant's eligibility under the Internal Revenue Service's 90% Rule for
3748
+ # Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
3749
+ # products. The eligibility is determined based on the list of merchants
3750
+ # maintained by the Special Interest Group for IIAS Standards (SIGIS).
3751
+ merchant_ninety_percent_eligibility:
3752
+ )
3753
+ end
3754
+
3755
+ sig do
3756
+ override.returns(
3757
+ {
3758
+ merchant_ninety_percent_eligibility:
3759
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
3760
+ }
3761
+ )
3762
+ end
3763
+ def to_hash
3764
+ end
3765
+
3766
+ # The merchant's eligibility under the Internal Revenue Service's 90% Rule for
3767
+ # Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
3768
+ # products. The eligibility is determined based on the list of merchants
3769
+ # maintained by the Special Interest Group for IIAS Standards (SIGIS).
3770
+ module MerchantNinetyPercentEligibility
3771
+ extend Increase::Internal::Type::Enum
3772
+
3773
+ TaggedSymbol =
3774
+ T.type_alias do
3775
+ T.all(
3776
+ Symbol,
3777
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility
3778
+ )
3779
+ end
3780
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
3781
+
3782
+ # The merchant is eligible for treatment under the 90% rule.
3783
+ ELIGIBLE =
3784
+ T.let(
3785
+ :eligible,
3786
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
3787
+ )
3788
+
3789
+ # The merchant is not eligible for treatment under the 90% rule.
3790
+ NOT_ELIGIBLE =
3791
+ T.let(
3792
+ :not_eligible,
3793
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
3794
+ )
3795
+
3796
+ sig do
3797
+ override.returns(
3798
+ T::Array[
3799
+ Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
3800
+ ]
3801
+ )
3802
+ end
3803
+ def self.values
3804
+ end
3805
+ end
3806
+ end
3807
+
3682
3808
  class NetworkDetails < Increase::Internal::Type::BaseModel
3683
3809
  OrHash =
3684
3810
  T.type_alias do
@@ -4444,6 +4570,13 @@ module Increase
4444
4570
  Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
4445
4571
  )
4446
4572
 
4573
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
4574
+ CASH_DEPOSIT =
4575
+ T.let(
4576
+ :cash_deposit,
4577
+ Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
4578
+ )
4579
+
4447
4580
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
4448
4581
  BALANCE_INQUIRY =
4449
4582
  T.let(
@@ -10057,6 +10190,13 @@ module Increase
10057
10190
  Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
10058
10191
  )
10059
10192
 
10193
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
10194
+ CASH_DEPOSIT =
10195
+ T.let(
10196
+ :cash_deposit,
10197
+ Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
10198
+ )
10199
+
10060
10200
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
10061
10201
  BALANCE_INQUIRY =
10062
10202
  T.let(
@@ -10239,7 +10379,7 @@ module Increase
10239
10379
  Increase::CardPayment::Element::CardDecline::Reason::TaggedSymbol
10240
10380
  )
10241
10381
 
10242
- # The transaction was blocked by a Limit.
10382
+ # The transaction was blocked by a limit or an authorization control.
10243
10383
  BREACHES_LIMIT =
10244
10384
  T.let(
10245
10385
  :breaches_limit,
@@ -11274,8 +11414,10 @@ module Increase
11274
11414
  attr_writer :verification
11275
11415
 
11276
11416
  # A Card Financial object. This field will be present in the JSON response if and
11277
- # only if `category` is equal to `card_financial`. Card Financials are temporary
11278
- # holds placed on a customer's funds with the intent to later clear a transaction.
11417
+ # only if `category` is equal to `card_financial`. Card Financials are card
11418
+ # transactions that have cleared and settled. Unlike a Card Settlement, which
11419
+ # clears a previous authorization, a Card Financial is authorized and cleared in a
11420
+ # single message.
11279
11421
  sig do
11280
11422
  params(
11281
11423
  id: String,
@@ -13079,6 +13221,13 @@ module Increase
13079
13221
  Increase::CardPayment::Element::CardFinancial::ProcessingCategory::TaggedSymbol
13080
13222
  )
13081
13223
 
13224
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
13225
+ CASH_DEPOSIT =
13226
+ T.let(
13227
+ :cash_deposit,
13228
+ Increase::CardPayment::Element::CardFinancial::ProcessingCategory::TaggedSymbol
13229
+ )
13230
+
13082
13231
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
13083
13232
  BALANCE_INQUIRY =
13084
13233
  T.let(
@@ -112,6 +112,11 @@ module Increase
112
112
  sig { returns(String) }
113
113
  attr_accessor :merchant_city_name
114
114
 
115
+ # The legal business name of the merchant (generally your business) sending the
116
+ # transfer.
117
+ sig { returns(T.nilable(String)) }
118
+ attr_accessor :merchant_legal_business_name
119
+
115
120
  # The merchant name shows up as the statement descriptor for the transfer. This is
116
121
  # typically the name of your business or organization.
117
122
  sig { returns(String) }
@@ -131,6 +136,11 @@ module Increase
131
136
  sig { returns(String) }
132
137
  attr_accessor :merchant_state
133
138
 
139
+ # The street address of the merchant (generally your business) sending the
140
+ # transfer.
141
+ sig { returns(T.nilable(String)) }
142
+ attr_accessor :merchant_street_address
143
+
134
144
  # The amount that was transferred. The receiving bank will have converted this to
135
145
  # the cardholder's currency. The amount that is applied to your Increase account
136
146
  # matches the currency of your account.
@@ -145,6 +155,24 @@ module Increase
145
155
  end
146
156
  attr_writer :presentment_amount
147
157
 
158
+ # The city of the recipient. Required if the card is issued in Canada.
159
+ sig { returns(T.nilable(String)) }
160
+ attr_accessor :recipient_address_city
161
+
162
+ # The first line of the recipient's address. Required if the card is issued in
163
+ # Canada.
164
+ sig { returns(T.nilable(String)) }
165
+ attr_accessor :recipient_address_line1
166
+
167
+ # The postal code of the recipient. Required if the card is issued in Canada.
168
+ sig { returns(T.nilable(String)) }
169
+ attr_accessor :recipient_address_postal_code
170
+
171
+ # The state or province of the recipient. Required if the card is issued in
172
+ # Canada.
173
+ sig { returns(T.nilable(String)) }
174
+ attr_accessor :recipient_address_state
175
+
148
176
  # The name of the funds recipient.
149
177
  sig { returns(String) }
150
178
  attr_accessor :recipient_name
@@ -216,12 +244,18 @@ module Increase
216
244
  idempotency_key: T.nilable(String),
217
245
  merchant_category_code: String,
218
246
  merchant_city_name: String,
247
+ merchant_legal_business_name: T.nilable(String),
219
248
  merchant_name: String,
220
249
  merchant_name_prefix: String,
221
250
  merchant_postal_code: String,
222
251
  merchant_state: String,
252
+ merchant_street_address: T.nilable(String),
223
253
  presentment_amount:
224
254
  Increase::CardPushTransfer::PresentmentAmount::OrHash,
255
+ recipient_address_city: T.nilable(String),
256
+ recipient_address_line1: T.nilable(String),
257
+ recipient_address_postal_code: T.nilable(String),
258
+ recipient_address_state: T.nilable(String),
225
259
  recipient_name: String,
226
260
  route: Increase::CardPushTransfer::Route::OrSymbol,
227
261
  sender_address_city: String,
@@ -274,6 +308,9 @@ module Increase
274
308
  merchant_category_code:,
275
309
  # The city name of the merchant (generally your business) sending the transfer.
276
310
  merchant_city_name:,
311
+ # The legal business name of the merchant (generally your business) sending the
312
+ # transfer.
313
+ merchant_legal_business_name:,
277
314
  # The merchant name shows up as the statement descriptor for the transfer. This is
278
315
  # typically the name of your business or organization.
279
316
  merchant_name:,
@@ -285,10 +322,23 @@ module Increase
285
322
  merchant_postal_code:,
286
323
  # The state of the merchant (generally your business) sending the transfer.
287
324
  merchant_state:,
325
+ # The street address of the merchant (generally your business) sending the
326
+ # transfer.
327
+ merchant_street_address:,
288
328
  # The amount that was transferred. The receiving bank will have converted this to
289
329
  # the cardholder's currency. The amount that is applied to your Increase account
290
330
  # matches the currency of your account.
291
331
  presentment_amount:,
332
+ # The city of the recipient. Required if the card is issued in Canada.
333
+ recipient_address_city:,
334
+ # The first line of the recipient's address. Required if the card is issued in
335
+ # Canada.
336
+ recipient_address_line1:,
337
+ # The postal code of the recipient. Required if the card is issued in Canada.
338
+ recipient_address_postal_code:,
339
+ # The state or province of the recipient. Required if the card is issued in
340
+ # Canada.
341
+ recipient_address_state:,
292
342
  # The name of the funds recipient.
293
343
  recipient_name:,
294
344
  # The card network route used for the transfer.
@@ -333,11 +383,17 @@ module Increase
333
383
  idempotency_key: T.nilable(String),
334
384
  merchant_category_code: String,
335
385
  merchant_city_name: String,
386
+ merchant_legal_business_name: T.nilable(String),
336
387
  merchant_name: String,
337
388
  merchant_name_prefix: String,
338
389
  merchant_postal_code: String,
339
390
  merchant_state: String,
391
+ merchant_street_address: T.nilable(String),
340
392
  presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
393
+ recipient_address_city: T.nilable(String),
394
+ recipient_address_line1: T.nilable(String),
395
+ recipient_address_postal_code: T.nilable(String),
396
+ recipient_address_state: T.nilable(String),
341
397
  recipient_name: String,
342
398
  route: Increase::CardPushTransfer::Route::TaggedSymbol,
343
399
  sender_address_city: String,
@@ -816,9 +816,7 @@ module Increase
816
816
  # The shipping method for the check.
817
817
  sig do
818
818
  returns(
819
- T.nilable(
820
- Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol
821
- )
819
+ Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol
822
820
  )
823
821
  end
824
822
  attr_accessor :shipping_method
@@ -860,9 +858,7 @@ module Increase
860
858
  Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash
861
859
  ),
862
860
  shipping_method:
863
- T.nilable(
864
- Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol
865
- ),
861
+ Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol,
866
862
  signature:
867
863
  Increase::CheckTransfer::PhysicalCheck::Signature::OrHash,
868
864
  tracking_updates:
@@ -914,9 +910,7 @@ module Increase
914
910
  Increase::CheckTransfer::PhysicalCheck::ReturnAddress
915
911
  ),
916
912
  shipping_method:
917
- T.nilable(
918
- Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol
919
- ),
913
+ Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol,
920
914
  signature: Increase::CheckTransfer::PhysicalCheck::Signature,
921
915
  tracking_updates:
922
916
  T::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
@@ -1295,7 +1289,7 @@ module Increase
1295
1289
  Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::Category::TaggedSymbol
1296
1290
  )
1297
1291
 
1298
- # The check has been delivered.
1292
+ # The check has been delivered. Note that some couriers track delivery status based on driver location data rather than an explicit scan. While uncommon, a single check may have more than one delivered event.
1299
1293
  DELIVERED =
1300
1294
  T.let(
1301
1295
  :delivered,
@@ -2906,6 +2906,13 @@ module Increase
2906
2906
  Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
2907
2907
  )
2908
2908
 
2909
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
2910
+ CASH_DEPOSIT =
2911
+ T.let(
2912
+ :cash_deposit,
2913
+ Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
2914
+ )
2915
+
2909
2916
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
2910
2917
  BALANCE_INQUIRY =
2911
2918
  T.let(
@@ -3088,7 +3095,7 @@ module Increase
3088
3095
  Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
3089
3096
  )
3090
3097
 
3091
- # The transaction was blocked by a Limit.
3098
+ # The transaction was blocked by a limit or an authorization control.
3092
3099
  BREACHES_LIMIT =
3093
3100
  T.let(
3094
3101
  :breaches_limit,