increase 1.341.0 → 1.343.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/README.md +1 -1
- data/lib/increase/models/ach_prenotification.rb +1 -1
- data/lib/increase/models/ach_transfer.rb +21 -2
- data/lib/increase/models/check_transfer.rb +4 -2
- data/lib/increase/models/event.rb +8 -0
- data/lib/increase/models/event_list_params.rb +8 -0
- data/lib/increase/models/event_subscription.rb +8 -0
- data/lib/increase/models/event_subscription_create_params.rb +8 -0
- data/lib/increase/models/file.rb +3 -1
- data/lib/increase/models/inbound_wire_transfer.rb +18 -1
- data/lib/increase/models/simulations/ach_transfer_return_params.rb +15 -2
- data/lib/increase/models/simulations/card_settlement_create_params.rb +16 -14
- data/lib/increase/models/simulations/program_create_params.rb +0 -3
- data/lib/increase/models/swift_transfer.rb +12 -1
- data/lib/increase/models/swift_transfer_create_params.rb +12 -1
- data/lib/increase/models/transaction.rb +21 -2
- data/lib/increase/models/unwrap_webhook_event.rb +8 -0
- data/lib/increase/resources/simulations/ach_transfers.rb +6 -1
- data/lib/increase/resources/simulations/card_settlements.rb +7 -6
- data/lib/increase/resources/swift_transfers.rb +5 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +1 -1
- data/rbi/increase/models/ach_transfer.rbi +19 -1
- data/rbi/increase/models/check_transfer.rbi +4 -2
- 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/file.rbi +3 -1
- data/rbi/increase/models/inbound_wire_transfer.rbi +16 -0
- data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +16 -1
- data/rbi/increase/models/simulations/card_settlement_create_params.rbi +17 -12
- data/rbi/increase/models/simulations/program_create_params.rbi +0 -7
- data/rbi/increase/models/swift_transfer.rbi +10 -0
- data/rbi/increase/models/swift_transfer_create_params.rbi +13 -0
- data/rbi/increase/models/transaction.rbi +19 -1
- data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
- data/rbi/increase/resources/simulations/ach_transfers.rbi +5 -0
- data/rbi/increase/resources/simulations/card_settlements.rbi +6 -5
- data/rbi/increase/resources/swift_transfers.rbi +4 -0
- data/sig/increase/models/ach_prenotification.rbs +1 -1
- data/sig/increase/models/ach_transfer.rbs +6 -1
- 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/inbound_wire_transfer.rbs +10 -0
- data/sig/increase/models/simulations/ach_transfer_return_params.rbs +8 -1
- data/sig/increase/models/simulations/card_settlement_create_params.rbs +7 -5
- data/sig/increase/models/simulations/program_create_params.rbs +1 -8
- data/sig/increase/models/swift_transfer.rbs +5 -0
- data/sig/increase/models/swift_transfer_create_params.rbs +7 -0
- data/sig/increase/models/transaction.rbs +6 -1
- data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
- data/sig/increase/resources/simulations/ach_transfers.rbs +1 -0
- data/sig/increase/resources/simulations/card_settlements.rbs +1 -1
- data/sig/increase/resources/swift_transfers.rbs +1 -0
- metadata +2 -2
|
@@ -481,6 +481,20 @@ module Increase
|
|
|
481
481
|
Increase::Event::Category::TaggedSymbol
|
|
482
482
|
)
|
|
483
483
|
|
|
484
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
485
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
486
|
+
T.let(
|
|
487
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
488
|
+
Increase::Event::Category::TaggedSymbol
|
|
489
|
+
)
|
|
490
|
+
|
|
491
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
492
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
493
|
+
T.let(
|
|
494
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
495
|
+
Increase::Event::Category::TaggedSymbol
|
|
496
|
+
)
|
|
497
|
+
|
|
484
498
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
485
499
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
486
500
|
T.let(
|
|
@@ -580,6 +580,20 @@ module Increase
|
|
|
580
580
|
Increase::EventListParams::Category::In::TaggedSymbol
|
|
581
581
|
)
|
|
582
582
|
|
|
583
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
584
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
585
|
+
T.let(
|
|
586
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
587
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
588
|
+
)
|
|
589
|
+
|
|
590
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
591
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
592
|
+
T.let(
|
|
593
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
594
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
595
|
+
)
|
|
596
|
+
|
|
583
597
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
584
598
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
585
599
|
T.let(
|
|
@@ -605,6 +605,20 @@ module Increase
|
|
|
605
605
|
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
606
606
|
)
|
|
607
607
|
|
|
608
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
609
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
610
|
+
T.let(
|
|
611
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
612
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
613
|
+
)
|
|
614
|
+
|
|
615
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
616
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
617
|
+
T.let(
|
|
618
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
619
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
620
|
+
)
|
|
621
|
+
|
|
608
622
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
609
623
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
610
624
|
T.let(
|
|
@@ -603,6 +603,20 @@ module Increase
|
|
|
603
603
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
604
604
|
)
|
|
605
605
|
|
|
606
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
607
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
608
|
+
T.let(
|
|
609
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
610
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
611
|
+
)
|
|
612
|
+
|
|
613
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
614
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
615
|
+
T.let(
|
|
616
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
617
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
618
|
+
)
|
|
619
|
+
|
|
606
620
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
607
621
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
608
622
|
T.let(
|
|
@@ -50,7 +50,9 @@ module Increase
|
|
|
50
50
|
# Files are objects that represent a file hosted on Increase's servers. The file
|
|
51
51
|
# may have been uploaded by you (for example, when uploading a check image) or it
|
|
52
52
|
# may have been created by Increase (for example, an autogenerated statement PDF).
|
|
53
|
-
# If you need to download a File,
|
|
53
|
+
# If you need to download a File, use the `/files/{file_id}/contents` endpoint. If
|
|
54
|
+
# you need to share a File with someone who doesn't have access to your API key,
|
|
55
|
+
# create a File Link.
|
|
54
56
|
sig do
|
|
55
57
|
params(
|
|
56
58
|
id: String,
|
|
@@ -57,6 +57,10 @@ module Increase
|
|
|
57
57
|
sig { returns(T.nilable(String)) }
|
|
58
58
|
attr_accessor :creditor_name
|
|
59
59
|
|
|
60
|
+
# The account number of the sender.
|
|
61
|
+
sig { returns(T.nilable(String)) }
|
|
62
|
+
attr_accessor :debtor_account_number
|
|
63
|
+
|
|
60
64
|
# A free-form address field set by the sender.
|
|
61
65
|
sig { returns(T.nilable(String)) }
|
|
62
66
|
attr_accessor :debtor_address_line1
|
|
@@ -73,6 +77,10 @@ module Increase
|
|
|
73
77
|
sig { returns(T.nilable(String)) }
|
|
74
78
|
attr_accessor :debtor_name
|
|
75
79
|
|
|
80
|
+
# The American Banking Association (ABA) routing number of the sender.
|
|
81
|
+
sig { returns(T.nilable(String)) }
|
|
82
|
+
attr_accessor :debtor_routing_number
|
|
83
|
+
|
|
76
84
|
# An Increase-constructed description of the transfer.
|
|
77
85
|
sig { returns(String) }
|
|
78
86
|
attr_accessor :description
|
|
@@ -149,10 +157,12 @@ module Increase
|
|
|
149
157
|
creditor_address_line2: T.nilable(String),
|
|
150
158
|
creditor_address_line3: T.nilable(String),
|
|
151
159
|
creditor_name: T.nilable(String),
|
|
160
|
+
debtor_account_number: T.nilable(String),
|
|
152
161
|
debtor_address_line1: T.nilable(String),
|
|
153
162
|
debtor_address_line2: T.nilable(String),
|
|
154
163
|
debtor_address_line3: T.nilable(String),
|
|
155
164
|
debtor_name: T.nilable(String),
|
|
165
|
+
debtor_routing_number: T.nilable(String),
|
|
156
166
|
description: String,
|
|
157
167
|
end_to_end_identification: T.nilable(String),
|
|
158
168
|
input_message_accountability_data: T.nilable(String),
|
|
@@ -189,6 +199,8 @@ module Increase
|
|
|
189
199
|
creditor_address_line3:,
|
|
190
200
|
# A name set by the sender.
|
|
191
201
|
creditor_name:,
|
|
202
|
+
# The account number of the sender.
|
|
203
|
+
debtor_account_number:,
|
|
192
204
|
# A free-form address field set by the sender.
|
|
193
205
|
debtor_address_line1:,
|
|
194
206
|
# A free-form address field set by the sender.
|
|
@@ -197,6 +209,8 @@ module Increase
|
|
|
197
209
|
debtor_address_line3:,
|
|
198
210
|
# A name set by the sender.
|
|
199
211
|
debtor_name:,
|
|
212
|
+
# The American Banking Association (ABA) routing number of the sender.
|
|
213
|
+
debtor_routing_number:,
|
|
200
214
|
# An Increase-constructed description of the transfer.
|
|
201
215
|
description:,
|
|
202
216
|
# A free-form reference string set by the sender, to help identify the transfer.
|
|
@@ -243,10 +257,12 @@ module Increase
|
|
|
243
257
|
creditor_address_line2: T.nilable(String),
|
|
244
258
|
creditor_address_line3: T.nilable(String),
|
|
245
259
|
creditor_name: T.nilable(String),
|
|
260
|
+
debtor_account_number: T.nilable(String),
|
|
246
261
|
debtor_address_line1: T.nilable(String),
|
|
247
262
|
debtor_address_line2: T.nilable(String),
|
|
248
263
|
debtor_address_line3: T.nilable(String),
|
|
249
264
|
debtor_name: T.nilable(String),
|
|
265
|
+
debtor_routing_number: T.nilable(String),
|
|
250
266
|
description: String,
|
|
251
267
|
end_to_end_identification: T.nilable(String),
|
|
252
268
|
input_message_accountability_data: T.nilable(String),
|
|
@@ -19,6 +19,15 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :ach_transfer_id
|
|
21
21
|
|
|
22
|
+
# Free-form information the returning bank includes in the return addenda. For a
|
|
23
|
+
# `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
|
|
24
|
+
# a return the bank believes was initiated under questionable circumstances.
|
|
25
|
+
sig { returns(T.nilable(String)) }
|
|
26
|
+
attr_reader :addenda_information
|
|
27
|
+
|
|
28
|
+
sig { params(addenda_information: String).void }
|
|
29
|
+
attr_writer :addenda_information
|
|
30
|
+
|
|
22
31
|
# The reason why the Federal Reserve or destination bank returned this transfer.
|
|
23
32
|
# Defaults to `no_account`.
|
|
24
33
|
sig do
|
|
@@ -41,6 +50,7 @@ module Increase
|
|
|
41
50
|
sig do
|
|
42
51
|
params(
|
|
43
52
|
ach_transfer_id: String,
|
|
53
|
+
addenda_information: String,
|
|
44
54
|
reason:
|
|
45
55
|
Increase::Simulations::ACHTransferReturnParams::Reason::OrSymbol,
|
|
46
56
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -49,6 +59,10 @@ module Increase
|
|
|
49
59
|
def self.new(
|
|
50
60
|
# The identifier of the ACH Transfer you wish to return.
|
|
51
61
|
ach_transfer_id:,
|
|
62
|
+
# Free-form information the returning bank includes in the return addenda. For a
|
|
63
|
+
# `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
|
|
64
|
+
# a return the bank believes was initiated under questionable circumstances.
|
|
65
|
+
addenda_information: nil,
|
|
52
66
|
# The reason why the Federal Reserve or destination bank returned this transfer.
|
|
53
67
|
# Defaults to `no_account`.
|
|
54
68
|
reason: nil,
|
|
@@ -60,6 +74,7 @@ module Increase
|
|
|
60
74
|
override.returns(
|
|
61
75
|
{
|
|
62
76
|
ach_transfer_id: String,
|
|
77
|
+
addenda_information: String,
|
|
63
78
|
reason:
|
|
64
79
|
Increase::Simulations::ACHTransferReturnParams::Reason::OrSymbol,
|
|
65
80
|
request_options: Increase::RequestOptions
|
|
@@ -195,7 +210,7 @@ module Increase
|
|
|
195
210
|
Increase::Simulations::ACHTransferReturnParams::Reason::TaggedSymbol
|
|
196
211
|
)
|
|
197
212
|
|
|
198
|
-
# Code R17. The receiving bank
|
|
213
|
+
# Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
|
|
199
214
|
FILE_RECORD_EDIT_CRITERIA =
|
|
200
215
|
T.let(
|
|
201
216
|
:file_record_edit_criteria,
|
|
@@ -19,36 +19,41 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :card_id
|
|
21
21
|
|
|
22
|
-
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
23
|
-
# settle.
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
attr_accessor :pending_transaction_id
|
|
26
|
-
|
|
27
22
|
# The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
28
|
-
# being settled.
|
|
23
|
+
# being settled, or a random amount if `pending_transaction_id` is not provided.
|
|
29
24
|
sig { returns(T.nilable(Integer)) }
|
|
30
25
|
attr_reader :amount
|
|
31
26
|
|
|
32
27
|
sig { params(amount: Integer).void }
|
|
33
28
|
attr_writer :amount
|
|
34
29
|
|
|
30
|
+
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
31
|
+
# settle. If not provided, the settlement will be force posted without a Card
|
|
32
|
+
# Authorization.
|
|
33
|
+
sig { returns(T.nilable(String)) }
|
|
34
|
+
attr_reader :pending_transaction_id
|
|
35
|
+
|
|
36
|
+
sig { params(pending_transaction_id: String).void }
|
|
37
|
+
attr_writer :pending_transaction_id
|
|
38
|
+
|
|
35
39
|
sig do
|
|
36
40
|
params(
|
|
37
41
|
card_id: String,
|
|
38
|
-
pending_transaction_id: String,
|
|
39
42
|
amount: Integer,
|
|
43
|
+
pending_transaction_id: String,
|
|
40
44
|
request_options: Increase::RequestOptions::OrHash
|
|
41
45
|
).returns(T.attached_class)
|
|
42
46
|
end
|
|
43
47
|
def self.new(
|
|
44
48
|
# The identifier of the Card to create a settlement on.
|
|
45
49
|
card_id:,
|
|
46
|
-
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
47
|
-
# settle.
|
|
48
|
-
pending_transaction_id:,
|
|
49
50
|
# The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
50
|
-
# being settled.
|
|
51
|
+
# being settled, or a random amount if `pending_transaction_id` is not provided.
|
|
51
52
|
amount: nil,
|
|
53
|
+
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
54
|
+
# settle. If not provided, the settlement will be force posted without a Card
|
|
55
|
+
# Authorization.
|
|
56
|
+
pending_transaction_id: nil,
|
|
52
57
|
request_options: {}
|
|
53
58
|
)
|
|
54
59
|
end
|
|
@@ -57,8 +62,8 @@ module Increase
|
|
|
57
62
|
override.returns(
|
|
58
63
|
{
|
|
59
64
|
card_id: String,
|
|
60
|
-
pending_transaction_id: String,
|
|
61
65
|
amount: Integer,
|
|
66
|
+
pending_transaction_id: String,
|
|
62
67
|
request_options: Increase::RequestOptions
|
|
63
68
|
}
|
|
64
69
|
)
|
|
@@ -117,13 +117,6 @@ module Increase
|
|
|
117
117
|
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
|
118
118
|
)
|
|
119
119
|
|
|
120
|
-
# Twin City Bank
|
|
121
|
-
TWIN_CITY_BANK =
|
|
122
|
-
T.let(
|
|
123
|
-
:twin_city_bank,
|
|
124
|
-
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
|
125
|
-
)
|
|
126
|
-
|
|
127
120
|
sig do
|
|
128
121
|
override.returns(
|
|
129
122
|
T::Array[
|
|
@@ -88,6 +88,11 @@ module Increase
|
|
|
88
88
|
sig { returns(Increase::SwiftTransfer::InstructedCurrency::TaggedSymbol) }
|
|
89
89
|
attr_accessor :instructed_currency
|
|
90
90
|
|
|
91
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer is
|
|
92
|
+
# routed through one.
|
|
93
|
+
sig { returns(T.nilable(String)) }
|
|
94
|
+
attr_accessor :intermediary_bank_identification_code
|
|
95
|
+
|
|
91
96
|
# The ID for the pending transaction representing the transfer.
|
|
92
97
|
sig { returns(T.nilable(String)) }
|
|
93
98
|
attr_accessor :pending_transaction_id
|
|
@@ -143,6 +148,7 @@ module Increase
|
|
|
143
148
|
instructed_amount: Integer,
|
|
144
149
|
instructed_currency:
|
|
145
150
|
Increase::SwiftTransfer::InstructedCurrency::OrSymbol,
|
|
151
|
+
intermediary_bank_identification_code: T.nilable(String),
|
|
146
152
|
pending_transaction_id: T.nilable(String),
|
|
147
153
|
routing_number: T.nilable(String),
|
|
148
154
|
source_account_number_id: String,
|
|
@@ -187,6 +193,9 @@ module Increase
|
|
|
187
193
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the
|
|
188
194
|
# instructed amount.
|
|
189
195
|
instructed_currency:,
|
|
196
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer is
|
|
197
|
+
# routed through one.
|
|
198
|
+
intermediary_bank_identification_code:,
|
|
190
199
|
# The ID for the pending transaction representing the transfer.
|
|
191
200
|
pending_transaction_id:,
|
|
192
201
|
# The creditor's bank account routing or transit number. Required in certain
|
|
@@ -229,6 +238,7 @@ module Increase
|
|
|
229
238
|
instructed_amount: Integer,
|
|
230
239
|
instructed_currency:
|
|
231
240
|
Increase::SwiftTransfer::InstructedCurrency::TaggedSymbol,
|
|
241
|
+
intermediary_bank_identification_code: T.nilable(String),
|
|
232
242
|
pending_transaction_id: T.nilable(String),
|
|
233
243
|
routing_number: T.nilable(String),
|
|
234
244
|
source_account_number_id: String,
|
|
@@ -81,6 +81,14 @@ module Increase
|
|
|
81
81
|
sig { returns(String) }
|
|
82
82
|
attr_accessor :unstructured_remittance_information
|
|
83
83
|
|
|
84
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer
|
|
85
|
+
# should be routed through one.
|
|
86
|
+
sig { returns(T.nilable(String)) }
|
|
87
|
+
attr_reader :intermediary_bank_identification_code
|
|
88
|
+
|
|
89
|
+
sig { params(intermediary_bank_identification_code: String).void }
|
|
90
|
+
attr_writer :intermediary_bank_identification_code
|
|
91
|
+
|
|
84
92
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
85
93
|
sig { returns(T.nilable(T::Boolean)) }
|
|
86
94
|
attr_reader :require_approval
|
|
@@ -112,6 +120,7 @@ module Increase
|
|
|
112
120
|
Increase::SwiftTransferCreateParams::InstructedCurrency::OrSymbol,
|
|
113
121
|
source_account_number_id: String,
|
|
114
122
|
unstructured_remittance_information: String,
|
|
123
|
+
intermediary_bank_identification_code: String,
|
|
115
124
|
require_approval: T::Boolean,
|
|
116
125
|
routing_number: String,
|
|
117
126
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -143,6 +152,9 @@ module Increase
|
|
|
143
152
|
source_account_number_id:,
|
|
144
153
|
# Unstructured remittance information to include in the transfer.
|
|
145
154
|
unstructured_remittance_information:,
|
|
155
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer
|
|
156
|
+
# should be routed through one.
|
|
157
|
+
intermediary_bank_identification_code: nil,
|
|
146
158
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
147
159
|
require_approval: nil,
|
|
148
160
|
# The creditor's bank account routing or transit number. Required in certain
|
|
@@ -168,6 +180,7 @@ module Increase
|
|
|
168
180
|
Increase::SwiftTransferCreateParams::InstructedCurrency::OrSymbol,
|
|
169
181
|
source_account_number_id: String,
|
|
170
182
|
unstructured_remittance_information: String,
|
|
183
|
+
intermediary_bank_identification_code: String,
|
|
171
184
|
require_approval: T::Boolean,
|
|
172
185
|
routing_number: String,
|
|
173
186
|
request_options: Increase::RequestOptions
|
|
@@ -1970,6 +1970,15 @@ module Increase
|
|
|
1970
1970
|
)
|
|
1971
1971
|
end
|
|
1972
1972
|
|
|
1973
|
+
# Additional free-form information included by the receiving bank in the return's
|
|
1974
|
+
# addenda record. This is raw, uninterpreted text whose presence and format are
|
|
1975
|
+
# not guaranteed. For a `file_record_edit_criteria` (R17) return the receiving
|
|
1976
|
+
# bank may set this to `QUESTIONABLE` (optionally followed by more text) to
|
|
1977
|
+
# indicate it believes the transfer was initiated under questionable
|
|
1978
|
+
# circumstances.
|
|
1979
|
+
sig { returns(T.nilable(String)) }
|
|
1980
|
+
attr_accessor :addenda_information
|
|
1981
|
+
|
|
1973
1982
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
1974
1983
|
# the transfer was created.
|
|
1975
1984
|
sig { returns(Time) }
|
|
@@ -2013,6 +2022,7 @@ module Increase
|
|
|
2013
2022
|
# created.
|
|
2014
2023
|
sig do
|
|
2015
2024
|
params(
|
|
2025
|
+
addenda_information: T.nilable(String),
|
|
2016
2026
|
created_at: Time,
|
|
2017
2027
|
raw_return_reason_code: String,
|
|
2018
2028
|
return_reason_code:
|
|
@@ -2023,6 +2033,13 @@ module Increase
|
|
|
2023
2033
|
).returns(T.attached_class)
|
|
2024
2034
|
end
|
|
2025
2035
|
def self.new(
|
|
2036
|
+
# Additional free-form information included by the receiving bank in the return's
|
|
2037
|
+
# addenda record. This is raw, uninterpreted text whose presence and format are
|
|
2038
|
+
# not guaranteed. For a `file_record_edit_criteria` (R17) return the receiving
|
|
2039
|
+
# bank may set this to `QUESTIONABLE` (optionally followed by more text) to
|
|
2040
|
+
# indicate it believes the transfer was initiated under questionable
|
|
2041
|
+
# circumstances.
|
|
2042
|
+
addenda_information:,
|
|
2026
2043
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
2027
2044
|
# the transfer was created.
|
|
2028
2045
|
created_at:,
|
|
@@ -2047,6 +2064,7 @@ module Increase
|
|
|
2047
2064
|
sig do
|
|
2048
2065
|
override.returns(
|
|
2049
2066
|
{
|
|
2067
|
+
addenda_information: T.nilable(String),
|
|
2050
2068
|
created_at: Time,
|
|
2051
2069
|
raw_return_reason_code: String,
|
|
2052
2070
|
return_reason_code:
|
|
@@ -2186,7 +2204,7 @@ module Increase
|
|
|
2186
2204
|
Increase::Transaction::Source::ACHTransferReturn::ReturnReasonCode::TaggedSymbol
|
|
2187
2205
|
)
|
|
2188
2206
|
|
|
2189
|
-
# Code R17. The receiving bank
|
|
2207
|
+
# Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
|
|
2190
2208
|
FILE_RECORD_EDIT_CRITERIA =
|
|
2191
2209
|
T.let(
|
|
2192
2210
|
:file_record_edit_criteria,
|
|
@@ -517,6 +517,20 @@ module Increase
|
|
|
517
517
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
518
518
|
)
|
|
519
519
|
|
|
520
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
521
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
522
|
+
T.let(
|
|
523
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
524
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
525
|
+
)
|
|
526
|
+
|
|
527
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
528
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
529
|
+
T.let(
|
|
530
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
531
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
532
|
+
)
|
|
533
|
+
|
|
520
534
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
521
535
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
522
536
|
T.let(
|
|
@@ -58,6 +58,7 @@ module Increase
|
|
|
58
58
|
sig do
|
|
59
59
|
params(
|
|
60
60
|
ach_transfer_id: String,
|
|
61
|
+
addenda_information: String,
|
|
61
62
|
reason:
|
|
62
63
|
Increase::Simulations::ACHTransferReturnParams::Reason::OrSymbol,
|
|
63
64
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -66,6 +67,10 @@ module Increase
|
|
|
66
67
|
def return_(
|
|
67
68
|
# The identifier of the ACH Transfer you wish to return.
|
|
68
69
|
ach_transfer_id,
|
|
70
|
+
# Free-form information the returning bank includes in the return addenda. For a
|
|
71
|
+
# `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
|
|
72
|
+
# a return the bank believes was initiated under questionable circumstances.
|
|
73
|
+
addenda_information: nil,
|
|
69
74
|
# The reason why the Federal Reserve or destination bank returned this transfer.
|
|
70
75
|
# Defaults to `no_account`.
|
|
71
76
|
reason: nil,
|
|
@@ -12,20 +12,21 @@ module Increase
|
|
|
12
12
|
sig do
|
|
13
13
|
params(
|
|
14
14
|
card_id: String,
|
|
15
|
-
pending_transaction_id: String,
|
|
16
15
|
amount: Integer,
|
|
16
|
+
pending_transaction_id: String,
|
|
17
17
|
request_options: Increase::RequestOptions::OrHash
|
|
18
18
|
).returns(Increase::Transaction)
|
|
19
19
|
end
|
|
20
20
|
def create(
|
|
21
21
|
# The identifier of the Card to create a settlement on.
|
|
22
22
|
card_id:,
|
|
23
|
-
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
24
|
-
# settle.
|
|
25
|
-
pending_transaction_id:,
|
|
26
23
|
# The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
27
|
-
# being settled.
|
|
24
|
+
# being settled, or a random amount if `pending_transaction_id` is not provided.
|
|
28
25
|
amount: nil,
|
|
26
|
+
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
27
|
+
# settle. If not provided, the settlement will be force posted without a Card
|
|
28
|
+
# Authorization.
|
|
29
|
+
pending_transaction_id: nil,
|
|
29
30
|
request_options: {}
|
|
30
31
|
)
|
|
31
32
|
end
|
|
@@ -20,6 +20,7 @@ module Increase
|
|
|
20
20
|
Increase::SwiftTransferCreateParams::InstructedCurrency::OrSymbol,
|
|
21
21
|
source_account_number_id: String,
|
|
22
22
|
unstructured_remittance_information: String,
|
|
23
|
+
intermediary_bank_identification_code: String,
|
|
23
24
|
require_approval: T::Boolean,
|
|
24
25
|
routing_number: String,
|
|
25
26
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -51,6 +52,9 @@ module Increase
|
|
|
51
52
|
source_account_number_id:,
|
|
52
53
|
# Unstructured remittance information to include in the transfer.
|
|
53
54
|
unstructured_remittance_information:,
|
|
55
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer
|
|
56
|
+
# should be routed through one.
|
|
57
|
+
intermediary_bank_identification_code: nil,
|
|
54
58
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
55
59
|
require_approval: nil,
|
|
56
60
|
# The creditor's bank account routing or transit number. Required in certain
|
|
@@ -416,7 +416,7 @@ module Increase
|
|
|
416
416
|
# Code R13. The routing number is invalid.
|
|
417
417
|
INVALID_ACH_ROUTING_NUMBER: :invalid_ach_routing_number
|
|
418
418
|
|
|
419
|
-
# Code R17. The receiving bank
|
|
419
|
+
# Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
|
|
420
420
|
FILE_RECORD_EDIT_CRITERIA: :file_record_edit_criteria
|
|
421
421
|
|
|
422
422
|
# Code R45. A rare return reason. The individual name field was invalid.
|
|
@@ -743,6 +743,7 @@ module Increase
|
|
|
743
743
|
|
|
744
744
|
type return_ =
|
|
745
745
|
{
|
|
746
|
+
addenda_information: String?,
|
|
746
747
|
created_at: Time,
|
|
747
748
|
raw_return_reason_code: String,
|
|
748
749
|
return_reason_code: Increase::Models::ACHTransfer::Return::return_reason_code,
|
|
@@ -752,6 +753,8 @@ module Increase
|
|
|
752
753
|
}
|
|
753
754
|
|
|
754
755
|
class Return < Increase::Internal::Type::BaseModel
|
|
756
|
+
attr_accessor addenda_information: String?
|
|
757
|
+
|
|
755
758
|
attr_accessor created_at: Time
|
|
756
759
|
|
|
757
760
|
attr_accessor raw_return_reason_code: String
|
|
@@ -765,6 +768,7 @@ module Increase
|
|
|
765
768
|
attr_accessor transfer_id: String
|
|
766
769
|
|
|
767
770
|
def initialize: (
|
|
771
|
+
addenda_information: String?,
|
|
768
772
|
created_at: Time,
|
|
769
773
|
raw_return_reason_code: String,
|
|
770
774
|
return_reason_code: Increase::Models::ACHTransfer::Return::return_reason_code,
|
|
@@ -774,6 +778,7 @@ module Increase
|
|
|
774
778
|
) -> void
|
|
775
779
|
|
|
776
780
|
def to_hash: -> {
|
|
781
|
+
addenda_information: String?,
|
|
777
782
|
created_at: Time,
|
|
778
783
|
raw_return_reason_code: String,
|
|
779
784
|
return_reason_code: Increase::Models::ACHTransfer::Return::return_reason_code,
|
|
@@ -905,7 +910,7 @@ module Increase
|
|
|
905
910
|
# Code R13. The routing number is invalid.
|
|
906
911
|
INVALID_ACH_ROUTING_NUMBER: :invalid_ach_routing_number
|
|
907
912
|
|
|
908
|
-
# Code R17. The receiving bank
|
|
913
|
+
# Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
|
|
909
914
|
FILE_RECORD_EDIT_CRITERIA: :file_record_edit_criteria
|
|
910
915
|
|
|
911
916
|
# Code R45. A rare return reason. The individual name field was invalid.
|
|
@@ -103,6 +103,8 @@ module Increase
|
|
|
103
103
|
| :"inbound_fednow_transfer.updated"
|
|
104
104
|
| :"inbound_mail_item.created"
|
|
105
105
|
| :"inbound_mail_item.updated"
|
|
106
|
+
| :"inbound_real_time_payments_request_for_payment.created"
|
|
107
|
+
| :"inbound_real_time_payments_request_for_payment.updated"
|
|
106
108
|
| :"inbound_real_time_payments_transfer.created"
|
|
107
109
|
| :"inbound_real_time_payments_transfer.updated"
|
|
108
110
|
| :"inbound_wire_drawdown_request.created"
|
|
@@ -342,6 +344,12 @@ module Increase
|
|
|
342
344
|
# Occurs whenever an Inbound Mail Item is updated.
|
|
343
345
|
INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
|
|
344
346
|
|
|
347
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
348
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
|
|
349
|
+
|
|
350
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
351
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
|
|
352
|
+
|
|
345
353
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
346
354
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
|
|
347
355
|
|
|
@@ -145,6 +145,8 @@ module Increase
|
|
|
145
145
|
| :"inbound_fednow_transfer.updated"
|
|
146
146
|
| :"inbound_mail_item.created"
|
|
147
147
|
| :"inbound_mail_item.updated"
|
|
148
|
+
| :"inbound_real_time_payments_request_for_payment.created"
|
|
149
|
+
| :"inbound_real_time_payments_request_for_payment.updated"
|
|
148
150
|
| :"inbound_real_time_payments_transfer.created"
|
|
149
151
|
| :"inbound_real_time_payments_transfer.updated"
|
|
150
152
|
| :"inbound_wire_drawdown_request.created"
|
|
@@ -384,6 +386,12 @@ module Increase
|
|
|
384
386
|
# Occurs whenever an Inbound Mail Item is updated.
|
|
385
387
|
INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
|
|
386
388
|
|
|
389
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
390
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
|
|
391
|
+
|
|
392
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
393
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
|
|
394
|
+
|
|
387
395
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
388
396
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
|
|
389
397
|
|
|
@@ -129,6 +129,8 @@ module Increase
|
|
|
129
129
|
| :"inbound_fednow_transfer.updated"
|
|
130
130
|
| :"inbound_mail_item.created"
|
|
131
131
|
| :"inbound_mail_item.updated"
|
|
132
|
+
| :"inbound_real_time_payments_request_for_payment.created"
|
|
133
|
+
| :"inbound_real_time_payments_request_for_payment.updated"
|
|
132
134
|
| :"inbound_real_time_payments_transfer.created"
|
|
133
135
|
| :"inbound_real_time_payments_transfer.updated"
|
|
134
136
|
| :"inbound_wire_drawdown_request.created"
|
|
@@ -368,6 +370,12 @@ module Increase
|
|
|
368
370
|
# Occurs whenever an Inbound Mail Item is updated.
|
|
369
371
|
INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
|
|
370
372
|
|
|
373
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
374
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
|
|
375
|
+
|
|
376
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
377
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
|
|
378
|
+
|
|
371
379
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
372
380
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
|
|
373
381
|
|
|
@@ -132,6 +132,8 @@ module Increase
|
|
|
132
132
|
| :"inbound_fednow_transfer.updated"
|
|
133
133
|
| :"inbound_mail_item.created"
|
|
134
134
|
| :"inbound_mail_item.updated"
|
|
135
|
+
| :"inbound_real_time_payments_request_for_payment.created"
|
|
136
|
+
| :"inbound_real_time_payments_request_for_payment.updated"
|
|
135
137
|
| :"inbound_real_time_payments_transfer.created"
|
|
136
138
|
| :"inbound_real_time_payments_transfer.updated"
|
|
137
139
|
| :"inbound_wire_drawdown_request.created"
|
|
@@ -371,6 +373,12 @@ module Increase
|
|
|
371
373
|
# Occurs whenever an Inbound Mail Item is updated.
|
|
372
374
|
INBOUND_MAIL_ITEM_UPDATED: :"inbound_mail_item.updated"
|
|
373
375
|
|
|
376
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
377
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED: :"inbound_real_time_payments_request_for_payment.created"
|
|
378
|
+
|
|
379
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
380
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"inbound_real_time_payments_request_for_payment.updated"
|
|
381
|
+
|
|
374
382
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
375
383
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED: :"inbound_real_time_payments_transfer.created"
|
|
376
384
|
|