increase 1.9.0 → 1.11.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 +17 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +3 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/inbound_wire_transfer_list_params.rb +10 -1
- data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
- data/lib/increase/models/simulations/wire_drawdown_request_refuse_params.rb +16 -0
- data/lib/increase/models/wire_drawdown_request.rb +174 -88
- data/lib/increase/models/wire_drawdown_request_create_params.rb +156 -81
- data/lib/increase/resources/inbound_wire_transfers.rb +3 -1
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
- data/lib/increase/resources/simulations/wire_drawdown_requests.rb +36 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/resources/wire_drawdown_requests.rb +10 -21
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +2 -0
- data/rbi/increase/models/card_payment.rbi +7 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/inbound_wire_transfer_list_params.rbi +13 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
- data/rbi/increase/models/simulations/wire_drawdown_request_refuse_params.rbi +32 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +239 -95
- data/rbi/increase/models/wire_drawdown_request_create_params.rbi +249 -118
- data/rbi/increase/resources/inbound_wire_transfers.rbi +4 -0
- data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
- data/rbi/increase/resources/simulations/wire_drawdown_requests.rbi +28 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/rbi/increase/resources/wire_drawdown_requests.rbi +25 -43
- data/sig/increase/models/card_payment.rbs +4 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/inbound_wire_transfer_list_params.rbs +8 -1
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +4 -0
- data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +8 -1
- data/sig/increase/models/simulations/wire_drawdown_request_refuse_params.rbs +17 -0
- data/sig/increase/models/wire_drawdown_request.rbs +119 -55
- data/sig/increase/models/wire_drawdown_request_create_params.rbs +123 -61
- data/sig/increase/resources/inbound_wire_transfers.rbs +1 -0
- data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
- data/sig/increase/resources/simulations/wire_drawdown_requests.rbs +14 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- data/sig/increase/resources/wire_drawdown_requests.rbs +7 -11
- metadata +8 -2
@@ -14,140 +14,95 @@ module Increase
|
|
14
14
|
)
|
15
15
|
end
|
16
16
|
|
17
|
-
# The Account Number to which the
|
17
|
+
# The Account Number to which the debtor should send funds.
|
18
18
|
sig { returns(String) }
|
19
19
|
attr_accessor :account_number_id
|
20
20
|
|
21
|
-
# The amount requested from the
|
21
|
+
# The amount requested from the debtor, in USD cents.
|
22
22
|
sig { returns(Integer) }
|
23
23
|
attr_accessor :amount
|
24
24
|
|
25
|
-
#
|
26
|
-
sig
|
27
|
-
|
25
|
+
# The creditor's address.
|
26
|
+
sig do
|
27
|
+
returns(Increase::WireDrawdownRequestCreateParams::CreditorAddress)
|
28
|
+
end
|
29
|
+
attr_reader :creditor_address
|
28
30
|
|
29
|
-
|
30
|
-
|
31
|
-
|
31
|
+
sig do
|
32
|
+
params(
|
33
|
+
creditor_address:
|
34
|
+
Increase::WireDrawdownRequestCreateParams::CreditorAddress::OrHash
|
35
|
+
).void
|
36
|
+
end
|
37
|
+
attr_writer :creditor_address
|
32
38
|
|
33
|
-
# The
|
39
|
+
# The creditor's name.
|
34
40
|
sig { returns(String) }
|
35
|
-
attr_accessor :
|
41
|
+
attr_accessor :creditor_name
|
36
42
|
|
37
|
-
# The
|
43
|
+
# The debtor's account number.
|
38
44
|
sig { returns(String) }
|
39
|
-
attr_accessor :
|
40
|
-
|
41
|
-
# The drawdown request originator's address line 1. This is only necessary if
|
42
|
-
# you're requesting a payment to a commingled account. Otherwise, we'll use the
|
43
|
-
# associated entity's details.
|
44
|
-
sig { returns(T.nilable(String)) }
|
45
|
-
attr_reader :originator_address_line1
|
46
|
-
|
47
|
-
sig { params(originator_address_line1: String).void }
|
48
|
-
attr_writer :originator_address_line1
|
49
|
-
|
50
|
-
# The drawdown request originator's address line 2. This is only necessary if
|
51
|
-
# you're requesting a payment to a commingled account. Otherwise, we'll use the
|
52
|
-
# associated entity's details.
|
53
|
-
sig { returns(T.nilable(String)) }
|
54
|
-
attr_reader :originator_address_line2
|
55
|
-
|
56
|
-
sig { params(originator_address_line2: String).void }
|
57
|
-
attr_writer :originator_address_line2
|
58
|
-
|
59
|
-
# The drawdown request originator's address line 3. This is only necessary if
|
60
|
-
# you're requesting a payment to a commingled account. Otherwise, we'll use the
|
61
|
-
# associated entity's details.
|
62
|
-
sig { returns(T.nilable(String)) }
|
63
|
-
attr_reader :originator_address_line3
|
64
|
-
|
65
|
-
sig { params(originator_address_line3: String).void }
|
66
|
-
attr_writer :originator_address_line3
|
67
|
-
|
68
|
-
# The drawdown request originator's name. This is only necessary if you're
|
69
|
-
# requesting a payment to a commingled account. Otherwise, we'll use the
|
70
|
-
# associated entity's details.
|
71
|
-
sig { returns(T.nilable(String)) }
|
72
|
-
attr_reader :originator_name
|
73
|
-
|
74
|
-
sig { params(originator_name: String).void }
|
75
|
-
attr_writer :originator_name
|
45
|
+
attr_accessor :debtor_account_number
|
76
46
|
|
77
|
-
#
|
78
|
-
sig { returns(
|
79
|
-
attr_reader :
|
47
|
+
# The debtor's address.
|
48
|
+
sig { returns(Increase::WireDrawdownRequestCreateParams::DebtorAddress) }
|
49
|
+
attr_reader :debtor_address
|
80
50
|
|
81
|
-
sig
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
51
|
+
sig do
|
52
|
+
params(
|
53
|
+
debtor_address:
|
54
|
+
Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash
|
55
|
+
).void
|
56
|
+
end
|
57
|
+
attr_writer :debtor_address
|
87
58
|
|
88
|
-
|
89
|
-
|
59
|
+
# The debtor's name.
|
60
|
+
sig { returns(String) }
|
61
|
+
attr_accessor :debtor_name
|
90
62
|
|
91
|
-
#
|
92
|
-
sig { returns(
|
93
|
-
|
63
|
+
# The debtor's routing number.
|
64
|
+
sig { returns(String) }
|
65
|
+
attr_accessor :debtor_routing_number
|
94
66
|
|
95
|
-
|
96
|
-
|
67
|
+
# Remittance information the debtor will see as part of the request.
|
68
|
+
sig { returns(String) }
|
69
|
+
attr_accessor :unstructured_remittance_information
|
97
70
|
|
98
71
|
sig do
|
99
72
|
params(
|
100
73
|
account_number_id: String,
|
101
74
|
amount: Integer,
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
recipient_address_line2: String,
|
112
|
-
recipient_address_line3: String,
|
75
|
+
creditor_address:
|
76
|
+
Increase::WireDrawdownRequestCreateParams::CreditorAddress::OrHash,
|
77
|
+
creditor_name: String,
|
78
|
+
debtor_account_number: String,
|
79
|
+
debtor_address:
|
80
|
+
Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
|
81
|
+
debtor_name: String,
|
82
|
+
debtor_routing_number: String,
|
83
|
+
unstructured_remittance_information: String,
|
113
84
|
request_options: Increase::RequestOptions::OrHash
|
114
85
|
).returns(T.attached_class)
|
115
86
|
end
|
116
87
|
def self.new(
|
117
|
-
# The Account Number to which the
|
88
|
+
# The Account Number to which the debtor should send funds.
|
118
89
|
account_number_id:,
|
119
|
-
# The amount requested from the
|
90
|
+
# The amount requested from the debtor, in USD cents.
|
120
91
|
amount:,
|
121
|
-
#
|
122
|
-
|
123
|
-
# The
|
124
|
-
|
125
|
-
# The
|
126
|
-
|
127
|
-
# The
|
128
|
-
|
129
|
-
# The
|
130
|
-
|
131
|
-
#
|
132
|
-
|
133
|
-
#
|
134
|
-
|
135
|
-
# associated entity's details.
|
136
|
-
originator_address_line2: nil,
|
137
|
-
# The drawdown request originator's address line 3. This is only necessary if
|
138
|
-
# you're requesting a payment to a commingled account. Otherwise, we'll use the
|
139
|
-
# associated entity's details.
|
140
|
-
originator_address_line3: nil,
|
141
|
-
# The drawdown request originator's name. This is only necessary if you're
|
142
|
-
# requesting a payment to a commingled account. Otherwise, we'll use the
|
143
|
-
# associated entity's details.
|
144
|
-
originator_name: nil,
|
145
|
-
# Line 1 of the drawdown request's recipient's address.
|
146
|
-
recipient_address_line1: nil,
|
147
|
-
# Line 2 of the drawdown request's recipient's address.
|
148
|
-
recipient_address_line2: nil,
|
149
|
-
# Line 3 of the drawdown request's recipient's address.
|
150
|
-
recipient_address_line3: nil,
|
92
|
+
# The creditor's address.
|
93
|
+
creditor_address:,
|
94
|
+
# The creditor's name.
|
95
|
+
creditor_name:,
|
96
|
+
# The debtor's account number.
|
97
|
+
debtor_account_number:,
|
98
|
+
# The debtor's address.
|
99
|
+
debtor_address:,
|
100
|
+
# The debtor's name.
|
101
|
+
debtor_name:,
|
102
|
+
# The debtor's routing number.
|
103
|
+
debtor_routing_number:,
|
104
|
+
# Remittance information the debtor will see as part of the request.
|
105
|
+
unstructured_remittance_information:,
|
151
106
|
request_options: {}
|
152
107
|
)
|
153
108
|
end
|
@@ -157,23 +112,199 @@ module Increase
|
|
157
112
|
{
|
158
113
|
account_number_id: String,
|
159
114
|
amount: Integer,
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
recipient_address_line2: String,
|
170
|
-
recipient_address_line3: String,
|
115
|
+
creditor_address:
|
116
|
+
Increase::WireDrawdownRequestCreateParams::CreditorAddress,
|
117
|
+
creditor_name: String,
|
118
|
+
debtor_account_number: String,
|
119
|
+
debtor_address:
|
120
|
+
Increase::WireDrawdownRequestCreateParams::DebtorAddress,
|
121
|
+
debtor_name: String,
|
122
|
+
debtor_routing_number: String,
|
123
|
+
unstructured_remittance_information: String,
|
171
124
|
request_options: Increase::RequestOptions
|
172
125
|
}
|
173
126
|
)
|
174
127
|
end
|
175
128
|
def to_hash
|
176
129
|
end
|
130
|
+
|
131
|
+
class CreditorAddress < Increase::Internal::Type::BaseModel
|
132
|
+
OrHash =
|
133
|
+
T.type_alias do
|
134
|
+
T.any(
|
135
|
+
Increase::WireDrawdownRequestCreateParams::CreditorAddress,
|
136
|
+
Increase::Internal::AnyHash
|
137
|
+
)
|
138
|
+
end
|
139
|
+
|
140
|
+
# The city, district, town, or village of the address.
|
141
|
+
sig { returns(String) }
|
142
|
+
attr_accessor :city
|
143
|
+
|
144
|
+
# The two-letter
|
145
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
146
|
+
# the country of the address.
|
147
|
+
sig { returns(String) }
|
148
|
+
attr_accessor :country
|
149
|
+
|
150
|
+
# The first line of the address. This is usually the street number and street.
|
151
|
+
sig { returns(String) }
|
152
|
+
attr_accessor :line1
|
153
|
+
|
154
|
+
# The second line of the address. This might be the floor or room number.
|
155
|
+
sig { returns(T.nilable(String)) }
|
156
|
+
attr_reader :line2
|
157
|
+
|
158
|
+
sig { params(line2: String).void }
|
159
|
+
attr_writer :line2
|
160
|
+
|
161
|
+
# The ZIP code of the address.
|
162
|
+
sig { returns(T.nilable(String)) }
|
163
|
+
attr_reader :postal_code
|
164
|
+
|
165
|
+
sig { params(postal_code: String).void }
|
166
|
+
attr_writer :postal_code
|
167
|
+
|
168
|
+
# The address state.
|
169
|
+
sig { returns(T.nilable(String)) }
|
170
|
+
attr_reader :state
|
171
|
+
|
172
|
+
sig { params(state: String).void }
|
173
|
+
attr_writer :state
|
174
|
+
|
175
|
+
# The creditor's address.
|
176
|
+
sig do
|
177
|
+
params(
|
178
|
+
city: String,
|
179
|
+
country: String,
|
180
|
+
line1: String,
|
181
|
+
line2: String,
|
182
|
+
postal_code: String,
|
183
|
+
state: String
|
184
|
+
).returns(T.attached_class)
|
185
|
+
end
|
186
|
+
def self.new(
|
187
|
+
# The city, district, town, or village of the address.
|
188
|
+
city:,
|
189
|
+
# The two-letter
|
190
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
191
|
+
# the country of the address.
|
192
|
+
country:,
|
193
|
+
# The first line of the address. This is usually the street number and street.
|
194
|
+
line1:,
|
195
|
+
# The second line of the address. This might be the floor or room number.
|
196
|
+
line2: nil,
|
197
|
+
# The ZIP code of the address.
|
198
|
+
postal_code: nil,
|
199
|
+
# The address state.
|
200
|
+
state: nil
|
201
|
+
)
|
202
|
+
end
|
203
|
+
|
204
|
+
sig do
|
205
|
+
override.returns(
|
206
|
+
{
|
207
|
+
city: String,
|
208
|
+
country: String,
|
209
|
+
line1: String,
|
210
|
+
line2: String,
|
211
|
+
postal_code: String,
|
212
|
+
state: String
|
213
|
+
}
|
214
|
+
)
|
215
|
+
end
|
216
|
+
def to_hash
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
class DebtorAddress < Increase::Internal::Type::BaseModel
|
221
|
+
OrHash =
|
222
|
+
T.type_alias do
|
223
|
+
T.any(
|
224
|
+
Increase::WireDrawdownRequestCreateParams::DebtorAddress,
|
225
|
+
Increase::Internal::AnyHash
|
226
|
+
)
|
227
|
+
end
|
228
|
+
|
229
|
+
# The city, district, town, or village of the address.
|
230
|
+
sig { returns(String) }
|
231
|
+
attr_accessor :city
|
232
|
+
|
233
|
+
# The two-letter
|
234
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
235
|
+
# the country of the address.
|
236
|
+
sig { returns(String) }
|
237
|
+
attr_accessor :country
|
238
|
+
|
239
|
+
# The first line of the address. This is usually the street number and street.
|
240
|
+
sig { returns(String) }
|
241
|
+
attr_accessor :line1
|
242
|
+
|
243
|
+
# The second line of the address. This might be the floor or room number.
|
244
|
+
sig { returns(T.nilable(String)) }
|
245
|
+
attr_reader :line2
|
246
|
+
|
247
|
+
sig { params(line2: String).void }
|
248
|
+
attr_writer :line2
|
249
|
+
|
250
|
+
# The ZIP code of the address.
|
251
|
+
sig { returns(T.nilable(String)) }
|
252
|
+
attr_reader :postal_code
|
253
|
+
|
254
|
+
sig { params(postal_code: String).void }
|
255
|
+
attr_writer :postal_code
|
256
|
+
|
257
|
+
# The address state.
|
258
|
+
sig { returns(T.nilable(String)) }
|
259
|
+
attr_reader :state
|
260
|
+
|
261
|
+
sig { params(state: String).void }
|
262
|
+
attr_writer :state
|
263
|
+
|
264
|
+
# The debtor's address.
|
265
|
+
sig do
|
266
|
+
params(
|
267
|
+
city: String,
|
268
|
+
country: String,
|
269
|
+
line1: String,
|
270
|
+
line2: String,
|
271
|
+
postal_code: String,
|
272
|
+
state: String
|
273
|
+
).returns(T.attached_class)
|
274
|
+
end
|
275
|
+
def self.new(
|
276
|
+
# The city, district, town, or village of the address.
|
277
|
+
city:,
|
278
|
+
# The two-letter
|
279
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
280
|
+
# the country of the address.
|
281
|
+
country:,
|
282
|
+
# The first line of the address. This is usually the street number and street.
|
283
|
+
line1:,
|
284
|
+
# The second line of the address. This might be the floor or room number.
|
285
|
+
line2: nil,
|
286
|
+
# The ZIP code of the address.
|
287
|
+
postal_code: nil,
|
288
|
+
# The address state.
|
289
|
+
state: nil
|
290
|
+
)
|
291
|
+
end
|
292
|
+
|
293
|
+
sig do
|
294
|
+
override.returns(
|
295
|
+
{
|
296
|
+
city: String,
|
297
|
+
country: String,
|
298
|
+
line1: String,
|
299
|
+
line2: String,
|
300
|
+
postal_code: String,
|
301
|
+
state: String
|
302
|
+
}
|
303
|
+
)
|
304
|
+
end
|
305
|
+
def to_hash
|
306
|
+
end
|
307
|
+
end
|
177
308
|
end
|
178
309
|
end
|
179
310
|
end
|
@@ -27,6 +27,7 @@ module Increase
|
|
27
27
|
cursor: String,
|
28
28
|
limit: Integer,
|
29
29
|
status: Increase::InboundWireTransferListParams::Status::OrHash,
|
30
|
+
wire_drawdown_request_id: String,
|
30
31
|
request_options: Increase::RequestOptions::OrHash
|
31
32
|
).returns(Increase::Internal::Page[Increase::InboundWireTransfer])
|
32
33
|
end
|
@@ -42,6 +43,9 @@ module Increase
|
|
42
43
|
# objects.
|
43
44
|
limit: nil,
|
44
45
|
status: nil,
|
46
|
+
# Filter Inbound Wire Transfers to ones belonging to the specified Wire Drawdown
|
47
|
+
# Request.
|
48
|
+
wire_drawdown_request_id: nil,
|
45
49
|
request_options: {}
|
46
50
|
)
|
47
51
|
end
|
@@ -24,6 +24,7 @@ module Increase
|
|
24
24
|
originator_to_beneficiary_information_line3: String,
|
25
25
|
originator_to_beneficiary_information_line4: String,
|
26
26
|
sender_reference: String,
|
27
|
+
wire_drawdown_request_id: String,
|
27
28
|
request_options: Increase::RequestOptions::OrHash
|
28
29
|
).returns(Increase::InboundWireTransfer)
|
29
30
|
end
|
@@ -77,6 +78,9 @@ module Increase
|
|
77
78
|
# The sending bank will set sender_reference in production. You can simulate any
|
78
79
|
# value here.
|
79
80
|
sender_reference: nil,
|
81
|
+
# The identifier of a Wire Drawdown Request the inbound Wire Transfer is
|
82
|
+
# fulfilling.
|
83
|
+
wire_drawdown_request_id: nil,
|
80
84
|
request_options: {}
|
81
85
|
)
|
82
86
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Resources
|
5
|
+
class Simulations
|
6
|
+
class WireDrawdownRequests
|
7
|
+
# Simulates a Wire Drawdown Request being refused by the debtor.
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
wire_drawdown_request_id: String,
|
11
|
+
request_options: Increase::RequestOptions::OrHash
|
12
|
+
).returns(Increase::WireDrawdownRequest)
|
13
|
+
end
|
14
|
+
def refuse(
|
15
|
+
# The identifier of the Wire Drawdown Request you wish to refuse.
|
16
|
+
wire_drawdown_request_id,
|
17
|
+
request_options: {}
|
18
|
+
)
|
19
|
+
end
|
20
|
+
|
21
|
+
# @api private
|
22
|
+
sig { params(client: Increase::Client).returns(T.attached_class) }
|
23
|
+
def self.new(client:)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -58,6 +58,9 @@ module Increase
|
|
58
58
|
sig { returns(Increase::Resources::Simulations::InboundWireTransfers) }
|
59
59
|
attr_reader :inbound_wire_transfers
|
60
60
|
|
61
|
+
sig { returns(Increase::Resources::Simulations::WireDrawdownRequests) }
|
62
|
+
attr_reader :wire_drawdown_requests
|
63
|
+
|
61
64
|
sig do
|
62
65
|
returns(Increase::Resources::Simulations::InboundWireDrawdownRequests)
|
63
66
|
end
|
@@ -8,55 +8,37 @@ module Increase
|
|
8
8
|
params(
|
9
9
|
account_number_id: String,
|
10
10
|
amount: Integer,
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
recipient_address_line2: String,
|
21
|
-
recipient_address_line3: String,
|
11
|
+
creditor_address:
|
12
|
+
Increase::WireDrawdownRequestCreateParams::CreditorAddress::OrHash,
|
13
|
+
creditor_name: String,
|
14
|
+
debtor_account_number: String,
|
15
|
+
debtor_address:
|
16
|
+
Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
|
17
|
+
debtor_name: String,
|
18
|
+
debtor_routing_number: String,
|
19
|
+
unstructured_remittance_information: String,
|
22
20
|
request_options: Increase::RequestOptions::OrHash
|
23
21
|
).returns(Increase::WireDrawdownRequest)
|
24
22
|
end
|
25
23
|
def create(
|
26
|
-
# The Account Number to which the
|
24
|
+
# The Account Number to which the debtor should send funds.
|
27
25
|
account_number_id:,
|
28
|
-
# The amount requested from the
|
26
|
+
# The amount requested from the debtor, in USD cents.
|
29
27
|
amount:,
|
30
|
-
#
|
31
|
-
|
32
|
-
# The
|
33
|
-
|
34
|
-
# The
|
35
|
-
|
36
|
-
# The
|
37
|
-
|
38
|
-
# The
|
39
|
-
|
40
|
-
#
|
41
|
-
|
42
|
-
#
|
43
|
-
|
44
|
-
# associated entity's details.
|
45
|
-
originator_address_line2: nil,
|
46
|
-
# The drawdown request originator's address line 3. This is only necessary if
|
47
|
-
# you're requesting a payment to a commingled account. Otherwise, we'll use the
|
48
|
-
# associated entity's details.
|
49
|
-
originator_address_line3: nil,
|
50
|
-
# The drawdown request originator's name. This is only necessary if you're
|
51
|
-
# requesting a payment to a commingled account. Otherwise, we'll use the
|
52
|
-
# associated entity's details.
|
53
|
-
originator_name: nil,
|
54
|
-
# Line 1 of the drawdown request's recipient's address.
|
55
|
-
recipient_address_line1: nil,
|
56
|
-
# Line 2 of the drawdown request's recipient's address.
|
57
|
-
recipient_address_line2: nil,
|
58
|
-
# Line 3 of the drawdown request's recipient's address.
|
59
|
-
recipient_address_line3: nil,
|
28
|
+
# The creditor's address.
|
29
|
+
creditor_address:,
|
30
|
+
# The creditor's name.
|
31
|
+
creditor_name:,
|
32
|
+
# The debtor's account number.
|
33
|
+
debtor_account_number:,
|
34
|
+
# The debtor's address.
|
35
|
+
debtor_address:,
|
36
|
+
# The debtor's name.
|
37
|
+
debtor_name:,
|
38
|
+
# The debtor's routing number.
|
39
|
+
debtor_routing_number:,
|
40
|
+
# Remittance information the debtor will see as part of the request.
|
41
|
+
unstructured_remittance_information:,
|
60
42
|
request_options: {}
|
61
43
|
)
|
62
44
|
end
|
@@ -1628,6 +1628,7 @@ module Increase
|
|
1628
1628
|
| :invalid_physical_card
|
1629
1629
|
| :missing_original_authorization
|
1630
1630
|
| :failed_3ds_authentication
|
1631
|
+
| :suspected_card_testing
|
1631
1632
|
| :suspected_fraud
|
1632
1633
|
|
1633
1634
|
module Reason
|
@@ -1687,6 +1688,9 @@ module Increase
|
|
1687
1688
|
# The transaction was declined because the 3DS authentication failed.
|
1688
1689
|
FAILED_3DS_AUTHENTICATION: :failed_3ds_authentication
|
1689
1690
|
|
1691
|
+
# The transaction was suspected to be used by a card tester to test for valid card numbers.
|
1692
|
+
SUSPECTED_CARD_TESTING: :suspected_card_testing
|
1693
|
+
|
1690
1694
|
# The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
|
1691
1695
|
SUSPECTED_FRAUD: :suspected_fraud
|
1692
1696
|
|
@@ -822,6 +822,7 @@ module Increase
|
|
822
822
|
| :invalid_physical_card
|
823
823
|
| :missing_original_authorization
|
824
824
|
| :failed_3ds_authentication
|
825
|
+
| :suspected_card_testing
|
825
826
|
| :suspected_fraud
|
826
827
|
|
827
828
|
module Reason
|
@@ -881,6 +882,9 @@ module Increase
|
|
881
882
|
# The transaction was declined because the 3DS authentication failed.
|
882
883
|
FAILED_3DS_AUTHENTICATION: :failed_3ds_authentication
|
883
884
|
|
885
|
+
# The transaction was suspected to be used by a card tester to test for valid card numbers.
|
886
|
+
SUSPECTED_CARD_TESTING: :suspected_card_testing
|
887
|
+
|
884
888
|
# The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
|
885
889
|
SUSPECTED_FRAUD: :suspected_fraud
|
886
890
|
|
@@ -7,7 +7,8 @@ module Increase
|
|
7
7
|
created_at: Increase::InboundWireTransferListParams::CreatedAt,
|
8
8
|
cursor: String,
|
9
9
|
limit: Integer,
|
10
|
-
status: Increase::InboundWireTransferListParams::Status
|
10
|
+
status: Increase::InboundWireTransferListParams::Status,
|
11
|
+
wire_drawdown_request_id: String
|
11
12
|
}
|
12
13
|
& Increase::Internal::Type::request_parameters
|
13
14
|
|
@@ -43,6 +44,10 @@ module Increase
|
|
43
44
|
Increase::InboundWireTransferListParams::Status
|
44
45
|
) -> Increase::InboundWireTransferListParams::Status
|
45
46
|
|
47
|
+
attr_reader wire_drawdown_request_id: String?
|
48
|
+
|
49
|
+
def wire_drawdown_request_id=: (String) -> String
|
50
|
+
|
46
51
|
def initialize: (
|
47
52
|
?account_id: String,
|
48
53
|
?account_number_id: String,
|
@@ -50,6 +55,7 @@ module Increase
|
|
50
55
|
?cursor: String,
|
51
56
|
?limit: Integer,
|
52
57
|
?status: Increase::InboundWireTransferListParams::Status,
|
58
|
+
?wire_drawdown_request_id: String,
|
53
59
|
?request_options: Increase::request_opts
|
54
60
|
) -> void
|
55
61
|
|
@@ -60,6 +66,7 @@ module Increase
|
|
60
66
|
cursor: String,
|
61
67
|
limit: Integer,
|
62
68
|
status: Increase::InboundWireTransferListParams::Status,
|
69
|
+
wire_drawdown_request_id: String,
|
63
70
|
request_options: Increase::RequestOptions
|
64
71
|
}
|
65
72
|
|
@@ -160,6 +160,7 @@ module Increase
|
|
160
160
|
| :invalid_physical_card
|
161
161
|
| :missing_original_authorization
|
162
162
|
| :failed_3ds_authentication
|
163
|
+
| :suspected_card_testing
|
163
164
|
| :suspected_fraud
|
164
165
|
|
165
166
|
module DeclineReason
|
@@ -219,6 +220,9 @@ module Increase
|
|
219
220
|
# The transaction was declined because the 3DS authentication failed.
|
220
221
|
FAILED_3DS_AUTHENTICATION: :failed_3ds_authentication
|
221
222
|
|
223
|
+
# The transaction was suspected to be used by a card tester to test for valid card numbers.
|
224
|
+
SUSPECTED_CARD_TESTING: :suspected_card_testing
|
225
|
+
|
222
226
|
# The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
|
223
227
|
SUSPECTED_FRAUD: :suspected_fraud
|
224
228
|
|