increase 1.367.0 → 1.368.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/card_payment.rb +30 -0
  4. data/lib/increase/models/declined_transaction.rb +3 -0
  5. data/lib/increase/models/export.rb +19 -5
  6. data/lib/increase/models/export_create_params.rb +36 -13
  7. data/lib/increase/models/inbound_check_deposit.rb +0 -3
  8. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  9. data/lib/increase/models/pending_transaction.rb +76 -1
  10. data/lib/increase/models/pending_transaction_list_params.rb +3 -0
  11. data/lib/increase/models/simulations/card_refund_create_params.rb +2 -2
  12. data/lib/increase/models/transaction.rb +86 -1
  13. data/lib/increase/models/transaction_list_params.rb +3 -0
  14. data/lib/increase/resources/exports.rb +5 -1
  15. data/lib/increase/resources/simulations/card_refunds.rb +1 -1
  16. data/lib/increase/version.rb +1 -1
  17. data/rbi/increase/models/card_payment.rbi +70 -0
  18. data/rbi/increase/models/declined_transaction.rbi +7 -0
  19. data/rbi/increase/models/export.rbi +18 -6
  20. data/rbi/increase/models/export_create_params.rbi +44 -15
  21. data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
  22. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  23. data/rbi/increase/models/pending_transaction.rbi +162 -0
  24. data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
  25. data/rbi/increase/models/simulations/card_refund_create_params.rbi +2 -2
  26. data/rbi/increase/models/transaction.rbi +179 -0
  27. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  28. data/rbi/increase/resources/exports.rbi +5 -1
  29. data/rbi/increase/resources/simulations/card_refunds.rbi +1 -1
  30. data/sig/increase/models/card_payment.rbs +40 -0
  31. data/sig/increase/models/declined_transaction.rbs +4 -0
  32. data/sig/increase/models/export.rbs +13 -4
  33. data/sig/increase/models/export_create_params.rbs +16 -5
  34. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  35. data/sig/increase/models/pending_transaction.rbs +63 -0
  36. data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
  37. data/sig/increase/models/transaction.rbs +71 -0
  38. data/sig/increase/models/transaction_list_params.rbs +4 -0
  39. metadata +2 -2
@@ -116,6 +116,7 @@ module Increase
116
116
  check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
117
117
  check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
118
118
  fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?,
119
+ inbound_fednow_transfer_return: Increase::PendingTransaction::Source::InboundFednowTransferReturn?,
119
120
  inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?,
120
121
  inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
121
122
  other: Increase::PendingTransaction::Source::Other?,
@@ -148,6 +149,8 @@ module Increase
148
149
 
149
150
  attr_accessor fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?
150
151
 
152
+ attr_accessor inbound_fednow_transfer_return: Increase::PendingTransaction::Source::InboundFednowTransferReturn?
153
+
151
154
  attr_accessor inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?
152
155
 
153
156
  attr_accessor inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?
@@ -177,6 +180,7 @@ module Increase
177
180
  ?check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
178
181
  ?check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
179
182
  ?fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?,
183
+ ?inbound_fednow_transfer_return: Increase::PendingTransaction::Source::InboundFednowTransferReturn?,
180
184
  ?inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?,
181
185
  ?inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
182
186
  ?other: Increase::PendingTransaction::Source::Other?,
@@ -199,6 +203,7 @@ module Increase
199
203
  check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
200
204
  check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
201
205
  fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?,
206
+ inbound_fednow_transfer_return: Increase::PendingTransaction::Source::InboundFednowTransferReturn?,
202
207
  inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?,
203
208
  inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
204
209
  other: Increase::PendingTransaction::Source::Other?,
@@ -217,6 +222,7 @@ module Increase
217
222
  | :check_deposit_instruction
218
223
  | :check_transfer_instruction
219
224
  | :fednow_transfer_instruction
225
+ | :inbound_fednow_transfer_return
220
226
  | :inbound_funds_hold
221
227
  | :user_initiated_hold
222
228
  | :real_time_payments_transfer_instruction
@@ -251,6 +257,9 @@ module Increase
251
257
  # FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
252
258
  FEDNOW_TRANSFER_INSTRUCTION: :fednow_transfer_instruction
253
259
 
260
+ # Inbound FedNow Transfer Return: details will be under the `inbound_fednow_transfer_return` object.
261
+ INBOUND_FEDNOW_TRANSFER_RETURN: :inbound_fednow_transfer_return
262
+
254
263
  # Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
255
264
  INBOUND_FUNDS_HOLD: :inbound_funds_hold
256
265
 
@@ -1303,6 +1312,7 @@ module Increase
1303
1312
  | :visa_atm_cash_withdrawal_international
1304
1313
  | :visa_atm_cash_deposit_domestic
1305
1314
  | :pulse_switch_fee
1315
+ | :pulse_switch_fee_credit
1306
1316
  | :pulse_tokenization_fee
1307
1317
 
1308
1318
  module FeeType
@@ -1404,6 +1414,9 @@ module Increase
1404
1414
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
1405
1415
  PULSE_SWITCH_FEE: :pulse_switch_fee
1406
1416
 
1417
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
1418
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
1419
+
1407
1420
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
1408
1421
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
1409
1422
 
@@ -1688,6 +1701,56 @@ module Increase
1688
1701
  def to_hash: -> { transfer_id: String }
1689
1702
  end
1690
1703
 
1704
+ type inbound_fednow_transfer_return =
1705
+ {
1706
+ inbound_fednow_transfer_id: String,
1707
+ reason: Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn::reason
1708
+ }
1709
+
1710
+ class InboundFednowTransferReturn < Increase::Internal::Type::BaseModel
1711
+ attr_accessor inbound_fednow_transfer_id: String
1712
+
1713
+ attr_accessor reason: Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn::reason
1714
+
1715
+ def initialize: (
1716
+ inbound_fednow_transfer_id: String,
1717
+ reason: Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn::reason
1718
+ ) -> void
1719
+
1720
+ def to_hash: -> {
1721
+ inbound_fednow_transfer_id: String,
1722
+ reason: Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn::reason
1723
+ }
1724
+
1725
+ type reason =
1726
+ :duplicate
1727
+ | :creditor_request
1728
+ | :wrong_amount
1729
+ | :undue_payment
1730
+ | :fraud
1731
+
1732
+ module Reason
1733
+ extend Increase::Internal::Type::Enum
1734
+
1735
+ # The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
1736
+ DUPLICATE: :duplicate
1737
+
1738
+ # The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
1739
+ CREDITOR_REQUEST: :creditor_request
1740
+
1741
+ # The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
1742
+ WRONG_AMOUNT: :wrong_amount
1743
+
1744
+ # The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
1745
+ UNDUE_PAYMENT: :undue_payment
1746
+
1747
+ # The inbound FedNow transfer was determined to be fraudulent. Corresponds to the FedNow reason code `FR01`, and reports the fraud to the Federal Reserve and the sending bank.
1748
+ FRAUD: :fraud
1749
+
1750
+ def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn::reason]
1751
+ end
1752
+ end
1753
+
1691
1754
  type inbound_funds_hold =
1692
1755
  {
1693
1756
  amount: Integer,
@@ -99,6 +99,7 @@ module Increase
99
99
  | :check_deposit_instruction
100
100
  | :check_transfer_instruction
101
101
  | :fednow_transfer_instruction
102
+ | :inbound_fednow_transfer_return
102
103
  | :inbound_funds_hold
103
104
  | :user_initiated_hold
104
105
  | :real_time_payments_transfer_instruction
@@ -133,6 +134,9 @@ module Increase
133
134
  # FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
134
135
  FEDNOW_TRANSFER_INSTRUCTION: :fednow_transfer_instruction
135
136
 
137
+ # Inbound FedNow Transfer Return: details will be under the `inbound_fednow_transfer_return` object.
138
+ INBOUND_FEDNOW_TRANSFER_RETURN: :inbound_fednow_transfer_return
139
+
136
140
  # Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
137
141
  INBOUND_FUNDS_HOLD: :inbound_funds_hold
138
142
 
@@ -120,6 +120,7 @@ module Increase
120
120
  inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?,
121
121
  inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?,
122
122
  inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?,
123
+ inbound_fednow_transfer_return_acknowledgement: Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement?,
123
124
  inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?,
124
125
  inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?,
125
126
  inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?,
@@ -195,6 +196,8 @@ module Increase
195
196
 
196
197
  attr_accessor inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?
197
198
 
199
+ attr_accessor inbound_fednow_transfer_return_acknowledgement: Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement?
200
+
198
201
  attr_accessor inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?
199
202
 
200
203
  attr_accessor inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?
@@ -253,6 +256,7 @@ module Increase
253
256
  ?inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?,
254
257
  ?inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?,
255
258
  ?inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?,
259
+ ?inbound_fednow_transfer_return_acknowledgement: Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement?,
256
260
  ?inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?,
257
261
  ?inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?,
258
262
  ?inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?,
@@ -299,6 +303,7 @@ module Increase
299
303
  inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?,
300
304
  inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?,
301
305
  inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?,
306
+ inbound_fednow_transfer_return_acknowledgement: Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement?,
302
307
  inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?,
303
308
  inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?,
304
309
  inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?,
@@ -340,6 +345,7 @@ module Increase
340
345
  | :inbound_check_deposit_return_intention
341
346
  | :inbound_check_adjustment
342
347
  | :inbound_fednow_transfer_confirmation
348
+ | :inbound_fednow_transfer_return_acknowledgement
343
349
  | :inbound_real_time_payments_transfer_confirmation
344
350
  | :inbound_wire_reversal
345
351
  | :inbound_wire_transfer
@@ -434,6 +440,9 @@ module Increase
434
440
  # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
435
441
  INBOUND_FEDNOW_TRANSFER_CONFIRMATION: :inbound_fednow_transfer_confirmation
436
442
 
443
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
444
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT: :inbound_fednow_transfer_return_acknowledgement
445
+
437
446
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
438
447
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION: :inbound_real_time_payments_transfer_confirmation
439
448
 
@@ -1994,6 +2003,7 @@ module Increase
1994
2003
  | :visa_atm_cash_withdrawal_international
1995
2004
  | :visa_atm_cash_deposit_domestic
1996
2005
  | :pulse_switch_fee
2006
+ | :pulse_switch_fee_credit
1997
2007
  | :pulse_tokenization_fee
1998
2008
 
1999
2009
  module FeeType
@@ -2095,6 +2105,9 @@ module Increase
2095
2105
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
2096
2106
  PULSE_SWITCH_FEE: :pulse_switch_fee
2097
2107
 
2108
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
2109
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
2110
+
2098
2111
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
2099
2112
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
2100
2113
 
@@ -4095,6 +4108,7 @@ module Increase
4095
4108
  | :visa_atm_cash_withdrawal_international
4096
4109
  | :visa_atm_cash_deposit_domestic
4097
4110
  | :pulse_switch_fee
4111
+ | :pulse_switch_fee_credit
4098
4112
  | :pulse_tokenization_fee
4099
4113
 
4100
4114
  module FeeType
@@ -4196,6 +4210,9 @@ module Increase
4196
4210
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
4197
4211
  PULSE_SWITCH_FEE: :pulse_switch_fee
4198
4212
 
4213
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
4214
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
4215
+
4199
4216
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
4200
4217
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
4201
4218
 
@@ -6086,6 +6103,7 @@ module Increase
6086
6103
  | :visa_atm_cash_withdrawal_international
6087
6104
  | :visa_atm_cash_deposit_domestic
6088
6105
  | :pulse_switch_fee
6106
+ | :pulse_switch_fee_credit
6089
6107
  | :pulse_tokenization_fee
6090
6108
 
6091
6109
  module FeeType
@@ -6187,6 +6205,9 @@ module Increase
6187
6205
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
6188
6206
  PULSE_SWITCH_FEE: :pulse_switch_fee
6189
6207
 
6208
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
6209
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
6210
+
6190
6211
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
6191
6212
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
6192
6213
 
@@ -6949,6 +6970,56 @@ module Increase
6949
6970
  def to_hash: -> { transfer_id: String }
6950
6971
  end
6951
6972
 
6973
+ type inbound_fednow_transfer_return_acknowledgement =
6974
+ {
6975
+ inbound_fednow_transfer_id: String,
6976
+ reason: Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::reason
6977
+ }
6978
+
6979
+ class InboundFednowTransferReturnAcknowledgement < Increase::Internal::Type::BaseModel
6980
+ attr_accessor inbound_fednow_transfer_id: String
6981
+
6982
+ attr_accessor reason: Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::reason
6983
+
6984
+ def initialize: (
6985
+ inbound_fednow_transfer_id: String,
6986
+ reason: Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::reason
6987
+ ) -> void
6988
+
6989
+ def to_hash: -> {
6990
+ inbound_fednow_transfer_id: String,
6991
+ reason: Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::reason
6992
+ }
6993
+
6994
+ type reason =
6995
+ :duplicate
6996
+ | :creditor_request
6997
+ | :wrong_amount
6998
+ | :undue_payment
6999
+ | :fraud
7000
+
7001
+ module Reason
7002
+ extend Increase::Internal::Type::Enum
7003
+
7004
+ # The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
7005
+ DUPLICATE: :duplicate
7006
+
7007
+ # The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
7008
+ CREDITOR_REQUEST: :creditor_request
7009
+
7010
+ # The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
7011
+ WRONG_AMOUNT: :wrong_amount
7012
+
7013
+ # The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
7014
+ UNDUE_PAYMENT: :undue_payment
7015
+
7016
+ # The inbound FedNow transfer was determined to be fraudulent. Corresponds to the FedNow reason code `FR01`, and reports the fraud to the Federal Reserve and the sending bank.
7017
+ FRAUD: :fraud
7018
+
7019
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::reason]
7020
+ end
7021
+ end
7022
+
6952
7023
  type inbound_real_time_payments_transfer_confirmation =
6953
7024
  {
6954
7025
  amount: Integer,
@@ -106,6 +106,7 @@ module Increase
106
106
  | :inbound_check_deposit_return_intention
107
107
  | :inbound_check_adjustment
108
108
  | :inbound_fednow_transfer_confirmation
109
+ | :inbound_fednow_transfer_return_acknowledgement
109
110
  | :inbound_real_time_payments_transfer_confirmation
110
111
  | :inbound_wire_reversal
111
112
  | :inbound_wire_transfer
@@ -200,6 +201,9 @@ module Increase
200
201
  # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
201
202
  INBOUND_FEDNOW_TRANSFER_CONFIRMATION: :inbound_fednow_transfer_confirmation
202
203
 
204
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
205
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT: :inbound_fednow_transfer_return_acknowledgement
206
+
203
207
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
204
208
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION: :inbound_real_time_payments_transfer_confirmation
205
209
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.367.0
4
+ version: 1.368.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-17 00:00:00.000000000 Z
11
+ date: 2026-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64