increase 1.203.0 → 1.205.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/account_transfer.rb +25 -25
- data/lib/increase/models/ach_prenotification.rb +8 -8
- data/lib/increase/models/ach_transfer.rb +36 -36
- data/lib/increase/models/card_dispute.rb +79 -79
- data/lib/increase/models/card_payment.rb +82 -82
- data/lib/increase/models/card_push_transfer.rb +25 -25
- data/lib/increase/models/card_validation.rb +25 -25
- data/lib/increase/models/check_transfer.rb +25 -25
- data/lib/increase/models/declined_transaction.rb +53 -53
- data/lib/increase/models/fednow_transfer.rb +25 -25
- data/lib/increase/models/pending_transaction.rb +85 -85
- data/lib/increase/models/real_time_payments_transfer.rb +25 -25
- data/lib/increase/models/simulations/ach_transfer_return_params.rb +8 -8
- data/lib/increase/models/swift_transfer.rb +25 -25
- data/lib/increase/models/transaction.rb +181 -181
- data/lib/increase/models/wire_transfer.rb +28 -28
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_transfer.rbi +40 -40
- data/rbi/increase/models/ach_prenotification.rbi +8 -8
- data/rbi/increase/models/ach_transfer.rbi +50 -50
- data/rbi/increase/models/card_dispute.rbi +141 -141
- data/rbi/increase/models/card_payment.rbi +144 -144
- data/rbi/increase/models/card_push_transfer.rbi +40 -40
- data/rbi/increase/models/card_validation.rbi +40 -40
- data/rbi/increase/models/check_transfer.rbi +40 -40
- data/rbi/increase/models/declined_transaction.rbi +99 -99
- data/rbi/increase/models/fednow_transfer.rbi +40 -40
- data/rbi/increase/models/pending_transaction.rbi +163 -163
- data/rbi/increase/models/real_time_payments_transfer.rbi +44 -44
- data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +8 -8
- data/rbi/increase/models/swift_transfer.rbi +40 -40
- data/rbi/increase/models/transaction.rbi +542 -542
- data/rbi/increase/models/wire_transfer.rbi +42 -42
- data/sig/increase/models/account_transfer.rbs +17 -17
- data/sig/increase/models/ach_prenotification.rbs +8 -8
- data/sig/increase/models/ach_transfer.rbs +27 -27
- data/sig/increase/models/card_dispute.rbs +56 -56
- data/sig/increase/models/card_payment.rbs +81 -81
- data/sig/increase/models/card_push_transfer.rbs +17 -17
- data/sig/increase/models/card_validation.rbs +17 -17
- data/sig/increase/models/check_transfer.rbs +17 -17
- data/sig/increase/models/declined_transaction.rbs +52 -52
- data/sig/increase/models/fednow_transfer.rbs +17 -17
- data/sig/increase/models/pending_transaction.rbs +92 -92
- data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
- data/sig/increase/models/simulations/ach_transfer_return_params.rbs +8 -8
- data/sig/increase/models/swift_transfer.rbs +17 -17
- data/sig/increase/models/transaction.rbs +210 -210
- data/sig/increase/models/wire_transfer.rbs +19 -19
- metadata +2 -2
|
@@ -106,13 +106,13 @@ module Increase
|
|
|
106
106
|
|
|
107
107
|
type source =
|
|
108
108
|
{
|
|
109
|
+
category: Increase::Models::PendingTransaction::Source::category,
|
|
109
110
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
|
110
111
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
|
111
112
|
blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?,
|
|
112
113
|
blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
|
|
113
114
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
|
114
115
|
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
|
115
|
-
category: Increase::Models::PendingTransaction::Source::category,
|
|
116
116
|
check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
|
|
117
117
|
check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
|
|
118
118
|
fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?,
|
|
@@ -126,6 +126,8 @@ module Increase
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
class Source < Increase::Internal::Type::BaseModel
|
|
129
|
+
attr_accessor category: Increase::Models::PendingTransaction::Source::category
|
|
130
|
+
|
|
129
131
|
attr_accessor account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?
|
|
130
132
|
|
|
131
133
|
attr_accessor ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?
|
|
@@ -138,8 +140,6 @@ module Increase
|
|
|
138
140
|
|
|
139
141
|
attr_accessor card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?
|
|
140
142
|
|
|
141
|
-
attr_accessor category: Increase::Models::PendingTransaction::Source::category
|
|
142
|
-
|
|
143
143
|
attr_accessor check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?
|
|
144
144
|
|
|
145
145
|
attr_accessor check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?
|
|
@@ -161,33 +161,33 @@ module Increase
|
|
|
161
161
|
attr_accessor wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction?
|
|
162
162
|
|
|
163
163
|
def initialize: (
|
|
164
|
-
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
|
165
|
-
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
|
166
|
-
blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?,
|
|
167
|
-
blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
|
|
168
|
-
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
|
169
|
-
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
|
170
164
|
category: Increase::Models::PendingTransaction::Source::category,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
165
|
+
?account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
|
166
|
+
?ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
|
167
|
+
?blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?,
|
|
168
|
+
?blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
|
|
169
|
+
?card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
|
170
|
+
?card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
|
171
|
+
?check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
|
|
172
|
+
?check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
|
|
173
|
+
?fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?,
|
|
174
|
+
?inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?,
|
|
175
|
+
?inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
|
|
176
|
+
?other: Increase::PendingTransaction::Source::Other?,
|
|
177
|
+
?real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?,
|
|
178
|
+
?swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?,
|
|
179
|
+
?user_initiated_hold: ::Hash[Symbol, top]?,
|
|
180
|
+
?wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction?
|
|
181
181
|
) -> void
|
|
182
182
|
|
|
183
183
|
def to_hash: -> {
|
|
184
|
+
category: Increase::Models::PendingTransaction::Source::category,
|
|
184
185
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
|
185
186
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
|
186
187
|
blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?,
|
|
187
188
|
blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
|
|
188
189
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
|
189
190
|
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
|
190
|
-
category: Increase::Models::PendingTransaction::Source::category,
|
|
191
191
|
check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
|
|
192
192
|
check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
|
|
193
193
|
fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?,
|
|
@@ -200,6 +200,78 @@ module Increase
|
|
|
200
200
|
wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction?
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
type category =
|
|
204
|
+
:account_transfer_instruction
|
|
205
|
+
| :ach_transfer_instruction
|
|
206
|
+
| :card_authorization
|
|
207
|
+
| :check_deposit_instruction
|
|
208
|
+
| :check_transfer_instruction
|
|
209
|
+
| :fednow_transfer_instruction
|
|
210
|
+
| :inbound_funds_hold
|
|
211
|
+
| :user_initiated_hold
|
|
212
|
+
| :real_time_payments_transfer_instruction
|
|
213
|
+
| :wire_transfer_instruction
|
|
214
|
+
| :inbound_wire_transfer_reversal
|
|
215
|
+
| :swift_transfer_instruction
|
|
216
|
+
| :card_push_transfer_instruction
|
|
217
|
+
| :blockchain_onramp_transfer_instruction
|
|
218
|
+
| :blockchain_offramp_transfer_instruction
|
|
219
|
+
| :other
|
|
220
|
+
|
|
221
|
+
module Category
|
|
222
|
+
extend Increase::Internal::Type::Enum
|
|
223
|
+
|
|
224
|
+
# Account Transfer Instruction: details will be under the `account_transfer_instruction` object.
|
|
225
|
+
ACCOUNT_TRANSFER_INSTRUCTION: :account_transfer_instruction
|
|
226
|
+
|
|
227
|
+
# ACH Transfer Instruction: details will be under the `ach_transfer_instruction` object.
|
|
228
|
+
ACH_TRANSFER_INSTRUCTION: :ach_transfer_instruction
|
|
229
|
+
|
|
230
|
+
# Card Authorization: details will be under the `card_authorization` object.
|
|
231
|
+
CARD_AUTHORIZATION: :card_authorization
|
|
232
|
+
|
|
233
|
+
# Check Deposit Instruction: details will be under the `check_deposit_instruction` object.
|
|
234
|
+
CHECK_DEPOSIT_INSTRUCTION: :check_deposit_instruction
|
|
235
|
+
|
|
236
|
+
# Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
|
|
237
|
+
CHECK_TRANSFER_INSTRUCTION: :check_transfer_instruction
|
|
238
|
+
|
|
239
|
+
# FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
|
|
240
|
+
FEDNOW_TRANSFER_INSTRUCTION: :fednow_transfer_instruction
|
|
241
|
+
|
|
242
|
+
# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
|
|
243
|
+
INBOUND_FUNDS_HOLD: :inbound_funds_hold
|
|
244
|
+
|
|
245
|
+
# User Initiated Hold: details will be under the `user_initiated_hold` object.
|
|
246
|
+
USER_INITIATED_HOLD: :user_initiated_hold
|
|
247
|
+
|
|
248
|
+
# Real-Time Payments Transfer Instruction: details will be under the `real_time_payments_transfer_instruction` object.
|
|
249
|
+
REAL_TIME_PAYMENTS_TRANSFER_INSTRUCTION: :real_time_payments_transfer_instruction
|
|
250
|
+
|
|
251
|
+
# Wire Transfer Instruction: details will be under the `wire_transfer_instruction` object.
|
|
252
|
+
WIRE_TRANSFER_INSTRUCTION: :wire_transfer_instruction
|
|
253
|
+
|
|
254
|
+
# Inbound Wire Transfer Reversal: details will be under the `inbound_wire_transfer_reversal` object.
|
|
255
|
+
INBOUND_WIRE_TRANSFER_REVERSAL: :inbound_wire_transfer_reversal
|
|
256
|
+
|
|
257
|
+
# Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
|
|
258
|
+
SWIFT_TRANSFER_INSTRUCTION: :swift_transfer_instruction
|
|
259
|
+
|
|
260
|
+
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
|
261
|
+
CARD_PUSH_TRANSFER_INSTRUCTION: :card_push_transfer_instruction
|
|
262
|
+
|
|
263
|
+
# Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
|
|
264
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION: :blockchain_onramp_transfer_instruction
|
|
265
|
+
|
|
266
|
+
# Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
|
|
267
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION: :blockchain_offramp_transfer_instruction
|
|
268
|
+
|
|
269
|
+
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
270
|
+
OTHER: :other
|
|
271
|
+
|
|
272
|
+
def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::category]
|
|
273
|
+
end
|
|
274
|
+
|
|
203
275
|
type account_transfer_instruction =
|
|
204
276
|
{
|
|
205
277
|
amount: Integer,
|
|
@@ -1132,78 +1204,6 @@ module Increase
|
|
|
1132
1204
|
def to_hash: -> { amount: Integer, transfer_id: String }
|
|
1133
1205
|
end
|
|
1134
1206
|
|
|
1135
|
-
type category =
|
|
1136
|
-
:account_transfer_instruction
|
|
1137
|
-
| :ach_transfer_instruction
|
|
1138
|
-
| :card_authorization
|
|
1139
|
-
| :check_deposit_instruction
|
|
1140
|
-
| :check_transfer_instruction
|
|
1141
|
-
| :fednow_transfer_instruction
|
|
1142
|
-
| :inbound_funds_hold
|
|
1143
|
-
| :user_initiated_hold
|
|
1144
|
-
| :real_time_payments_transfer_instruction
|
|
1145
|
-
| :wire_transfer_instruction
|
|
1146
|
-
| :inbound_wire_transfer_reversal
|
|
1147
|
-
| :swift_transfer_instruction
|
|
1148
|
-
| :card_push_transfer_instruction
|
|
1149
|
-
| :blockchain_onramp_transfer_instruction
|
|
1150
|
-
| :blockchain_offramp_transfer_instruction
|
|
1151
|
-
| :other
|
|
1152
|
-
|
|
1153
|
-
module Category
|
|
1154
|
-
extend Increase::Internal::Type::Enum
|
|
1155
|
-
|
|
1156
|
-
# Account Transfer Instruction: details will be under the `account_transfer_instruction` object.
|
|
1157
|
-
ACCOUNT_TRANSFER_INSTRUCTION: :account_transfer_instruction
|
|
1158
|
-
|
|
1159
|
-
# ACH Transfer Instruction: details will be under the `ach_transfer_instruction` object.
|
|
1160
|
-
ACH_TRANSFER_INSTRUCTION: :ach_transfer_instruction
|
|
1161
|
-
|
|
1162
|
-
# Card Authorization: details will be under the `card_authorization` object.
|
|
1163
|
-
CARD_AUTHORIZATION: :card_authorization
|
|
1164
|
-
|
|
1165
|
-
# Check Deposit Instruction: details will be under the `check_deposit_instruction` object.
|
|
1166
|
-
CHECK_DEPOSIT_INSTRUCTION: :check_deposit_instruction
|
|
1167
|
-
|
|
1168
|
-
# Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
|
|
1169
|
-
CHECK_TRANSFER_INSTRUCTION: :check_transfer_instruction
|
|
1170
|
-
|
|
1171
|
-
# FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
|
|
1172
|
-
FEDNOW_TRANSFER_INSTRUCTION: :fednow_transfer_instruction
|
|
1173
|
-
|
|
1174
|
-
# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
|
|
1175
|
-
INBOUND_FUNDS_HOLD: :inbound_funds_hold
|
|
1176
|
-
|
|
1177
|
-
# User Initiated Hold: details will be under the `user_initiated_hold` object.
|
|
1178
|
-
USER_INITIATED_HOLD: :user_initiated_hold
|
|
1179
|
-
|
|
1180
|
-
# Real-Time Payments Transfer Instruction: details will be under the `real_time_payments_transfer_instruction` object.
|
|
1181
|
-
REAL_TIME_PAYMENTS_TRANSFER_INSTRUCTION: :real_time_payments_transfer_instruction
|
|
1182
|
-
|
|
1183
|
-
# Wire Transfer Instruction: details will be under the `wire_transfer_instruction` object.
|
|
1184
|
-
WIRE_TRANSFER_INSTRUCTION: :wire_transfer_instruction
|
|
1185
|
-
|
|
1186
|
-
# Inbound Wire Transfer Reversal: details will be under the `inbound_wire_transfer_reversal` object.
|
|
1187
|
-
INBOUND_WIRE_TRANSFER_REVERSAL: :inbound_wire_transfer_reversal
|
|
1188
|
-
|
|
1189
|
-
# Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
|
|
1190
|
-
SWIFT_TRANSFER_INSTRUCTION: :swift_transfer_instruction
|
|
1191
|
-
|
|
1192
|
-
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
|
1193
|
-
CARD_PUSH_TRANSFER_INSTRUCTION: :card_push_transfer_instruction
|
|
1194
|
-
|
|
1195
|
-
# Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
|
|
1196
|
-
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION: :blockchain_onramp_transfer_instruction
|
|
1197
|
-
|
|
1198
|
-
# Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
|
|
1199
|
-
BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION: :blockchain_offramp_transfer_instruction
|
|
1200
|
-
|
|
1201
|
-
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
1202
|
-
OTHER: :other
|
|
1203
|
-
|
|
1204
|
-
def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::category]
|
|
1205
|
-
end
|
|
1206
|
-
|
|
1207
1207
|
type check_deposit_instruction =
|
|
1208
1208
|
{
|
|
1209
1209
|
amount: Integer,
|
|
@@ -172,45 +172,35 @@ module Increase
|
|
|
172
172
|
|
|
173
173
|
type created_by =
|
|
174
174
|
{
|
|
175
|
-
api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?,
|
|
176
175
|
category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category,
|
|
176
|
+
api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?,
|
|
177
177
|
oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?,
|
|
178
178
|
user: Increase::RealTimePaymentsTransfer::CreatedBy::User?
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
182
|
-
attr_accessor api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?
|
|
183
|
-
|
|
184
182
|
attr_accessor category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category
|
|
185
183
|
|
|
184
|
+
attr_accessor api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?
|
|
185
|
+
|
|
186
186
|
attr_accessor oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?
|
|
187
187
|
|
|
188
188
|
attr_accessor user: Increase::RealTimePaymentsTransfer::CreatedBy::User?
|
|
189
189
|
|
|
190
190
|
def initialize: (
|
|
191
|
-
api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?,
|
|
192
191
|
category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category,
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
?api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?,
|
|
193
|
+
?oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?,
|
|
194
|
+
?user: Increase::RealTimePaymentsTransfer::CreatedBy::User?
|
|
195
195
|
) -> void
|
|
196
196
|
|
|
197
197
|
def to_hash: -> {
|
|
198
|
-
api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?,
|
|
199
198
|
category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category,
|
|
199
|
+
api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?,
|
|
200
200
|
oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?,
|
|
201
201
|
user: Increase::RealTimePaymentsTransfer::CreatedBy::User?
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
type api_key = { description: String? }
|
|
205
|
-
|
|
206
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
207
|
-
attr_accessor description: String?
|
|
208
|
-
|
|
209
|
-
def initialize: (description: String?) -> void
|
|
210
|
-
|
|
211
|
-
def to_hash: -> { description: String? }
|
|
212
|
-
end
|
|
213
|
-
|
|
214
204
|
type category = :api_key | :oauth_application | :user
|
|
215
205
|
|
|
216
206
|
module Category
|
|
@@ -228,6 +218,16 @@ module Increase
|
|
|
228
218
|
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsTransfer::CreatedBy::category]
|
|
229
219
|
end
|
|
230
220
|
|
|
221
|
+
type api_key = { description: String? }
|
|
222
|
+
|
|
223
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
224
|
+
attr_accessor description: String?
|
|
225
|
+
|
|
226
|
+
def initialize: (description: String?) -> void
|
|
227
|
+
|
|
228
|
+
def to_hash: -> { description: String? }
|
|
229
|
+
end
|
|
230
|
+
|
|
231
231
|
type oauth_application = { name: String }
|
|
232
232
|
|
|
233
233
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
@@ -102,7 +102,7 @@ module Increase
|
|
|
102
102
|
module Reason
|
|
103
103
|
extend Increase::Internal::Type::Enum
|
|
104
104
|
|
|
105
|
-
# Code R01. Insufficient funds in the receiving account. Sometimes abbreviated to NSF.
|
|
105
|
+
# Code R01. Insufficient funds in the receiving account. Sometimes abbreviated to "NSF."
|
|
106
106
|
INSUFFICIENT_FUND: :insufficient_fund
|
|
107
107
|
|
|
108
108
|
# Code R03. The account does not exist or the receiving bank was unable to locate it.
|
|
@@ -114,13 +114,13 @@ module Increase
|
|
|
114
114
|
# Code R04. The account number is invalid at the receiving bank.
|
|
115
115
|
INVALID_ACCOUNT_NUMBER_STRUCTURE: :invalid_account_number_structure
|
|
116
116
|
|
|
117
|
-
# Code R16.
|
|
117
|
+
# Code R16. This return code has two separate meanings. (1) The receiving bank froze the account or (2) the Office of Foreign Assets Control (OFAC) instructed the receiving bank to return the entry.
|
|
118
118
|
ACCOUNT_FROZEN_ENTRY_RETURNED_PER_OFAC_INSTRUCTION: :account_frozen_entry_returned_per_ofac_instruction
|
|
119
119
|
|
|
120
|
-
# Code R23. The receiving bank
|
|
120
|
+
# Code R23. The receiving bank refused the credit transfer.
|
|
121
121
|
CREDIT_ENTRY_REFUSED_BY_RECEIVER: :credit_entry_refused_by_receiver
|
|
122
122
|
|
|
123
|
-
# Code R05. The receiving bank rejected because of an incorrect Standard Entry Class code.
|
|
123
|
+
# Code R05. The receiving bank rejected because of an incorrect Standard Entry Class code. Consumer accounts cannot be debited as `corporate_credit_or_debit` or `corporate_trade_exchange`.
|
|
124
124
|
UNAUTHORIZED_DEBIT_TO_CONSUMER_ACCOUNT_USING_CORPORATE_SEC_CODE: :unauthorized_debit_to_consumer_account_using_corporate_sec_code
|
|
125
125
|
|
|
126
126
|
# Code R29. The corporate customer at the receiving bank reversed the transfer.
|
|
@@ -129,7 +129,7 @@ module Increase
|
|
|
129
129
|
# Code R08. The receiving bank stopped payment on this transfer.
|
|
130
130
|
PAYMENT_STOPPED: :payment_stopped
|
|
131
131
|
|
|
132
|
-
# Code R20. The
|
|
132
|
+
# Code R20. The account is not eligible for ACH, such as a savings account with transaction limits.
|
|
133
133
|
NON_TRANSACTION_ACCOUNT: :non_transaction_account
|
|
134
134
|
|
|
135
135
|
# Code R09. The receiving bank account does not have enough available balance for the transfer.
|
|
@@ -144,7 +144,7 @@ module Increase
|
|
|
144
144
|
# Code R19. The amount field is incorrect or too large.
|
|
145
145
|
AMOUNT_FIELD_ERROR: :amount_field_error
|
|
146
146
|
|
|
147
|
-
# Code R07. The customer
|
|
147
|
+
# Code R07. The customer revoked their authorization for a previously authorized transfer.
|
|
148
148
|
AUTHORIZATION_REVOKED_BY_CUSTOMER: :authorization_revoked_by_customer
|
|
149
149
|
|
|
150
150
|
# Code R13. The routing number is invalid.
|
|
@@ -153,7 +153,7 @@ module Increase
|
|
|
153
153
|
# Code R17. The receiving bank is unable to process a field in the transfer.
|
|
154
154
|
FILE_RECORD_EDIT_CRITERIA: :file_record_edit_criteria
|
|
155
155
|
|
|
156
|
-
# Code R45. The individual name field was invalid.
|
|
156
|
+
# Code R45. A rare return reason. The individual name field was invalid.
|
|
157
157
|
ENR_INVALID_INDIVIDUAL_NAME: :enr_invalid_individual_name
|
|
158
158
|
|
|
159
159
|
# Code R06. The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request.
|
|
@@ -285,7 +285,7 @@ module Increase
|
|
|
285
285
|
# Code R35. A rare return reason. Return of a malformed debit entry.
|
|
286
286
|
RETURN_OF_IMPROPER_DEBIT_ENTRY: :return_of_improper_debit_entry
|
|
287
287
|
|
|
288
|
-
# Code R33. A rare return reason. Return of a
|
|
288
|
+
# Code R33. A rare return reason. Return of a destroyed check ("XCK") entry.
|
|
289
289
|
RETURN_OF_XCK_ENTRY: :return_of_xck_entry
|
|
290
290
|
|
|
291
291
|
# Code R37. A rare return reason. The source document related to this ACH, usually an ACH check conversion, was presented to the bank.
|
|
@@ -123,45 +123,35 @@ module Increase
|
|
|
123
123
|
|
|
124
124
|
type created_by =
|
|
125
125
|
{
|
|
126
|
-
api_key: Increase::SwiftTransfer::CreatedBy::APIKey?,
|
|
127
126
|
category: Increase::Models::SwiftTransfer::CreatedBy::category,
|
|
127
|
+
api_key: Increase::SwiftTransfer::CreatedBy::APIKey?,
|
|
128
128
|
oauth_application: Increase::SwiftTransfer::CreatedBy::OAuthApplication?,
|
|
129
129
|
user: Increase::SwiftTransfer::CreatedBy::User?
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
133
|
-
attr_accessor api_key: Increase::SwiftTransfer::CreatedBy::APIKey?
|
|
134
|
-
|
|
135
133
|
attr_accessor category: Increase::Models::SwiftTransfer::CreatedBy::category
|
|
136
134
|
|
|
135
|
+
attr_accessor api_key: Increase::SwiftTransfer::CreatedBy::APIKey?
|
|
136
|
+
|
|
137
137
|
attr_accessor oauth_application: Increase::SwiftTransfer::CreatedBy::OAuthApplication?
|
|
138
138
|
|
|
139
139
|
attr_accessor user: Increase::SwiftTransfer::CreatedBy::User?
|
|
140
140
|
|
|
141
141
|
def initialize: (
|
|
142
|
-
api_key: Increase::SwiftTransfer::CreatedBy::APIKey?,
|
|
143
142
|
category: Increase::Models::SwiftTransfer::CreatedBy::category,
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
?api_key: Increase::SwiftTransfer::CreatedBy::APIKey?,
|
|
144
|
+
?oauth_application: Increase::SwiftTransfer::CreatedBy::OAuthApplication?,
|
|
145
|
+
?user: Increase::SwiftTransfer::CreatedBy::User?
|
|
146
146
|
) -> void
|
|
147
147
|
|
|
148
148
|
def to_hash: -> {
|
|
149
|
-
api_key: Increase::SwiftTransfer::CreatedBy::APIKey?,
|
|
150
149
|
category: Increase::Models::SwiftTransfer::CreatedBy::category,
|
|
150
|
+
api_key: Increase::SwiftTransfer::CreatedBy::APIKey?,
|
|
151
151
|
oauth_application: Increase::SwiftTransfer::CreatedBy::OAuthApplication?,
|
|
152
152
|
user: Increase::SwiftTransfer::CreatedBy::User?
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
type api_key = { description: String? }
|
|
156
|
-
|
|
157
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
158
|
-
attr_accessor description: String?
|
|
159
|
-
|
|
160
|
-
def initialize: (description: String?) -> void
|
|
161
|
-
|
|
162
|
-
def to_hash: -> { description: String? }
|
|
163
|
-
end
|
|
164
|
-
|
|
165
155
|
type category = :api_key | :oauth_application | :user
|
|
166
156
|
|
|
167
157
|
module Category
|
|
@@ -179,6 +169,16 @@ module Increase
|
|
|
179
169
|
def self?.values: -> ::Array[Increase::Models::SwiftTransfer::CreatedBy::category]
|
|
180
170
|
end
|
|
181
171
|
|
|
172
|
+
type api_key = { description: String? }
|
|
173
|
+
|
|
174
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
175
|
+
attr_accessor description: String?
|
|
176
|
+
|
|
177
|
+
def initialize: (description: String?) -> void
|
|
178
|
+
|
|
179
|
+
def to_hash: -> { description: String? }
|
|
180
|
+
end
|
|
181
|
+
|
|
182
182
|
type oauth_application = { name: String }
|
|
183
183
|
|
|
184
184
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|