increase 1.366.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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer.rb +6 -6
  4. data/lib/increase/models/card_dispute.rb +131 -2
  5. data/lib/increase/models/card_dispute_create_params.rb +20 -16
  6. data/lib/increase/models/card_dispute_provide_provisional_credit_params.rb +22 -0
  7. data/lib/increase/models/card_dispute_reverse_provisional_credit_params.rb +22 -0
  8. data/lib/increase/models/card_payment.rb +30 -0
  9. data/lib/increase/models/declined_transaction.rb +3 -0
  10. data/lib/increase/models/export.rb +19 -5
  11. data/lib/increase/models/export_create_params.rb +36 -13
  12. data/lib/increase/models/inbound_check_deposit.rb +0 -3
  13. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  14. data/lib/increase/models/pending_transaction.rb +76 -1
  15. data/lib/increase/models/pending_transaction_list_params.rb +3 -0
  16. data/lib/increase/models/simulations/card_refund_create_params.rb +6 -6
  17. data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +3 -0
  18. data/lib/increase/models/transaction.rb +86 -1
  19. data/lib/increase/models/transaction_list_params.rb +3 -0
  20. data/lib/increase/models.rb +4 -0
  21. data/lib/increase/resources/card_disputes.rb +50 -6
  22. data/lib/increase/resources/exports.rb +5 -1
  23. data/lib/increase/resources/simulations/card_refunds.rb +3 -3
  24. data/lib/increase/version.rb +1 -1
  25. data/lib/increase.rb +2 -0
  26. data/rbi/increase/models/ach_transfer.rbi +6 -6
  27. data/rbi/increase/models/card_dispute.rbi +188 -0
  28. data/rbi/increase/models/card_dispute_create_params.rbi +20 -16
  29. data/rbi/increase/models/card_dispute_provide_provisional_credit_params.rbi +43 -0
  30. data/rbi/increase/models/card_dispute_reverse_provisional_credit_params.rbi +43 -0
  31. data/rbi/increase/models/card_payment.rbi +70 -0
  32. data/rbi/increase/models/declined_transaction.rbi +7 -0
  33. data/rbi/increase/models/export.rbi +18 -6
  34. data/rbi/increase/models/export_create_params.rbi +44 -15
  35. data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
  36. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  37. data/rbi/increase/models/pending_transaction.rbi +162 -0
  38. data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
  39. data/rbi/increase/models/simulations/card_refund_create_params.rbi +6 -6
  40. data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +3 -0
  41. data/rbi/increase/models/transaction.rbi +179 -0
  42. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  43. data/rbi/increase/models.rbi +6 -0
  44. data/rbi/increase/resources/card_disputes.rbi +38 -6
  45. data/rbi/increase/resources/exports.rbi +5 -1
  46. data/rbi/increase/resources/simulations/card_refunds.rbi +3 -3
  47. data/sig/increase/models/ach_transfer.rbs +8 -8
  48. data/sig/increase/models/card_dispute.rbs +79 -0
  49. data/sig/increase/models/card_dispute_provide_provisional_credit_params.rbs +23 -0
  50. data/sig/increase/models/card_dispute_reverse_provisional_credit_params.rbs +23 -0
  51. data/sig/increase/models/card_payment.rbs +40 -0
  52. data/sig/increase/models/declined_transaction.rbs +4 -0
  53. data/sig/increase/models/export.rbs +13 -4
  54. data/sig/increase/models/export_create_params.rbs +16 -5
  55. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  56. data/sig/increase/models/pending_transaction.rbs +63 -0
  57. data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
  58. data/sig/increase/models/transaction.rbs +71 -0
  59. data/sig/increase/models/transaction_list_params.rbs +4 -0
  60. data/sig/increase/models.rbs +4 -0
  61. data/sig/increase/resources/card_disputes.rbs +10 -0
  62. metadata +8 -2
@@ -101,8 +101,14 @@ module Increase
101
101
 
102
102
  CardDisputeListParams = Increase::Models::CardDisputeListParams
103
103
 
104
+ CardDisputeProvideProvisionalCreditParams =
105
+ Increase::Models::CardDisputeProvideProvisionalCreditParams
106
+
104
107
  CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
105
108
 
109
+ CardDisputeReverseProvisionalCreditParams =
110
+ Increase::Models::CardDisputeReverseProvisionalCreditParams
111
+
106
112
  CardDisputeSubmitUserSubmissionParams =
107
113
  Increase::Models::CardDisputeSubmitUserSubmissionParams
108
114
 
@@ -20,21 +20,23 @@ module Increase
20
20
  # The Transaction you wish to dispute. This Transaction must have a `source_type`
21
21
  # of `card_settlement`.
22
22
  disputed_transaction_id:,
23
- # The network of the disputed transaction. Details specific to the network are
24
- # required under the sub-object with the same identifier as the network.
23
+ # The network of the disputed transaction. Details specific to the network can be
24
+ # provided under the sub-object with the same identifier as the network.
25
25
  network:,
26
26
  # The monetary amount of the part of the transaction that is being disputed. This
27
27
  # is optional and will default to the full amount of the transaction if not
28
28
  # provided. If provided, the amount must be less than or equal to the amount of
29
29
  # the transaction.
30
30
  amount: nil,
31
- # The files to be attached to the initial dispute submission.
31
+ # The files to be attached to the initial dispute submission. Can only be provided
32
+ # along with the network-specific details.
32
33
  attachment_files: nil,
33
34
  # The free-form explanation provided to Increase to provide more context for the
34
- # user submission. This field is not sent directly to the card networks.
35
+ # user submission. This field is not sent directly to the card networks. Can only
36
+ # be provided along with the network-specific details.
35
37
  explanation: nil,
36
- # The Visa-specific parameters for the dispute. Required if and only if `network`
37
- # is `visa`.
38
+ # The Visa-specific parameters for the initial User Submission. If omitted, a
39
+ # later User Submission will be required.
38
40
  visa: nil,
39
41
  request_options: {}
40
42
  )
@@ -84,6 +86,36 @@ module Increase
84
86
  )
85
87
  end
86
88
 
89
+ # Credits the cardholder's Account for the Card Dispute amount, funded by your
90
+ # program's provisional credit Account.
91
+ sig do
92
+ params(
93
+ card_dispute_id: String,
94
+ request_options: Increase::RequestOptions::OrHash
95
+ ).returns(Increase::CardDispute)
96
+ end
97
+ def provide_provisional_credit(
98
+ # The identifier of the Card Dispute to provide a provisional credit for.
99
+ card_dispute_id,
100
+ request_options: {}
101
+ )
102
+ end
103
+
104
+ # Debits the cardholder's Account for the provisional credit and returns it to
105
+ # your program's provisional credit Account.
106
+ sig do
107
+ params(
108
+ card_dispute_id: String,
109
+ request_options: Increase::RequestOptions::OrHash
110
+ ).returns(Increase::CardDispute)
111
+ end
112
+ def reverse_provisional_credit(
113
+ # The identifier of the Card Dispute to reverse the provisional credit for.
114
+ card_dispute_id,
115
+ request_options: {}
116
+ )
117
+ end
118
+
87
119
  # Submit a User Submission for a Card Dispute
88
120
  sig do
89
121
  params(
@@ -31,7 +31,11 @@ module Increase
31
31
  # The type of Export to create.
32
32
  category:,
33
33
  # Options for the created export. Required if `category` is equal to
34
- # `account_statement_bai2`.
34
+ # `account_statement_bai2`. Each as-of date from `on_or_after_date` through
35
+ # `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
36
+ # group's as-of date is before the UTC date the Export was created, it has
37
+ # end-of-day balances. If it's the UTC date the Export was created, it has
38
+ # intraday balances as of the time the Export was created.
35
39
  account_statement_bai2: nil,
36
40
  # Options for the created export. Required if `category` is equal to
37
41
  # `account_statement_ofx`.
@@ -18,9 +18,9 @@ module Increase
18
18
  # The refund amount in cents. Pulled off the `pending_transaction` or the
19
19
  # `transaction` if not provided.
20
20
  amount: nil,
21
- # The identifier of the Pending Transaction for the refund authorization. If this
22
- # is provided, `transaction` must not be provided as a refund with a refund
23
- # authorized can not be linked to a regular transaction.
21
+ # The identifier of the Pending Transaction for the refund or original credit
22
+ # authorization. If this is provided, `transaction` must not be provided as a
23
+ # refund with a refund authorization can not be linked to a regular transaction.
24
24
  pending_transaction_id: nil,
25
25
  # The identifier for the Transaction to refund. The Transaction's source must have
26
26
  # a category of card_settlement.
@@ -14,7 +14,7 @@ module Increase
14
14
  company_discretionary_data: String?,
15
15
  company_entry_description: String?,
16
16
  company_id: String,
17
- company_name: String?,
17
+ company_name: String,
18
18
  created_at: Time,
19
19
  created_by: Increase::ACHTransfer::CreatedBy?,
20
20
  currency: Increase::Models::ACHTransfer::currency,
@@ -24,7 +24,7 @@ module Increase
24
24
  idempotency_key: String?,
25
25
  inbound_funds_hold: Increase::ACHTransfer::InboundFundsHold?,
26
26
  individual_id: String?,
27
- individual_name: String?,
27
+ individual_name: String,
28
28
  network: Increase::Models::ACHTransfer::network,
29
29
  notifications_of_change: ::Array[Increase::ACHTransfer::NotificationsOfChange],
30
30
  pending_transaction_id: String?,
@@ -65,7 +65,7 @@ module Increase
65
65
 
66
66
  attr_accessor company_id: String
67
67
 
68
- attr_accessor company_name: String?
68
+ attr_accessor company_name: String
69
69
 
70
70
  attr_accessor created_at: Time
71
71
 
@@ -85,7 +85,7 @@ module Increase
85
85
 
86
86
  attr_accessor individual_id: String?
87
87
 
88
- attr_accessor individual_name: String?
88
+ attr_accessor individual_name: String
89
89
 
90
90
  attr_accessor network: Increase::Models::ACHTransfer::network
91
91
 
@@ -126,7 +126,7 @@ module Increase
126
126
  company_discretionary_data: String?,
127
127
  company_entry_description: String?,
128
128
  company_id: String,
129
- company_name: String?,
129
+ company_name: String,
130
130
  created_at: Time,
131
131
  created_by: Increase::ACHTransfer::CreatedBy?,
132
132
  currency: Increase::Models::ACHTransfer::currency,
@@ -136,7 +136,7 @@ module Increase
136
136
  idempotency_key: String?,
137
137
  inbound_funds_hold: Increase::ACHTransfer::InboundFundsHold?,
138
138
  individual_id: String?,
139
- individual_name: String?,
139
+ individual_name: String,
140
140
  network: Increase::Models::ACHTransfer::network,
141
141
  notifications_of_change: ::Array[Increase::ACHTransfer::NotificationsOfChange],
142
142
  pending_transaction_id: String?,
@@ -165,7 +165,7 @@ module Increase
165
165
  company_discretionary_data: String?,
166
166
  company_entry_description: String?,
167
167
  company_id: String,
168
- company_name: String?,
168
+ company_name: String,
169
169
  created_at: Time,
170
170
  created_by: Increase::ACHTransfer::CreatedBy?,
171
171
  currency: Increase::Models::ACHTransfer::currency,
@@ -175,7 +175,7 @@ module Increase
175
175
  idempotency_key: String?,
176
176
  inbound_funds_hold: Increase::ACHTransfer::InboundFundsHold?,
177
177
  individual_id: String?,
178
- individual_name: String?,
178
+ individual_name: String,
179
179
  network: Increase::Models::ACHTransfer::network,
180
180
  notifications_of_change: ::Array[Increase::ACHTransfer::NotificationsOfChange],
181
181
  pending_transaction_id: String?,
@@ -11,6 +11,7 @@ module Increase
11
11
  idempotency_key: String?,
12
12
  loss: Increase::CardDispute::Loss?,
13
13
  network: Increase::Models::CardDispute::network,
14
+ provisional_credit: Increase::CardDispute::ProvisionalCredit?,
14
15
  rejection: Increase::CardDispute::Rejection?,
15
16
  status: Increase::Models::CardDispute::status,
16
17
  type: Increase::Models::CardDispute::type_,
@@ -39,6 +40,8 @@ module Increase
39
40
 
40
41
  attr_accessor network: Increase::Models::CardDispute::network
41
42
 
43
+ attr_accessor provisional_credit: Increase::CardDispute::ProvisionalCredit?
44
+
42
45
  attr_accessor rejection: Increase::CardDispute::Rejection?
43
46
 
44
47
  attr_accessor status: Increase::Models::CardDispute::status
@@ -63,6 +66,7 @@ module Increase
63
66
  idempotency_key: String?,
64
67
  loss: Increase::CardDispute::Loss?,
65
68
  network: Increase::Models::CardDispute::network,
69
+ provisional_credit: Increase::CardDispute::ProvisionalCredit?,
66
70
  rejection: Increase::CardDispute::Rejection?,
67
71
  status: Increase::Models::CardDispute::status,
68
72
  type: Increase::Models::CardDispute::type_,
@@ -82,6 +86,7 @@ module Increase
82
86
  idempotency_key: String?,
83
87
  loss: Increase::CardDispute::Loss?,
84
88
  network: Increase::Models::CardDispute::network,
89
+ provisional_credit: Increase::CardDispute::ProvisionalCredit?,
85
90
  rejection: Increase::CardDispute::Rejection?,
86
91
  status: Increase::Models::CardDispute::status,
87
92
  type: Increase::Models::CardDispute::type_,
@@ -138,6 +143,75 @@ module Increase
138
143
  def self?.values: -> ::Array[Increase::Models::CardDispute::network]
139
144
  end
140
145
 
146
+ type provisional_credit =
147
+ {
148
+ amount: Integer,
149
+ cardholder_account_transaction_id: String,
150
+ provided_at: Time,
151
+ provisional_credit_funding_account_transaction_id: String,
152
+ reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
153
+ }
154
+
155
+ class ProvisionalCredit < Increase::Internal::Type::BaseModel
156
+ attr_accessor amount: Integer
157
+
158
+ attr_accessor cardholder_account_transaction_id: String
159
+
160
+ attr_accessor provided_at: Time
161
+
162
+ attr_accessor provisional_credit_funding_account_transaction_id: String
163
+
164
+ attr_accessor reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
165
+
166
+ def initialize: (
167
+ amount: Integer,
168
+ cardholder_account_transaction_id: String,
169
+ provided_at: Time,
170
+ provisional_credit_funding_account_transaction_id: String,
171
+ reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
172
+ ) -> void
173
+
174
+ def to_hash: -> {
175
+ amount: Integer,
176
+ cardholder_account_transaction_id: String,
177
+ provided_at: Time,
178
+ provisional_credit_funding_account_transaction_id: String,
179
+ reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
180
+ }
181
+
182
+ type reversal =
183
+ {
184
+ amount: Integer,
185
+ cardholder_account_transaction_id: String,
186
+ provisional_credit_funding_account_transaction_id: String,
187
+ reversed_at: Time
188
+ }
189
+
190
+ class Reversal < Increase::Internal::Type::BaseModel
191
+ attr_accessor amount: Integer
192
+
193
+ attr_accessor cardholder_account_transaction_id: String
194
+
195
+ attr_accessor provisional_credit_funding_account_transaction_id: String
196
+
197
+ attr_accessor reversed_at: Time
198
+
199
+ def initialize: (
200
+ amount: Integer,
201
+ cardholder_account_transaction_id: String,
202
+ provisional_credit_funding_account_transaction_id: String,
203
+ reversed_at: Time
204
+ ) -> void
205
+
206
+ def to_hash: -> {
207
+ amount: Integer,
208
+ cardholder_account_transaction_id: String,
209
+ provisional_credit_funding_account_transaction_id: String,
210
+ reversed_at: Time
211
+ }
212
+ end
213
+ end
214
+
141
215
  type rejection = { explanation: String, rejected_at: Time }
142
216
 
143
217
  class Rejection < Increase::Internal::Type::BaseModel
@@ -231,6 +305,7 @@ module Increase
231
305
  attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
232
306
  category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
233
307
  created_at: Time,
308
+ dispute_financial_account_id: String?,
234
309
  dispute_financial_transaction_id: String?,
235
310
  chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
236
311
  chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
@@ -254,6 +329,8 @@ module Increase
254
329
 
255
330
  attr_accessor created_at: Time
256
331
 
332
+ attr_accessor dispute_financial_account_id: String?
333
+
257
334
  attr_accessor dispute_financial_transaction_id: String?
258
335
 
259
336
  attr_accessor chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?
@@ -286,6 +363,7 @@ module Increase
286
363
  attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
287
364
  category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
288
365
  created_at: Time,
366
+ dispute_financial_account_id: String?,
289
367
  dispute_financial_transaction_id: String?,
290
368
  ?chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
291
369
  ?chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
@@ -306,6 +384,7 @@ module Increase
306
384
  attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
307
385
  category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
308
386
  created_at: Time,
387
+ dispute_financial_account_id: String?,
309
388
  dispute_financial_transaction_id: String?,
310
389
  chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
311
390
  chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
@@ -0,0 +1,23 @@
1
+ module Increase
2
+ module Models
3
+ type card_dispute_provide_provisional_credit_params =
4
+ { card_dispute_id: String } & Increase::Internal::Type::request_parameters
5
+
6
+ class CardDisputeProvideProvisionalCreditParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ attr_accessor card_dispute_id: String
11
+
12
+ def initialize: (
13
+ card_dispute_id: String,
14
+ ?request_options: Increase::request_opts
15
+ ) -> void
16
+
17
+ def to_hash: -> {
18
+ card_dispute_id: String,
19
+ request_options: Increase::RequestOptions
20
+ }
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ module Increase
2
+ module Models
3
+ type card_dispute_reverse_provisional_credit_params =
4
+ { card_dispute_id: String } & Increase::Internal::Type::request_parameters
5
+
6
+ class CardDisputeReverseProvisionalCreditParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ attr_accessor card_dispute_id: String
11
+
12
+ def initialize: (
13
+ card_dispute_id: String,
14
+ ?request_options: Increase::request_opts
15
+ ) -> void
16
+
17
+ def to_hash: -> {
18
+ card_dispute_id: String,
19
+ request_options: Increase::RequestOptions
20
+ }
21
+ end
22
+ end
23
+ end
@@ -1815,6 +1815,7 @@ module Increase
1815
1815
  | :visa_atm_cash_withdrawal_international
1816
1816
  | :visa_atm_cash_deposit_domestic
1817
1817
  | :pulse_switch_fee
1818
+ | :pulse_switch_fee_credit
1818
1819
  | :pulse_tokenization_fee
1819
1820
 
1820
1821
  module FeeType
@@ -1916,6 +1917,9 @@ module Increase
1916
1917
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
1917
1918
  PULSE_SWITCH_FEE: :pulse_switch_fee
1918
1919
 
1920
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
1921
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
1922
+
1919
1923
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
1920
1924
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
1921
1925
 
@@ -2848,6 +2852,7 @@ module Increase
2848
2852
  | :visa_atm_cash_withdrawal_international
2849
2853
  | :visa_atm_cash_deposit_domestic
2850
2854
  | :pulse_switch_fee
2855
+ | :pulse_switch_fee_credit
2851
2856
  | :pulse_tokenization_fee
2852
2857
 
2853
2858
  module FeeType
@@ -2949,6 +2954,9 @@ module Increase
2949
2954
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
2950
2955
  PULSE_SWITCH_FEE: :pulse_switch_fee
2951
2956
 
2957
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
2958
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
2959
+
2952
2960
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
2953
2961
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
2954
2962
 
@@ -4055,6 +4063,7 @@ module Increase
4055
4063
  | :visa_atm_cash_withdrawal_international
4056
4064
  | :visa_atm_cash_deposit_domestic
4057
4065
  | :pulse_switch_fee
4066
+ | :pulse_switch_fee_credit
4058
4067
  | :pulse_tokenization_fee
4059
4068
 
4060
4069
  module FeeType
@@ -4156,6 +4165,9 @@ module Increase
4156
4165
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
4157
4166
  PULSE_SWITCH_FEE: :pulse_switch_fee
4158
4167
 
4168
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
4169
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
4170
+
4159
4171
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
4160
4172
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
4161
4173
 
@@ -5114,6 +5126,7 @@ module Increase
5114
5126
  | :visa_atm_cash_withdrawal_international
5115
5127
  | :visa_atm_cash_deposit_domestic
5116
5128
  | :pulse_switch_fee
5129
+ | :pulse_switch_fee_credit
5117
5130
  | :pulse_tokenization_fee
5118
5131
 
5119
5132
  module FeeType
@@ -5215,6 +5228,9 @@ module Increase
5215
5228
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5216
5229
  PULSE_SWITCH_FEE: :pulse_switch_fee
5217
5230
 
5231
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
5232
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
5233
+
5218
5234
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5219
5235
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
5220
5236
 
@@ -5588,6 +5604,7 @@ module Increase
5588
5604
  | :visa_atm_cash_withdrawal_international
5589
5605
  | :visa_atm_cash_deposit_domestic
5590
5606
  | :pulse_switch_fee
5607
+ | :pulse_switch_fee_credit
5591
5608
  | :pulse_tokenization_fee
5592
5609
 
5593
5610
  module FeeType
@@ -5689,6 +5706,9 @@ module Increase
5689
5706
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5690
5707
  PULSE_SWITCH_FEE: :pulse_switch_fee
5691
5708
 
5709
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
5710
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
5711
+
5692
5712
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5693
5713
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
5694
5714
 
@@ -6139,6 +6159,7 @@ module Increase
6139
6159
  | :visa_atm_cash_withdrawal_international
6140
6160
  | :visa_atm_cash_deposit_domestic
6141
6161
  | :pulse_switch_fee
6162
+ | :pulse_switch_fee_credit
6142
6163
  | :pulse_tokenization_fee
6143
6164
 
6144
6165
  module FeeType
@@ -6240,6 +6261,9 @@ module Increase
6240
6261
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
6241
6262
  PULSE_SWITCH_FEE: :pulse_switch_fee
6242
6263
 
6264
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
6265
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
6266
+
6243
6267
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
6244
6268
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
6245
6269
 
@@ -8067,6 +8091,7 @@ module Increase
8067
8091
  | :visa_atm_cash_withdrawal_international
8068
8092
  | :visa_atm_cash_deposit_domestic
8069
8093
  | :pulse_switch_fee
8094
+ | :pulse_switch_fee_credit
8070
8095
  | :pulse_tokenization_fee
8071
8096
 
8072
8097
  module FeeType
@@ -8168,6 +8193,9 @@ module Increase
8168
8193
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8169
8194
  PULSE_SWITCH_FEE: :pulse_switch_fee
8170
8195
 
8196
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
8197
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
8198
+
8171
8199
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
8172
8200
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
8173
8201
 
@@ -8473,6 +8501,7 @@ module Increase
8473
8501
  | :visa_atm_cash_withdrawal_international
8474
8502
  | :visa_atm_cash_deposit_domestic
8475
8503
  | :pulse_switch_fee
8504
+ | :pulse_switch_fee_credit
8476
8505
  | :pulse_tokenization_fee
8477
8506
 
8478
8507
  module FeeType
@@ -8574,6 +8603,9 @@ module Increase
8574
8603
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8575
8604
  PULSE_SWITCH_FEE: :pulse_switch_fee
8576
8605
 
8606
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
8607
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
8608
+
8577
8609
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
8578
8610
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
8579
8611
 
@@ -10416,6 +10448,7 @@ module Increase
10416
10448
  | :visa_atm_cash_withdrawal_international
10417
10449
  | :visa_atm_cash_deposit_domestic
10418
10450
  | :pulse_switch_fee
10451
+ | :pulse_switch_fee_credit
10419
10452
  | :pulse_tokenization_fee
10420
10453
 
10421
10454
  module FeeType
@@ -10517,6 +10550,9 @@ module Increase
10517
10550
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
10518
10551
  PULSE_SWITCH_FEE: :pulse_switch_fee
10519
10552
 
10553
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
10554
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
10555
+
10520
10556
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
10521
10557
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
10522
10558
 
@@ -11247,6 +11283,7 @@ module Increase
11247
11283
  | :visa_atm_cash_withdrawal_international
11248
11284
  | :visa_atm_cash_deposit_domestic
11249
11285
  | :pulse_switch_fee
11286
+ | :pulse_switch_fee_credit
11250
11287
  | :pulse_tokenization_fee
11251
11288
 
11252
11289
  module FeeType
@@ -11348,6 +11385,9 @@ module Increase
11348
11385
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
11349
11386
  PULSE_SWITCH_FEE: :pulse_switch_fee
11350
11387
 
11388
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
11389
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
11390
+
11351
11391
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
11352
11392
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
11353
11393
 
@@ -1274,6 +1274,7 @@ module Increase
1274
1274
  | :visa_atm_cash_withdrawal_international
1275
1275
  | :visa_atm_cash_deposit_domestic
1276
1276
  | :pulse_switch_fee
1277
+ | :pulse_switch_fee_credit
1277
1278
  | :pulse_tokenization_fee
1278
1279
 
1279
1280
  module FeeType
@@ -1375,6 +1376,9 @@ module Increase
1375
1376
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
1376
1377
  PULSE_SWITCH_FEE: :pulse_switch_fee
1377
1378
 
1379
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
1380
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
1381
+
1378
1382
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
1379
1383
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
1380
1384
 
@@ -122,24 +122,33 @@ module Increase
122
122
  }
123
123
 
124
124
  type account_statement_bai2 =
125
- { account_id: String?, effective_date: Date?, program_id: String? }
125
+ {
126
+ account_id: String?,
127
+ on_or_after_date: Date?,
128
+ on_or_before_date: Date?,
129
+ program_id: String?
130
+ }
126
131
 
127
132
  class AccountStatementBai2 < Increase::Internal::Type::BaseModel
128
133
  attr_accessor account_id: String?
129
134
 
130
- attr_accessor effective_date: Date?
135
+ attr_accessor on_or_after_date: Date?
136
+
137
+ attr_accessor on_or_before_date: Date?
131
138
 
132
139
  attr_accessor program_id: String?
133
140
 
134
141
  def initialize: (
135
142
  account_id: String?,
136
- effective_date: Date?,
143
+ on_or_after_date: Date?,
144
+ on_or_before_date: Date?,
137
145
  program_id: String?
138
146
  ) -> void
139
147
 
140
148
  def to_hash: -> {
141
149
  account_id: String?,
142
- effective_date: Date?,
150
+ on_or_after_date: Date?,
151
+ on_or_before_date: Date?,
143
152
  program_id: String?
144
153
  }
145
154
  end
@@ -178,16 +178,25 @@ module Increase
178
178
  end
179
179
 
180
180
  type account_statement_bai2 =
181
- { account_id: String, effective_date: Date, program_id: String }
181
+ {
182
+ account_id: String,
183
+ on_or_after_date: Date,
184
+ on_or_before_date: Date,
185
+ program_id: String
186
+ }
182
187
 
183
188
  class AccountStatementBai2 < Increase::Internal::Type::BaseModel
184
189
  attr_reader account_id: String?
185
190
 
186
191
  def account_id=: (String) -> String
187
192
 
188
- attr_reader effective_date: Date?
193
+ attr_reader on_or_after_date: Date?
189
194
 
190
- def effective_date=: (Date) -> Date
195
+ def on_or_after_date=: (Date) -> Date
196
+
197
+ attr_reader on_or_before_date: Date?
198
+
199
+ def on_or_before_date=: (Date) -> Date
191
200
 
192
201
  attr_reader program_id: String?
193
202
 
@@ -195,13 +204,15 @@ module Increase
195
204
 
196
205
  def initialize: (
197
206
  ?account_id: String,
198
- ?effective_date: Date,
207
+ ?on_or_after_date: Date,
208
+ ?on_or_before_date: Date,
199
209
  ?program_id: String
200
210
  ) -> void
201
211
 
202
212
  def to_hash: -> {
203
213
  account_id: String,
204
- effective_date: Date,
214
+ on_or_after_date: Date,
215
+ on_or_before_date: Date,
205
216
  program_id: String
206
217
  }
207
218
  end
@@ -195,6 +195,7 @@ module Increase
195
195
  | :timed_out
196
196
  | :confirmed
197
197
  | :declined
198
+ | :returned
198
199
  | :requires_attention
199
200
 
200
201
  module Status
@@ -212,6 +213,9 @@ module Increase
212
213
  # The transfer has been declined.
213
214
  DECLINED: :declined
214
215
 
216
+ # The transfer has been returned, in full or in part, to its sender.
217
+ RETURNED: :returned
218
+
215
219
  # The transfer requires attention from an Increase operator.
216
220
  REQUIRES_ATTENTION: :requires_attention
217
221