increase 1.263.0 → 1.264.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 (29) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/declined_transaction.rb +9 -9
  5. data/lib/increase/models/inbound_real_time_payments_transfer.rb +9 -9
  6. data/lib/increase/models/real_time_payments_transfer.rb +22 -22
  7. data/lib/increase/models/real_time_payments_transfer_create_params.rb +29 -16
  8. data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +9 -9
  9. data/lib/increase/models/transaction.rb +29 -29
  10. data/lib/increase/resources/real_time_payments_transfers.rb +9 -5
  11. data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +3 -3
  12. data/lib/increase/version.rb +1 -1
  13. data/rbi/increase/models/declined_transaction.rbi +11 -11
  14. data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +11 -11
  15. data/rbi/increase/models/real_time_payments_transfer.rbi +27 -27
  16. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +34 -18
  17. data/rbi/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbi +11 -11
  18. data/rbi/increase/models/transaction.rbi +34 -34
  19. data/rbi/increase/resources/real_time_payments_transfers.rbi +11 -8
  20. data/rbi/increase/resources/simulations/inbound_real_time_payments_transfers.rbi +3 -3
  21. data/sig/increase/models/declined_transaction.rbs +8 -8
  22. data/sig/increase/models/inbound_real_time_payments_transfer.rbs +8 -8
  23. data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
  24. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +19 -5
  25. data/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs +8 -8
  26. data/sig/increase/models/transaction.rbs +25 -25
  27. data/sig/increase/resources/real_time_payments_transfers.rbs +3 -1
  28. data/sig/increase/resources/simulations/inbound_real_time_payments_transfers.rbs +1 -1
  29. metadata +2 -2
@@ -91,10 +91,6 @@ module Increase
91
91
  end
92
92
  attr_writer :decline
93
93
 
94
- # Additional information included with the transfer.
95
- sig { returns(T.nilable(String)) }
96
- attr_accessor :remittance_information
97
-
98
94
  # The lifecycle status of the transfer.
99
95
  sig do
100
96
  returns(Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol)
@@ -112,6 +108,10 @@ module Increase
112
108
  end
113
109
  attr_accessor :type
114
110
 
111
+ # Additional information included with the transfer.
112
+ sig { returns(T.nilable(String)) }
113
+ attr_accessor :unstructured_remittance_information
114
+
115
115
  # An Inbound Real-Time Payments Transfer is a Real-Time Payments transfer
116
116
  # initiated outside of Increase to your account.
117
117
  sig do
@@ -135,10 +135,10 @@ module Increase
135
135
  T.nilable(
136
136
  Increase::InboundRealTimePaymentsTransfer::Decline::OrHash
137
137
  ),
138
- remittance_information: T.nilable(String),
139
138
  status: Increase::InboundRealTimePaymentsTransfer::Status::OrSymbol,
140
139
  transaction_identification: String,
141
- type: Increase::InboundRealTimePaymentsTransfer::Type::OrSymbol
140
+ type: Increase::InboundRealTimePaymentsTransfer::Type::OrSymbol,
141
+ unstructured_remittance_information: T.nilable(String)
142
142
  ).returns(T.attached_class)
143
143
  end
144
144
  def self.new(
@@ -168,15 +168,15 @@ module Increase
168
168
  debtor_routing_number:,
169
169
  # If your transfer is declined, this will contain details of the decline.
170
170
  decline:,
171
- # Additional information included with the transfer.
172
- remittance_information:,
173
171
  # The lifecycle status of the transfer.
174
172
  status:,
175
173
  # The Real-Time Payments network identification of the transfer.
176
174
  transaction_identification:,
177
175
  # A constant representing the object's type. For this resource it will always be
178
176
  # `inbound_real_time_payments_transfer`.
179
- type:
177
+ type:,
178
+ # Additional information included with the transfer.
179
+ unstructured_remittance_information:
180
180
  )
181
181
  end
182
182
 
@@ -200,11 +200,11 @@ module Increase
200
200
  debtor_routing_number: String,
201
201
  decline:
202
202
  T.nilable(Increase::InboundRealTimePaymentsTransfer::Decline),
203
- remittance_information: T.nilable(String),
204
203
  status:
205
204
  Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol,
206
205
  transaction_identification: String,
207
- type: Increase::InboundRealTimePaymentsTransfer::Type::TaggedSymbol
206
+ type: Increase::InboundRealTimePaymentsTransfer::Type::TaggedSymbol,
207
+ unstructured_remittance_information: T.nilable(String)
208
208
  }
209
209
  )
210
210
  end
@@ -16,6 +16,10 @@ module Increase
16
16
  sig { returns(String) }
17
17
  attr_accessor :account_id
18
18
 
19
+ # The destination account number.
20
+ sig { returns(String) }
21
+ attr_accessor :account_number
22
+
19
23
  # If the transfer is acknowledged by the recipient bank, this will contain
20
24
  # supplemental details.
21
25
  sig do
@@ -99,15 +103,6 @@ module Increase
99
103
  sig { returns(T.nilable(String)) }
100
104
  attr_accessor :debtor_name
101
105
 
102
- # The destination account number.
103
- sig { returns(String) }
104
- attr_accessor :destination_account_number
105
-
106
- # The destination American Bankers' Association (ABA) Routing Transit Number
107
- # (RTN).
108
- sig { returns(String) }
109
- attr_accessor :destination_routing_number
110
-
111
106
  # The identifier of the External Account the transfer was made to, if any.
112
107
  sig { returns(T.nilable(String)) }
113
108
  attr_accessor :external_account_id
@@ -138,9 +133,10 @@ module Increase
138
133
  end
139
134
  attr_writer :rejection
140
135
 
141
- # Unstructured information that will show on the recipient's bank statement.
136
+ # The destination American Bankers' Association (ABA) Routing Transit Number
137
+ # (RTN).
142
138
  sig { returns(String) }
143
- attr_accessor :remittance_information
139
+ attr_accessor :routing_number
144
140
 
145
141
  # The Account Number the recipient will see as having sent the transfer.
146
142
  sig { returns(String) }
@@ -182,12 +178,17 @@ module Increase
182
178
  sig { returns(T.nilable(String)) }
183
179
  attr_accessor :ultimate_debtor_name
184
180
 
181
+ # Unstructured information that will show on the recipient's bank statement.
182
+ sig { returns(String) }
183
+ attr_accessor :unstructured_remittance_information
184
+
185
185
  # Real-Time Payments transfers move funds, within seconds, between your Increase
186
186
  # account and any other account on the Real-Time Payments network.
187
187
  sig do
188
188
  params(
189
189
  id: String,
190
190
  account_id: String,
191
+ account_number: String,
191
192
  acknowledgement:
192
193
  T.nilable(
193
194
  Increase::RealTimePaymentsTransfer::Acknowledgement::OrHash
@@ -203,14 +204,12 @@ module Increase
203
204
  creditor_name: String,
204
205
  currency: Increase::RealTimePaymentsTransfer::Currency::OrSymbol,
205
206
  debtor_name: T.nilable(String),
206
- destination_account_number: String,
207
- destination_routing_number: String,
208
207
  external_account_id: T.nilable(String),
209
208
  idempotency_key: T.nilable(String),
210
209
  pending_transaction_id: T.nilable(String),
211
210
  rejection:
212
211
  T.nilable(Increase::RealTimePaymentsTransfer::Rejection::OrHash),
213
- remittance_information: String,
212
+ routing_number: String,
214
213
  source_account_number_id: String,
215
214
  status: Increase::RealTimePaymentsTransfer::Status::OrSymbol,
216
215
  submission:
@@ -218,7 +217,8 @@ module Increase
218
217
  transaction_id: T.nilable(String),
219
218
  type: Increase::RealTimePaymentsTransfer::Type::OrSymbol,
220
219
  ultimate_creditor_name: T.nilable(String),
221
- ultimate_debtor_name: T.nilable(String)
220
+ ultimate_debtor_name: T.nilable(String),
221
+ unstructured_remittance_information: String
222
222
  ).returns(T.attached_class)
223
223
  end
224
224
  def self.new(
@@ -226,6 +226,8 @@ module Increase
226
226
  id:,
227
227
  # The Account from which the transfer was sent.
228
228
  account_id:,
229
+ # The destination account number.
230
+ account_number:,
229
231
  # If the transfer is acknowledged by the recipient bank, this will contain
230
232
  # supplemental details.
231
233
  acknowledgement:,
@@ -251,11 +253,6 @@ module Increase
251
253
  # The name of the transfer's sender. If not provided, defaults to the name of the
252
254
  # account's entity.
253
255
  debtor_name:,
254
- # The destination account number.
255
- destination_account_number:,
256
- # The destination American Bankers' Association (ABA) Routing Transit Number
257
- # (RTN).
258
- destination_routing_number:,
259
256
  # The identifier of the External Account the transfer was made to, if any.
260
257
  external_account_id:,
261
258
  # The idempotency key you chose for this object. This value is unique across
@@ -270,8 +267,9 @@ module Increase
270
267
  # If the transfer is rejected by Real-Time Payments or the destination financial
271
268
  # institution, this will contain supplemental details.
272
269
  rejection:,
273
- # Unstructured information that will show on the recipient's bank statement.
274
- remittance_information:,
270
+ # The destination American Bankers' Association (ABA) Routing Transit Number
271
+ # (RTN).
272
+ routing_number:,
275
273
  # The Account Number the recipient will see as having sent the transfer.
276
274
  source_account_number_id:,
277
275
  # The lifecycle status of the transfer.
@@ -289,7 +287,9 @@ module Increase
289
287
  ultimate_creditor_name:,
290
288
  # The name of the ultimate sender of the transfer. Set this if the funds are being
291
289
  # sent on behalf of someone who is not the account holder at Increase.
292
- ultimate_debtor_name:
290
+ ultimate_debtor_name:,
291
+ # Unstructured information that will show on the recipient's bank statement.
292
+ unstructured_remittance_information:
293
293
  )
294
294
  end
295
295
 
@@ -298,6 +298,7 @@ module Increase
298
298
  {
299
299
  id: String,
300
300
  account_id: String,
301
+ account_number: String,
301
302
  acknowledgement:
302
303
  T.nilable(Increase::RealTimePaymentsTransfer::Acknowledgement),
303
304
  amount: Integer,
@@ -311,13 +312,11 @@ module Increase
311
312
  currency:
312
313
  Increase::RealTimePaymentsTransfer::Currency::TaggedSymbol,
313
314
  debtor_name: T.nilable(String),
314
- destination_account_number: String,
315
- destination_routing_number: String,
316
315
  external_account_id: T.nilable(String),
317
316
  idempotency_key: T.nilable(String),
318
317
  pending_transaction_id: T.nilable(String),
319
318
  rejection: T.nilable(Increase::RealTimePaymentsTransfer::Rejection),
320
- remittance_information: String,
319
+ routing_number: String,
321
320
  source_account_number_id: String,
322
321
  status: Increase::RealTimePaymentsTransfer::Status::TaggedSymbol,
323
322
  submission:
@@ -325,7 +324,8 @@ module Increase
325
324
  transaction_id: T.nilable(String),
326
325
  type: Increase::RealTimePaymentsTransfer::Type::TaggedSymbol,
327
326
  ultimate_creditor_name: T.nilable(String),
328
- ultimate_debtor_name: T.nilable(String)
327
+ ultimate_debtor_name: T.nilable(String),
328
+ unstructured_remittance_information: String
329
329
  }
330
330
  )
331
331
  end
@@ -23,14 +23,21 @@ module Increase
23
23
  sig { returns(String) }
24
24
  attr_accessor :creditor_name
25
25
 
26
- # Unstructured information that will show on the recipient's bank statement.
27
- sig { returns(String) }
28
- attr_accessor :remittance_information
29
-
30
26
  # The identifier of the Account Number from which to send the transfer.
31
27
  sig { returns(String) }
32
28
  attr_accessor :source_account_number_id
33
29
 
30
+ # Unstructured information that will show on the recipient's bank statement.
31
+ sig { returns(String) }
32
+ attr_accessor :unstructured_remittance_information
33
+
34
+ # The destination account number.
35
+ sig { returns(T.nilable(String)) }
36
+ attr_reader :account_number
37
+
38
+ sig { params(account_number: String).void }
39
+ attr_writer :account_number
40
+
34
41
  # The name of the transfer's sender. If not provided, defaults to the name of the
35
42
  # account's entity.
36
43
  sig { returns(T.nilable(String)) }
@@ -39,15 +46,12 @@ module Increase
39
46
  sig { params(debtor_name: String).void }
40
47
  attr_writer :debtor_name
41
48
 
42
- # The destination account number.
43
49
  sig { returns(T.nilable(String)) }
44
50
  attr_reader :destination_account_number
45
51
 
46
52
  sig { params(destination_account_number: String).void }
47
53
  attr_writer :destination_account_number
48
54
 
49
- # The destination American Bankers' Association (ABA) Routing Transit Number
50
- # (RTN).
51
55
  sig { returns(T.nilable(String)) }
52
56
  attr_reader :destination_routing_number
53
57
 
@@ -55,8 +59,7 @@ module Increase
55
59
  attr_writer :destination_routing_number
56
60
 
57
61
  # The ID of an External Account to initiate a transfer to. If this parameter is
58
- # provided, `destination_account_number` and `destination_routing_number` must be
59
- # absent.
62
+ # provided, `account_number` and `routing_number` must be absent.
60
63
  sig { returns(T.nilable(String)) }
61
64
  attr_reader :external_account_id
62
65
 
@@ -70,6 +73,14 @@ module Increase
70
73
  sig { params(require_approval: T::Boolean).void }
71
74
  attr_writer :require_approval
72
75
 
76
+ # The destination American Bankers' Association (ABA) Routing Transit Number
77
+ # (RTN).
78
+ sig { returns(T.nilable(String)) }
79
+ attr_reader :routing_number
80
+
81
+ sig { params(routing_number: String).void }
82
+ attr_writer :routing_number
83
+
73
84
  # The name of the ultimate recipient of the transfer. Set this if the creditor is
74
85
  # an intermediary receiving the payment for someone else.
75
86
  sig { returns(T.nilable(String)) }
@@ -90,13 +101,15 @@ module Increase
90
101
  params(
91
102
  amount: Integer,
92
103
  creditor_name: String,
93
- remittance_information: String,
94
104
  source_account_number_id: String,
105
+ unstructured_remittance_information: String,
106
+ account_number: String,
95
107
  debtor_name: String,
96
108
  destination_account_number: String,
97
109
  destination_routing_number: String,
98
110
  external_account_id: String,
99
111
  require_approval: T::Boolean,
112
+ routing_number: String,
100
113
  ultimate_creditor_name: String,
101
114
  ultimate_debtor_name: String,
102
115
  request_options: Increase::RequestOptions::OrHash
@@ -108,24 +121,25 @@ module Increase
108
121
  amount:,
109
122
  # The name of the transfer's recipient.
110
123
  creditor_name:,
111
- # Unstructured information that will show on the recipient's bank statement.
112
- remittance_information:,
113
124
  # The identifier of the Account Number from which to send the transfer.
114
125
  source_account_number_id:,
126
+ # Unstructured information that will show on the recipient's bank statement.
127
+ unstructured_remittance_information:,
128
+ # The destination account number.
129
+ account_number: nil,
115
130
  # The name of the transfer's sender. If not provided, defaults to the name of the
116
131
  # account's entity.
117
132
  debtor_name: nil,
118
- # The destination account number.
119
133
  destination_account_number: nil,
120
- # The destination American Bankers' Association (ABA) Routing Transit Number
121
- # (RTN).
122
134
  destination_routing_number: nil,
123
135
  # The ID of an External Account to initiate a transfer to. If this parameter is
124
- # provided, `destination_account_number` and `destination_routing_number` must be
125
- # absent.
136
+ # provided, `account_number` and `routing_number` must be absent.
126
137
  external_account_id: nil,
127
138
  # Whether the transfer requires explicit approval via the dashboard or API.
128
139
  require_approval: nil,
140
+ # The destination American Bankers' Association (ABA) Routing Transit Number
141
+ # (RTN).
142
+ routing_number: nil,
129
143
  # The name of the ultimate recipient of the transfer. Set this if the creditor is
130
144
  # an intermediary receiving the payment for someone else.
131
145
  ultimate_creditor_name: nil,
@@ -141,13 +155,15 @@ module Increase
141
155
  {
142
156
  amount: Integer,
143
157
  creditor_name: String,
144
- remittance_information: String,
145
158
  source_account_number_id: String,
159
+ unstructured_remittance_information: String,
160
+ account_number: String,
146
161
  debtor_name: String,
147
162
  destination_account_number: String,
148
163
  destination_routing_number: String,
149
164
  external_account_id: String,
150
165
  require_approval: T::Boolean,
166
+ routing_number: String,
151
167
  ultimate_creditor_name: String,
152
168
  ultimate_debtor_name: String,
153
169
  request_options: Increase::RequestOptions
@@ -45,13 +45,6 @@ module Increase
45
45
  sig { params(debtor_routing_number: String).void }
46
46
  attr_writer :debtor_routing_number
47
47
 
48
- # Additional information included with the transfer.
49
- sig { returns(T.nilable(String)) }
50
- attr_reader :remittance_information
51
-
52
- sig { params(remittance_information: String).void }
53
- attr_writer :remittance_information
54
-
55
48
  # The identifier of a pending Request for Payment that this transfer will fulfill.
56
49
  sig { returns(T.nilable(String)) }
57
50
  attr_reader :request_for_payment_id
@@ -59,6 +52,13 @@ module Increase
59
52
  sig { params(request_for_payment_id: String).void }
60
53
  attr_writer :request_for_payment_id
61
54
 
55
+ # Additional information included with the transfer.
56
+ sig { returns(T.nilable(String)) }
57
+ attr_reader :unstructured_remittance_information
58
+
59
+ sig { params(unstructured_remittance_information: String).void }
60
+ attr_writer :unstructured_remittance_information
61
+
62
62
  sig do
63
63
  params(
64
64
  account_number_id: String,
@@ -66,8 +66,8 @@ module Increase
66
66
  debtor_account_number: String,
67
67
  debtor_name: String,
68
68
  debtor_routing_number: String,
69
- remittance_information: String,
70
69
  request_for_payment_id: String,
70
+ unstructured_remittance_information: String,
71
71
  request_options: Increase::RequestOptions::OrHash
72
72
  ).returns(T.attached_class)
73
73
  end
@@ -83,10 +83,10 @@ module Increase
83
83
  debtor_name: nil,
84
84
  # The routing number of the account that sent the transfer.
85
85
  debtor_routing_number: nil,
86
- # Additional information included with the transfer.
87
- remittance_information: nil,
88
86
  # The identifier of a pending Request for Payment that this transfer will fulfill.
89
87
  request_for_payment_id: nil,
88
+ # Additional information included with the transfer.
89
+ unstructured_remittance_information: nil,
90
90
  request_options: {}
91
91
  )
92
92
  end
@@ -99,8 +99,8 @@ module Increase
99
99
  debtor_account_number: String,
100
100
  debtor_name: String,
101
101
  debtor_routing_number: String,
102
- remittance_information: String,
103
102
  request_for_payment_id: String,
103
+ unstructured_remittance_information: String,
104
104
  request_options: Increase::RequestOptions
105
105
  }
106
106
  )
@@ -11880,10 +11880,6 @@ module Increase
11880
11880
  sig { returns(String) }
11881
11881
  attr_accessor :debtor_routing_number
11882
11882
 
11883
- # Additional information included with the transfer.
11884
- sig { returns(T.nilable(String)) }
11885
- attr_accessor :remittance_information
11886
-
11887
11883
  # The Real-Time Payments network identification of the transfer.
11888
11884
  sig { returns(String) }
11889
11885
  attr_accessor :transaction_identification
@@ -11892,6 +11888,10 @@ module Increase
11892
11888
  sig { returns(String) }
11893
11889
  attr_accessor :transfer_id
11894
11890
 
11891
+ # Additional information included with the transfer.
11892
+ sig { returns(T.nilable(String)) }
11893
+ attr_accessor :unstructured_remittance_information
11894
+
11895
11895
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
11896
11896
  # present in the JSON response if and only if `category` is equal to
11897
11897
  # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
@@ -11906,9 +11906,9 @@ module Increase
11906
11906
  debtor_account_number: String,
11907
11907
  debtor_name: String,
11908
11908
  debtor_routing_number: String,
11909
- remittance_information: T.nilable(String),
11910
11909
  transaction_identification: String,
11911
- transfer_id: String
11910
+ transfer_id: String,
11911
+ unstructured_remittance_information: T.nilable(String)
11912
11912
  ).returns(T.attached_class)
11913
11913
  end
11914
11914
  def self.new(
@@ -11926,12 +11926,12 @@ module Increase
11926
11926
  debtor_name:,
11927
11927
  # The routing number of the account that sent the transfer.
11928
11928
  debtor_routing_number:,
11929
- # Additional information included with the transfer.
11930
- remittance_information:,
11931
11929
  # The Real-Time Payments network identification of the transfer.
11932
11930
  transaction_identification:,
11933
11931
  # The identifier of the Real-Time Payments Transfer that led to this Transaction.
11934
- transfer_id:
11932
+ transfer_id:,
11933
+ # Additional information included with the transfer.
11934
+ unstructured_remittance_information:
11935
11935
  )
11936
11936
  end
11937
11937
 
@@ -11945,9 +11945,9 @@ module Increase
11945
11945
  debtor_account_number: String,
11946
11946
  debtor_name: String,
11947
11947
  debtor_routing_number: String,
11948
- remittance_information: T.nilable(String),
11949
11948
  transaction_identification: String,
11950
- transfer_id: String
11949
+ transfer_id: String,
11950
+ unstructured_remittance_information: T.nilable(String)
11951
11951
  }
11952
11952
  )
11953
11953
  end
@@ -12745,26 +12745,26 @@ module Increase
12745
12745
  )
12746
12746
  end
12747
12747
 
12748
+ # The destination account number.
12749
+ sig { returns(String) }
12750
+ attr_accessor :account_number
12751
+
12748
12752
  # The transfer amount in USD cents.
12749
12753
  sig { returns(Integer) }
12750
12754
  attr_accessor :amount
12751
12755
 
12752
- # The destination account number.
12753
- sig { returns(String) }
12754
- attr_accessor :destination_account_number
12755
-
12756
12756
  # The American Bankers' Association (ABA) Routing Transit Number (RTN).
12757
12757
  sig { returns(String) }
12758
- attr_accessor :destination_routing_number
12759
-
12760
- # Unstructured information that will show on the recipient's bank statement.
12761
- sig { returns(String) }
12762
- attr_accessor :remittance_information
12758
+ attr_accessor :routing_number
12763
12759
 
12764
12760
  # The identifier of the Real-Time Payments Transfer that led to this Transaction.
12765
12761
  sig { returns(String) }
12766
12762
  attr_accessor :transfer_id
12767
12763
 
12764
+ # Unstructured information that will show on the recipient's bank statement.
12765
+ sig { returns(String) }
12766
+ attr_accessor :unstructured_remittance_information
12767
+
12768
12768
  # A Real-Time Payments Transfer Acknowledgement object. This field will be present
12769
12769
  # in the JSON response if and only if `category` is equal to
12770
12770
  # `real_time_payments_transfer_acknowledgement`. A Real-Time Payments Transfer
@@ -12772,35 +12772,35 @@ module Increase
12772
12772
  # is acknowledged by the receiving bank.
12773
12773
  sig do
12774
12774
  params(
12775
+ account_number: String,
12775
12776
  amount: Integer,
12776
- destination_account_number: String,
12777
- destination_routing_number: String,
12778
- remittance_information: String,
12779
- transfer_id: String
12777
+ routing_number: String,
12778
+ transfer_id: String,
12779
+ unstructured_remittance_information: String
12780
12780
  ).returns(T.attached_class)
12781
12781
  end
12782
12782
  def self.new(
12783
+ # The destination account number.
12784
+ account_number:,
12783
12785
  # The transfer amount in USD cents.
12784
12786
  amount:,
12785
- # The destination account number.
12786
- destination_account_number:,
12787
12787
  # The American Bankers' Association (ABA) Routing Transit Number (RTN).
12788
- destination_routing_number:,
12789
- # Unstructured information that will show on the recipient's bank statement.
12790
- remittance_information:,
12788
+ routing_number:,
12791
12789
  # The identifier of the Real-Time Payments Transfer that led to this Transaction.
12792
- transfer_id:
12790
+ transfer_id:,
12791
+ # Unstructured information that will show on the recipient's bank statement.
12792
+ unstructured_remittance_information:
12793
12793
  )
12794
12794
  end
12795
12795
 
12796
12796
  sig do
12797
12797
  override.returns(
12798
12798
  {
12799
+ account_number: String,
12799
12800
  amount: Integer,
12800
- destination_account_number: String,
12801
- destination_routing_number: String,
12802
- remittance_information: String,
12803
- transfer_id: String
12801
+ routing_number: String,
12802
+ transfer_id: String,
12803
+ unstructured_remittance_information: String
12804
12804
  }
12805
12805
  )
12806
12806
  end
@@ -8,13 +8,15 @@ module Increase
8
8
  params(
9
9
  amount: Integer,
10
10
  creditor_name: String,
11
- remittance_information: String,
12
11
  source_account_number_id: String,
12
+ unstructured_remittance_information: String,
13
+ account_number: String,
13
14
  debtor_name: String,
14
15
  destination_account_number: String,
15
16
  destination_routing_number: String,
16
17
  external_account_id: String,
17
18
  require_approval: T::Boolean,
19
+ routing_number: String,
18
20
  ultimate_creditor_name: String,
19
21
  ultimate_debtor_name: String,
20
22
  request_options: Increase::RequestOptions::OrHash
@@ -26,24 +28,25 @@ module Increase
26
28
  amount:,
27
29
  # The name of the transfer's recipient.
28
30
  creditor_name:,
29
- # Unstructured information that will show on the recipient's bank statement.
30
- remittance_information:,
31
31
  # The identifier of the Account Number from which to send the transfer.
32
32
  source_account_number_id:,
33
+ # Unstructured information that will show on the recipient's bank statement.
34
+ unstructured_remittance_information:,
35
+ # The destination account number.
36
+ account_number: nil,
33
37
  # The name of the transfer's sender. If not provided, defaults to the name of the
34
38
  # account's entity.
35
39
  debtor_name: nil,
36
- # The destination account number.
37
40
  destination_account_number: nil,
38
- # The destination American Bankers' Association (ABA) Routing Transit Number
39
- # (RTN).
40
41
  destination_routing_number: nil,
41
42
  # The ID of an External Account to initiate a transfer to. If this parameter is
42
- # provided, `destination_account_number` and `destination_routing_number` must be
43
- # absent.
43
+ # provided, `account_number` and `routing_number` must be absent.
44
44
  external_account_id: nil,
45
45
  # Whether the transfer requires explicit approval via the dashboard or API.
46
46
  require_approval: nil,
47
+ # The destination American Bankers' Association (ABA) Routing Transit Number
48
+ # (RTN).
49
+ routing_number: nil,
47
50
  # The name of the ultimate recipient of the transfer. Set this if the creditor is
48
51
  # an intermediary receiving the payment for someone else.
49
52
  ultimate_creditor_name: nil,
@@ -14,8 +14,8 @@ module Increase
14
14
  debtor_account_number: String,
15
15
  debtor_name: String,
16
16
  debtor_routing_number: String,
17
- remittance_information: String,
18
17
  request_for_payment_id: String,
18
+ unstructured_remittance_information: String,
19
19
  request_options: Increase::RequestOptions::OrHash
20
20
  ).returns(Increase::InboundRealTimePaymentsTransfer)
21
21
  end
@@ -31,10 +31,10 @@ module Increase
31
31
  debtor_name: nil,
32
32
  # The routing number of the account that sent the transfer.
33
33
  debtor_routing_number: nil,
34
- # Additional information included with the transfer.
35
- remittance_information: nil,
36
34
  # The identifier of a pending Request for Payment that this transfer will fulfill.
37
35
  request_for_payment_id: nil,
36
+ # Additional information included with the transfer.
37
+ unstructured_remittance_information: nil,
38
38
  request_options: {}
39
39
  )
40
40
  end