increase 1.353.0 → 1.355.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/client.rb +18 -0
- data/lib/increase/models/ach_transfer.rb +3 -3
- data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
- data/lib/increase/models/card_create_details_token_params.rb +22 -0
- data/lib/increase/models/card_details_token.rb +57 -0
- data/lib/increase/models/card_payment.rb +29 -1
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_wallet_token.rb +18 -0
- data/lib/increase/models/digital_wallet_token_request.rb +307 -0
- data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
- data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
- data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
- data/lib/increase/models/entity.rb +35 -7
- data/lib/increase/models/entity_beneficial_owner.rb +1 -1
- data/lib/increase/models/entity_create_params.rb +1 -1
- data/lib/increase/models/export.rb +19 -19
- data/lib/increase/models/export_create_params.rb +15 -15
- data/lib/increase/models/export_list_params.rb +19 -19
- data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
- data/lib/increase/models/inbound_wire_transfer.rb +10 -1
- data/lib/increase/models/physical_check_batch.rb +266 -0
- data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
- data/lib/increase/models/real_time_decision.rb +9 -0
- data/lib/increase/models/real_time_decision_action_params.rb +3 -0
- data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
- data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
- data/lib/increase/models/transaction.rb +36 -2
- data/lib/increase/models.rb +42 -0
- data/lib/increase/resources/cards.rb +23 -0
- data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
- data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
- data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
- data/lib/increase/resources/physical_check_batches.rb +86 -0
- data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
- data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +25 -0
- data/rbi/increase/client.rbi +14 -0
- data/rbi/increase/models/ach_transfer.rbi +3 -3
- data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
- data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
- data/rbi/increase/models/card_details_token.rbi +85 -0
- data/rbi/increase/models/card_payment.rbi +59 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_wallet_token.rbi +42 -0
- data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
- data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
- data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
- data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
- data/rbi/increase/models/entity.rbi +71 -6
- data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
- data/rbi/increase/models/entity_create_params.rbi +1 -1
- data/rbi/increase/models/export.rbi +32 -32
- data/rbi/increase/models/export_create_params.rbi +29 -29
- data/rbi/increase/models/export_list_params.rbi +37 -37
- data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
- data/rbi/increase/models/physical_check_batch.rbi +382 -0
- data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
- data/rbi/increase/models/real_time_decision.rbi +21 -0
- data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
- data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
- data/rbi/increase/models/transaction.rbi +60 -0
- data/rbi/increase/models.rbi +50 -0
- data/rbi/increase/resources/cards.rbi +17 -0
- data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
- data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
- data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
- data/rbi/increase/resources/physical_check_batches.rbi +66 -0
- data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
- data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +8 -0
- data/sig/increase/models/ach_transfer.rbs +4 -4
- data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
- data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
- data/sig/increase/models/card_create_details_token_params.rbs +23 -0
- data/sig/increase/models/card_details_token.rbs +40 -0
- data/sig/increase/models/card_payment.rbs +23 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +36 -3
- data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
- data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
- data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
- data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
- data/sig/increase/models/entity.rbs +25 -6
- data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
- data/sig/increase/models/entity_create_params.rbs +1 -1
- data/sig/increase/models/export.rbs +28 -28
- data/sig/increase/models/export_create_params.rbs +22 -22
- data/sig/increase/models/export_list_params.rbs +28 -28
- data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
- data/sig/increase/models/physical_check_batch.rbs +193 -0
- data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
- data/sig/increase/models/real_time_decision.rbs +14 -2
- data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
- data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
- data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
- data/sig/increase/models/transaction.rbs +24 -0
- data/sig/increase/models.rbs +36 -0
- data/sig/increase/resources/cards.rbs +5 -0
- data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
- data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
- data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
- data/sig/increase/resources/physical_check_batches.rbs +24 -0
- data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
- data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +77 -2
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_request =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
card_id: String,
|
|
7
|
+
created_at: Time,
|
|
8
|
+
declined: Increase::DigitalWalletTokenRequest::Declined?,
|
|
9
|
+
device: Increase::DigitalWalletTokenRequest::Device,
|
|
10
|
+
outcome: Increase::Models::DigitalWalletTokenRequest::outcome,
|
|
11
|
+
provisioned: Increase::DigitalWalletTokenRequest::Provisioned?,
|
|
12
|
+
token_reference_identifier: String,
|
|
13
|
+
token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor,
|
|
14
|
+
type: Increase::Models::DigitalWalletTokenRequest::type_
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class DigitalWalletTokenRequest < Increase::Internal::Type::BaseModel
|
|
18
|
+
attr_accessor id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor card_id: String
|
|
21
|
+
|
|
22
|
+
attr_accessor created_at: Time
|
|
23
|
+
|
|
24
|
+
attr_accessor declined: Increase::DigitalWalletTokenRequest::Declined?
|
|
25
|
+
|
|
26
|
+
attr_accessor device: Increase::DigitalWalletTokenRequest::Device
|
|
27
|
+
|
|
28
|
+
attr_accessor outcome: Increase::Models::DigitalWalletTokenRequest::outcome
|
|
29
|
+
|
|
30
|
+
attr_accessor provisioned: Increase::DigitalWalletTokenRequest::Provisioned?
|
|
31
|
+
|
|
32
|
+
attr_accessor token_reference_identifier: String
|
|
33
|
+
|
|
34
|
+
attr_accessor token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor
|
|
35
|
+
|
|
36
|
+
attr_accessor type: Increase::Models::DigitalWalletTokenRequest::type_
|
|
37
|
+
|
|
38
|
+
def initialize: (
|
|
39
|
+
id: String,
|
|
40
|
+
card_id: String,
|
|
41
|
+
created_at: Time,
|
|
42
|
+
declined: Increase::DigitalWalletTokenRequest::Declined?,
|
|
43
|
+
device: Increase::DigitalWalletTokenRequest::Device,
|
|
44
|
+
outcome: Increase::Models::DigitalWalletTokenRequest::outcome,
|
|
45
|
+
provisioned: Increase::DigitalWalletTokenRequest::Provisioned?,
|
|
46
|
+
token_reference_identifier: String,
|
|
47
|
+
token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor,
|
|
48
|
+
type: Increase::Models::DigitalWalletTokenRequest::type_
|
|
49
|
+
) -> void
|
|
50
|
+
|
|
51
|
+
def to_hash: -> {
|
|
52
|
+
id: String,
|
|
53
|
+
card_id: String,
|
|
54
|
+
created_at: Time,
|
|
55
|
+
declined: Increase::DigitalWalletTokenRequest::Declined?,
|
|
56
|
+
device: Increase::DigitalWalletTokenRequest::Device,
|
|
57
|
+
outcome: Increase::Models::DigitalWalletTokenRequest::outcome,
|
|
58
|
+
provisioned: Increase::DigitalWalletTokenRequest::Provisioned?,
|
|
59
|
+
token_reference_identifier: String,
|
|
60
|
+
token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor,
|
|
61
|
+
type: Increase::Models::DigitalWalletTokenRequest::type_
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
type declined =
|
|
65
|
+
{
|
|
66
|
+
reason: Increase::Models::DigitalWalletTokenRequest::Declined::reason
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
class Declined < Increase::Internal::Type::BaseModel
|
|
70
|
+
attr_accessor reason: Increase::Models::DigitalWalletTokenRequest::Declined::reason
|
|
71
|
+
|
|
72
|
+
def initialize: (
|
|
73
|
+
reason: Increase::Models::DigitalWalletTokenRequest::Declined::reason
|
|
74
|
+
) -> void
|
|
75
|
+
|
|
76
|
+
def to_hash: -> {
|
|
77
|
+
reason: Increase::Models::DigitalWalletTokenRequest::Declined::reason
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
type reason =
|
|
81
|
+
:card_not_active
|
|
82
|
+
| :no_verification_method
|
|
83
|
+
| :webhook_timed_out
|
|
84
|
+
| :webhook_declined
|
|
85
|
+
| :incorrect_card_verification_code
|
|
86
|
+
| :declined_by_token_requestor
|
|
87
|
+
| :group_locked
|
|
88
|
+
| :account_closed
|
|
89
|
+
| :entity_not_active
|
|
90
|
+
|
|
91
|
+
module Reason
|
|
92
|
+
extend Increase::Internal::Type::Enum
|
|
93
|
+
|
|
94
|
+
# The card is not active.
|
|
95
|
+
CARD_NOT_ACTIVE: :card_not_active
|
|
96
|
+
|
|
97
|
+
# The card does not have a two-factor authentication method.
|
|
98
|
+
NO_VERIFICATION_METHOD: :no_verification_method
|
|
99
|
+
|
|
100
|
+
# Your webhook timed out when evaluating the token provisioning attempt.
|
|
101
|
+
WEBHOOK_TIMED_OUT: :webhook_timed_out
|
|
102
|
+
|
|
103
|
+
# Your webhook declined the token provisioning attempt.
|
|
104
|
+
WEBHOOK_DECLINED: :webhook_declined
|
|
105
|
+
|
|
106
|
+
# The tokenization attempt failed because the Card Verification Code (CVC) was incorrect.
|
|
107
|
+
INCORRECT_CARD_VERIFICATION_CODE: :incorrect_card_verification_code
|
|
108
|
+
|
|
109
|
+
# The tokenization attempt was declined by the token requestor.
|
|
110
|
+
DECLINED_BY_TOKEN_REQUESTOR: :declined_by_token_requestor
|
|
111
|
+
|
|
112
|
+
# The group was locked.
|
|
113
|
+
GROUP_LOCKED: :group_locked
|
|
114
|
+
|
|
115
|
+
# The account has been closed.
|
|
116
|
+
ACCOUNT_CLOSED: :account_closed
|
|
117
|
+
|
|
118
|
+
# The account's entity was not active.
|
|
119
|
+
ENTITY_NOT_ACTIVE: :entity_not_active
|
|
120
|
+
|
|
121
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::Declined::reason]
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
type device =
|
|
126
|
+
{
|
|
127
|
+
device_type: Increase::Models::DigitalWalletTokenRequest::Device::device_type?,
|
|
128
|
+
identifier: String?,
|
|
129
|
+
ip_address: String?,
|
|
130
|
+
name: String?
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
class Device < Increase::Internal::Type::BaseModel
|
|
134
|
+
attr_accessor device_type: Increase::Models::DigitalWalletTokenRequest::Device::device_type?
|
|
135
|
+
|
|
136
|
+
attr_accessor identifier: String?
|
|
137
|
+
|
|
138
|
+
attr_accessor ip_address: String?
|
|
139
|
+
|
|
140
|
+
attr_accessor name: String?
|
|
141
|
+
|
|
142
|
+
def initialize: (
|
|
143
|
+
device_type: Increase::Models::DigitalWalletTokenRequest::Device::device_type?,
|
|
144
|
+
identifier: String?,
|
|
145
|
+
ip_address: String?,
|
|
146
|
+
name: String?
|
|
147
|
+
) -> void
|
|
148
|
+
|
|
149
|
+
def to_hash: -> {
|
|
150
|
+
device_type: Increase::Models::DigitalWalletTokenRequest::Device::device_type?,
|
|
151
|
+
identifier: String?,
|
|
152
|
+
ip_address: String?,
|
|
153
|
+
name: String?
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
type device_type =
|
|
157
|
+
:unknown
|
|
158
|
+
| :mobile_phone
|
|
159
|
+
| :tablet
|
|
160
|
+
| :watch
|
|
161
|
+
| :mobilephone_or_tablet
|
|
162
|
+
| :pc
|
|
163
|
+
| :household_device
|
|
164
|
+
| :wearable_device
|
|
165
|
+
| :automobile_device
|
|
166
|
+
|
|
167
|
+
module DeviceType
|
|
168
|
+
extend Increase::Internal::Type::Enum
|
|
169
|
+
|
|
170
|
+
# Unknown
|
|
171
|
+
UNKNOWN: :unknown
|
|
172
|
+
|
|
173
|
+
# Mobile Phone
|
|
174
|
+
MOBILE_PHONE: :mobile_phone
|
|
175
|
+
|
|
176
|
+
# Tablet
|
|
177
|
+
TABLET: :tablet
|
|
178
|
+
|
|
179
|
+
# Watch
|
|
180
|
+
WATCH: :watch
|
|
181
|
+
|
|
182
|
+
# Mobile Phone or Tablet
|
|
183
|
+
MOBILEPHONE_OR_TABLET: :mobilephone_or_tablet
|
|
184
|
+
|
|
185
|
+
# PC
|
|
186
|
+
PC: :pc
|
|
187
|
+
|
|
188
|
+
# Household Device
|
|
189
|
+
HOUSEHOLD_DEVICE: :household_device
|
|
190
|
+
|
|
191
|
+
# Wearable Device
|
|
192
|
+
WEARABLE_DEVICE: :wearable_device
|
|
193
|
+
|
|
194
|
+
# Automobile Device
|
|
195
|
+
AUTOMOBILE_DEVICE: :automobile_device
|
|
196
|
+
|
|
197
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::Device::device_type]
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
type outcome = :provisioned | :declined
|
|
202
|
+
|
|
203
|
+
module Outcome
|
|
204
|
+
extend Increase::Internal::Type::Enum
|
|
205
|
+
|
|
206
|
+
# The tokenization request was approved and a Digital Wallet Token was provisioned.
|
|
207
|
+
PROVISIONED: :provisioned
|
|
208
|
+
|
|
209
|
+
# The tokenization request was declined.
|
|
210
|
+
DECLINED: :declined
|
|
211
|
+
|
|
212
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::outcome]
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
type provisioned = { digital_wallet_token_id: String }
|
|
216
|
+
|
|
217
|
+
class Provisioned < Increase::Internal::Type::BaseModel
|
|
218
|
+
attr_accessor digital_wallet_token_id: String
|
|
219
|
+
|
|
220
|
+
def initialize: (digital_wallet_token_id: String) -> void
|
|
221
|
+
|
|
222
|
+
def to_hash: -> { digital_wallet_token_id: String }
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
type token_requestor =
|
|
226
|
+
:apple_pay | :google_pay | :samsung_pay | :garmin_pay | :unknown
|
|
227
|
+
|
|
228
|
+
module TokenRequestor
|
|
229
|
+
extend Increase::Internal::Type::Enum
|
|
230
|
+
|
|
231
|
+
# Apple Pay
|
|
232
|
+
APPLE_PAY: :apple_pay
|
|
233
|
+
|
|
234
|
+
# Google Pay
|
|
235
|
+
GOOGLE_PAY: :google_pay
|
|
236
|
+
|
|
237
|
+
# Samsung Pay
|
|
238
|
+
SAMSUNG_PAY: :samsung_pay
|
|
239
|
+
|
|
240
|
+
# Garmin Pay
|
|
241
|
+
GARMIN_PAY: :garmin_pay
|
|
242
|
+
|
|
243
|
+
# Unknown
|
|
244
|
+
UNKNOWN: :unknown
|
|
245
|
+
|
|
246
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::token_requestor]
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
type type_ = :digital_wallet_token_request
|
|
250
|
+
|
|
251
|
+
module Type
|
|
252
|
+
extend Increase::Internal::Type::Enum
|
|
253
|
+
|
|
254
|
+
DIGITAL_WALLET_TOKEN_REQUEST: :digital_wallet_token_request
|
|
255
|
+
|
|
256
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::type_]
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
end
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_request_list_params =
|
|
4
|
+
{
|
|
5
|
+
card_id: String,
|
|
6
|
+
created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt,
|
|
7
|
+
cursor: String,
|
|
8
|
+
limit: Integer
|
|
9
|
+
}
|
|
10
|
+
& Increase::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class DigitalWalletTokenRequestListParams < Increase::Internal::Type::BaseModel
|
|
13
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Increase::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_reader card_id: String?
|
|
17
|
+
|
|
18
|
+
def card_id=: (String) -> String
|
|
19
|
+
|
|
20
|
+
attr_reader created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt?
|
|
21
|
+
|
|
22
|
+
def created_at=: (
|
|
23
|
+
Increase::DigitalWalletTokenRequestListParams::CreatedAt
|
|
24
|
+
) -> Increase::DigitalWalletTokenRequestListParams::CreatedAt
|
|
25
|
+
|
|
26
|
+
attr_reader cursor: String?
|
|
27
|
+
|
|
28
|
+
def cursor=: (String) -> String
|
|
29
|
+
|
|
30
|
+
attr_reader limit: Integer?
|
|
31
|
+
|
|
32
|
+
def limit=: (Integer) -> Integer
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
?card_id: String,
|
|
36
|
+
?created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt,
|
|
37
|
+
?cursor: String,
|
|
38
|
+
?limit: Integer,
|
|
39
|
+
?request_options: Increase::request_opts
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
card_id: String,
|
|
44
|
+
created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt,
|
|
45
|
+
cursor: String,
|
|
46
|
+
limit: Integer,
|
|
47
|
+
request_options: Increase::RequestOptions
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type created_at =
|
|
51
|
+
{ after: Time, before: Time, on_or_after: Time, on_or_before: Time }
|
|
52
|
+
|
|
53
|
+
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
54
|
+
attr_reader after: Time?
|
|
55
|
+
|
|
56
|
+
def after=: (Time) -> Time
|
|
57
|
+
|
|
58
|
+
attr_reader before: Time?
|
|
59
|
+
|
|
60
|
+
def before=: (Time) -> Time
|
|
61
|
+
|
|
62
|
+
attr_reader on_or_after: Time?
|
|
63
|
+
|
|
64
|
+
def on_or_after=: (Time) -> Time
|
|
65
|
+
|
|
66
|
+
attr_reader on_or_before: Time?
|
|
67
|
+
|
|
68
|
+
def on_or_before=: (Time) -> Time
|
|
69
|
+
|
|
70
|
+
def initialize: (
|
|
71
|
+
?after: Time,
|
|
72
|
+
?before: Time,
|
|
73
|
+
?on_or_after: Time,
|
|
74
|
+
?on_or_before: Time
|
|
75
|
+
) -> void
|
|
76
|
+
|
|
77
|
+
def to_hash: -> {
|
|
78
|
+
after: Time,
|
|
79
|
+
before: Time,
|
|
80
|
+
on_or_after: Time,
|
|
81
|
+
on_or_before: Time
|
|
82
|
+
}
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_request_retrieve_params =
|
|
4
|
+
{ digital_wallet_token_request_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class DigitalWalletTokenRequestRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor digital_wallet_token_request_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
digital_wallet_token_request_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
digital_wallet_token_request_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_transition_params =
|
|
4
|
+
{
|
|
5
|
+
digital_wallet_token_id: String,
|
|
6
|
+
status: Increase::Models::DigitalWalletTokenTransitionParams::status
|
|
7
|
+
}
|
|
8
|
+
& Increase::Internal::Type::request_parameters
|
|
9
|
+
|
|
10
|
+
class DigitalWalletTokenTransitionParams < Increase::Internal::Type::BaseModel
|
|
11
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
12
|
+
include Increase::Internal::Type::RequestParameters
|
|
13
|
+
|
|
14
|
+
attr_accessor digital_wallet_token_id: String
|
|
15
|
+
|
|
16
|
+
attr_accessor status: Increase::Models::DigitalWalletTokenTransitionParams::status
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
digital_wallet_token_id: String,
|
|
20
|
+
status: Increase::Models::DigitalWalletTokenTransitionParams::status,
|
|
21
|
+
?request_options: Increase::request_opts
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
digital_wallet_token_id: String,
|
|
26
|
+
status: Increase::Models::DigitalWalletTokenTransitionParams::status,
|
|
27
|
+
request_options: Increase::RequestOptions
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type status = :active | :suspended | :deactivated
|
|
31
|
+
|
|
32
|
+
module Status
|
|
33
|
+
extend Increase::Internal::Type::Enum
|
|
34
|
+
|
|
35
|
+
# Reactivate a suspended Digital Wallet Token.
|
|
36
|
+
ACTIVE: :active
|
|
37
|
+
|
|
38
|
+
# Temporarily pause an active Digital Wallet Token.
|
|
39
|
+
SUSPENDED: :suspended
|
|
40
|
+
|
|
41
|
+
# Permanently cancel an active, inactive, or suspended Digital Wallet Token.
|
|
42
|
+
DEACTIVATED: :deactivated
|
|
43
|
+
|
|
44
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenTransitionParams::status]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -348,7 +348,7 @@ module Increase
|
|
|
348
348
|
# A social security number.
|
|
349
349
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
350
350
|
|
|
351
|
-
# The last four digits of a social security number.
|
|
351
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
352
352
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
353
353
|
|
|
354
354
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -690,7 +690,7 @@ module Increase
|
|
|
690
690
|
# A social security number.
|
|
691
691
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
692
692
|
|
|
693
|
-
# The last four digits of a social security number.
|
|
693
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
694
694
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
695
695
|
|
|
696
696
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -819,7 +819,7 @@ module Increase
|
|
|
819
819
|
# A social security number.
|
|
820
820
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
821
821
|
|
|
822
|
-
# The last four digits of a social security number.
|
|
822
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
823
823
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
824
824
|
|
|
825
825
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -1071,7 +1071,7 @@ module Increase
|
|
|
1071
1071
|
# A social security number.
|
|
1072
1072
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
1073
1073
|
|
|
1074
|
-
# The last four digits of a social security number.
|
|
1074
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
1075
1075
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
1076
1076
|
|
|
1077
1077
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -1424,7 +1424,7 @@ module Increase
|
|
|
1424
1424
|
# A social security number.
|
|
1425
1425
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
1426
1426
|
|
|
1427
|
-
# The last four digits of a social security number.
|
|
1427
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
1428
1428
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
1429
1429
|
|
|
1430
1430
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -1573,7 +1573,7 @@ module Increase
|
|
|
1573
1573
|
# A social security number.
|
|
1574
1574
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
1575
1575
|
|
|
1576
|
-
# The last four digits of a social security number.
|
|
1576
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
1577
1577
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
1578
1578
|
|
|
1579
1579
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -1641,6 +1641,7 @@ module Increase
|
|
|
1641
1641
|
{
|
|
1642
1642
|
beneficial_owner_address: Increase::Entity::Validation::Issue::BeneficialOwnerAddress?,
|
|
1643
1643
|
beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?,
|
|
1644
|
+
beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?,
|
|
1644
1645
|
category: Increase::Models::Entity::Validation::Issue::category,
|
|
1645
1646
|
entity_address: Increase::Entity::Validation::Issue::EntityAddress?,
|
|
1646
1647
|
entity_identity: Increase::Entity::Validation::Issue::EntityIdentity?,
|
|
@@ -1652,6 +1653,8 @@ module Increase
|
|
|
1652
1653
|
|
|
1653
1654
|
attr_accessor beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?
|
|
1654
1655
|
|
|
1656
|
+
attr_accessor beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?
|
|
1657
|
+
|
|
1655
1658
|
attr_accessor category: Increase::Models::Entity::Validation::Issue::category
|
|
1656
1659
|
|
|
1657
1660
|
attr_accessor entity_address: Increase::Entity::Validation::Issue::EntityAddress?
|
|
@@ -1663,6 +1666,7 @@ module Increase
|
|
|
1663
1666
|
def initialize: (
|
|
1664
1667
|
beneficial_owner_address: Increase::Entity::Validation::Issue::BeneficialOwnerAddress?,
|
|
1665
1668
|
beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?,
|
|
1669
|
+
beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?,
|
|
1666
1670
|
category: Increase::Models::Entity::Validation::Issue::category,
|
|
1667
1671
|
entity_address: Increase::Entity::Validation::Issue::EntityAddress?,
|
|
1668
1672
|
entity_identity: Increase::Entity::Validation::Issue::EntityIdentity?,
|
|
@@ -1672,6 +1676,7 @@ module Increase
|
|
|
1672
1676
|
def to_hash: -> {
|
|
1673
1677
|
beneficial_owner_address: Increase::Entity::Validation::Issue::BeneficialOwnerAddress?,
|
|
1674
1678
|
beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?,
|
|
1679
|
+
beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?,
|
|
1675
1680
|
category: Increase::Models::Entity::Validation::Issue::category,
|
|
1676
1681
|
entity_address: Increase::Entity::Validation::Issue::EntityAddress?,
|
|
1677
1682
|
entity_identity: Increase::Entity::Validation::Issue::EntityIdentity?,
|
|
@@ -1721,12 +1726,23 @@ module Increase
|
|
|
1721
1726
|
def to_hash: -> { beneficial_owner_id: String }
|
|
1722
1727
|
end
|
|
1723
1728
|
|
|
1729
|
+
type beneficial_owner_tax_identifier = { beneficial_owner_id: String }
|
|
1730
|
+
|
|
1731
|
+
class BeneficialOwnerTaxIdentifier < Increase::Internal::Type::BaseModel
|
|
1732
|
+
attr_accessor beneficial_owner_id: String
|
|
1733
|
+
|
|
1734
|
+
def initialize: (beneficial_owner_id: String) -> void
|
|
1735
|
+
|
|
1736
|
+
def to_hash: -> { beneficial_owner_id: String }
|
|
1737
|
+
end
|
|
1738
|
+
|
|
1724
1739
|
type category =
|
|
1725
1740
|
:entity_tax_identifier
|
|
1726
1741
|
| :entity_address
|
|
1727
1742
|
| :entity_identity
|
|
1728
1743
|
| :beneficial_owner_identity
|
|
1729
1744
|
| :beneficial_owner_address
|
|
1745
|
+
| :beneficial_owner_tax_identifier
|
|
1730
1746
|
|
|
1731
1747
|
module Category
|
|
1732
1748
|
extend Increase::Internal::Type::Enum
|
|
@@ -1746,6 +1762,9 @@ module Increase
|
|
|
1746
1762
|
# A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
|
|
1747
1763
|
BENEFICIAL_OWNER_ADDRESS: :beneficial_owner_address
|
|
1748
1764
|
|
|
1765
|
+
# A beneficial owner's full tax identifier is required. A non-US person can submit a passport or driver's license. Make changes via the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
|
|
1766
|
+
BENEFICIAL_OWNER_TAX_IDENTIFIER: :beneficial_owner_tax_identifier
|
|
1767
|
+
|
|
1749
1768
|
def self?.values: -> ::Array[Increase::Models::Entity::Validation::Issue::category]
|
|
1750
1769
|
end
|
|
1751
1770
|
|
|
@@ -159,7 +159,7 @@ module Increase
|
|
|
159
159
|
# A social security number.
|
|
160
160
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
161
161
|
|
|
162
|
-
# The last four digits of a social security number.
|
|
162
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
163
163
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
164
164
|
|
|
165
165
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -443,7 +443,7 @@ module Increase
|
|
|
443
443
|
# A social security number.
|
|
444
444
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
445
445
|
|
|
446
|
-
# The last four digits of a social security number.
|
|
446
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
447
447
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
448
448
|
|
|
449
449
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -253,33 +253,33 @@ module Increase
|
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
type category =
|
|
256
|
-
:
|
|
257
|
-
| :
|
|
258
|
-
| :
|
|
256
|
+
:account_statement_bai2
|
|
257
|
+
| :account_statement_ofx
|
|
258
|
+
| :account_verification_letter
|
|
259
259
|
| :balance_csv
|
|
260
260
|
| :bookkeeping_account_balance_csv
|
|
261
|
-
| :
|
|
262
|
-
| :vendor_csv
|
|
261
|
+
| :daily_account_balance_csv
|
|
263
262
|
| :dashboard_table_csv
|
|
264
|
-
| :
|
|
265
|
-
| :
|
|
263
|
+
| :entity_csv
|
|
264
|
+
| :fee_csv
|
|
266
265
|
| :form_1099_int
|
|
267
266
|
| :form_1099_misc
|
|
268
|
-
| :
|
|
267
|
+
| :funding_instructions
|
|
268
|
+
| :transaction_csv
|
|
269
|
+
| :vendor_csv
|
|
269
270
|
| :voided_check
|
|
270
|
-
| :daily_account_balance_csv
|
|
271
271
|
|
|
272
272
|
module Category
|
|
273
273
|
extend Increase::Internal::Type::Enum
|
|
274
274
|
|
|
275
|
-
# Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
|
|
276
|
-
ACCOUNT_STATEMENT_OFX: :account_statement_ofx
|
|
277
|
-
|
|
278
275
|
# Export a BAI2 file of transactions and balances for a given date and optional Account.
|
|
279
276
|
ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
|
|
280
277
|
|
|
281
|
-
# Export
|
|
282
|
-
|
|
278
|
+
# Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
|
|
279
|
+
ACCOUNT_STATEMENT_OFX: :account_statement_ofx
|
|
280
|
+
|
|
281
|
+
# A PDF of an account verification letter.
|
|
282
|
+
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
|
283
283
|
|
|
284
284
|
# Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
|
|
285
285
|
BALANCE_CSV: :balance_csv
|
|
@@ -287,20 +287,17 @@ module Increase
|
|
|
287
287
|
# Export a CSV of bookkeeping account balances for the dates in a given range.
|
|
288
288
|
BOOKKEEPING_ACCOUNT_BALANCE_CSV: :bookkeeping_account_balance_csv
|
|
289
289
|
|
|
290
|
-
# Export a CSV of
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
# Export a CSV of vendors added to the third-party risk management dashboard.
|
|
294
|
-
VENDOR_CSV: :vendor_csv
|
|
290
|
+
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
291
|
+
DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
|
|
295
292
|
|
|
296
293
|
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
297
294
|
DASHBOARD_TABLE_CSV: :dashboard_table_csv
|
|
298
295
|
|
|
299
|
-
#
|
|
300
|
-
|
|
296
|
+
# Export a CSV of entities with a given status.
|
|
297
|
+
ENTITY_CSV: :entity_csv
|
|
301
298
|
|
|
302
|
-
#
|
|
303
|
-
|
|
299
|
+
# Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
|
|
300
|
+
FEE_CSV: :fee_csv
|
|
304
301
|
|
|
305
302
|
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
306
303
|
FORM_1099_INT: :form_1099_int
|
|
@@ -308,15 +305,18 @@ module Increase
|
|
|
308
305
|
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
309
306
|
FORM_1099_MISC: :form_1099_misc
|
|
310
307
|
|
|
311
|
-
#
|
|
312
|
-
|
|
308
|
+
# A PDF of funding instructions.
|
|
309
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
|
310
|
+
|
|
311
|
+
# Export a CSV of all transactions for a given time range.
|
|
312
|
+
TRANSACTION_CSV: :transaction_csv
|
|
313
|
+
|
|
314
|
+
# Export a CSV of vendors added to the third-party risk management dashboard.
|
|
315
|
+
VENDOR_CSV: :vendor_csv
|
|
313
316
|
|
|
314
317
|
# A PDF of a voided check.
|
|
315
318
|
VOIDED_CHECK: :voided_check
|
|
316
319
|
|
|
317
|
-
# Export a CSV of daily account balances with starting and ending balances for a given date range.
|
|
318
|
-
DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
|
|
319
|
-
|
|
320
320
|
def self?.values: -> ::Array[Increase::Models::Export::category]
|
|
321
321
|
end
|
|
322
322
|
|