increase 1.333.1 → 1.335.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 +21 -0
- data/README.md +26 -5
- data/lib/increase/models/ach_prenotification.rb +5 -2
- data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
- data/lib/increase/models/ach_transfer.rb +9 -3
- data/lib/increase/models/ach_transfer_create_params.rb +3 -0
- data/lib/increase/models/card.rb +9 -1
- data/lib/increase/models/card_dispute.rb +40 -1
- data/lib/increase/models/card_dispute_list_params.rb +3 -0
- data/lib/increase/models/card_payment.rb +74 -6
- data/lib/increase/models/card_push_transfer.rb +53 -1
- data/lib/increase/models/check_transfer.rb +4 -8
- data/lib/increase/models/declined_transaction.rb +4 -1
- data/lib/increase/models/digital_wallet_token.rb +59 -1
- data/lib/increase/models/entity.rb +1 -1
- data/lib/increase/models/event.rb +12 -0
- data/lib/increase/models/event_list_params.rb +12 -0
- data/lib/increase/models/event_subscription.rb +12 -0
- data/lib/increase/models/event_subscription_create_params.rb +12 -0
- data/lib/increase/models/export.rb +17 -1
- data/lib/increase/models/export_create_params.rb +78 -1
- data/lib/increase/models/fednow_transfer.rb +47 -1
- data/lib/increase/models/inbound_wire_transfer.rb +9 -1
- data/lib/increase/models/pending_transaction.rb +57 -1
- data/lib/increase/models/physical_card.rb +1 -1
- data/lib/increase/models/physical_card_profile.rb +38 -1
- data/lib/increase/models/real_time_decision.rb +55 -1
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +3 -0
- data/lib/increase/models/simulations/card_authorization_create_params.rb +4 -1
- data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +1 -1
- data/lib/increase/models/simulations/check_deposit_submit_params.rb +21 -2
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +6 -0
- data/lib/increase/models/simulations/entity_update_validation_params.rb +1 -1
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
- data/lib/increase/models/simulations/physical_card_create_params.rb +1 -1
- data/lib/increase/models/transaction.rb +23 -8
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_drawdown_request.rb +20 -1
- data/lib/increase/resources/events.rb +4 -1
- data/lib/increase/resources/exports.rb +3 -1
- data/lib/increase/resources/simulations/check_deposits.rb +3 -0
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +9 -2
- data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
- data/rbi/increase/models/ach_transfer.rbi +14 -4
- data/rbi/increase/models/ach_transfer_create_params.rbi +4 -0
- data/rbi/increase/models/card.rbi +8 -0
- data/rbi/increase/models/card_dispute.rbi +56 -0
- data/rbi/increase/models/card_dispute_list_params.rbi +7 -0
- data/rbi/increase/models/card_payment.rbi +156 -7
- data/rbi/increase/models/card_push_transfer.rbi +56 -0
- data/rbi/increase/models/check_transfer.rbi +4 -10
- data/rbi/increase/models/declined_transaction.rbi +8 -1
- data/rbi/increase/models/digital_wallet_token.rbi +131 -0
- data/rbi/increase/models/entity.rbi +1 -1
- data/rbi/increase/models/event.rbi +22 -0
- data/rbi/increase/models/event_list_params.rbi +28 -0
- data/rbi/increase/models/event_subscription.rbi +28 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
- data/rbi/increase/models/export.rbi +25 -5
- data/rbi/increase/models/export_create_params.rbi +151 -0
- data/rbi/increase/models/fednow_transfer.rbi +77 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
- data/rbi/increase/models/pending_transaction.rbi +129 -0
- data/rbi/increase/models/physical_card.rbi +1 -1
- data/rbi/increase/models/physical_card_profile.rbi +60 -0
- data/rbi/increase/models/real_time_decision.rbi +127 -0
- data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +7 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +8 -1
- data/rbi/increase/models/simulations/card_balance_inquiry_create_params.rbi +1 -1
- data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +21 -3
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +14 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +1 -1
- data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
- data/rbi/increase/models/simulations/physical_card_create_params.rbi +1 -1
- data/rbi/increase/models/transaction.rbi +31 -10
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +22 -0
- data/rbi/increase/resources/events.rbi +4 -1
- data/rbi/increase/resources/exports.rbi +3 -0
- data/rbi/increase/resources/simulations/check_deposits.rbi +1 -0
- data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
- data/sig/increase/models/ach_prenotification.rbs +7 -3
- data/sig/increase/models/ach_prenotification_create_params.rbs +2 -2
- data/sig/increase/models/ach_transfer.rbs +9 -2
- data/sig/increase/models/ach_transfer_create_params.rbs +4 -1
- data/sig/increase/models/card.rbs +5 -0
- data/sig/increase/models/card_dispute.rbs +21 -0
- data/sig/increase/models/card_dispute_list_params.rbs +4 -0
- data/sig/increase/models/card_payment.rbs +49 -1
- data/sig/increase/models/card_push_transfer.rbs +30 -0
- data/sig/increase/models/check_transfer.rbs +5 -5
- data/sig/increase/models/declined_transaction.rbs +5 -1
- data/sig/increase/models/digital_wallet_token.rbs +61 -2
- data/sig/increase/models/entity.rbs +1 -1
- data/sig/increase/models/event.rbs +16 -0
- data/sig/increase/models/event_list_params.rbs +16 -0
- data/sig/increase/models/event_subscription.rbs +16 -0
- data/sig/increase/models/event_subscription_create_params.rbs +16 -0
- data/sig/increase/models/export.rbs +23 -3
- data/sig/increase/models/export_create_params.rbs +76 -0
- data/sig/increase/models/fednow_transfer.rbs +37 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +40 -0
- data/sig/increase/models/physical_card.rbs +1 -1
- data/sig/increase/models/physical_card_profile.rbs +17 -0
- data/sig/increase/models/real_time_decision.rbs +40 -0
- data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +5 -1
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +5 -1
- data/sig/increase/models/simulations/card_balance_inquiry_create_params.rbs +1 -1
- data/sig/increase/models/simulations/check_deposit_submit_params.rbs +10 -3
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +8 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +1 -1
- data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +7 -0
- data/sig/increase/models/simulations/physical_card_create_params.rbs +1 -1
- data/sig/increase/models/transaction.rbs +9 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_drawdown_request.rbs +10 -0
- data/sig/increase/resources/exports.rbs +1 -0
- data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
- metadata +4 -4
|
@@ -21,8 +21,8 @@ module Increase
|
|
|
21
21
|
sig { returns(Integer) }
|
|
22
22
|
attr_accessor :amount
|
|
23
23
|
|
|
24
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date
|
|
25
|
-
# Transaction occurred.
|
|
24
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
25
|
+
# the Transaction occurred.
|
|
26
26
|
sig { returns(Time) }
|
|
27
27
|
attr_accessor :created_at
|
|
28
28
|
|
|
@@ -87,8 +87,8 @@ module Increase
|
|
|
87
87
|
# The Transaction amount in the minor unit of its currency. For dollars, for
|
|
88
88
|
# example, this is cents.
|
|
89
89
|
amount:,
|
|
90
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date
|
|
91
|
-
# Transaction occurred.
|
|
90
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
91
|
+
# the Transaction occurred.
|
|
92
92
|
created_at:,
|
|
93
93
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
94
94
|
# Transaction's currency. This will match the currency on the Transaction's
|
|
@@ -401,8 +401,10 @@ module Increase
|
|
|
401
401
|
attr_writer :card_dispute_loss
|
|
402
402
|
|
|
403
403
|
# A Card Financial object. This field will be present in the JSON response if and
|
|
404
|
-
# only if `category` is equal to `card_financial`. Card Financials are
|
|
405
|
-
#
|
|
404
|
+
# only if `category` is equal to `card_financial`. Card Financials are card
|
|
405
|
+
# transactions that have cleared and settled. Unlike a Card Settlement, which
|
|
406
|
+
# clears a previous authorization, a Card Financial is authorized and cleared in a
|
|
407
|
+
# single message.
|
|
406
408
|
sig { returns(T.nilable(Increase::Transaction::Source::CardFinancial)) }
|
|
407
409
|
attr_reader :card_financial
|
|
408
410
|
|
|
@@ -1137,8 +1139,10 @@ module Increase
|
|
|
1137
1139
|
# details of a lost Card Dispute.
|
|
1138
1140
|
card_dispute_loss: nil,
|
|
1139
1141
|
# A Card Financial object. This field will be present in the JSON response if and
|
|
1140
|
-
# only if `category` is equal to `card_financial`. Card Financials are
|
|
1141
|
-
#
|
|
1142
|
+
# only if `category` is equal to `card_financial`. Card Financials are card
|
|
1143
|
+
# transactions that have cleared and settled. Unlike a Card Settlement, which
|
|
1144
|
+
# clears a previous authorization, a Card Financial is authorized and cleared in a
|
|
1145
|
+
# single message.
|
|
1142
1146
|
card_financial: nil,
|
|
1143
1147
|
# A Card Push Transfer Acceptance object. This field will be present in the JSON
|
|
1144
1148
|
# response if and only if `category` is equal to `card_push_transfer_acceptance`.
|
|
@@ -3212,8 +3216,10 @@ module Increase
|
|
|
3212
3216
|
attr_writer :verification
|
|
3213
3217
|
|
|
3214
3218
|
# A Card Financial object. This field will be present in the JSON response if and
|
|
3215
|
-
# only if `category` is equal to `card_financial`. Card Financials are
|
|
3216
|
-
#
|
|
3219
|
+
# only if `category` is equal to `card_financial`. Card Financials are card
|
|
3220
|
+
# transactions that have cleared and settled. Unlike a Card Settlement, which
|
|
3221
|
+
# clears a previous authorization, a Card Financial is authorized and cleared in a
|
|
3222
|
+
# single message.
|
|
3217
3223
|
sig do
|
|
3218
3224
|
params(
|
|
3219
3225
|
id: String,
|
|
@@ -5017,6 +5023,13 @@ module Increase
|
|
|
5017
5023
|
Increase::Transaction::Source::CardFinancial::ProcessingCategory::TaggedSymbol
|
|
5018
5024
|
)
|
|
5019
5025
|
|
|
5026
|
+
# Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
|
|
5027
|
+
CASH_DEPOSIT =
|
|
5028
|
+
T.let(
|
|
5029
|
+
:cash_deposit,
|
|
5030
|
+
Increase::Transaction::Source::CardFinancial::ProcessingCategory::TaggedSymbol
|
|
5031
|
+
)
|
|
5032
|
+
|
|
5020
5033
|
# A balance inquiry transaction is used to check the balance of an account associated with a card.
|
|
5021
5034
|
BALANCE_INQUIRY =
|
|
5022
5035
|
T.let(
|
|
@@ -13323,6 +13336,10 @@ module Increase
|
|
|
13323
13336
|
sig { returns(T.nilable(String)) }
|
|
13324
13337
|
attr_accessor :instruction_identification
|
|
13325
13338
|
|
|
13339
|
+
# The reason for the wire transfer, as set by the sender.
|
|
13340
|
+
sig { returns(T.nilable(String)) }
|
|
13341
|
+
attr_accessor :purpose
|
|
13342
|
+
|
|
13326
13343
|
# The ID of the Inbound Wire Transfer object that resulted in this Transaction.
|
|
13327
13344
|
sig { returns(String) }
|
|
13328
13345
|
attr_accessor :transfer_id
|
|
@@ -13357,6 +13374,7 @@ module Increase
|
|
|
13357
13374
|
input_message_accountability_data: T.nilable(String),
|
|
13358
13375
|
instructing_agent_routing_number: T.nilable(String),
|
|
13359
13376
|
instruction_identification: T.nilable(String),
|
|
13377
|
+
purpose: T.nilable(String),
|
|
13360
13378
|
transfer_id: String,
|
|
13361
13379
|
unique_end_to_end_transaction_reference: T.nilable(String),
|
|
13362
13380
|
unstructured_remittance_information: T.nilable(String)
|
|
@@ -13394,6 +13412,8 @@ module Increase
|
|
|
13394
13412
|
instructing_agent_routing_number:,
|
|
13395
13413
|
# The sending bank's identifier for the wire transfer.
|
|
13396
13414
|
instruction_identification:,
|
|
13415
|
+
# The reason for the wire transfer, as set by the sender.
|
|
13416
|
+
purpose:,
|
|
13397
13417
|
# The ID of the Inbound Wire Transfer object that resulted in this Transaction.
|
|
13398
13418
|
transfer_id:,
|
|
13399
13419
|
# The Unique End-to-end Transaction Reference
|
|
@@ -13422,6 +13442,7 @@ module Increase
|
|
|
13422
13442
|
input_message_accountability_data: T.nilable(String),
|
|
13423
13443
|
instructing_agent_routing_number: T.nilable(String),
|
|
13424
13444
|
instruction_identification: T.nilable(String),
|
|
13445
|
+
purpose: T.nilable(String),
|
|
13425
13446
|
transfer_id: String,
|
|
13426
13447
|
unique_end_to_end_transaction_reference: T.nilable(String),
|
|
13427
13448
|
unstructured_remittance_information: T.nilable(String)
|
|
@@ -580,6 +580,34 @@ module Increase
|
|
|
580
580
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
581
581
|
)
|
|
582
582
|
|
|
583
|
+
# Occurs whenever a Loan Application is created.
|
|
584
|
+
LOAN_APPLICATION_CREATED =
|
|
585
|
+
T.let(
|
|
586
|
+
:"loan_application.created",
|
|
587
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
588
|
+
)
|
|
589
|
+
|
|
590
|
+
# Occurs whenever a Loan Application is updated.
|
|
591
|
+
LOAN_APPLICATION_UPDATED =
|
|
592
|
+
T.let(
|
|
593
|
+
:"loan_application.updated",
|
|
594
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
595
|
+
)
|
|
596
|
+
|
|
597
|
+
# Occurs whenever a Loan Offer is created.
|
|
598
|
+
LOAN_OFFER_CREATED =
|
|
599
|
+
T.let(
|
|
600
|
+
:"loan_offer.created",
|
|
601
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
602
|
+
)
|
|
603
|
+
|
|
604
|
+
# Occurs whenever a Loan Offer is updated.
|
|
605
|
+
LOAN_OFFER_UPDATED =
|
|
606
|
+
T.let(
|
|
607
|
+
:"loan_offer.updated",
|
|
608
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
609
|
+
)
|
|
610
|
+
|
|
583
611
|
# Occurs whenever a Lockbox is created.
|
|
584
612
|
LOCKBOX_CREATED =
|
|
585
613
|
T.let(
|
|
@@ -74,6 +74,11 @@ module Increase
|
|
|
74
74
|
sig { returns(String) }
|
|
75
75
|
attr_accessor :debtor_routing_number
|
|
76
76
|
|
|
77
|
+
# A free-form reference string set by the sender, to be mirrored back in the
|
|
78
|
+
# subsequent wire transfer.
|
|
79
|
+
sig { returns(T.nilable(String)) }
|
|
80
|
+
attr_accessor :end_to_end_identification
|
|
81
|
+
|
|
77
82
|
# If the recipient fulfills the drawdown request by sending funds, then this will
|
|
78
83
|
# be the identifier of the corresponding Transaction.
|
|
79
84
|
sig { returns(T.nilable(String)) }
|
|
@@ -107,6 +112,12 @@ module Increase
|
|
|
107
112
|
sig { returns(Increase::WireDrawdownRequest::Type::TaggedSymbol) }
|
|
108
113
|
attr_accessor :type
|
|
109
114
|
|
|
115
|
+
# The unique end-to-end transaction reference
|
|
116
|
+
# ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
|
|
117
|
+
# of the drawdown request.
|
|
118
|
+
sig { returns(T.nilable(String)) }
|
|
119
|
+
attr_accessor :unique_end_to_end_transaction_reference
|
|
120
|
+
|
|
110
121
|
# Remittance information the debtor will see as part of the drawdown request.
|
|
111
122
|
sig { returns(String) }
|
|
112
123
|
attr_accessor :unstructured_remittance_information
|
|
@@ -132,12 +143,14 @@ module Increase
|
|
|
132
143
|
debtor_external_account_id: T.nilable(String),
|
|
133
144
|
debtor_name: String,
|
|
134
145
|
debtor_routing_number: String,
|
|
146
|
+
end_to_end_identification: T.nilable(String),
|
|
135
147
|
fulfillment_inbound_wire_transfer_id: T.nilable(String),
|
|
136
148
|
idempotency_key: T.nilable(String),
|
|
137
149
|
status: Increase::WireDrawdownRequest::Status::OrSymbol,
|
|
138
150
|
submission:
|
|
139
151
|
T.nilable(Increase::WireDrawdownRequest::Submission::OrHash),
|
|
140
152
|
type: Increase::WireDrawdownRequest::Type::OrSymbol,
|
|
153
|
+
unique_end_to_end_transaction_reference: T.nilable(String),
|
|
141
154
|
unstructured_remittance_information: String
|
|
142
155
|
).returns(T.attached_class)
|
|
143
156
|
end
|
|
@@ -169,6 +182,9 @@ module Increase
|
|
|
169
182
|
debtor_name:,
|
|
170
183
|
# The debtor's routing number.
|
|
171
184
|
debtor_routing_number:,
|
|
185
|
+
# A free-form reference string set by the sender, to be mirrored back in the
|
|
186
|
+
# subsequent wire transfer.
|
|
187
|
+
end_to_end_identification:,
|
|
172
188
|
# If the recipient fulfills the drawdown request by sending funds, then this will
|
|
173
189
|
# be the identifier of the corresponding Transaction.
|
|
174
190
|
fulfillment_inbound_wire_transfer_id:,
|
|
@@ -184,6 +200,10 @@ module Increase
|
|
|
184
200
|
# A constant representing the object's type. For this resource it will always be
|
|
185
201
|
# `wire_drawdown_request`.
|
|
186
202
|
type:,
|
|
203
|
+
# The unique end-to-end transaction reference
|
|
204
|
+
# ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
|
|
205
|
+
# of the drawdown request.
|
|
206
|
+
unique_end_to_end_transaction_reference:,
|
|
187
207
|
# Remittance information the debtor will see as part of the drawdown request.
|
|
188
208
|
unstructured_remittance_information:
|
|
189
209
|
)
|
|
@@ -204,11 +224,13 @@ module Increase
|
|
|
204
224
|
debtor_external_account_id: T.nilable(String),
|
|
205
225
|
debtor_name: String,
|
|
206
226
|
debtor_routing_number: String,
|
|
227
|
+
end_to_end_identification: T.nilable(String),
|
|
207
228
|
fulfillment_inbound_wire_transfer_id: T.nilable(String),
|
|
208
229
|
idempotency_key: T.nilable(String),
|
|
209
230
|
status: Increase::WireDrawdownRequest::Status::TaggedSymbol,
|
|
210
231
|
submission: T.nilable(Increase::WireDrawdownRequest::Submission),
|
|
211
232
|
type: Increase::WireDrawdownRequest::Type::TaggedSymbol,
|
|
233
|
+
unique_end_to_end_transaction_reference: T.nilable(String),
|
|
212
234
|
unstructured_remittance_information: String
|
|
213
235
|
}
|
|
214
236
|
)
|
|
@@ -56,7 +56,10 @@ module Increase
|
|
|
56
56
|
payload,
|
|
57
57
|
# The raw HTTP headers that came with the payload
|
|
58
58
|
headers:,
|
|
59
|
-
# The webhook signing key
|
|
59
|
+
# The webhook signing key, as the raw secret string. It is Base64-encoded before
|
|
60
|
+
# being passed to StandardWebhooks, so to sign a synthetic payload in tests,
|
|
61
|
+
# construct the signer the same way:
|
|
62
|
+
# StandardWebhooks::Webhook.new(Base64.strict_encode64(key))
|
|
60
63
|
key: @client.webhook_secret
|
|
61
64
|
)
|
|
62
65
|
end
|
|
@@ -18,6 +18,7 @@ module Increase
|
|
|
18
18
|
daily_account_balance_csv:
|
|
19
19
|
Increase::ExportCreateParams::DailyAccountBalanceCsv::OrHash,
|
|
20
20
|
entity_csv: Increase::ExportCreateParams::EntityCsv::OrHash,
|
|
21
|
+
fee_csv: Increase::ExportCreateParams::FeeCsv::OrHash,
|
|
21
22
|
funding_instructions:
|
|
22
23
|
Increase::ExportCreateParams::FundingInstructions::OrHash,
|
|
23
24
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv::OrHash,
|
|
@@ -46,6 +47,8 @@ module Increase
|
|
|
46
47
|
daily_account_balance_csv: nil,
|
|
47
48
|
# Options for the created export. Required if `category` is equal to `entity_csv`.
|
|
48
49
|
entity_csv: nil,
|
|
50
|
+
# Options for the created export. Required if `category` is equal to `fee_csv`.
|
|
51
|
+
fee_csv: nil,
|
|
49
52
|
# Options for the created export. Required if `category` is equal to
|
|
50
53
|
# `funding_instructions`.
|
|
51
54
|
funding_instructions: nil,
|
|
@@ -76,6 +76,7 @@ module Increase
|
|
|
76
76
|
# The identifier of the Check Deposit you wish to submit.
|
|
77
77
|
check_deposit_id,
|
|
78
78
|
# If set, the simulation will use these values for the check's scanned MICR data.
|
|
79
|
+
# If not set, the simulation will use random values.
|
|
79
80
|
scan: nil,
|
|
80
81
|
request_options: {}
|
|
81
82
|
)
|
|
@@ -20,6 +20,7 @@ module Increase
|
|
|
20
20
|
end_to_end_identification: String,
|
|
21
21
|
instructing_agent_routing_number: String,
|
|
22
22
|
instruction_identification: String,
|
|
23
|
+
purpose: String,
|
|
23
24
|
unique_end_to_end_transaction_reference: String,
|
|
24
25
|
unstructured_remittance_information: String,
|
|
25
26
|
wire_drawdown_request_id: String,
|
|
@@ -64,6 +65,9 @@ module Increase
|
|
|
64
65
|
# The sending bank will set instruction_identification in production. You can
|
|
65
66
|
# simulate any value here.
|
|
66
67
|
instruction_identification: nil,
|
|
68
|
+
# The sending bank will set purpose in production. You can simulate any value
|
|
69
|
+
# here.
|
|
70
|
+
purpose: nil,
|
|
67
71
|
# The sending bank will set unique_end_to_end_transaction_reference in production.
|
|
68
72
|
# You can simulate any value here.
|
|
69
73
|
unique_end_to_end_transaction_reference: nil,
|
|
@@ -116,10 +116,10 @@ module Increase
|
|
|
116
116
|
module CreditDebitIndicator
|
|
117
117
|
extend Increase::Internal::Type::Enum
|
|
118
118
|
|
|
119
|
-
#
|
|
119
|
+
# Credit
|
|
120
120
|
CREDIT: :credit
|
|
121
121
|
|
|
122
|
-
#
|
|
122
|
+
# Debit
|
|
123
123
|
DEBIT: :debit
|
|
124
124
|
|
|
125
125
|
def self?.values: -> ::Array[Increase::Models::ACHPrenotification::credit_debit_indicator]
|
|
@@ -250,7 +250,8 @@ module Increase
|
|
|
250
250
|
def self?.values: -> ::Array[Increase::Models::ACHPrenotification::NotificationsOfChange::change_code]
|
|
251
251
|
end
|
|
252
252
|
|
|
253
|
-
type corrected_account_funding =
|
|
253
|
+
type corrected_account_funding =
|
|
254
|
+
:checking | :savings | :loan | :general_ledger
|
|
254
255
|
|
|
255
256
|
module CorrectedAccountFunding
|
|
256
257
|
extend Increase::Internal::Type::Enum
|
|
@@ -261,6 +262,9 @@ module Increase
|
|
|
261
262
|
# A savings account.
|
|
262
263
|
SAVINGS: :savings
|
|
263
264
|
|
|
265
|
+
# A loan account used in a lender-borrower relationship. Uncommon.
|
|
266
|
+
LOAN: :loan
|
|
267
|
+
|
|
264
268
|
# A bank's general ledger. Uncommon.
|
|
265
269
|
GENERAL_LEDGER: :general_ledger
|
|
266
270
|
|
|
@@ -111,10 +111,10 @@ module Increase
|
|
|
111
111
|
module CreditDebitIndicator
|
|
112
112
|
extend Increase::Internal::Type::Enum
|
|
113
113
|
|
|
114
|
-
#
|
|
114
|
+
# Credit
|
|
115
115
|
CREDIT: :credit
|
|
116
116
|
|
|
117
|
-
#
|
|
117
|
+
# Debit
|
|
118
118
|
DEBIT: :debit
|
|
119
119
|
|
|
120
120
|
def self?.values: -> ::Array[Increase::Models::ACHPrenotificationCreateParams::credit_debit_indicator]
|
|
@@ -433,7 +433,7 @@ module Increase
|
|
|
433
433
|
def self?.values: -> ::Array[Increase::Models::ACHTransfer::destination_account_holder]
|
|
434
434
|
end
|
|
435
435
|
|
|
436
|
-
type funding = :checking | :savings | :general_ledger
|
|
436
|
+
type funding = :checking | :savings | :loan | :general_ledger
|
|
437
437
|
|
|
438
438
|
module Funding
|
|
439
439
|
extend Increase::Internal::Type::Enum
|
|
@@ -444,6 +444,9 @@ module Increase
|
|
|
444
444
|
# A savings account.
|
|
445
445
|
SAVINGS: :savings
|
|
446
446
|
|
|
447
|
+
# A loan account used in a lender-borrower relationship. Uncommon.
|
|
448
|
+
LOAN: :loan
|
|
449
|
+
|
|
447
450
|
# A bank's general ledger. Uncommon.
|
|
448
451
|
GENERAL_LEDGER: :general_ledger
|
|
449
452
|
|
|
@@ -677,7 +680,8 @@ module Increase
|
|
|
677
680
|
def self?.values: -> ::Array[Increase::Models::ACHTransfer::NotificationsOfChange::change_code]
|
|
678
681
|
end
|
|
679
682
|
|
|
680
|
-
type corrected_account_funding =
|
|
683
|
+
type corrected_account_funding =
|
|
684
|
+
:checking | :savings | :loan | :general_ledger
|
|
681
685
|
|
|
682
686
|
module CorrectedAccountFunding
|
|
683
687
|
extend Increase::Internal::Type::Enum
|
|
@@ -688,6 +692,9 @@ module Increase
|
|
|
688
692
|
# A savings account.
|
|
689
693
|
SAVINGS: :savings
|
|
690
694
|
|
|
695
|
+
# A loan account used in a lender-borrower relationship. Uncommon.
|
|
696
|
+
LOAN: :loan
|
|
697
|
+
|
|
691
698
|
# A bank's general ledger. Uncommon.
|
|
692
699
|
GENERAL_LEDGER: :general_ledger
|
|
693
700
|
|
|
@@ -281,7 +281,7 @@ module Increase
|
|
|
281
281
|
def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::destination_account_holder]
|
|
282
282
|
end
|
|
283
283
|
|
|
284
|
-
type funding = :checking | :savings | :general_ledger
|
|
284
|
+
type funding = :checking | :savings | :loan | :general_ledger
|
|
285
285
|
|
|
286
286
|
module Funding
|
|
287
287
|
extend Increase::Internal::Type::Enum
|
|
@@ -292,6 +292,9 @@ module Increase
|
|
|
292
292
|
# A savings account.
|
|
293
293
|
SAVINGS: :savings
|
|
294
294
|
|
|
295
|
+
# A loan account used in a lender-borrower relationship. Uncommon.
|
|
296
|
+
LOAN: :loan
|
|
297
|
+
|
|
295
298
|
# A bank's general ledger. Uncommon.
|
|
296
299
|
GENERAL_LEDGER: :general_ledger
|
|
297
300
|
|
|
@@ -6,6 +6,7 @@ module Increase
|
|
|
6
6
|
account_id: String,
|
|
7
7
|
authorization_controls: Increase::Card::AuthorizationControls?,
|
|
8
8
|
billing_address: Increase::Card::BillingAddress,
|
|
9
|
+
bin: String,
|
|
9
10
|
created_at: Time,
|
|
10
11
|
description: String?,
|
|
11
12
|
digital_wallet: Increase::Card::DigitalWallet?,
|
|
@@ -27,6 +28,8 @@ module Increase
|
|
|
27
28
|
|
|
28
29
|
attr_accessor billing_address: Increase::Card::BillingAddress
|
|
29
30
|
|
|
31
|
+
attr_accessor bin: String
|
|
32
|
+
|
|
30
33
|
attr_accessor created_at: Time
|
|
31
34
|
|
|
32
35
|
attr_accessor description: String?
|
|
@@ -52,6 +55,7 @@ module Increase
|
|
|
52
55
|
account_id: String,
|
|
53
56
|
authorization_controls: Increase::Card::AuthorizationControls?,
|
|
54
57
|
billing_address: Increase::Card::BillingAddress,
|
|
58
|
+
bin: String,
|
|
55
59
|
created_at: Time,
|
|
56
60
|
description: String?,
|
|
57
61
|
digital_wallet: Increase::Card::DigitalWallet?,
|
|
@@ -69,6 +73,7 @@ module Increase
|
|
|
69
73
|
account_id: String,
|
|
70
74
|
authorization_controls: Increase::Card::AuthorizationControls?,
|
|
71
75
|
billing_address: Increase::Card::BillingAddress,
|
|
76
|
+
bin: String,
|
|
72
77
|
created_at: Time,
|
|
73
78
|
description: String?,
|
|
74
79
|
digital_wallet: Increase::Card::DigitalWallet?,
|
|
@@ -10,6 +10,7 @@ module Increase
|
|
|
10
10
|
idempotency_key: String?,
|
|
11
11
|
loss: Increase::CardDispute::Loss?,
|
|
12
12
|
network: Increase::Models::CardDispute::network,
|
|
13
|
+
rejection: Increase::CardDispute::Rejection?,
|
|
13
14
|
status: Increase::Models::CardDispute::status,
|
|
14
15
|
type: Increase::Models::CardDispute::type_,
|
|
15
16
|
user_submission_required_by: Time?,
|
|
@@ -35,6 +36,8 @@ module Increase
|
|
|
35
36
|
|
|
36
37
|
attr_accessor network: Increase::Models::CardDispute::network
|
|
37
38
|
|
|
39
|
+
attr_accessor rejection: Increase::CardDispute::Rejection?
|
|
40
|
+
|
|
38
41
|
attr_accessor status: Increase::Models::CardDispute::status
|
|
39
42
|
|
|
40
43
|
attr_accessor type: Increase::Models::CardDispute::type_
|
|
@@ -56,6 +59,7 @@ module Increase
|
|
|
56
59
|
idempotency_key: String?,
|
|
57
60
|
loss: Increase::CardDispute::Loss?,
|
|
58
61
|
network: Increase::Models::CardDispute::network,
|
|
62
|
+
rejection: Increase::CardDispute::Rejection?,
|
|
59
63
|
status: Increase::Models::CardDispute::status,
|
|
60
64
|
type: Increase::Models::CardDispute::type_,
|
|
61
65
|
user_submission_required_by: Time?,
|
|
@@ -73,6 +77,7 @@ module Increase
|
|
|
73
77
|
idempotency_key: String?,
|
|
74
78
|
loss: Increase::CardDispute::Loss?,
|
|
75
79
|
network: Increase::Models::CardDispute::network,
|
|
80
|
+
rejection: Increase::CardDispute::Rejection?,
|
|
76
81
|
status: Increase::Models::CardDispute::status,
|
|
77
82
|
type: Increase::Models::CardDispute::type_,
|
|
78
83
|
user_submission_required_by: Time?,
|
|
@@ -128,6 +133,18 @@ module Increase
|
|
|
128
133
|
def self?.values: -> ::Array[Increase::Models::CardDispute::network]
|
|
129
134
|
end
|
|
130
135
|
|
|
136
|
+
type rejection = { explanation: String, rejected_at: Time }
|
|
137
|
+
|
|
138
|
+
class Rejection < Increase::Internal::Type::BaseModel
|
|
139
|
+
attr_accessor explanation: String
|
|
140
|
+
|
|
141
|
+
attr_accessor rejected_at: Time
|
|
142
|
+
|
|
143
|
+
def initialize: (explanation: String, rejected_at: Time) -> void
|
|
144
|
+
|
|
145
|
+
def to_hash: -> { explanation: String, rejected_at: Time }
|
|
146
|
+
end
|
|
147
|
+
|
|
131
148
|
type status =
|
|
132
149
|
:user_submission_required
|
|
133
150
|
| :pending_user_submission_reviewing
|
|
@@ -136,6 +153,7 @@ module Increase
|
|
|
136
153
|
| :pending_response
|
|
137
154
|
| :lost
|
|
138
155
|
| :won
|
|
156
|
+
| :rejected
|
|
139
157
|
|
|
140
158
|
module Status
|
|
141
159
|
extend Increase::Internal::Type::Enum
|
|
@@ -161,6 +179,9 @@ module Increase
|
|
|
161
179
|
# The Card Dispute has been won and no further action can be taken.
|
|
162
180
|
WON: :won
|
|
163
181
|
|
|
182
|
+
# The Card Dispute has been reviewed and rejected, please review the explanation for more details.
|
|
183
|
+
REJECTED: :rejected
|
|
184
|
+
|
|
164
185
|
def self?.values: -> ::Array[Increase::Models::CardDispute::status]
|
|
165
186
|
end
|
|
166
187
|
|
|
@@ -117,6 +117,7 @@ module Increase
|
|
|
117
117
|
| :pending_response
|
|
118
118
|
| :lost
|
|
119
119
|
| :won
|
|
120
|
+
| :rejected
|
|
120
121
|
|
|
121
122
|
module In
|
|
122
123
|
extend Increase::Internal::Type::Enum
|
|
@@ -142,6 +143,9 @@ module Increase
|
|
|
142
143
|
# The Card Dispute has been won and no further action can be taken.
|
|
143
144
|
WON: :won
|
|
144
145
|
|
|
146
|
+
# The Card Dispute has been reviewed and rejected, please review the explanation for more details.
|
|
147
|
+
REJECTED: :rejected
|
|
148
|
+
|
|
145
149
|
def self?.values: -> ::Array[Increase::Models::CardDisputeListParams::Status::in_]
|
|
146
150
|
end
|
|
147
151
|
end
|
|
@@ -987,6 +987,7 @@ module Increase
|
|
|
987
987
|
digital_wallet_token_id: String?,
|
|
988
988
|
direction: Increase::Models::CardPayment::Element::CardAuthorization::direction,
|
|
989
989
|
expires_at: Time,
|
|
990
|
+
healthcare: Increase::CardPayment::Element::CardAuthorization::Healthcare?,
|
|
990
991
|
merchant_acceptor_id: String,
|
|
991
992
|
merchant_category_code: String,
|
|
992
993
|
merchant_city: String?,
|
|
@@ -1028,6 +1029,8 @@ module Increase
|
|
|
1028
1029
|
|
|
1029
1030
|
attr_accessor expires_at: Time
|
|
1030
1031
|
|
|
1032
|
+
attr_accessor healthcare: Increase::CardPayment::Element::CardAuthorization::Healthcare?
|
|
1033
|
+
|
|
1031
1034
|
attr_accessor merchant_acceptor_id: String
|
|
1032
1035
|
|
|
1033
1036
|
attr_accessor merchant_category_code: String
|
|
@@ -1078,6 +1081,7 @@ module Increase
|
|
|
1078
1081
|
digital_wallet_token_id: String?,
|
|
1079
1082
|
direction: Increase::Models::CardPayment::Element::CardAuthorization::direction,
|
|
1080
1083
|
expires_at: Time,
|
|
1084
|
+
healthcare: Increase::CardPayment::Element::CardAuthorization::Healthcare?,
|
|
1081
1085
|
merchant_acceptor_id: String,
|
|
1082
1086
|
merchant_category_code: String,
|
|
1083
1087
|
merchant_city: String?,
|
|
@@ -1110,6 +1114,7 @@ module Increase
|
|
|
1110
1114
|
digital_wallet_token_id: String?,
|
|
1111
1115
|
direction: Increase::Models::CardPayment::Element::CardAuthorization::direction,
|
|
1112
1116
|
expires_at: Time,
|
|
1117
|
+
healthcare: Increase::CardPayment::Element::CardAuthorization::Healthcare?,
|
|
1113
1118
|
merchant_acceptor_id: String,
|
|
1114
1119
|
merchant_category_code: String,
|
|
1115
1120
|
merchant_city: String?,
|
|
@@ -1356,6 +1361,37 @@ module Increase
|
|
|
1356
1361
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::direction]
|
|
1357
1362
|
end
|
|
1358
1363
|
|
|
1364
|
+
type healthcare =
|
|
1365
|
+
{
|
|
1366
|
+
merchant_ninety_percent_eligibility: Increase::Models::CardPayment::Element::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
class Healthcare < Increase::Internal::Type::BaseModel
|
|
1370
|
+
attr_accessor merchant_ninety_percent_eligibility: Increase::Models::CardPayment::Element::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
|
|
1371
|
+
|
|
1372
|
+
def initialize: (
|
|
1373
|
+
merchant_ninety_percent_eligibility: Increase::Models::CardPayment::Element::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
|
|
1374
|
+
) -> void
|
|
1375
|
+
|
|
1376
|
+
def to_hash: -> {
|
|
1377
|
+
merchant_ninety_percent_eligibility: Increase::Models::CardPayment::Element::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
type merchant_ninety_percent_eligibility = :eligible | :not_eligible
|
|
1381
|
+
|
|
1382
|
+
module MerchantNinetyPercentEligibility
|
|
1383
|
+
extend Increase::Internal::Type::Enum
|
|
1384
|
+
|
|
1385
|
+
# The merchant is eligible for treatment under the 90% rule.
|
|
1386
|
+
ELIGIBLE: :eligible
|
|
1387
|
+
|
|
1388
|
+
# The merchant is not eligible for treatment under the 90% rule.
|
|
1389
|
+
NOT_ELIGIBLE: :not_eligible
|
|
1390
|
+
|
|
1391
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility]
|
|
1392
|
+
end
|
|
1393
|
+
end
|
|
1394
|
+
|
|
1359
1395
|
type network_details =
|
|
1360
1396
|
{
|
|
1361
1397
|
category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category,
|
|
@@ -1646,6 +1682,7 @@ module Increase
|
|
|
1646
1682
|
| :quasi_cash
|
|
1647
1683
|
| :refund
|
|
1648
1684
|
| :cash_disbursement
|
|
1685
|
+
| :cash_deposit
|
|
1649
1686
|
| :balance_inquiry
|
|
1650
1687
|
| :unknown
|
|
1651
1688
|
|
|
@@ -1676,6 +1713,9 @@ module Increase
|
|
|
1676
1713
|
# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
|
|
1677
1714
|
CASH_DISBURSEMENT: :cash_disbursement
|
|
1678
1715
|
|
|
1716
|
+
# Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
|
|
1717
|
+
CASH_DEPOSIT: :cash_deposit
|
|
1718
|
+
|
|
1679
1719
|
# A balance inquiry transaction is used to check the balance of an account associated with a card.
|
|
1680
1720
|
BALANCE_INQUIRY: :balance_inquiry
|
|
1681
1721
|
|
|
@@ -3722,6 +3762,7 @@ module Increase
|
|
|
3722
3762
|
| :quasi_cash
|
|
3723
3763
|
| :refund
|
|
3724
3764
|
| :cash_disbursement
|
|
3765
|
+
| :cash_deposit
|
|
3725
3766
|
| :balance_inquiry
|
|
3726
3767
|
| :unknown
|
|
3727
3768
|
|
|
@@ -3752,6 +3793,9 @@ module Increase
|
|
|
3752
3793
|
# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
|
|
3753
3794
|
CASH_DISBURSEMENT: :cash_disbursement
|
|
3754
3795
|
|
|
3796
|
+
# Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
|
|
3797
|
+
CASH_DEPOSIT: :cash_deposit
|
|
3798
|
+
|
|
3755
3799
|
# A balance inquiry transaction is used to check the balance of an account associated with a card.
|
|
3756
3800
|
BALANCE_INQUIRY: :balance_inquiry
|
|
3757
3801
|
|
|
@@ -3852,7 +3896,7 @@ module Increase
|
|
|
3852
3896
|
# The attempted card transaction is not allowed per Increase's terms.
|
|
3853
3897
|
TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
|
|
3854
3898
|
|
|
3855
|
-
# The transaction was blocked by a
|
|
3899
|
+
# The transaction was blocked by a limit or an authorization control.
|
|
3856
3900
|
BREACHES_LIMIT: :breaches_limit
|
|
3857
3901
|
|
|
3858
3902
|
# Your application declined the transaction via webhook.
|
|
@@ -4885,6 +4929,7 @@ module Increase
|
|
|
4885
4929
|
| :quasi_cash
|
|
4886
4930
|
| :refund
|
|
4887
4931
|
| :cash_disbursement
|
|
4932
|
+
| :cash_deposit
|
|
4888
4933
|
| :balance_inquiry
|
|
4889
4934
|
| :unknown
|
|
4890
4935
|
|
|
@@ -4915,6 +4960,9 @@ module Increase
|
|
|
4915
4960
|
# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
|
|
4916
4961
|
CASH_DISBURSEMENT: :cash_disbursement
|
|
4917
4962
|
|
|
4963
|
+
# Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
|
|
4964
|
+
CASH_DEPOSIT: :cash_deposit
|
|
4965
|
+
|
|
4918
4966
|
# A balance inquiry transaction is used to check the balance of an account associated with a card.
|
|
4919
4967
|
BALANCE_INQUIRY: :balance_inquiry
|
|
4920
4968
|
|