increase 1.360.0 → 1.362.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/internal/transport/pooled_net_requester.rb +3 -0
- data/lib/increase/internal/util.rb +22 -17
- data/lib/increase/models/ach_transfer_create_params.rb +73 -42
- data/lib/increase/models/digital_card_profile.rb +63 -1
- data/lib/increase/models/digital_card_profile_clone_params.rb +65 -1
- data/lib/increase/models/digital_card_profile_create_params.rb +62 -1
- data/lib/increase/models/event.rb +5 -2
- data/lib/increase/models/event_list_params.rb +5 -2
- data/lib/increase/models/event_subscription.rb +5 -2
- data/lib/increase/models/event_subscription_create_params.rb +5 -2
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
- data/lib/increase/models/simulations/card_dispute_action_params.rb +26 -4
- data/lib/increase/models/simulations/wire_drawdown_request_refuse_params.rb +52 -1
- data/lib/increase/models/unwrap_webhook_event.rb +5 -2
- data/lib/increase/models/wire_drawdown_request.rb +78 -1
- data/lib/increase/resources/ach_transfers.rb +43 -22
- data/lib/increase/resources/digital_card_profiles.rb +9 -2
- data/lib/increase/resources/simulations/wire_drawdown_requests.rb +12 -2
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/internal/util.rbi +3 -1
- data/rbi/increase/models/ach_transfer_create_params.rbi +72 -42
- data/rbi/increase/models/digital_card_profile.rbi +137 -0
- data/rbi/increase/models/digital_card_profile_clone_params.rbi +166 -0
- data/rbi/increase/models/digital_card_profile_create_params.rbi +163 -0
- data/rbi/increase/models/event.rbi +10 -3
- data/rbi/increase/models/event_list_params.rbi +10 -3
- data/rbi/increase/models/event_subscription.rbi +10 -3
- data/rbi/increase/models/event_subscription_create_params.rbi +10 -3
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +56 -3
- data/rbi/increase/models/simulations/wire_drawdown_request_refuse_params.rbi +107 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +10 -3
- data/rbi/increase/models/wire_drawdown_request.rbi +146 -0
- data/rbi/increase/resources/ach_transfers.rbi +42 -22
- data/rbi/increase/resources/digital_card_profiles.rbi +7 -0
- data/rbi/increase/resources/simulations/wire_drawdown_requests.rbi +9 -0
- data/sig/increase/internal/util.rbs +1 -1
- data/sig/increase/models/digital_card_profile.rbs +47 -0
- data/sig/increase/models/digital_card_profile_clone_params.rbs +59 -0
- data/sig/increase/models/digital_card_profile_create_params.rbs +59 -0
- data/sig/increase/models/event.rbs +7 -3
- data/sig/increase/models/event_list_params.rbs +7 -3
- data/sig/increase/models/event_subscription.rbs +7 -3
- data/sig/increase/models/event_subscription_create_params.rbs +7 -3
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +24 -3
- data/sig/increase/models/simulations/wire_drawdown_request_refuse_params.rbs +51 -1
- data/sig/increase/models/unwrap_webhook_event.rbs +7 -3
- data/sig/increase/models/wire_drawdown_request.rbs +64 -0
- data/sig/increase/resources/digital_card_profiles.rbs +2 -0
- data/sig/increase/resources/simulations/wire_drawdown_requests.rbs +2 -0
- metadata +16 -2
|
@@ -149,7 +149,8 @@ module Increase
|
|
|
149
149
|
| :"loan_obligation.created"
|
|
150
150
|
| :"loan_offer.created"
|
|
151
151
|
| :"loan_offer.updated"
|
|
152
|
-
| :"
|
|
152
|
+
| :"loan_purchase_offer.created"
|
|
153
|
+
| :"loan_purchase_offer.updated"
|
|
153
154
|
| :"lockbox.created"
|
|
154
155
|
| :"lockbox.updated"
|
|
155
156
|
| :"lockbox_address.created"
|
|
@@ -443,8 +444,11 @@ module Increase
|
|
|
443
444
|
# Occurs whenever a Loan Offer is updated.
|
|
444
445
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
445
446
|
|
|
446
|
-
# Occurs whenever a Loan Purchase is created.
|
|
447
|
-
|
|
447
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
448
|
+
LOAN_PURCHASE_OFFER_CREATED: :"loan_purchase_offer.created"
|
|
449
|
+
|
|
450
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
451
|
+
LOAN_PURCHASE_OFFER_UPDATED: :"loan_purchase_offer.updated"
|
|
448
452
|
|
|
449
453
|
# Occurs whenever a Lockbox is created.
|
|
450
454
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
@@ -152,7 +152,8 @@ module Increase
|
|
|
152
152
|
| :"loan_obligation.created"
|
|
153
153
|
| :"loan_offer.created"
|
|
154
154
|
| :"loan_offer.updated"
|
|
155
|
-
| :"
|
|
155
|
+
| :"loan_purchase_offer.created"
|
|
156
|
+
| :"loan_purchase_offer.updated"
|
|
156
157
|
| :"lockbox.created"
|
|
157
158
|
| :"lockbox.updated"
|
|
158
159
|
| :"lockbox_address.created"
|
|
@@ -446,8 +447,11 @@ module Increase
|
|
|
446
447
|
# Occurs whenever a Loan Offer is updated.
|
|
447
448
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
448
449
|
|
|
449
|
-
# Occurs whenever a Loan Purchase is created.
|
|
450
|
-
|
|
450
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
451
|
+
LOAN_PURCHASE_OFFER_CREATED: :"loan_purchase_offer.created"
|
|
452
|
+
|
|
453
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
454
|
+
LOAN_PURCHASE_OFFER_UPDATED: :"loan_purchase_offer.updated"
|
|
451
455
|
|
|
452
456
|
# Occurs whenever a Lockbox is created.
|
|
453
457
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
@@ -14,6 +14,7 @@ module Increase
|
|
|
14
14
|
debtor_name: String,
|
|
15
15
|
debtor_routing_number: String,
|
|
16
16
|
decline: Increase::InboundRealTimePaymentsTransfer::Decline?,
|
|
17
|
+
end_to_end_identification: String?,
|
|
17
18
|
status: Increase::Models::InboundRealTimePaymentsTransfer::status,
|
|
18
19
|
transaction_identification: String,
|
|
19
20
|
type: Increase::Models::InboundRealTimePaymentsTransfer::type_,
|
|
@@ -45,6 +46,8 @@ module Increase
|
|
|
45
46
|
|
|
46
47
|
attr_accessor decline: Increase::InboundRealTimePaymentsTransfer::Decline?
|
|
47
48
|
|
|
49
|
+
attr_accessor end_to_end_identification: String?
|
|
50
|
+
|
|
48
51
|
attr_accessor status: Increase::Models::InboundRealTimePaymentsTransfer::status
|
|
49
52
|
|
|
50
53
|
attr_accessor transaction_identification: String
|
|
@@ -66,6 +69,7 @@ module Increase
|
|
|
66
69
|
debtor_name: String,
|
|
67
70
|
debtor_routing_number: String,
|
|
68
71
|
decline: Increase::InboundRealTimePaymentsTransfer::Decline?,
|
|
72
|
+
end_to_end_identification: String?,
|
|
69
73
|
status: Increase::Models::InboundRealTimePaymentsTransfer::status,
|
|
70
74
|
transaction_identification: String,
|
|
71
75
|
type: Increase::Models::InboundRealTimePaymentsTransfer::type_,
|
|
@@ -85,6 +89,7 @@ module Increase
|
|
|
85
89
|
debtor_name: String,
|
|
86
90
|
debtor_routing_number: String,
|
|
87
91
|
decline: Increase::InboundRealTimePaymentsTransfer::Decline?,
|
|
92
|
+
end_to_end_identification: String?,
|
|
88
93
|
status: Increase::Models::InboundRealTimePaymentsTransfer::status,
|
|
89
94
|
transaction_identification: String,
|
|
90
95
|
type: Increase::Models::InboundRealTimePaymentsTransfer::type_,
|
|
@@ -52,6 +52,7 @@ module Increase
|
|
|
52
52
|
{
|
|
53
53
|
action: Increase::Models::Simulations::CardDisputeActionParams::Visa::action,
|
|
54
54
|
accept_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback,
|
|
55
|
+
accept_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserPrearbitration,
|
|
55
56
|
accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
|
|
56
57
|
decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
|
|
57
58
|
receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
|
|
@@ -73,6 +74,12 @@ module Increase
|
|
|
73
74
|
Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback
|
|
74
75
|
) -> Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback
|
|
75
76
|
|
|
77
|
+
attr_reader accept_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserPrearbitration?
|
|
78
|
+
|
|
79
|
+
def accept_user_prearbitration=: (
|
|
80
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserPrearbitration
|
|
81
|
+
) -> Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserPrearbitration
|
|
82
|
+
|
|
76
83
|
attr_reader accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission?
|
|
77
84
|
|
|
78
85
|
def accept_user_submission=: (
|
|
@@ -136,6 +143,7 @@ module Increase
|
|
|
136
143
|
def initialize: (
|
|
137
144
|
action: Increase::Models::Simulations::CardDisputeActionParams::Visa::action,
|
|
138
145
|
?accept_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback,
|
|
146
|
+
?accept_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserPrearbitration,
|
|
139
147
|
?accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
|
|
140
148
|
?decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
|
|
141
149
|
?receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
|
|
@@ -151,6 +159,7 @@ module Increase
|
|
|
151
159
|
def to_hash: -> {
|
|
152
160
|
action: Increase::Models::Simulations::CardDisputeActionParams::Visa::action,
|
|
153
161
|
accept_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback,
|
|
162
|
+
accept_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserPrearbitration,
|
|
154
163
|
accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
|
|
155
164
|
decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
|
|
156
165
|
receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
|
|
@@ -165,6 +174,7 @@ module Increase
|
|
|
165
174
|
|
|
166
175
|
type action =
|
|
167
176
|
:accept_chargeback
|
|
177
|
+
| :accept_user_prearbitration
|
|
168
178
|
| :accept_user_submission
|
|
169
179
|
| :decline_user_prearbitration
|
|
170
180
|
| :receive_merchant_prearbitration
|
|
@@ -182,19 +192,22 @@ module Increase
|
|
|
182
192
|
# Simulate the merchant accepting the chargeback. This will move the dispute to a `won` state.
|
|
183
193
|
ACCEPT_CHARGEBACK: :accept_chargeback
|
|
184
194
|
|
|
195
|
+
# Simulate the merchant accepting the user's pre-arbitration. This will move the dispute to a `won` state.
|
|
196
|
+
ACCEPT_USER_PREARBITRATION: :accept_user_prearbitration
|
|
197
|
+
|
|
185
198
|
# Accept the user's submission and transmit it to the network. This will move the dispute to a `pending_response` state.
|
|
186
199
|
ACCEPT_USER_SUBMISSION: :accept_user_submission
|
|
187
200
|
|
|
188
201
|
# Simulate the merchant declining the user's pre-arbitration. This will move the dispute to a `lost` state.
|
|
189
202
|
DECLINE_USER_PREARBITRATION: :decline_user_prearbitration
|
|
190
203
|
|
|
191
|
-
# Simulate the merchant issuing pre-arbitration. This will move the dispute to a `user_submission_required` state.
|
|
204
|
+
# Simulate the merchant issuing pre-arbitration. Only available for disputes in the fraud or authorization category. This will move the dispute to a `user_submission_required` state.
|
|
192
205
|
RECEIVE_MERCHANT_PREARBITRATION: :receive_merchant_prearbitration
|
|
193
206
|
|
|
194
207
|
# Simulate the dispute being rejected before it is submitted to the network. This will move the dispute to a `rejected` state.
|
|
195
208
|
REJECT: :reject
|
|
196
209
|
|
|
197
|
-
# Simulate the merchant re-presenting the dispute. This will move the dispute to a `user_submission_required` state.
|
|
210
|
+
# Simulate the merchant re-presenting the dispute. Only available for disputes in a consumer or processing error category. This will move the dispute to a `user_submission_required` state.
|
|
198
211
|
REPRESENT: :represent
|
|
199
212
|
|
|
200
213
|
# Simulate further information being requested from the user. This will move the dispute to a `user_submission_required` state.
|
|
@@ -209,7 +222,7 @@ module Increase
|
|
|
209
222
|
# Simulate the user timing out responding to a merchant re-presentment. This will move the dispute to a `lost` state.
|
|
210
223
|
TIME_OUT_REPRESENTMENT: :time_out_representment
|
|
211
224
|
|
|
212
|
-
# Simulate the merchant timing out responding to a user pre-arbitration. This will move the dispute to a `
|
|
225
|
+
# Simulate the merchant timing out responding to a user pre-arbitration. This will move the dispute to a `won` state.
|
|
213
226
|
TIME_OUT_USER_PREARBITRATION: :time_out_user_prearbitration
|
|
214
227
|
|
|
215
228
|
def self?.values: -> ::Array[Increase::Models::Simulations::CardDisputeActionParams::Visa::action]
|
|
@@ -223,6 +236,14 @@ module Increase
|
|
|
223
236
|
def to_hash: -> { }
|
|
224
237
|
end
|
|
225
238
|
|
|
239
|
+
type accept_user_prearbitration = { }
|
|
240
|
+
|
|
241
|
+
class AcceptUserPrearbitration < Increase::Internal::Type::BaseModel
|
|
242
|
+
def initialize: -> void
|
|
243
|
+
|
|
244
|
+
def to_hash: -> { }
|
|
245
|
+
end
|
|
246
|
+
|
|
226
247
|
type accept_user_submission = { }
|
|
227
248
|
|
|
228
249
|
class AcceptUserSubmission < Increase::Internal::Type::BaseModel
|
|
@@ -2,7 +2,11 @@ module Increase
|
|
|
2
2
|
module Models
|
|
3
3
|
module Simulations
|
|
4
4
|
type wire_drawdown_request_refuse_params =
|
|
5
|
-
{
|
|
5
|
+
{
|
|
6
|
+
wire_drawdown_request_id: String,
|
|
7
|
+
refusal_reason_additional_information: String,
|
|
8
|
+
refusal_reason_code: Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code
|
|
9
|
+
}
|
|
6
10
|
& Increase::Internal::Type::request_parameters
|
|
7
11
|
|
|
8
12
|
class WireDrawdownRequestRefuseParams < Increase::Internal::Type::BaseModel
|
|
@@ -11,15 +15,61 @@ module Increase
|
|
|
11
15
|
|
|
12
16
|
attr_accessor wire_drawdown_request_id: String
|
|
13
17
|
|
|
18
|
+
attr_reader refusal_reason_additional_information: String?
|
|
19
|
+
|
|
20
|
+
def refusal_reason_additional_information=: (String) -> String
|
|
21
|
+
|
|
22
|
+
attr_reader refusal_reason_code: Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code?
|
|
23
|
+
|
|
24
|
+
def refusal_reason_code=: (
|
|
25
|
+
Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code
|
|
26
|
+
) -> Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code
|
|
27
|
+
|
|
14
28
|
def initialize: (
|
|
15
29
|
wire_drawdown_request_id: String,
|
|
30
|
+
?refusal_reason_additional_information: String,
|
|
31
|
+
?refusal_reason_code: Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code,
|
|
16
32
|
?request_options: Increase::request_opts
|
|
17
33
|
) -> void
|
|
18
34
|
|
|
19
35
|
def to_hash: -> {
|
|
20
36
|
wire_drawdown_request_id: String,
|
|
37
|
+
refusal_reason_additional_information: String,
|
|
38
|
+
refusal_reason_code: Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code,
|
|
21
39
|
request_options: Increase::RequestOptions
|
|
22
40
|
}
|
|
41
|
+
|
|
42
|
+
type refusal_reason_code =
|
|
43
|
+
:invalid_debtor_account_number
|
|
44
|
+
| :transaction_forbidden
|
|
45
|
+
| :unsuccessful_direct_debit
|
|
46
|
+
| :inconsistent_with_end_customer
|
|
47
|
+
| :narrative
|
|
48
|
+
| :other
|
|
49
|
+
|
|
50
|
+
module RefusalReasonCode
|
|
51
|
+
extend Increase::Internal::Type::Enum
|
|
52
|
+
|
|
53
|
+
# The debtor's account number is invalid or missing. Corresponds to the Fedwire reason code `AC02`.
|
|
54
|
+
INVALID_DEBTOR_ACCOUNT_NUMBER: :invalid_debtor_account_number
|
|
55
|
+
|
|
56
|
+
# The debtor account does not allow drawdown requests. Corresponds to the Fedwire reason code `AG01`.
|
|
57
|
+
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
58
|
+
|
|
59
|
+
# The debtor account cannot be debited for a generic reason. Corresponds to the Fedwire reason code `AG07`.
|
|
60
|
+
UNSUCCESSFUL_DIRECT_DEBIT: :unsuccessful_direct_debit
|
|
61
|
+
|
|
62
|
+
# The debtor's identification is inconsistent with the debtor account number. Corresponds to the Fedwire reason code `BE01`.
|
|
63
|
+
INCONSISTENT_WITH_END_CUSTOMER: :inconsistent_with_end_customer
|
|
64
|
+
|
|
65
|
+
# The reason is provided as narrative information in the additional information field. Corresponds to the Fedwire reason code `NARR`.
|
|
66
|
+
NARRATIVE: :narrative
|
|
67
|
+
|
|
68
|
+
# Some other error or issue has occurred.
|
|
69
|
+
OTHER: :other
|
|
70
|
+
|
|
71
|
+
def self?.values: -> ::Array[Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code]
|
|
72
|
+
end
|
|
23
73
|
end
|
|
24
74
|
end
|
|
25
75
|
end
|
|
@@ -123,7 +123,8 @@ module Increase
|
|
|
123
123
|
| :"loan_obligation.created"
|
|
124
124
|
| :"loan_offer.created"
|
|
125
125
|
| :"loan_offer.updated"
|
|
126
|
-
| :"
|
|
126
|
+
| :"loan_purchase_offer.created"
|
|
127
|
+
| :"loan_purchase_offer.updated"
|
|
127
128
|
| :"lockbox.created"
|
|
128
129
|
| :"lockbox.updated"
|
|
129
130
|
| :"lockbox_address.created"
|
|
@@ -417,8 +418,11 @@ module Increase
|
|
|
417
418
|
# Occurs whenever a Loan Offer is updated.
|
|
418
419
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
419
420
|
|
|
420
|
-
# Occurs whenever a Loan Purchase is created.
|
|
421
|
-
|
|
421
|
+
# Occurs whenever a Loan Purchase Offer is created.
|
|
422
|
+
LOAN_PURCHASE_OFFER_CREATED: :"loan_purchase_offer.created"
|
|
423
|
+
|
|
424
|
+
# Occurs whenever a Loan Purchase Offer is updated.
|
|
425
|
+
LOAN_PURCHASE_OFFER_UPDATED: :"loan_purchase_offer.updated"
|
|
422
426
|
|
|
423
427
|
# Occurs whenever a Lockbox is created.
|
|
424
428
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
@@ -18,6 +18,7 @@ module Increase
|
|
|
18
18
|
end_to_end_identification: String?,
|
|
19
19
|
fulfillment_inbound_wire_transfer_id: String?,
|
|
20
20
|
idempotency_key: String?,
|
|
21
|
+
refusal: Increase::WireDrawdownRequest::Refusal?,
|
|
21
22
|
status: Increase::Models::WireDrawdownRequest::status,
|
|
22
23
|
submission: Increase::WireDrawdownRequest::Submission?,
|
|
23
24
|
type: Increase::Models::WireDrawdownRequest::type_,
|
|
@@ -58,6 +59,8 @@ module Increase
|
|
|
58
59
|
|
|
59
60
|
attr_accessor idempotency_key: String?
|
|
60
61
|
|
|
62
|
+
attr_accessor refusal: Increase::WireDrawdownRequest::Refusal?
|
|
63
|
+
|
|
61
64
|
attr_accessor status: Increase::Models::WireDrawdownRequest::status
|
|
62
65
|
|
|
63
66
|
attr_accessor submission: Increase::WireDrawdownRequest::Submission?
|
|
@@ -85,6 +88,7 @@ module Increase
|
|
|
85
88
|
end_to_end_identification: String?,
|
|
86
89
|
fulfillment_inbound_wire_transfer_id: String?,
|
|
87
90
|
idempotency_key: String?,
|
|
91
|
+
refusal: Increase::WireDrawdownRequest::Refusal?,
|
|
88
92
|
status: Increase::Models::WireDrawdownRequest::status,
|
|
89
93
|
submission: Increase::WireDrawdownRequest::Submission?,
|
|
90
94
|
type: Increase::Models::WireDrawdownRequest::type_,
|
|
@@ -109,6 +113,7 @@ module Increase
|
|
|
109
113
|
end_to_end_identification: String?,
|
|
110
114
|
fulfillment_inbound_wire_transfer_id: String?,
|
|
111
115
|
idempotency_key: String?,
|
|
116
|
+
refusal: Increase::WireDrawdownRequest::Refusal?,
|
|
112
117
|
status: Increase::Models::WireDrawdownRequest::status,
|
|
113
118
|
submission: Increase::WireDrawdownRequest::Submission?,
|
|
114
119
|
type: Increase::Models::WireDrawdownRequest::type_,
|
|
@@ -200,6 +205,65 @@ module Increase
|
|
|
200
205
|
}
|
|
201
206
|
end
|
|
202
207
|
|
|
208
|
+
type refusal =
|
|
209
|
+
{
|
|
210
|
+
refusal_reason_additional_information: String?,
|
|
211
|
+
refusal_reason_code: Increase::Models::WireDrawdownRequest::Refusal::refusal_reason_code,
|
|
212
|
+
refused_at: Time
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
class Refusal < Increase::Internal::Type::BaseModel
|
|
216
|
+
attr_accessor refusal_reason_additional_information: String?
|
|
217
|
+
|
|
218
|
+
attr_accessor refusal_reason_code: Increase::Models::WireDrawdownRequest::Refusal::refusal_reason_code
|
|
219
|
+
|
|
220
|
+
attr_accessor refused_at: Time
|
|
221
|
+
|
|
222
|
+
def initialize: (
|
|
223
|
+
refusal_reason_additional_information: String?,
|
|
224
|
+
refusal_reason_code: Increase::Models::WireDrawdownRequest::Refusal::refusal_reason_code,
|
|
225
|
+
refused_at: Time
|
|
226
|
+
) -> void
|
|
227
|
+
|
|
228
|
+
def to_hash: -> {
|
|
229
|
+
refusal_reason_additional_information: String?,
|
|
230
|
+
refusal_reason_code: Increase::Models::WireDrawdownRequest::Refusal::refusal_reason_code,
|
|
231
|
+
refused_at: Time
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
type refusal_reason_code =
|
|
235
|
+
:invalid_debtor_account_number
|
|
236
|
+
| :transaction_forbidden
|
|
237
|
+
| :unsuccessful_direct_debit
|
|
238
|
+
| :inconsistent_with_end_customer
|
|
239
|
+
| :narrative
|
|
240
|
+
| :other
|
|
241
|
+
|
|
242
|
+
module RefusalReasonCode
|
|
243
|
+
extend Increase::Internal::Type::Enum
|
|
244
|
+
|
|
245
|
+
# The debtor's account number is invalid or missing. Corresponds to the Fedwire reason code `AC02`.
|
|
246
|
+
INVALID_DEBTOR_ACCOUNT_NUMBER: :invalid_debtor_account_number
|
|
247
|
+
|
|
248
|
+
# The debtor account does not allow drawdown requests. Corresponds to the Fedwire reason code `AG01`.
|
|
249
|
+
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
250
|
+
|
|
251
|
+
# The debtor account cannot be debited for a generic reason. Corresponds to the Fedwire reason code `AG07`.
|
|
252
|
+
UNSUCCESSFUL_DIRECT_DEBIT: :unsuccessful_direct_debit
|
|
253
|
+
|
|
254
|
+
# The debtor's identification is inconsistent with the debtor account number. Corresponds to the Fedwire reason code `BE01`.
|
|
255
|
+
INCONSISTENT_WITH_END_CUSTOMER: :inconsistent_with_end_customer
|
|
256
|
+
|
|
257
|
+
# The reason is provided as narrative information in the additional information field. Corresponds to the Fedwire reason code `NARR`.
|
|
258
|
+
NARRATIVE: :narrative
|
|
259
|
+
|
|
260
|
+
# Some other error or issue has occurred.
|
|
261
|
+
OTHER: :other
|
|
262
|
+
|
|
263
|
+
def self?.values: -> ::Array[Increase::Models::WireDrawdownRequest::Refusal::refusal_reason_code]
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
|
|
203
267
|
type status =
|
|
204
268
|
:pending_submission | :pending_response | :fulfilled | :refused
|
|
205
269
|
|
|
@@ -6,6 +6,7 @@ module Increase
|
|
|
6
6
|
background_image_file_id: String,
|
|
7
7
|
card_description: String,
|
|
8
8
|
description: String,
|
|
9
|
+
?apple_pay: Increase::DigitalCardProfileCreateParams::ApplePay,
|
|
9
10
|
?contact_email: String,
|
|
10
11
|
?contact_name: String,
|
|
11
12
|
?contact_phone: String,
|
|
@@ -35,6 +36,7 @@ module Increase
|
|
|
35
36
|
def clone_: (
|
|
36
37
|
String digital_card_profile_id,
|
|
37
38
|
?app_icon_file_id: String,
|
|
39
|
+
?apple_pay: Increase::DigitalCardProfileCloneParams::ApplePay,
|
|
38
40
|
?background_image_file_id: String,
|
|
39
41
|
?card_description: String,
|
|
40
42
|
?contact_email: String,
|
|
@@ -4,6 +4,8 @@ module Increase
|
|
|
4
4
|
class WireDrawdownRequests
|
|
5
5
|
def refuse: (
|
|
6
6
|
String wire_drawdown_request_id,
|
|
7
|
+
?refusal_reason_additional_information: String,
|
|
8
|
+
?refusal_reason_code: Increase::Models::Simulations::WireDrawdownRequestRefuseParams::refusal_reason_code,
|
|
7
9
|
?request_options: Increase::request_opts
|
|
8
10
|
) -> Increase::WireDrawdownRequest
|
|
9
11
|
|
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.362.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: base64
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: cgi
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|