increase 1.349.0 → 1.350.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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_number.rb +3 -3
  4. data/lib/increase/models/ach_transfer.rb +12 -12
  5. data/lib/increase/models/balance_lookup.rb +1 -1
  6. data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
  7. data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
  8. data/lib/increase/models/card_dispute.rb +9 -1
  9. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
  10. data/lib/increase/models/card_payment.rb +58 -58
  11. data/lib/increase/models/card_purchase_supplement.rb +9 -1
  12. data/lib/increase/models/card_token_capabilities.rb +2 -2
  13. data/lib/increase/models/check_deposit.rb +9 -9
  14. data/lib/increase/models/check_transfer.rb +2 -2
  15. data/lib/increase/models/check_transfer_create_params.rb +9 -4
  16. data/lib/increase/models/declined_transaction.rb +12 -9
  17. data/lib/increase/models/digital_wallet_token.rb +9 -1
  18. data/lib/increase/models/entity.rb +5 -5
  19. data/lib/increase/models/entity_create_params.rb +332 -29
  20. data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
  21. data/lib/increase/models/entity_update_params.rb +472 -15
  22. data/lib/increase/models/fednow_transfer.rb +115 -4
  23. data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
  24. data/lib/increase/models/inbound_ach_transfer.rb +2 -2
  25. data/lib/increase/models/inbound_check_deposit.rb +2 -2
  26. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  27. data/lib/increase/models/inbound_mail_item.rb +14 -1
  28. data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
  29. data/lib/increase/models/inbound_wire_transfer.rb +4 -4
  30. data/lib/increase/models/intrafi_exclusion.rb +4 -4
  31. data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
  32. data/lib/increase/models/pending_transaction.rb +13 -13
  33. data/lib/increase/models/pending_transaction_list_params.rb +4 -6
  34. data/lib/increase/models/physical_card.rb +9 -1
  35. data/lib/increase/models/real_time_decision.rb +18 -18
  36. data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
  37. data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
  38. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
  39. data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
  40. data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
  41. data/lib/increase/models/simulations/program_create_params.rb +14 -3
  42. data/lib/increase/models/transaction.rb +141 -17
  43. data/lib/increase/models/transaction_list_params.rb +3 -0
  44. data/lib/increase/models/wire_drawdown_request.rb +12 -1
  45. data/lib/increase/models/wire_transfer_create_params.rb +2 -2
  46. data/lib/increase/resources/cards.rb +2 -2
  47. data/lib/increase/resources/check_transfers.rb +1 -1
  48. data/lib/increase/resources/entities.rb +10 -2
  49. data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
  50. data/lib/increase/resources/lockbox_recipients.rb +1 -1
  51. data/lib/increase/resources/simulations/card_authentications.rb +1 -1
  52. data/lib/increase/resources/simulations/card_disputes.rb +2 -2
  53. data/lib/increase/resources/simulations/interest_payments.rb +1 -1
  54. data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
  55. data/lib/increase/resources/simulations/physical_cards.rb +2 -2
  56. data/lib/increase/resources/simulations/programs.rb +6 -2
  57. data/lib/increase/resources/wire_transfers.rb +1 -1
  58. data/lib/increase/version.rb +1 -1
  59. data/rbi/increase/models/account_number.rbi +3 -3
  60. data/rbi/increase/models/ach_transfer.rbi +12 -12
  61. data/rbi/increase/models/balance_lookup.rbi +1 -1
  62. data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
  63. data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
  64. data/rbi/increase/models/card_dispute.rbi +8 -0
  65. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
  66. data/rbi/increase/models/card_payment.rbi +58 -58
  67. data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
  68. data/rbi/increase/models/card_token_capabilities.rbi +2 -2
  69. data/rbi/increase/models/check_deposit.rbi +9 -9
  70. data/rbi/increase/models/check_transfer.rbi +2 -2
  71. data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
  72. data/rbi/increase/models/declined_transaction.rbi +16 -9
  73. data/rbi/increase/models/digital_wallet_token.rbi +8 -0
  74. data/rbi/increase/models/entity.rbi +5 -5
  75. data/rbi/increase/models/entity_create_params.rbi +547 -28
  76. data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
  77. data/rbi/increase/models/entity_update_params.rbi +814 -14
  78. data/rbi/increase/models/fednow_transfer.rbi +213 -7
  79. data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
  80. data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
  81. data/rbi/increase/models/inbound_check_deposit.rbi +2 -2
  82. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  83. data/rbi/increase/models/inbound_mail_item.rbi +12 -0
  84. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
  85. data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
  86. data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
  87. data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
  88. data/rbi/increase/models/pending_transaction.rbi +13 -13
  89. data/rbi/increase/models/pending_transaction_list_params.rbi +4 -6
  90. data/rbi/increase/models/physical_card.rbi +8 -0
  91. data/rbi/increase/models/real_time_decision.rbi +18 -18
  92. data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
  93. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
  94. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
  95. data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
  96. data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
  97. data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
  98. data/rbi/increase/models/transaction.rbi +260 -16
  99. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  100. data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
  101. data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
  102. data/rbi/increase/resources/cards.rbi +2 -2
  103. data/rbi/increase/resources/check_transfers.rbi +1 -1
  104. data/rbi/increase/resources/entities.rbi +10 -0
  105. data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
  106. data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
  107. data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
  108. data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
  109. data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
  110. data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
  111. data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
  112. data/rbi/increase/resources/simulations/programs.rbi +5 -1
  113. data/rbi/increase/resources/wire_transfers.rbi +1 -1
  114. data/sig/increase/models/card_dispute.rbs +5 -0
  115. data/sig/increase/models/card_purchase_supplement.rbs +5 -0
  116. data/sig/increase/models/declined_transaction.rbs +4 -0
  117. data/sig/increase/models/digital_wallet_token.rbs +5 -0
  118. data/sig/increase/models/entity.rbs +3 -3
  119. data/sig/increase/models/entity_create_params.rbs +232 -1
  120. data/sig/increase/models/entity_update_params.rbs +366 -0
  121. data/sig/increase/models/fednow_transfer.rbs +113 -4
  122. data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
  123. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  124. data/sig/increase/models/inbound_mail_item.rbs +5 -0
  125. data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
  126. data/sig/increase/models/physical_card.rbs +5 -0
  127. data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
  128. data/sig/increase/models/simulations/program_create_params.rbs +7 -0
  129. data/sig/increase/models/transaction.rbs +113 -0
  130. data/sig/increase/models/transaction_list_params.rbs +4 -0
  131. data/sig/increase/models/wire_drawdown_request.rbs +5 -0
  132. data/sig/increase/resources/entities.rbs +2 -0
  133. data/sig/increase/resources/simulations/programs.rbs +1 -0
  134. metadata +2 -2
@@ -2575,12 +2575,12 @@ module Increase
2575
2575
  )
2576
2576
  end
2577
2577
 
2578
- # The timestamp by which any administrative returns are expected to be received
2579
- # by. This follows the Nacha guidelines for return windows, which are: "In
2580
- # general, return entries must be received by the RDFI’s ACH Operator by its
2581
- # deposit deadline for the return entry to be made available to the ODFI no later
2582
- # than the opening of business on the second banking day following the Settlement
2583
- # Date of the original entry.".
2578
+ # The timestamp by which any administrative returns are expected to be received.
2579
+ # This follows the Nacha guidelines for return windows, which are: "In general,
2580
+ # return entries must be received by the RDFI’s ACH Operator by its deposit
2581
+ # deadline for the return entry to be made available to the ODFI no later than the
2582
+ # opening of business on the second banking day following the Settlement Date of
2583
+ # the original entry.".
2584
2584
  sig { returns(Time) }
2585
2585
  attr_accessor :administrative_returns_expected_by
2586
2586
 
@@ -2637,12 +2637,12 @@ module Increase
2637
2637
  ).returns(T.attached_class)
2638
2638
  end
2639
2639
  def self.new(
2640
- # The timestamp by which any administrative returns are expected to be received
2641
- # by. This follows the Nacha guidelines for return windows, which are: "In
2642
- # general, return entries must be received by the RDFI’s ACH Operator by its
2643
- # deposit deadline for the return entry to be made available to the ODFI no later
2644
- # than the opening of business on the second banking day following the Settlement
2645
- # Date of the original entry.".
2640
+ # The timestamp by which any administrative returns are expected to be received.
2641
+ # This follows the Nacha guidelines for return windows, which are: "In general,
2642
+ # return entries must be received by the RDFI’s ACH Operator by its deposit
2643
+ # deadline for the return entry to be made available to the ODFI no later than the
2644
+ # opening of business on the second banking day following the Settlement Date of
2645
+ # the original entry.".
2646
2646
  administrative_returns_expected_by:,
2647
2647
  # The ACH transfer's effective date as sent to the Federal Reserve. If a specific
2648
2648
  # date was configured using `preferred_effective_date`, this will match that
@@ -36,7 +36,7 @@ module Increase
36
36
  sig { returns(Increase::BalanceLookup::Type::TaggedSymbol) }
37
37
  attr_accessor :type
38
38
 
39
- # Represents a request to lookup the balance of an Account at a given point in
39
+ # Represents a request to look up the balance of an Account at a given point in
40
40
  # time.
41
41
  sig do
42
42
  params(
@@ -306,8 +306,7 @@ module Increase
306
306
  # An identification number that can be used to verify the individual's identity,
307
307
  # such as a social security number. For Social Security Numbers and Individual
308
308
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
309
- # separators. When testing in sandbox, use one of our
310
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
309
+ # separators.
311
310
  sig { returns(String) }
312
311
  attr_accessor :number
313
312
 
@@ -390,8 +389,7 @@ module Increase
390
389
  # An identification number that can be used to verify the individual's identity,
391
390
  # such as a social security number. For Social Security Numbers and Individual
392
391
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
393
- # separators. When testing in sandbox, use one of our
394
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
392
+ # separators.
395
393
  number:,
396
394
  # Information about the United States driver's license used for identification.
397
395
  # Required if `method` is equal to `drivers_license`.
@@ -264,8 +264,7 @@ module Increase
264
264
  # An identification number that can be used to verify the individual's identity,
265
265
  # such as a social security number. For Social Security Numbers and Individual
266
266
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
267
- # separators. When testing in sandbox, use one of our
268
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
267
+ # separators.
269
268
  sig { returns(String) }
270
269
  attr_accessor :number
271
270
 
@@ -348,8 +347,7 @@ module Increase
348
347
  # An identification number that can be used to verify the individual's identity,
349
348
  # such as a social security number. For Social Security Numbers and Individual
350
349
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
351
- # separators. When testing in sandbox, use one of our
352
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
350
+ # separators.
353
351
  number:,
354
352
  # Information about the United States driver's license used for identification.
355
353
  # Required if `method` is equal to `drivers_license`.
@@ -12,6 +12,10 @@ module Increase
12
12
  sig { returns(String) }
13
13
  attr_accessor :id
14
14
 
15
+ # The Account that the Card Dispute is associated with.
16
+ sig { returns(String) }
17
+ attr_accessor :account_id
18
+
15
19
  # The amount of the dispute.
16
20
  sig { returns(Integer) }
17
21
  attr_accessor :amount
@@ -109,6 +113,7 @@ module Increase
109
113
  sig do
110
114
  params(
111
115
  id: String,
116
+ account_id: String,
112
117
  amount: Integer,
113
118
  card_id: String,
114
119
  created_at: Time,
@@ -128,6 +133,8 @@ module Increase
128
133
  def self.new(
129
134
  # The Card Dispute identifier.
130
135
  id:,
136
+ # The Account that the Card Dispute is associated with.
137
+ account_id:,
131
138
  # The amount of the dispute.
132
139
  amount:,
133
140
  # The Card that the Card Dispute is associated with.
@@ -176,6 +183,7 @@ module Increase
176
183
  override.returns(
177
184
  {
178
185
  id: String,
186
+ account_id: String,
179
187
  amount: Integer,
180
188
  card_id: String,
181
189
  created_at: Time,
@@ -7403,6 +7403,7 @@ module Increase
7403
7403
  )
7404
7404
  end
7405
7405
 
7406
+ # The category the dispute is being changed to.
7406
7407
  sig do
7407
7408
  returns(
7408
7409
  Increase::CardDisputeSubmitUserSubmissionParams::Visa::UserPrearbitration::CategoryChange::Category::OrSymbol
@@ -7425,6 +7426,7 @@ module Increase
7425
7426
  ).returns(T.attached_class)
7426
7427
  end
7427
7428
  def self.new(
7429
+ # The category the dispute is being changed to.
7428
7430
  category:,
7429
7431
  # The reason for the category change.
7430
7432
  reason:
@@ -7443,6 +7445,7 @@ module Increase
7443
7445
  def to_hash
7444
7446
  end
7445
7447
 
7448
+ # The category the dispute is being changed to.
7446
7449
  module Category
7447
7450
  extend Increase::Internal::Type::Enum
7448
7451
 
@@ -2440,9 +2440,9 @@ module Increase
2440
2440
  end
2441
2441
  attr_accessor :actioner
2442
2442
 
2443
- # Additional amounts associated with the card authorization, such as ATM
2444
- # surcharges fees. These are usually a subset of the `amount` field and are used
2445
- # to provide more detailed information about the transaction.
2443
+ # Additional amounts associated with the card authorization, such as ATM surcharge
2444
+ # fees. These are usually a subset of the `amount` field and are used to provide
2445
+ # more detailed information about the transaction.
2446
2446
  sig do
2447
2447
  returns(
2448
2448
  Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts
@@ -2490,8 +2490,8 @@ module Increase
2490
2490
  end
2491
2491
  attr_accessor :direction
2492
2492
 
2493
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
2494
- # will expire and the pending transaction will be released.
2493
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
2494
+ # authorization will expire and the pending transaction will be released.
2495
2495
  sig { returns(Time) }
2496
2496
  attr_accessor :expires_at
2497
2497
 
@@ -2725,9 +2725,9 @@ module Increase
2725
2725
  # Whether this authorization was approved by Increase, the card network through
2726
2726
  # stand-in processing, or the user through a real-time decision.
2727
2727
  actioner:,
2728
- # Additional amounts associated with the card authorization, such as ATM
2729
- # surcharges fees. These are usually a subset of the `amount` field and are used
2730
- # to provide more detailed information about the transaction.
2728
+ # Additional amounts associated with the card authorization, such as ATM surcharge
2729
+ # fees. These are usually a subset of the `amount` field and are used to provide
2730
+ # more detailed information about the transaction.
2731
2731
  additional_amounts:,
2732
2732
  # The pending amount in the minor unit of the transaction's currency. For dollars,
2733
2733
  # for example, this is cents.
@@ -2743,8 +2743,8 @@ module Increase
2743
2743
  # The direction describes the direction the funds will move, either from the
2744
2744
  # cardholder to the merchant or from the merchant to the cardholder.
2745
2745
  direction:,
2746
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
2747
- # will expire and the pending transaction will be released.
2746
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
2747
+ # authorization will expire and the pending transaction will be released.
2748
2748
  expires_at:,
2749
2749
  # The healthcare-related fields for this authorization. Only present for specific
2750
2750
  # programs.
@@ -3119,9 +3119,9 @@ module Increase
3119
3119
  end
3120
3120
  attr_writer :vision
3121
3121
 
3122
- # Additional amounts associated with the card authorization, such as ATM
3123
- # surcharges fees. These are usually a subset of the `amount` field and are used
3124
- # to provide more detailed information about the transaction.
3122
+ # Additional amounts associated with the card authorization, such as ATM surcharge
3123
+ # fees. These are usually a subset of the `amount` field and are used to provide
3124
+ # more detailed information about the transaction.
3125
3125
  sig do
3126
3126
  params(
3127
3127
  clinic:
@@ -5610,9 +5610,9 @@ module Increase
5610
5610
  sig { returns(String) }
5611
5611
  attr_accessor :id
5612
5612
 
5613
- # Additional amounts associated with the card authorization, such as ATM
5614
- # surcharges fees. These are usually a subset of the `amount` field and are used
5615
- # to provide more detailed information about the transaction.
5613
+ # Additional amounts associated with the card authorization, such as ATM surcharge
5614
+ # fees. These are usually a subset of the `amount` field and are used to provide
5615
+ # more detailed information about the transaction.
5616
5616
  sig do
5617
5617
  returns(
5618
5618
  Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts
@@ -5813,9 +5813,9 @@ module Increase
5813
5813
  def self.new(
5814
5814
  # The Card Balance Inquiry identifier.
5815
5815
  id:,
5816
- # Additional amounts associated with the card authorization, such as ATM
5817
- # surcharges fees. These are usually a subset of the `amount` field and are used
5818
- # to provide more detailed information about the transaction.
5816
+ # Additional amounts associated with the card authorization, such as ATM surcharge
5817
+ # fees. These are usually a subset of the `amount` field and are used to provide
5818
+ # more detailed information about the transaction.
5819
5819
  additional_amounts:,
5820
5820
  # The balance amount in the minor unit of the account's currency. For dollars, for
5821
5821
  # example, this is cents.
@@ -6121,9 +6121,9 @@ module Increase
6121
6121
  end
6122
6122
  attr_writer :vision
6123
6123
 
6124
- # Additional amounts associated with the card authorization, such as ATM
6125
- # surcharges fees. These are usually a subset of the `amount` field and are used
6126
- # to provide more detailed information about the transaction.
6124
+ # Additional amounts associated with the card authorization, such as ATM surcharge
6125
+ # fees. These are usually a subset of the `amount` field and are used to provide
6126
+ # more detailed information about the transaction.
6127
6127
  sig do
6128
6128
  params(
6129
6129
  clinic:
@@ -8186,9 +8186,9 @@ module Increase
8186
8186
  end
8187
8187
  attr_accessor :actioner
8188
8188
 
8189
- # Additional amounts associated with the card authorization, such as ATM
8190
- # surcharges fees. These are usually a subset of the `amount` field and are used
8191
- # to provide more detailed information about the transaction.
8189
+ # Additional amounts associated with the card authorization, such as ATM surcharge
8190
+ # fees. These are usually a subset of the `amount` field and are used to provide
8191
+ # more detailed information about the transaction.
8192
8192
  sig do
8193
8193
  returns(
8194
8194
  Increase::CardPayment::Element::CardDecline::AdditionalAmounts
@@ -8443,9 +8443,9 @@ module Increase
8443
8443
  # Whether this authorization was approved by Increase, the card network through
8444
8444
  # stand-in processing, or the user through a real-time decision.
8445
8445
  actioner:,
8446
- # Additional amounts associated with the card authorization, such as ATM
8447
- # surcharges fees. These are usually a subset of the `amount` field and are used
8448
- # to provide more detailed information about the transaction.
8446
+ # Additional amounts associated with the card authorization, such as ATM surcharge
8447
+ # fees. These are usually a subset of the `amount` field and are used to provide
8448
+ # more detailed information about the transaction.
8449
8449
  additional_amounts:,
8450
8450
  # The declined amount in the minor unit of the destination account currency. For
8451
8451
  # dollars, for example, this is cents.
@@ -8829,9 +8829,9 @@ module Increase
8829
8829
  end
8830
8830
  attr_writer :vision
8831
8831
 
8832
- # Additional amounts associated with the card authorization, such as ATM
8833
- # surcharges fees. These are usually a subset of the `amount` field and are used
8834
- # to provide more detailed information about the transaction.
8832
+ # Additional amounts associated with the card authorization, such as ATM surcharge
8833
+ # fees. These are usually a subset of the `amount` field and are used to provide
8834
+ # more detailed information about the transaction.
8835
8835
  sig do
8836
8836
  params(
8837
8837
  clinic:
@@ -11242,9 +11242,9 @@ module Increase
11242
11242
  end
11243
11243
  attr_accessor :actioner
11244
11244
 
11245
- # Additional amounts associated with the card authorization, such as ATM
11246
- # surcharges fees. These are usually a subset of the `amount` field and are used
11247
- # to provide more detailed information about the transaction.
11245
+ # Additional amounts associated with the card authorization, such as ATM surcharge
11246
+ # fees. These are usually a subset of the `amount` field and are used to provide
11247
+ # more detailed information about the transaction.
11248
11248
  sig do
11249
11249
  returns(
11250
11250
  Increase::CardPayment::Element::CardFinancial::AdditionalAmounts
@@ -11484,9 +11484,9 @@ module Increase
11484
11484
  # Whether this financial was approved by Increase, the card network through
11485
11485
  # stand-in processing, or the user through a real-time decision.
11486
11486
  actioner:,
11487
- # Additional amounts associated with the card authorization, such as ATM
11488
- # surcharges fees. These are usually a subset of the `amount` field and are used
11489
- # to provide more detailed information about the transaction.
11487
+ # Additional amounts associated with the card authorization, such as ATM surcharge
11488
+ # fees. These are usually a subset of the `amount` field and are used to provide
11489
+ # more detailed information about the transaction.
11490
11490
  additional_amounts:,
11491
11491
  # The pending amount in the minor unit of the transaction's currency. For dollars,
11492
11492
  # for example, this is cents.
@@ -11860,9 +11860,9 @@ module Increase
11860
11860
  end
11861
11861
  attr_writer :vision
11862
11862
 
11863
- # Additional amounts associated with the card authorization, such as ATM
11864
- # surcharges fees. These are usually a subset of the `amount` field and are used
11865
- # to provide more detailed information about the transaction.
11863
+ # Additional amounts associated with the card authorization, such as ATM surcharge
11864
+ # fees. These are usually a subset of the `amount` field and are used to provide
11865
+ # more detailed information about the transaction.
11866
11866
  sig do
11867
11867
  params(
11868
11868
  clinic:
@@ -14746,9 +14746,9 @@ module Increase
14746
14746
  end
14747
14747
  attr_accessor :actioner
14748
14748
 
14749
- # Additional amounts associated with the card authorization, such as ATM
14750
- # surcharges fees. These are usually a subset of the `amount` field and are used
14751
- # to provide more detailed information about the transaction.
14749
+ # Additional amounts associated with the card authorization, such as ATM surcharge
14750
+ # fees. These are usually a subset of the `amount` field and are used to provide
14751
+ # more detailed information about the transaction.
14752
14752
  sig do
14753
14753
  returns(
14754
14754
  Increase::CardPayment::Element::CardIncrement::AdditionalAmounts
@@ -14890,9 +14890,9 @@ module Increase
14890
14890
  # Whether this authorization was approved by Increase, the card network through
14891
14891
  # stand-in processing, or the user through a real-time decision.
14892
14892
  actioner:,
14893
- # Additional amounts associated with the card authorization, such as ATM
14894
- # surcharges fees. These are usually a subset of the `amount` field and are used
14895
- # to provide more detailed information about the transaction.
14893
+ # Additional amounts associated with the card authorization, such as ATM surcharge
14894
+ # fees. These are usually a subset of the `amount` field and are used to provide
14895
+ # more detailed information about the transaction.
14896
14896
  additional_amounts:,
14897
14897
  # The amount of this increment in the minor unit of the transaction's currency.
14898
14898
  # For dollars, for example, this is cents.
@@ -15220,9 +15220,9 @@ module Increase
15220
15220
  end
15221
15221
  attr_writer :vision
15222
15222
 
15223
- # Additional amounts associated with the card authorization, such as ATM
15224
- # surcharges fees. These are usually a subset of the `amount` field and are used
15225
- # to provide more detailed information about the transaction.
15223
+ # Additional amounts associated with the card authorization, such as ATM surcharge
15224
+ # fees. These are usually a subset of the `amount` field and are used to provide
15225
+ # more detailed information about the transaction.
15226
15226
  sig do
15227
15227
  params(
15228
15228
  clinic:
@@ -22724,9 +22724,9 @@ module Increase
22724
22724
  end
22725
22725
  attr_accessor :actioner
22726
22726
 
22727
- # Additional amounts associated with the card authorization, such as ATM
22728
- # surcharges fees. These are usually a subset of the `amount` field and are used
22729
- # to provide more detailed information about the transaction.
22727
+ # Additional amounts associated with the card authorization, such as ATM surcharge
22728
+ # fees. These are usually a subset of the `amount` field and are used to provide
22729
+ # more detailed information about the transaction.
22730
22730
  sig do
22731
22731
  returns(
22732
22732
  Increase::CardPayment::Element::CardValidation::AdditionalAmounts
@@ -22925,9 +22925,9 @@ module Increase
22925
22925
  # Whether this authorization was approved by Increase, the card network through
22926
22926
  # stand-in processing, or the user through a real-time decision.
22927
22927
  actioner:,
22928
- # Additional amounts associated with the card authorization, such as ATM
22929
- # surcharges fees. These are usually a subset of the `amount` field and are used
22930
- # to provide more detailed information about the transaction.
22928
+ # Additional amounts associated with the card authorization, such as ATM surcharge
22929
+ # fees. These are usually a subset of the `amount` field and are used to provide
22930
+ # more detailed information about the transaction.
22931
22931
  additional_amounts:,
22932
22932
  # The ID of the Card Payment this transaction belongs to.
22933
22933
  card_payment_id:,
@@ -23277,9 +23277,9 @@ module Increase
23277
23277
  end
23278
23278
  attr_writer :vision
23279
23279
 
23280
- # Additional amounts associated with the card authorization, such as ATM
23281
- # surcharges fees. These are usually a subset of the `amount` field and are used
23282
- # to provide more detailed information about the transaction.
23280
+ # Additional amounts associated with the card authorization, such as ATM surcharge
23281
+ # fees. These are usually a subset of the `amount` field and are used to provide
23282
+ # more detailed information about the transaction.
23283
23283
  sig do
23284
23284
  params(
23285
23285
  clinic:
@@ -12,6 +12,10 @@ module Increase
12
12
  sig { returns(String) }
13
13
  attr_accessor :id
14
14
 
15
+ # The identifier for the Account the Card Purchase Supplement belongs to.
16
+ sig { returns(String) }
17
+ attr_accessor :account_id
18
+
15
19
  # The ID of the Card Payment this transaction belongs to.
16
20
  sig { returns(T.nilable(String)) }
17
21
  attr_accessor :card_payment_id
@@ -59,6 +63,7 @@ module Increase
59
63
  sig do
60
64
  params(
61
65
  id: String,
66
+ account_id: String,
62
67
  card_payment_id: T.nilable(String),
63
68
  invoice: T.nilable(Increase::CardPurchaseSupplement::Invoice::OrHash),
64
69
  line_items:
@@ -74,6 +79,8 @@ module Increase
74
79
  def self.new(
75
80
  # The Card Purchase Supplement identifier.
76
81
  id:,
82
+ # The identifier for the Account the Card Purchase Supplement belongs to.
83
+ account_id:,
77
84
  # The ID of the Card Payment this transaction belongs to.
78
85
  card_payment_id:,
79
86
  # Invoice-level information about the payment.
@@ -94,6 +101,7 @@ module Increase
94
101
  override.returns(
95
102
  {
96
103
  id: String,
104
+ account_id: String,
97
105
  card_payment_id: T.nilable(String),
98
106
  invoice: T.nilable(Increase::CardPurchaseSupplement::Invoice),
99
107
  line_items:
@@ -8,7 +8,7 @@ module Increase
8
8
  T.any(Increase::CardTokenCapabilities, Increase::Internal::AnyHash)
9
9
  end
10
10
 
11
- # Each route represent a path e.g., a push transfer can take.
11
+ # Each route represents a path e.g., a push transfer can take.
12
12
  sig { returns(T::Array[Increase::CardTokenCapabilities::Route]) }
13
13
  attr_accessor :routes
14
14
 
@@ -27,7 +27,7 @@ module Increase
27
27
  ).returns(T.attached_class)
28
28
  end
29
29
  def self.new(
30
- # Each route represent a path e.g., a push transfer can take.
30
+ # Each route represents a path e.g., a push transfer can take.
31
31
  routes:,
32
32
  # A constant representing the object's type. For this resource it will always be
33
33
  # `card_token_capabilities`.
@@ -73,7 +73,7 @@ module Increase
73
73
  end
74
74
  attr_writer :deposit_return
75
75
 
76
- # After the check is parsed, it is submitted to the Check21 network for
76
+ # After the check is parsed, it is submitted to the Check 21 network for
77
77
  # processing. This will contain details of the submission.
78
78
  sig { returns(T.nilable(Increase::CheckDeposit::DepositSubmission)) }
79
79
  attr_reader :deposit_submission
@@ -191,7 +191,7 @@ module Increase
191
191
  # If your deposit is returned, this will contain details as to why it was
192
192
  # returned.
193
193
  deposit_return:,
194
- # After the check is parsed, it is submitted to the Check21 network for
194
+ # After the check is parsed, it is submitted to the Check 21 network for
195
195
  # processing. This will contain details of the submission.
196
196
  deposit_submission:,
197
197
  # The description of the Check Deposit, for display purposes only.
@@ -1058,22 +1058,22 @@ module Increase
1058
1058
  end
1059
1059
 
1060
1060
  # The ID for the File containing the check back image that was submitted to the
1061
- # Check21 network.
1061
+ # Check 21 network.
1062
1062
  sig { returns(String) }
1063
1063
  attr_accessor :back_file_id
1064
1064
 
1065
1065
  # The ID for the File containing the check front image that was submitted to the
1066
- # Check21 network.
1066
+ # Check 21 network.
1067
1067
  sig { returns(String) }
1068
1068
  attr_accessor :front_file_id
1069
1069
 
1070
- # When the check deposit was submitted to the Check21 network for processing.
1070
+ # When the check deposit was submitted to the Check 21 network for processing.
1071
1071
  # During business days, this happens within a few hours of the check being
1072
1072
  # accepted by Increase.
1073
1073
  sig { returns(Time) }
1074
1074
  attr_accessor :submitted_at
1075
1075
 
1076
- # After the check is parsed, it is submitted to the Check21 network for
1076
+ # After the check is parsed, it is submitted to the Check 21 network for
1077
1077
  # processing. This will contain details of the submission.
1078
1078
  sig do
1079
1079
  params(
@@ -1084,12 +1084,12 @@ module Increase
1084
1084
  end
1085
1085
  def self.new(
1086
1086
  # The ID for the File containing the check back image that was submitted to the
1087
- # Check21 network.
1087
+ # Check 21 network.
1088
1088
  back_file_id:,
1089
1089
  # The ID for the File containing the check front image that was submitted to the
1090
- # Check21 network.
1090
+ # Check 21 network.
1091
1091
  front_file_id:,
1092
- # When the check deposit was submitted to the Check21 network for processing.
1092
+ # When the check deposit was submitted to the Check 21 network for processing.
1093
1093
  # During business days, this happens within a few hours of the check being
1094
1094
  # accepted by Increase.
1095
1095
  submitted_at:
@@ -185,7 +185,7 @@ module Increase
185
185
  # If set, the check will be valid on or before this date. After this date, the
186
186
  # check transfer will be automatically stopped and deposits will not be accepted.
187
187
  # For checks printed by Increase, this date is included on the check as its
188
- # expiry.
188
+ # expiration.
189
189
  sig { returns(T.nilable(Date)) }
190
190
  attr_accessor :valid_until_date
191
191
 
@@ -295,7 +295,7 @@ module Increase
295
295
  # If set, the check will be valid on or before this date. After this date, the
296
296
  # check transfer will be automatically stopped and deposits will not be accepted.
297
297
  # For checks printed by Increase, this date is included on the check as its
298
- # expiry.
298
+ # expiration.
299
299
  valid_until_date:
300
300
  )
301
301
  end
@@ -102,7 +102,7 @@ module Increase
102
102
  # If provided, the check will be valid on or before this date. After this date,
103
103
  # the check transfer will be automatically stopped and deposits will not be
104
104
  # accepted. For checks printed by Increase, this date is included on the check as
105
- # its expiry.
105
+ # its expiration.
106
106
  sig { returns(T.nilable(Date)) }
107
107
  attr_reader :valid_until_date
108
108
 
@@ -157,7 +157,7 @@ module Increase
157
157
  # If provided, the check will be valid on or before this date. After this date,
158
158
  # the check transfer will be automatically stopped and deposits will not be
159
159
  # accepted. For checks printed by Increase, this date is included on the check as
160
- # its expiry.
160
+ # its expiration.
161
161
  valid_until_date: nil,
162
162
  request_options: {}
163
163
  )
@@ -321,7 +321,9 @@ module Increase
321
321
  sig { params(check_voucher_image_file_id: String).void }
322
322
  attr_writer :check_voucher_image_file_id
323
323
 
324
- # The descriptor that will be printed on the letter included with the check.
324
+ # A few paragraphs of text printed on the letter included with the check. It can
325
+ # contain at most 22 lines. Paragraphs will wrap at about 120 characters, but
326
+ # depending on your exact message, it might be slightly more or slightly less.
325
327
  sig { returns(T.nilable(String)) }
326
328
  attr_reader :note
327
329
 
@@ -448,7 +450,9 @@ module Increase
448
450
  # `purpose: check_voucher_image`. For details on pricing and restrictions, see
449
451
  # https://increase.com/documentation/originating-checks#printing-checks .
450
452
  check_voucher_image_file_id: nil,
451
- # The descriptor that will be printed on the letter included with the check.
453
+ # A few paragraphs of text printed on the letter included with the check. It can
454
+ # contain at most 22 lines. Paragraphs will wrap at about 120 characters, but
455
+ # depending on your exact message, it might be slightly more or slightly less.
452
456
  note: nil,
453
457
  # The identifier of the Physical Check Batch to mail this check as a part of.
454
458
  physical_check_batch_id: nil,
@@ -880,9 +880,9 @@ module Increase
880
880
  end
881
881
  attr_accessor :actioner
882
882
 
883
- # Additional amounts associated with the card authorization, such as ATM
884
- # surcharges fees. These are usually a subset of the `amount` field and are used
885
- # to provide more detailed information about the transaction.
883
+ # Additional amounts associated with the card authorization, such as ATM surcharge
884
+ # fees. These are usually a subset of the `amount` field and are used to provide
885
+ # more detailed information about the transaction.
886
886
  sig do
887
887
  returns(
888
888
  Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts
@@ -1143,9 +1143,9 @@ module Increase
1143
1143
  # Whether this authorization was approved by Increase, the card network through
1144
1144
  # stand-in processing, or the user through a real-time decision.
1145
1145
  actioner:,
1146
- # Additional amounts associated with the card authorization, such as ATM
1147
- # surcharges fees. These are usually a subset of the `amount` field and are used
1148
- # to provide more detailed information about the transaction.
1146
+ # Additional amounts associated with the card authorization, such as ATM surcharge
1147
+ # fees. These are usually a subset of the `amount` field and are used to provide
1148
+ # more detailed information about the transaction.
1149
1149
  additional_amounts:,
1150
1150
  # The declined amount in the minor unit of the destination account currency. For
1151
1151
  # dollars, for example, this is cents.
@@ -1529,9 +1529,9 @@ module Increase
1529
1529
  end
1530
1530
  attr_writer :vision
1531
1531
 
1532
- # Additional amounts associated with the card authorization, such as ATM
1533
- # surcharges fees. These are usually a subset of the `amount` field and are used
1534
- # to provide more detailed information about the transaction.
1532
+ # Additional amounts associated with the card authorization, such as ATM surcharge
1533
+ # fees. These are usually a subset of the `amount` field and are used to provide
1534
+ # more detailed information about the transaction.
1535
1535
  sig do
1536
1536
  params(
1537
1537
  clinic:
@@ -4510,6 +4510,13 @@ module Increase
4510
4510
  Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol
4511
4511
  )
4512
4512
 
4513
+ # The transaction is not allowed per Increase's terms.
4514
+ TRANSACTION_NOT_ALLOWED =
4515
+ T.let(
4516
+ :transaction_not_allowed,
4517
+ Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol
4518
+ )
4519
+
4513
4520
  sig do
4514
4521
  override.returns(
4515
4522
  T::Array[