increase 1.76.0 → 1.78.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/event.rb +6 -0
- data/lib/increase/models/event_list_params.rb +6 -0
- data/lib/increase/models/event_subscription.rb +6 -0
- data/lib/increase/models/event_subscription_create_params.rb +6 -0
- data/lib/increase/models/wire_transfer.rb +114 -4
- data/lib/increase/models/wire_transfer_create_params.rb +110 -9
- data/lib/increase/resources/wire_transfers.rb +3 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/event.rbi +14 -0
- data/rbi/increase/models/event_list_params.rbi +14 -0
- data/rbi/increase/models/event_subscription.rbi +14 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/wire_transfer.rbi +215 -3
- data/rbi/increase/models/wire_transfer_create_params.rbi +222 -8
- data/rbi/increase/resources/wire_transfers.rbi +3 -3
- data/sig/increase/models/event.rbs +8 -0
- data/sig/increase/models/event_list_params.rbs +8 -0
- data/sig/increase/models/event_subscription.rbs +8 -0
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/wire_transfer.rbs +83 -4
- data/sig/increase/models/wire_transfer_create_params.rbs +91 -5
- data/sig/increase/resources/wire_transfers.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24c16839add9c7242cea41b16af8640f01b8a5954381b3c85fe85bf8f2f5ea3c
|
4
|
+
data.tar.gz: 9ef32e737872f39e2f4706f3348eaba7a6d4116cbf31446bafb25d549db39868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb2e299e430a1261d9086000928215a808be762917187d289dd86834407d940c8c2a017b34cb56cf0e4edc01e7f78e75aa2e2f01a1300cfb11cbc7533a3c3fb2
|
7
|
+
data.tar.gz: 900a6fff1143f8c9e17046910787c197386a23c981e5aec5e619c3afce54615b36f66da3d9dc02970ccf9c4858b9af00cfe05cb00883a9f43ea603993301b1ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.78.0 (2025-09-16)
|
4
|
+
|
5
|
+
Full Changelog: [v1.77.0...v1.78.0](https://github.com/Increase/increase-ruby/compare/v1.77.0...v1.78.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([a643e15](https://github.com/Increase/increase-ruby/commit/a643e1536b7cdfb7e311d9f6cfd18eaef9a4db7d))
|
10
|
+
|
11
|
+
## 1.77.0 (2025-09-16)
|
12
|
+
|
13
|
+
Full Changelog: [v1.76.0...v1.77.0](https://github.com/Increase/increase-ruby/compare/v1.76.0...v1.77.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([a8e931a](https://github.com/Increase/increase-ruby/commit/a8e931a8673e9c3899021b4de1ea21300d6435ac))
|
18
|
+
|
3
19
|
## 1.76.0 (2025-09-15)
|
4
20
|
|
5
21
|
Full Changelog: [v1.75.0...v1.76.0](https://github.com/Increase/increase-ruby/compare/v1.75.0...v1.76.0)
|
data/README.md
CHANGED
@@ -190,6 +190,12 @@ module Increase
|
|
190
190
|
# Occurs whenever an External Account is updated.
|
191
191
|
EXTERNAL_ACCOUNT_UPDATED = :"external_account.updated"
|
192
192
|
|
193
|
+
# Occurs whenever a FedNow Transfer is created.
|
194
|
+
FEDNOW_TRANSFER_CREATED = :"fednow_transfer.created"
|
195
|
+
|
196
|
+
# Occurs whenever a FedNow Transfer is updated.
|
197
|
+
FEDNOW_TRANSFER_UPDATED = :"fednow_transfer.updated"
|
198
|
+
|
193
199
|
# Occurs whenever a File is created.
|
194
200
|
FILE_CREATED = :"file.created"
|
195
201
|
|
@@ -192,6 +192,12 @@ module Increase
|
|
192
192
|
# Occurs whenever an External Account is updated.
|
193
193
|
EXTERNAL_ACCOUNT_UPDATED = :"external_account.updated"
|
194
194
|
|
195
|
+
# Occurs whenever a FedNow Transfer is created.
|
196
|
+
FEDNOW_TRANSFER_CREATED = :"fednow_transfer.created"
|
197
|
+
|
198
|
+
# Occurs whenever a FedNow Transfer is updated.
|
199
|
+
FEDNOW_TRANSFER_UPDATED = :"fednow_transfer.updated"
|
200
|
+
|
195
201
|
# Occurs whenever a File is created.
|
196
202
|
FILE_CREATED = :"file.created"
|
197
203
|
|
@@ -213,6 +213,12 @@ module Increase
|
|
213
213
|
# Occurs whenever an External Account is updated.
|
214
214
|
EXTERNAL_ACCOUNT_UPDATED = :"external_account.updated"
|
215
215
|
|
216
|
+
# Occurs whenever a FedNow Transfer is created.
|
217
|
+
FEDNOW_TRANSFER_CREATED = :"fednow_transfer.created"
|
218
|
+
|
219
|
+
# Occurs whenever a FedNow Transfer is updated.
|
220
|
+
FEDNOW_TRANSFER_UPDATED = :"fednow_transfer.updated"
|
221
|
+
|
216
222
|
# Occurs whenever a File is created.
|
217
223
|
FILE_CREATED = :"file.created"
|
218
224
|
|
@@ -174,6 +174,12 @@ module Increase
|
|
174
174
|
# Occurs whenever an External Account is updated.
|
175
175
|
EXTERNAL_ACCOUNT_UPDATED = :"external_account.updated"
|
176
176
|
|
177
|
+
# Occurs whenever a FedNow Transfer is created.
|
178
|
+
FEDNOW_TRANSFER_CREATED = :"fednow_transfer.created"
|
179
|
+
|
180
|
+
# Occurs whenever a FedNow Transfer is updated.
|
181
|
+
FEDNOW_TRANSFER_UPDATED = :"fednow_transfer.updated"
|
182
|
+
|
177
183
|
# Occurs whenever a File is created.
|
178
184
|
FILE_CREATED = :"file.created"
|
179
185
|
|
@@ -110,8 +110,8 @@ module Increase
|
|
110
110
|
# @!attribute message_to_recipient
|
111
111
|
# The message that will show on the recipient's bank statement.
|
112
112
|
#
|
113
|
-
# @return [String
|
114
|
-
required :message_to_recipient, String
|
113
|
+
# @return [String]
|
114
|
+
required :message_to_recipient, String
|
115
115
|
|
116
116
|
# @!attribute network
|
117
117
|
# The transfer's network.
|
@@ -152,6 +152,12 @@ module Increase
|
|
152
152
|
# @return [String, nil]
|
153
153
|
required :pending_transaction_id, String, nil?: true
|
154
154
|
|
155
|
+
# @!attribute remittance
|
156
|
+
# Remittance information sent with the wire transfer.
|
157
|
+
#
|
158
|
+
# @return [Increase::Models::WireTransfer::Remittance, nil]
|
159
|
+
required :remittance, -> { Increase::WireTransfer::Remittance }, nil?: true
|
160
|
+
|
155
161
|
# @!attribute reversal
|
156
162
|
# If your transfer is reversed, this will contain details of the reversal.
|
157
163
|
#
|
@@ -196,7 +202,7 @@ module Increase
|
|
196
202
|
# @return [Symbol, Increase::Models::WireTransfer::Type]
|
197
203
|
required :type, enum: -> { Increase::WireTransfer::Type }
|
198
204
|
|
199
|
-
# @!method initialize(id:, account_id:, account_number:, amount:, approval:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, cancellation:, created_at:, created_by:, currency:, external_account_id:, idempotency_key:, inbound_wire_drawdown_request_id:, message_to_recipient:, network:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, pending_transaction_id:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:)
|
205
|
+
# @!method initialize(id:, account_id:, account_number:, amount:, approval:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, cancellation:, created_at:, created_by:, currency:, external_account_id:, idempotency_key:, inbound_wire_drawdown_request_id:, message_to_recipient:, network:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, pending_transaction_id:, remittance:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:)
|
200
206
|
# Some parameter documentations has been truncated, see
|
201
207
|
# {Increase::Models::WireTransfer} for more details.
|
202
208
|
#
|
@@ -235,7 +241,7 @@ module Increase
|
|
235
241
|
#
|
236
242
|
# @param inbound_wire_drawdown_request_id [String, nil] The ID of an Inbound Wire Drawdown Request in response to which this transfer wa
|
237
243
|
#
|
238
|
-
# @param message_to_recipient [String
|
244
|
+
# @param message_to_recipient [String] The message that will show on the recipient's bank statement.
|
239
245
|
#
|
240
246
|
# @param network [Symbol, Increase::Models::WireTransfer::Network] The transfer's network.
|
241
247
|
#
|
@@ -249,6 +255,8 @@ module Increase
|
|
249
255
|
#
|
250
256
|
# @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer. A pending transact
|
251
257
|
#
|
258
|
+
# @param remittance [Increase::Models::WireTransfer::Remittance, nil] Remittance information sent with the wire transfer.
|
259
|
+
#
|
252
260
|
# @param reversal [Increase::Models::WireTransfer::Reversal, nil] If your transfer is reversed, this will contain details of the reversal.
|
253
261
|
#
|
254
262
|
# @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
@@ -459,6 +467,108 @@ module Increase
|
|
459
467
|
# @return [Array<Symbol>]
|
460
468
|
end
|
461
469
|
|
470
|
+
# @see Increase::Models::WireTransfer#remittance
|
471
|
+
class Remittance < Increase::Internal::Type::BaseModel
|
472
|
+
# @!attribute category
|
473
|
+
# The type of remittance information being passed.
|
474
|
+
#
|
475
|
+
# @return [Symbol, Increase::Models::WireTransfer::Remittance::Category]
|
476
|
+
required :category, enum: -> { Increase::WireTransfer::Remittance::Category }
|
477
|
+
|
478
|
+
# @!attribute tax
|
479
|
+
# Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
480
|
+
# is equal to `tax`.
|
481
|
+
#
|
482
|
+
# @return [Increase::Models::WireTransfer::Remittance::Tax, nil]
|
483
|
+
required :tax, -> { Increase::WireTransfer::Remittance::Tax }, nil?: true
|
484
|
+
|
485
|
+
# @!attribute unstructured
|
486
|
+
# Unstructured remittance information. Required if `category` is equal to
|
487
|
+
# `unstructured`.
|
488
|
+
#
|
489
|
+
# @return [Increase::Models::WireTransfer::Remittance::Unstructured, nil]
|
490
|
+
required :unstructured, -> { Increase::WireTransfer::Remittance::Unstructured }, nil?: true
|
491
|
+
|
492
|
+
# @!method initialize(category:, tax:, unstructured:)
|
493
|
+
# Some parameter documentations has been truncated, see
|
494
|
+
# {Increase::Models::WireTransfer::Remittance} for more details.
|
495
|
+
#
|
496
|
+
# Remittance information sent with the wire transfer.
|
497
|
+
#
|
498
|
+
# @param category [Symbol, Increase::Models::WireTransfer::Remittance::Category] The type of remittance information being passed.
|
499
|
+
#
|
500
|
+
# @param tax [Increase::Models::WireTransfer::Remittance::Tax, nil] Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
501
|
+
#
|
502
|
+
# @param unstructured [Increase::Models::WireTransfer::Remittance::Unstructured, nil] Unstructured remittance information. Required if `category` is equal to `unstruc
|
503
|
+
|
504
|
+
# The type of remittance information being passed.
|
505
|
+
#
|
506
|
+
# @see Increase::Models::WireTransfer::Remittance#category
|
507
|
+
module Category
|
508
|
+
extend Increase::Internal::Type::Enum
|
509
|
+
|
510
|
+
# The wire transfer contains unstructured remittance information.
|
511
|
+
UNSTRUCTURED = :unstructured
|
512
|
+
|
513
|
+
# The wire transfer is for tax payment purposes to the Internal Revenue Service (IRS).
|
514
|
+
TAX = :tax
|
515
|
+
|
516
|
+
# @!method self.values
|
517
|
+
# @return [Array<Symbol>]
|
518
|
+
end
|
519
|
+
|
520
|
+
# @see Increase::Models::WireTransfer::Remittance#tax
|
521
|
+
class Tax < Increase::Internal::Type::BaseModel
|
522
|
+
# @!attribute date
|
523
|
+
# The month and year the tax payment is for, in YYYY-MM-DD format. The day is
|
524
|
+
# ignored.
|
525
|
+
#
|
526
|
+
# @return [Date]
|
527
|
+
required :date, Date
|
528
|
+
|
529
|
+
# @!attribute identification_number
|
530
|
+
# The 9-digit Tax Identification Number (TIN) or Employer Identification Number
|
531
|
+
# (EIN).
|
532
|
+
#
|
533
|
+
# @return [String]
|
534
|
+
required :identification_number, String
|
535
|
+
|
536
|
+
# @!attribute type_code
|
537
|
+
# The 5-character tax type code.
|
538
|
+
#
|
539
|
+
# @return [String]
|
540
|
+
required :type_code, String
|
541
|
+
|
542
|
+
# @!method initialize(date:, identification_number:, type_code:)
|
543
|
+
# Some parameter documentations has been truncated, see
|
544
|
+
# {Increase::Models::WireTransfer::Remittance::Tax} for more details.
|
545
|
+
#
|
546
|
+
# Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
547
|
+
# is equal to `tax`.
|
548
|
+
#
|
549
|
+
# @param date [Date] The month and year the tax payment is for, in YYYY-MM-DD format. The day is igno
|
550
|
+
#
|
551
|
+
# @param identification_number [String] The 9-digit Tax Identification Number (TIN) or Employer Identification Number (E
|
552
|
+
#
|
553
|
+
# @param type_code [String] The 5-character tax type code.
|
554
|
+
end
|
555
|
+
|
556
|
+
# @see Increase::Models::WireTransfer::Remittance#unstructured
|
557
|
+
class Unstructured < Increase::Internal::Type::BaseModel
|
558
|
+
# @!attribute message
|
559
|
+
# The message to the beneficiary.
|
560
|
+
#
|
561
|
+
# @return [String]
|
562
|
+
required :message, String
|
563
|
+
|
564
|
+
# @!method initialize(message:)
|
565
|
+
# Unstructured remittance information. Required if `category` is equal to
|
566
|
+
# `unstructured`.
|
567
|
+
#
|
568
|
+
# @param message [String] The message to the beneficiary.
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
462
572
|
# @see Increase::Models::WireTransfer#reversal
|
463
573
|
class Reversal < Increase::Internal::Type::BaseModel
|
464
574
|
# @!attribute amount
|
@@ -25,12 +25,6 @@ module Increase
|
|
25
25
|
# @return [String]
|
26
26
|
required :beneficiary_name, String
|
27
27
|
|
28
|
-
# @!attribute message_to_recipient
|
29
|
-
# The message that will show on the recipient's bank statement.
|
30
|
-
#
|
31
|
-
# @return [String]
|
32
|
-
required :message_to_recipient, String
|
33
|
-
|
34
28
|
# @!attribute account_number
|
35
29
|
# The account number for the destination account.
|
36
30
|
#
|
@@ -97,6 +91,12 @@ module Increase
|
|
97
91
|
# @return [String, nil]
|
98
92
|
optional :originator_name, String
|
99
93
|
|
94
|
+
# @!attribute remittance
|
95
|
+
# Additional remittance information related to the wire transfer.
|
96
|
+
#
|
97
|
+
# @return [Increase::Models::WireTransferCreateParams::Remittance, nil]
|
98
|
+
optional :remittance, -> { Increase::WireTransferCreateParams::Remittance }
|
99
|
+
|
100
100
|
# @!attribute require_approval
|
101
101
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
102
102
|
#
|
@@ -116,7 +116,7 @@ module Increase
|
|
116
116
|
# @return [String, nil]
|
117
117
|
optional :source_account_number_id, String
|
118
118
|
|
119
|
-
# @!method initialize(account_id:, amount:, beneficiary_name:,
|
119
|
+
# @!method initialize(account_id:, amount:, beneficiary_name:, account_number: nil, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, external_account_id: nil, inbound_wire_drawdown_request_id: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, remittance: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
|
120
120
|
# Some parameter documentations has been truncated, see
|
121
121
|
# {Increase::Models::WireTransferCreateParams} for more details.
|
122
122
|
#
|
@@ -126,8 +126,6 @@ module Increase
|
|
126
126
|
#
|
127
127
|
# @param beneficiary_name [String] The beneficiary's name.
|
128
128
|
#
|
129
|
-
# @param message_to_recipient [String] The message that will show on the recipient's bank statement.
|
130
|
-
#
|
131
129
|
# @param account_number [String] The account number for the destination account.
|
132
130
|
#
|
133
131
|
# @param beneficiary_address_line1 [String] The beneficiary's address line 1.
|
@@ -148,6 +146,8 @@ module Increase
|
|
148
146
|
#
|
149
147
|
# @param originator_name [String] The originator's name. This is only necessary if you're transferring from a comm
|
150
148
|
#
|
149
|
+
# @param remittance [Increase::Models::WireTransferCreateParams::Remittance] Additional remittance information related to the wire transfer.
|
150
|
+
#
|
151
151
|
# @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API.
|
152
152
|
#
|
153
153
|
# @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des
|
@@ -155,6 +155,107 @@ module Increase
|
|
155
155
|
# @param source_account_number_id [String] The ID of an Account Number that will be passed to the wire's recipient
|
156
156
|
#
|
157
157
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
158
|
+
|
159
|
+
class Remittance < Increase::Internal::Type::BaseModel
|
160
|
+
# @!attribute category
|
161
|
+
# The type of remittance information being passed.
|
162
|
+
#
|
163
|
+
# @return [Symbol, Increase::Models::WireTransferCreateParams::Remittance::Category]
|
164
|
+
required :category, enum: -> { Increase::WireTransferCreateParams::Remittance::Category }
|
165
|
+
|
166
|
+
# @!attribute tax
|
167
|
+
# Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
168
|
+
# is equal to `tax`.
|
169
|
+
#
|
170
|
+
# @return [Increase::Models::WireTransferCreateParams::Remittance::Tax, nil]
|
171
|
+
optional :tax, -> { Increase::WireTransferCreateParams::Remittance::Tax }
|
172
|
+
|
173
|
+
# @!attribute unstructured
|
174
|
+
# Unstructured remittance information. Required if `category` is equal to
|
175
|
+
# `unstructured`.
|
176
|
+
#
|
177
|
+
# @return [Increase::Models::WireTransferCreateParams::Remittance::Unstructured, nil]
|
178
|
+
optional :unstructured, -> { Increase::WireTransferCreateParams::Remittance::Unstructured }
|
179
|
+
|
180
|
+
# @!method initialize(category:, tax: nil, unstructured: nil)
|
181
|
+
# Some parameter documentations has been truncated, see
|
182
|
+
# {Increase::Models::WireTransferCreateParams::Remittance} for more details.
|
183
|
+
#
|
184
|
+
# Additional remittance information related to the wire transfer.
|
185
|
+
#
|
186
|
+
# @param category [Symbol, Increase::Models::WireTransferCreateParams::Remittance::Category] The type of remittance information being passed.
|
187
|
+
#
|
188
|
+
# @param tax [Increase::Models::WireTransferCreateParams::Remittance::Tax] Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
189
|
+
#
|
190
|
+
# @param unstructured [Increase::Models::WireTransferCreateParams::Remittance::Unstructured] Unstructured remittance information. Required if `category` is equal to `unstruc
|
191
|
+
|
192
|
+
# The type of remittance information being passed.
|
193
|
+
#
|
194
|
+
# @see Increase::Models::WireTransferCreateParams::Remittance#category
|
195
|
+
module Category
|
196
|
+
extend Increase::Internal::Type::Enum
|
197
|
+
|
198
|
+
# The wire transfer contains unstructured remittance information.
|
199
|
+
UNSTRUCTURED = :unstructured
|
200
|
+
|
201
|
+
# The wire transfer is for tax payment purposes to the Internal Revenue Service (IRS).
|
202
|
+
TAX = :tax
|
203
|
+
|
204
|
+
# @!method self.values
|
205
|
+
# @return [Array<Symbol>]
|
206
|
+
end
|
207
|
+
|
208
|
+
# @see Increase::Models::WireTransferCreateParams::Remittance#tax
|
209
|
+
class Tax < Increase::Internal::Type::BaseModel
|
210
|
+
# @!attribute date
|
211
|
+
# The month and year the tax payment is for, in YYYY-MM-DD format. The day is
|
212
|
+
# ignored.
|
213
|
+
#
|
214
|
+
# @return [Date]
|
215
|
+
required :date, Date
|
216
|
+
|
217
|
+
# @!attribute identification_number
|
218
|
+
# The 9-digit Tax Identification Number (TIN) or Employer Identification Number
|
219
|
+
# (EIN).
|
220
|
+
#
|
221
|
+
# @return [String]
|
222
|
+
required :identification_number, String
|
223
|
+
|
224
|
+
# @!attribute type_code
|
225
|
+
# The 5-character tax type code.
|
226
|
+
#
|
227
|
+
# @return [String]
|
228
|
+
required :type_code, String
|
229
|
+
|
230
|
+
# @!method initialize(date:, identification_number:, type_code:)
|
231
|
+
# Some parameter documentations has been truncated, see
|
232
|
+
# {Increase::Models::WireTransferCreateParams::Remittance::Tax} for more details.
|
233
|
+
#
|
234
|
+
# Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
235
|
+
# is equal to `tax`.
|
236
|
+
#
|
237
|
+
# @param date [Date] The month and year the tax payment is for, in YYYY-MM-DD format. The day is igno
|
238
|
+
#
|
239
|
+
# @param identification_number [String] The 9-digit Tax Identification Number (TIN) or Employer Identification Number (E
|
240
|
+
#
|
241
|
+
# @param type_code [String] The 5-character tax type code.
|
242
|
+
end
|
243
|
+
|
244
|
+
# @see Increase::Models::WireTransferCreateParams::Remittance#unstructured
|
245
|
+
class Unstructured < Increase::Internal::Type::BaseModel
|
246
|
+
# @!attribute message
|
247
|
+
# The message to the beneficiary.
|
248
|
+
#
|
249
|
+
# @return [String]
|
250
|
+
required :message, String
|
251
|
+
|
252
|
+
# @!method initialize(message:)
|
253
|
+
# Unstructured remittance information. Required if `category` is equal to
|
254
|
+
# `unstructured`.
|
255
|
+
#
|
256
|
+
# @param message [String] The message to the beneficiary.
|
257
|
+
end
|
258
|
+
end
|
158
259
|
end
|
159
260
|
end
|
160
261
|
end
|
@@ -8,7 +8,7 @@ module Increase
|
|
8
8
|
#
|
9
9
|
# Create a Wire Transfer
|
10
10
|
#
|
11
|
-
# @overload create(account_id:, amount:, beneficiary_name:,
|
11
|
+
# @overload create(account_id:, amount:, beneficiary_name:, account_number: nil, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, external_account_id: nil, inbound_wire_drawdown_request_id: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, remittance: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
|
12
12
|
#
|
13
13
|
# @param account_id [String] The identifier for the account that will send the transfer.
|
14
14
|
#
|
@@ -16,8 +16,6 @@ module Increase
|
|
16
16
|
#
|
17
17
|
# @param beneficiary_name [String] The beneficiary's name.
|
18
18
|
#
|
19
|
-
# @param message_to_recipient [String] The message that will show on the recipient's bank statement.
|
20
|
-
#
|
21
19
|
# @param account_number [String] The account number for the destination account.
|
22
20
|
#
|
23
21
|
# @param beneficiary_address_line1 [String] The beneficiary's address line 1.
|
@@ -38,6 +36,8 @@ module Increase
|
|
38
36
|
#
|
39
37
|
# @param originator_name [String] The originator's name. This is only necessary if you're transferring from a comm
|
40
38
|
#
|
39
|
+
# @param remittance [Increase::Models::WireTransferCreateParams::Remittance] Additional remittance information related to the wire transfer.
|
40
|
+
#
|
41
41
|
# @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API.
|
42
42
|
#
|
43
43
|
# @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des
|
data/lib/increase/version.rb
CHANGED
@@ -340,6 +340,20 @@ module Increase
|
|
340
340
|
Increase::Event::Category::TaggedSymbol
|
341
341
|
)
|
342
342
|
|
343
|
+
# Occurs whenever a FedNow Transfer is created.
|
344
|
+
FEDNOW_TRANSFER_CREATED =
|
345
|
+
T.let(
|
346
|
+
:"fednow_transfer.created",
|
347
|
+
Increase::Event::Category::TaggedSymbol
|
348
|
+
)
|
349
|
+
|
350
|
+
# Occurs whenever a FedNow Transfer is updated.
|
351
|
+
FEDNOW_TRANSFER_UPDATED =
|
352
|
+
T.let(
|
353
|
+
:"fednow_transfer.updated",
|
354
|
+
Increase::Event::Category::TaggedSymbol
|
355
|
+
)
|
356
|
+
|
343
357
|
# Occurs whenever a File is created.
|
344
358
|
FILE_CREATED =
|
345
359
|
T.let(:"file.created", Increase::Event::Category::TaggedSymbol)
|
@@ -424,6 +424,20 @@ module Increase
|
|
424
424
|
Increase::EventListParams::Category::In::TaggedSymbol
|
425
425
|
)
|
426
426
|
|
427
|
+
# Occurs whenever a FedNow Transfer is created.
|
428
|
+
FEDNOW_TRANSFER_CREATED =
|
429
|
+
T.let(
|
430
|
+
:"fednow_transfer.created",
|
431
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
432
|
+
)
|
433
|
+
|
434
|
+
# Occurs whenever a FedNow Transfer is updated.
|
435
|
+
FEDNOW_TRANSFER_UPDATED =
|
436
|
+
T.let(
|
437
|
+
:"fednow_transfer.updated",
|
438
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
439
|
+
)
|
440
|
+
|
427
441
|
# Occurs whenever a File is created.
|
428
442
|
FILE_CREATED =
|
429
443
|
T.let(
|
@@ -408,6 +408,20 @@ module Increase
|
|
408
408
|
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
|
409
409
|
)
|
410
410
|
|
411
|
+
# Occurs whenever a FedNow Transfer is created.
|
412
|
+
FEDNOW_TRANSFER_CREATED =
|
413
|
+
T.let(
|
414
|
+
:"fednow_transfer.created",
|
415
|
+
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
|
416
|
+
)
|
417
|
+
|
418
|
+
# Occurs whenever a FedNow Transfer is updated.
|
419
|
+
FEDNOW_TRANSFER_UPDATED =
|
420
|
+
T.let(
|
421
|
+
:"fednow_transfer.updated",
|
422
|
+
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
|
423
|
+
)
|
424
|
+
|
411
425
|
# Occurs whenever a File is created.
|
412
426
|
FILE_CREATED =
|
413
427
|
T.let(
|
@@ -388,6 +388,20 @@ module Increase
|
|
388
388
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
|
389
389
|
)
|
390
390
|
|
391
|
+
# Occurs whenever a FedNow Transfer is created.
|
392
|
+
FEDNOW_TRANSFER_CREATED =
|
393
|
+
T.let(
|
394
|
+
:"fednow_transfer.created",
|
395
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
|
396
|
+
)
|
397
|
+
|
398
|
+
# Occurs whenever a FedNow Transfer is updated.
|
399
|
+
FEDNOW_TRANSFER_UPDATED =
|
400
|
+
T.let(
|
401
|
+
:"fednow_transfer.updated",
|
402
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
|
403
|
+
)
|
404
|
+
|
391
405
|
# Occurs whenever a File is created.
|
392
406
|
FILE_CREATED =
|
393
407
|
T.let(
|