increase 1.263.0 → 1.266.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 +196 -0
- data/README.md +1 -1
- data/lib/increase/models/card_token_capabilities.rb +9 -1
- data/lib/increase/models/declined_transaction.rb +9 -9
- data/lib/increase/models/inbound_mail_item_action_params.rb +4 -4
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +9 -9
- data/lib/increase/models/real_time_payments_transfer.rb +22 -22
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +29 -16
- data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +9 -9
- data/lib/increase/models/transaction.rb +29 -29
- data/lib/increase/resources/real_time_payments_transfers.rb +9 -5
- data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +3 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_token_capabilities.rbi +8 -0
- data/rbi/increase/models/declined_transaction.rbi +11 -11
- data/rbi/increase/models/inbound_mail_item_action_params.rbi +6 -6
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +11 -11
- data/rbi/increase/models/real_time_payments_transfer.rbi +27 -27
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +34 -18
- data/rbi/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbi +11 -11
- data/rbi/increase/models/transaction.rbi +34 -34
- data/rbi/increase/resources/real_time_payments_transfers.rbi +11 -8
- data/rbi/increase/resources/simulations/inbound_real_time_payments_transfers.rbi +3 -3
- data/sig/increase/models/card_token_capabilities.rbs +5 -0
- data/sig/increase/models/declined_transaction.rbs +8 -8
- data/sig/increase/models/inbound_mail_item_action_params.rbs +5 -5
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +8 -8
- data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +19 -5
- data/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs +8 -8
- data/sig/increase/models/transaction.rbs +25 -25
- data/sig/increase/resources/real_time_payments_transfers.rbs +3 -1
- data/sig/increase/resources/simulations/inbound_real_time_payments_transfers.rbs +1 -1
- metadata +2 -2
|
@@ -6353,12 +6353,6 @@ module Increase
|
|
|
6353
6353
|
# @return [String]
|
|
6354
6354
|
required :debtor_routing_number, String
|
|
6355
6355
|
|
|
6356
|
-
# @!attribute remittance_information
|
|
6357
|
-
# Additional information included with the transfer.
|
|
6358
|
-
#
|
|
6359
|
-
# @return [String, nil]
|
|
6360
|
-
required :remittance_information, String, nil?: true
|
|
6361
|
-
|
|
6362
6356
|
# @!attribute transaction_identification
|
|
6363
6357
|
# The Real-Time Payments network identification of the transfer.
|
|
6364
6358
|
#
|
|
@@ -6371,7 +6365,13 @@ module Increase
|
|
|
6371
6365
|
# @return [String]
|
|
6372
6366
|
required :transfer_id, String
|
|
6373
6367
|
|
|
6374
|
-
# @!
|
|
6368
|
+
# @!attribute unstructured_remittance_information
|
|
6369
|
+
# Additional information included with the transfer.
|
|
6370
|
+
#
|
|
6371
|
+
# @return [String, nil]
|
|
6372
|
+
required :unstructured_remittance_information, String, nil?: true
|
|
6373
|
+
|
|
6374
|
+
# @!method initialize(amount:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, transaction_identification:, transfer_id:, unstructured_remittance_information:)
|
|
6375
6375
|
# Some parameter documentations has been truncated, see
|
|
6376
6376
|
# {Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation}
|
|
6377
6377
|
# for more details.
|
|
@@ -6394,11 +6394,11 @@ module Increase
|
|
|
6394
6394
|
#
|
|
6395
6395
|
# @param debtor_routing_number [String] The routing number of the account that sent the transfer.
|
|
6396
6396
|
#
|
|
6397
|
-
# @param remittance_information [String, nil] Additional information included with the transfer.
|
|
6398
|
-
#
|
|
6399
6397
|
# @param transaction_identification [String] The Real-Time Payments network identification of the transfer.
|
|
6400
6398
|
#
|
|
6401
6399
|
# @param transfer_id [String] The identifier of the Real-Time Payments Transfer that led to this Transaction.
|
|
6400
|
+
#
|
|
6401
|
+
# @param unstructured_remittance_information [String, nil] Additional information included with the transfer.
|
|
6402
6402
|
|
|
6403
6403
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
|
|
6404
6404
|
# currency. This will always be "USD" for a Real-Time Payments transfer.
|
|
@@ -6909,29 +6909,23 @@ module Increase
|
|
|
6909
6909
|
|
|
6910
6910
|
# @see Increase::Models::Transaction::Source#real_time_payments_transfer_acknowledgement
|
|
6911
6911
|
class RealTimePaymentsTransferAcknowledgement < Increase::Internal::Type::BaseModel
|
|
6912
|
+
# @!attribute account_number
|
|
6913
|
+
# The destination account number.
|
|
6914
|
+
#
|
|
6915
|
+
# @return [String]
|
|
6916
|
+
required :account_number, String
|
|
6917
|
+
|
|
6912
6918
|
# @!attribute amount
|
|
6913
6919
|
# The transfer amount in USD cents.
|
|
6914
6920
|
#
|
|
6915
6921
|
# @return [Integer]
|
|
6916
6922
|
required :amount, Integer
|
|
6917
6923
|
|
|
6918
|
-
# @!attribute
|
|
6919
|
-
# The destination account number.
|
|
6920
|
-
#
|
|
6921
|
-
# @return [String]
|
|
6922
|
-
required :destination_account_number, String
|
|
6923
|
-
|
|
6924
|
-
# @!attribute destination_routing_number
|
|
6924
|
+
# @!attribute routing_number
|
|
6925
6925
|
# The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
6926
6926
|
#
|
|
6927
6927
|
# @return [String]
|
|
6928
|
-
required :
|
|
6929
|
-
|
|
6930
|
-
# @!attribute remittance_information
|
|
6931
|
-
# Unstructured information that will show on the recipient's bank statement.
|
|
6932
|
-
#
|
|
6933
|
-
# @return [String]
|
|
6934
|
-
required :remittance_information, String
|
|
6928
|
+
required :routing_number, String
|
|
6935
6929
|
|
|
6936
6930
|
# @!attribute transfer_id
|
|
6937
6931
|
# The identifier of the Real-Time Payments Transfer that led to this Transaction.
|
|
@@ -6939,22 +6933,28 @@ module Increase
|
|
|
6939
6933
|
# @return [String]
|
|
6940
6934
|
required :transfer_id, String
|
|
6941
6935
|
|
|
6942
|
-
# @!
|
|
6936
|
+
# @!attribute unstructured_remittance_information
|
|
6937
|
+
# Unstructured information that will show on the recipient's bank statement.
|
|
6938
|
+
#
|
|
6939
|
+
# @return [String]
|
|
6940
|
+
required :unstructured_remittance_information, String
|
|
6941
|
+
|
|
6942
|
+
# @!method initialize(account_number:, amount:, routing_number:, transfer_id:, unstructured_remittance_information:)
|
|
6943
6943
|
# A Real-Time Payments Transfer Acknowledgement object. This field will be present
|
|
6944
6944
|
# in the JSON response if and only if `category` is equal to
|
|
6945
6945
|
# `real_time_payments_transfer_acknowledgement`. A Real-Time Payments Transfer
|
|
6946
6946
|
# Acknowledgement is created when a Real-Time Payments Transfer sent from Increase
|
|
6947
6947
|
# is acknowledged by the receiving bank.
|
|
6948
6948
|
#
|
|
6949
|
-
# @param
|
|
6950
|
-
#
|
|
6951
|
-
# @param destination_account_number [String] The destination account number.
|
|
6949
|
+
# @param account_number [String] The destination account number.
|
|
6952
6950
|
#
|
|
6953
|
-
# @param
|
|
6951
|
+
# @param amount [Integer] The transfer amount in USD cents.
|
|
6954
6952
|
#
|
|
6955
|
-
# @param
|
|
6953
|
+
# @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
6956
6954
|
#
|
|
6957
6955
|
# @param transfer_id [String] The identifier of the Real-Time Payments Transfer that led to this Transaction.
|
|
6956
|
+
#
|
|
6957
|
+
# @param unstructured_remittance_information [String] Unstructured information that will show on the recipient's bank statement.
|
|
6958
6958
|
end
|
|
6959
6959
|
|
|
6960
6960
|
# @see Increase::Models::Transaction::Source#sample_funds
|
|
@@ -8,26 +8,30 @@ module Increase
|
|
|
8
8
|
#
|
|
9
9
|
# Create a Real-Time Payments Transfer
|
|
10
10
|
#
|
|
11
|
-
# @overload create(amount:, creditor_name:,
|
|
11
|
+
# @overload create(amount:, creditor_name:, source_account_number_id:, unstructured_remittance_information:, account_number: nil, debtor_name: nil, destination_account_number: nil, destination_routing_number: nil, external_account_id: nil, require_approval: nil, routing_number: nil, ultimate_creditor_name: nil, ultimate_debtor_name: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param amount [Integer] The transfer amount in USD cents. For Real-Time Payments transfers, must be posi
|
|
14
14
|
#
|
|
15
15
|
# @param creditor_name [String] The name of the transfer's recipient.
|
|
16
16
|
#
|
|
17
|
-
# @param remittance_information [String] Unstructured information that will show on the recipient's bank statement.
|
|
18
|
-
#
|
|
19
17
|
# @param source_account_number_id [String] The identifier of the Account Number from which to send the transfer.
|
|
20
18
|
#
|
|
19
|
+
# @param unstructured_remittance_information [String] Unstructured information that will show on the recipient's bank statement.
|
|
20
|
+
#
|
|
21
|
+
# @param account_number [String] The destination account number.
|
|
22
|
+
#
|
|
21
23
|
# @param debtor_name [String] The name of the transfer's sender. If not provided, defaults to the name of the
|
|
22
24
|
#
|
|
23
|
-
# @param destination_account_number [String]
|
|
25
|
+
# @param destination_account_number [String]
|
|
24
26
|
#
|
|
25
|
-
# @param destination_routing_number [String]
|
|
27
|
+
# @param destination_routing_number [String]
|
|
26
28
|
#
|
|
27
29
|
# @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
|
|
28
30
|
#
|
|
29
31
|
# @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API.
|
|
30
32
|
#
|
|
33
|
+
# @param routing_number [String] The destination American Bankers' Association (ABA) Routing Transit Number (RTN)
|
|
34
|
+
#
|
|
31
35
|
# @param ultimate_creditor_name [String] The name of the ultimate recipient of the transfer. Set this if the creditor is
|
|
32
36
|
#
|
|
33
37
|
# @param ultimate_debtor_name [String] The name of the ultimate sender of the transfer. Set this if the funds are being
|
|
@@ -12,7 +12,7 @@ module Increase
|
|
|
12
12
|
# [Inbound Real-Time Payments Transfer](#inbound-real-time-payments-transfers) to
|
|
13
13
|
# your account. Real-Time Payments are a beta feature.
|
|
14
14
|
#
|
|
15
|
-
# @overload create(account_number_id:, amount:, debtor_account_number: nil, debtor_name: nil, debtor_routing_number: nil,
|
|
15
|
+
# @overload create(account_number_id:, amount:, debtor_account_number: nil, debtor_name: nil, debtor_routing_number: nil, request_for_payment_id: nil, unstructured_remittance_information: nil, request_options: {})
|
|
16
16
|
#
|
|
17
17
|
# @param account_number_id [String] The identifier of the Account Number the inbound Real-Time Payments Transfer is
|
|
18
18
|
#
|
|
@@ -24,10 +24,10 @@ module Increase
|
|
|
24
24
|
#
|
|
25
25
|
# @param debtor_routing_number [String] The routing number of the account that sent the transfer.
|
|
26
26
|
#
|
|
27
|
-
# @param remittance_information [String] Additional information included with the transfer.
|
|
28
|
-
#
|
|
29
27
|
# @param request_for_payment_id [String] The identifier of a pending Request for Payment that this transfer will fulfill.
|
|
30
28
|
#
|
|
29
|
+
# @param unstructured_remittance_information [String] Additional information included with the transfer.
|
|
30
|
+
#
|
|
31
31
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
32
32
|
#
|
|
33
33
|
# @return [Increase::Models::InboundRealTimePaymentsTransfer]
|
data/lib/increase/version.rb
CHANGED
|
@@ -71,6 +71,10 @@ module Increase
|
|
|
71
71
|
end
|
|
72
72
|
attr_accessor :domestic_push_transfers
|
|
73
73
|
|
|
74
|
+
# The ISO-3166-1 alpha-2 country code of the card's issuing bank.
|
|
75
|
+
sig { returns(String) }
|
|
76
|
+
attr_accessor :issuer_country
|
|
77
|
+
|
|
74
78
|
# The card network route the capabilities apply to.
|
|
75
79
|
sig do
|
|
76
80
|
returns(Increase::CardTokenCapabilities::Route::Route::TaggedSymbol)
|
|
@@ -83,6 +87,7 @@ module Increase
|
|
|
83
87
|
Increase::CardTokenCapabilities::Route::CrossBorderPushTransfers::OrSymbol,
|
|
84
88
|
domestic_push_transfers:
|
|
85
89
|
Increase::CardTokenCapabilities::Route::DomesticPushTransfers::OrSymbol,
|
|
90
|
+
issuer_country: String,
|
|
86
91
|
route: Increase::CardTokenCapabilities::Route::Route::OrSymbol
|
|
87
92
|
).returns(T.attached_class)
|
|
88
93
|
end
|
|
@@ -91,6 +96,8 @@ module Increase
|
|
|
91
96
|
cross_border_push_transfers:,
|
|
92
97
|
# Whether you can push funds to the card using domestic Card Push Transfers.
|
|
93
98
|
domestic_push_transfers:,
|
|
99
|
+
# The ISO-3166-1 alpha-2 country code of the card's issuing bank.
|
|
100
|
+
issuer_country:,
|
|
94
101
|
# The card network route the capabilities apply to.
|
|
95
102
|
route:
|
|
96
103
|
)
|
|
@@ -103,6 +110,7 @@ module Increase
|
|
|
103
110
|
Increase::CardTokenCapabilities::Route::CrossBorderPushTransfers::TaggedSymbol,
|
|
104
111
|
domestic_push_transfers:
|
|
105
112
|
Increase::CardTokenCapabilities::Route::DomesticPushTransfers::TaggedSymbol,
|
|
113
|
+
issuer_country: String,
|
|
106
114
|
route: Increase::CardTokenCapabilities::Route::Route::TaggedSymbol
|
|
107
115
|
}
|
|
108
116
|
)
|
|
@@ -4189,10 +4189,6 @@ module Increase
|
|
|
4189
4189
|
end
|
|
4190
4190
|
attr_accessor :reason
|
|
4191
4191
|
|
|
4192
|
-
# Additional information included with the transfer.
|
|
4193
|
-
sig { returns(T.nilable(String)) }
|
|
4194
|
-
attr_accessor :remittance_information
|
|
4195
|
-
|
|
4196
4192
|
# The Real-Time Payments network identification of the declined transfer.
|
|
4197
4193
|
sig { returns(String) }
|
|
4198
4194
|
attr_accessor :transaction_identification
|
|
@@ -4201,6 +4197,10 @@ module Increase
|
|
|
4201
4197
|
sig { returns(String) }
|
|
4202
4198
|
attr_accessor :transfer_id
|
|
4203
4199
|
|
|
4200
|
+
# Additional information included with the transfer.
|
|
4201
|
+
sig { returns(T.nilable(String)) }
|
|
4202
|
+
attr_accessor :unstructured_remittance_information
|
|
4203
|
+
|
|
4204
4204
|
# An Inbound Real-Time Payments Transfer Decline object. This field will be
|
|
4205
4205
|
# present in the JSON response if and only if `category` is equal to
|
|
4206
4206
|
# `inbound_real_time_payments_transfer_decline`.
|
|
@@ -4215,9 +4215,9 @@ module Increase
|
|
|
4215
4215
|
debtor_routing_number: String,
|
|
4216
4216
|
reason:
|
|
4217
4217
|
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::OrSymbol,
|
|
4218
|
-
remittance_information: T.nilable(String),
|
|
4219
4218
|
transaction_identification: String,
|
|
4220
|
-
transfer_id: String
|
|
4219
|
+
transfer_id: String,
|
|
4220
|
+
unstructured_remittance_information: T.nilable(String)
|
|
4221
4221
|
).returns(T.attached_class)
|
|
4222
4222
|
end
|
|
4223
4223
|
def self.new(
|
|
@@ -4238,12 +4238,12 @@ module Increase
|
|
|
4238
4238
|
debtor_routing_number:,
|
|
4239
4239
|
# Why the transfer was declined.
|
|
4240
4240
|
reason:,
|
|
4241
|
-
# Additional information included with the transfer.
|
|
4242
|
-
remittance_information:,
|
|
4243
4241
|
# The Real-Time Payments network identification of the declined transfer.
|
|
4244
4242
|
transaction_identification:,
|
|
4245
4243
|
# The identifier of the Real-Time Payments Transfer that led to this Transaction.
|
|
4246
|
-
transfer_id
|
|
4244
|
+
transfer_id:,
|
|
4245
|
+
# Additional information included with the transfer.
|
|
4246
|
+
unstructured_remittance_information:
|
|
4247
4247
|
)
|
|
4248
4248
|
end
|
|
4249
4249
|
|
|
@@ -4259,9 +4259,9 @@ module Increase
|
|
|
4259
4259
|
debtor_routing_number: String,
|
|
4260
4260
|
reason:
|
|
4261
4261
|
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol,
|
|
4262
|
-
remittance_information: T.nilable(String),
|
|
4263
4262
|
transaction_identification: String,
|
|
4264
|
-
transfer_id: String
|
|
4263
|
+
transfer_id: String,
|
|
4264
|
+
unstructured_remittance_information: T.nilable(String)
|
|
4265
4265
|
}
|
|
4266
4266
|
)
|
|
4267
4267
|
end
|
|
@@ -71,16 +71,16 @@ module Increase
|
|
|
71
71
|
# The identifier of the Account to deposit the check into. If not provided, the
|
|
72
72
|
# check will be deposited into the Account associated with the Lockbox.
|
|
73
73
|
sig { returns(T.nilable(String)) }
|
|
74
|
-
attr_reader :
|
|
74
|
+
attr_reader :account_id
|
|
75
75
|
|
|
76
|
-
sig { params(
|
|
77
|
-
attr_writer :
|
|
76
|
+
sig { params(account_id: String).void }
|
|
77
|
+
attr_writer :account_id
|
|
78
78
|
|
|
79
79
|
sig do
|
|
80
80
|
params(
|
|
81
81
|
action:
|
|
82
82
|
Increase::InboundMailItemActionParams::Check::Action::OrSymbol,
|
|
83
|
-
|
|
83
|
+
account_id: String
|
|
84
84
|
).returns(T.attached_class)
|
|
85
85
|
end
|
|
86
86
|
def self.new(
|
|
@@ -88,7 +88,7 @@ module Increase
|
|
|
88
88
|
action:,
|
|
89
89
|
# The identifier of the Account to deposit the check into. If not provided, the
|
|
90
90
|
# check will be deposited into the Account associated with the Lockbox.
|
|
91
|
-
|
|
91
|
+
account_id: nil
|
|
92
92
|
)
|
|
93
93
|
end
|
|
94
94
|
|
|
@@ -97,7 +97,7 @@ module Increase
|
|
|
97
97
|
{
|
|
98
98
|
action:
|
|
99
99
|
Increase::InboundMailItemActionParams::Check::Action::OrSymbol,
|
|
100
|
-
|
|
100
|
+
account_id: String
|
|
101
101
|
}
|
|
102
102
|
)
|
|
103
103
|
end
|
|
@@ -91,10 +91,6 @@ module Increase
|
|
|
91
91
|
end
|
|
92
92
|
attr_writer :decline
|
|
93
93
|
|
|
94
|
-
# Additional information included with the transfer.
|
|
95
|
-
sig { returns(T.nilable(String)) }
|
|
96
|
-
attr_accessor :remittance_information
|
|
97
|
-
|
|
98
94
|
# The lifecycle status of the transfer.
|
|
99
95
|
sig do
|
|
100
96
|
returns(Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol)
|
|
@@ -112,6 +108,10 @@ module Increase
|
|
|
112
108
|
end
|
|
113
109
|
attr_accessor :type
|
|
114
110
|
|
|
111
|
+
# Additional information included with the transfer.
|
|
112
|
+
sig { returns(T.nilable(String)) }
|
|
113
|
+
attr_accessor :unstructured_remittance_information
|
|
114
|
+
|
|
115
115
|
# An Inbound Real-Time Payments Transfer is a Real-Time Payments transfer
|
|
116
116
|
# initiated outside of Increase to your account.
|
|
117
117
|
sig do
|
|
@@ -135,10 +135,10 @@ module Increase
|
|
|
135
135
|
T.nilable(
|
|
136
136
|
Increase::InboundRealTimePaymentsTransfer::Decline::OrHash
|
|
137
137
|
),
|
|
138
|
-
remittance_information: T.nilable(String),
|
|
139
138
|
status: Increase::InboundRealTimePaymentsTransfer::Status::OrSymbol,
|
|
140
139
|
transaction_identification: String,
|
|
141
|
-
type: Increase::InboundRealTimePaymentsTransfer::Type::OrSymbol
|
|
140
|
+
type: Increase::InboundRealTimePaymentsTransfer::Type::OrSymbol,
|
|
141
|
+
unstructured_remittance_information: T.nilable(String)
|
|
142
142
|
).returns(T.attached_class)
|
|
143
143
|
end
|
|
144
144
|
def self.new(
|
|
@@ -168,15 +168,15 @@ module Increase
|
|
|
168
168
|
debtor_routing_number:,
|
|
169
169
|
# If your transfer is declined, this will contain details of the decline.
|
|
170
170
|
decline:,
|
|
171
|
-
# Additional information included with the transfer.
|
|
172
|
-
remittance_information:,
|
|
173
171
|
# The lifecycle status of the transfer.
|
|
174
172
|
status:,
|
|
175
173
|
# The Real-Time Payments network identification of the transfer.
|
|
176
174
|
transaction_identification:,
|
|
177
175
|
# A constant representing the object's type. For this resource it will always be
|
|
178
176
|
# `inbound_real_time_payments_transfer`.
|
|
179
|
-
type
|
|
177
|
+
type:,
|
|
178
|
+
# Additional information included with the transfer.
|
|
179
|
+
unstructured_remittance_information:
|
|
180
180
|
)
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -200,11 +200,11 @@ module Increase
|
|
|
200
200
|
debtor_routing_number: String,
|
|
201
201
|
decline:
|
|
202
202
|
T.nilable(Increase::InboundRealTimePaymentsTransfer::Decline),
|
|
203
|
-
remittance_information: T.nilable(String),
|
|
204
203
|
status:
|
|
205
204
|
Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol,
|
|
206
205
|
transaction_identification: String,
|
|
207
|
-
type: Increase::InboundRealTimePaymentsTransfer::Type::TaggedSymbol
|
|
206
|
+
type: Increase::InboundRealTimePaymentsTransfer::Type::TaggedSymbol,
|
|
207
|
+
unstructured_remittance_information: T.nilable(String)
|
|
208
208
|
}
|
|
209
209
|
)
|
|
210
210
|
end
|
|
@@ -16,6 +16,10 @@ module Increase
|
|
|
16
16
|
sig { returns(String) }
|
|
17
17
|
attr_accessor :account_id
|
|
18
18
|
|
|
19
|
+
# The destination account number.
|
|
20
|
+
sig { returns(String) }
|
|
21
|
+
attr_accessor :account_number
|
|
22
|
+
|
|
19
23
|
# If the transfer is acknowledged by the recipient bank, this will contain
|
|
20
24
|
# supplemental details.
|
|
21
25
|
sig do
|
|
@@ -99,15 +103,6 @@ module Increase
|
|
|
99
103
|
sig { returns(T.nilable(String)) }
|
|
100
104
|
attr_accessor :debtor_name
|
|
101
105
|
|
|
102
|
-
# The destination account number.
|
|
103
|
-
sig { returns(String) }
|
|
104
|
-
attr_accessor :destination_account_number
|
|
105
|
-
|
|
106
|
-
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
107
|
-
# (RTN).
|
|
108
|
-
sig { returns(String) }
|
|
109
|
-
attr_accessor :destination_routing_number
|
|
110
|
-
|
|
111
106
|
# The identifier of the External Account the transfer was made to, if any.
|
|
112
107
|
sig { returns(T.nilable(String)) }
|
|
113
108
|
attr_accessor :external_account_id
|
|
@@ -138,9 +133,10 @@ module Increase
|
|
|
138
133
|
end
|
|
139
134
|
attr_writer :rejection
|
|
140
135
|
|
|
141
|
-
#
|
|
136
|
+
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
137
|
+
# (RTN).
|
|
142
138
|
sig { returns(String) }
|
|
143
|
-
attr_accessor :
|
|
139
|
+
attr_accessor :routing_number
|
|
144
140
|
|
|
145
141
|
# The Account Number the recipient will see as having sent the transfer.
|
|
146
142
|
sig { returns(String) }
|
|
@@ -182,12 +178,17 @@ module Increase
|
|
|
182
178
|
sig { returns(T.nilable(String)) }
|
|
183
179
|
attr_accessor :ultimate_debtor_name
|
|
184
180
|
|
|
181
|
+
# Unstructured information that will show on the recipient's bank statement.
|
|
182
|
+
sig { returns(String) }
|
|
183
|
+
attr_accessor :unstructured_remittance_information
|
|
184
|
+
|
|
185
185
|
# Real-Time Payments transfers move funds, within seconds, between your Increase
|
|
186
186
|
# account and any other account on the Real-Time Payments network.
|
|
187
187
|
sig do
|
|
188
188
|
params(
|
|
189
189
|
id: String,
|
|
190
190
|
account_id: String,
|
|
191
|
+
account_number: String,
|
|
191
192
|
acknowledgement:
|
|
192
193
|
T.nilable(
|
|
193
194
|
Increase::RealTimePaymentsTransfer::Acknowledgement::OrHash
|
|
@@ -203,14 +204,12 @@ module Increase
|
|
|
203
204
|
creditor_name: String,
|
|
204
205
|
currency: Increase::RealTimePaymentsTransfer::Currency::OrSymbol,
|
|
205
206
|
debtor_name: T.nilable(String),
|
|
206
|
-
destination_account_number: String,
|
|
207
|
-
destination_routing_number: String,
|
|
208
207
|
external_account_id: T.nilable(String),
|
|
209
208
|
idempotency_key: T.nilable(String),
|
|
210
209
|
pending_transaction_id: T.nilable(String),
|
|
211
210
|
rejection:
|
|
212
211
|
T.nilable(Increase::RealTimePaymentsTransfer::Rejection::OrHash),
|
|
213
|
-
|
|
212
|
+
routing_number: String,
|
|
214
213
|
source_account_number_id: String,
|
|
215
214
|
status: Increase::RealTimePaymentsTransfer::Status::OrSymbol,
|
|
216
215
|
submission:
|
|
@@ -218,7 +217,8 @@ module Increase
|
|
|
218
217
|
transaction_id: T.nilable(String),
|
|
219
218
|
type: Increase::RealTimePaymentsTransfer::Type::OrSymbol,
|
|
220
219
|
ultimate_creditor_name: T.nilable(String),
|
|
221
|
-
ultimate_debtor_name: T.nilable(String)
|
|
220
|
+
ultimate_debtor_name: T.nilable(String),
|
|
221
|
+
unstructured_remittance_information: String
|
|
222
222
|
).returns(T.attached_class)
|
|
223
223
|
end
|
|
224
224
|
def self.new(
|
|
@@ -226,6 +226,8 @@ module Increase
|
|
|
226
226
|
id:,
|
|
227
227
|
# The Account from which the transfer was sent.
|
|
228
228
|
account_id:,
|
|
229
|
+
# The destination account number.
|
|
230
|
+
account_number:,
|
|
229
231
|
# If the transfer is acknowledged by the recipient bank, this will contain
|
|
230
232
|
# supplemental details.
|
|
231
233
|
acknowledgement:,
|
|
@@ -251,11 +253,6 @@ module Increase
|
|
|
251
253
|
# The name of the transfer's sender. If not provided, defaults to the name of the
|
|
252
254
|
# account's entity.
|
|
253
255
|
debtor_name:,
|
|
254
|
-
# The destination account number.
|
|
255
|
-
destination_account_number:,
|
|
256
|
-
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
257
|
-
# (RTN).
|
|
258
|
-
destination_routing_number:,
|
|
259
256
|
# The identifier of the External Account the transfer was made to, if any.
|
|
260
257
|
external_account_id:,
|
|
261
258
|
# The idempotency key you chose for this object. This value is unique across
|
|
@@ -270,8 +267,9 @@ module Increase
|
|
|
270
267
|
# If the transfer is rejected by Real-Time Payments or the destination financial
|
|
271
268
|
# institution, this will contain supplemental details.
|
|
272
269
|
rejection:,
|
|
273
|
-
#
|
|
274
|
-
|
|
270
|
+
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
271
|
+
# (RTN).
|
|
272
|
+
routing_number:,
|
|
275
273
|
# The Account Number the recipient will see as having sent the transfer.
|
|
276
274
|
source_account_number_id:,
|
|
277
275
|
# The lifecycle status of the transfer.
|
|
@@ -289,7 +287,9 @@ module Increase
|
|
|
289
287
|
ultimate_creditor_name:,
|
|
290
288
|
# The name of the ultimate sender of the transfer. Set this if the funds are being
|
|
291
289
|
# sent on behalf of someone who is not the account holder at Increase.
|
|
292
|
-
ultimate_debtor_name
|
|
290
|
+
ultimate_debtor_name:,
|
|
291
|
+
# Unstructured information that will show on the recipient's bank statement.
|
|
292
|
+
unstructured_remittance_information:
|
|
293
293
|
)
|
|
294
294
|
end
|
|
295
295
|
|
|
@@ -298,6 +298,7 @@ module Increase
|
|
|
298
298
|
{
|
|
299
299
|
id: String,
|
|
300
300
|
account_id: String,
|
|
301
|
+
account_number: String,
|
|
301
302
|
acknowledgement:
|
|
302
303
|
T.nilable(Increase::RealTimePaymentsTransfer::Acknowledgement),
|
|
303
304
|
amount: Integer,
|
|
@@ -311,13 +312,11 @@ module Increase
|
|
|
311
312
|
currency:
|
|
312
313
|
Increase::RealTimePaymentsTransfer::Currency::TaggedSymbol,
|
|
313
314
|
debtor_name: T.nilable(String),
|
|
314
|
-
destination_account_number: String,
|
|
315
|
-
destination_routing_number: String,
|
|
316
315
|
external_account_id: T.nilable(String),
|
|
317
316
|
idempotency_key: T.nilable(String),
|
|
318
317
|
pending_transaction_id: T.nilable(String),
|
|
319
318
|
rejection: T.nilable(Increase::RealTimePaymentsTransfer::Rejection),
|
|
320
|
-
|
|
319
|
+
routing_number: String,
|
|
321
320
|
source_account_number_id: String,
|
|
322
321
|
status: Increase::RealTimePaymentsTransfer::Status::TaggedSymbol,
|
|
323
322
|
submission:
|
|
@@ -325,7 +324,8 @@ module Increase
|
|
|
325
324
|
transaction_id: T.nilable(String),
|
|
326
325
|
type: Increase::RealTimePaymentsTransfer::Type::TaggedSymbol,
|
|
327
326
|
ultimate_creditor_name: T.nilable(String),
|
|
328
|
-
ultimate_debtor_name: T.nilable(String)
|
|
327
|
+
ultimate_debtor_name: T.nilable(String),
|
|
328
|
+
unstructured_remittance_information: String
|
|
329
329
|
}
|
|
330
330
|
)
|
|
331
331
|
end
|
|
@@ -23,14 +23,21 @@ module Increase
|
|
|
23
23
|
sig { returns(String) }
|
|
24
24
|
attr_accessor :creditor_name
|
|
25
25
|
|
|
26
|
-
# Unstructured information that will show on the recipient's bank statement.
|
|
27
|
-
sig { returns(String) }
|
|
28
|
-
attr_accessor :remittance_information
|
|
29
|
-
|
|
30
26
|
# The identifier of the Account Number from which to send the transfer.
|
|
31
27
|
sig { returns(String) }
|
|
32
28
|
attr_accessor :source_account_number_id
|
|
33
29
|
|
|
30
|
+
# Unstructured information that will show on the recipient's bank statement.
|
|
31
|
+
sig { returns(String) }
|
|
32
|
+
attr_accessor :unstructured_remittance_information
|
|
33
|
+
|
|
34
|
+
# The destination account number.
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_reader :account_number
|
|
37
|
+
|
|
38
|
+
sig { params(account_number: String).void }
|
|
39
|
+
attr_writer :account_number
|
|
40
|
+
|
|
34
41
|
# The name of the transfer's sender. If not provided, defaults to the name of the
|
|
35
42
|
# account's entity.
|
|
36
43
|
sig { returns(T.nilable(String)) }
|
|
@@ -39,15 +46,12 @@ module Increase
|
|
|
39
46
|
sig { params(debtor_name: String).void }
|
|
40
47
|
attr_writer :debtor_name
|
|
41
48
|
|
|
42
|
-
# The destination account number.
|
|
43
49
|
sig { returns(T.nilable(String)) }
|
|
44
50
|
attr_reader :destination_account_number
|
|
45
51
|
|
|
46
52
|
sig { params(destination_account_number: String).void }
|
|
47
53
|
attr_writer :destination_account_number
|
|
48
54
|
|
|
49
|
-
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
50
|
-
# (RTN).
|
|
51
55
|
sig { returns(T.nilable(String)) }
|
|
52
56
|
attr_reader :destination_routing_number
|
|
53
57
|
|
|
@@ -55,8 +59,7 @@ module Increase
|
|
|
55
59
|
attr_writer :destination_routing_number
|
|
56
60
|
|
|
57
61
|
# The ID of an External Account to initiate a transfer to. If this parameter is
|
|
58
|
-
# provided, `
|
|
59
|
-
# absent.
|
|
62
|
+
# provided, `account_number` and `routing_number` must be absent.
|
|
60
63
|
sig { returns(T.nilable(String)) }
|
|
61
64
|
attr_reader :external_account_id
|
|
62
65
|
|
|
@@ -70,6 +73,14 @@ module Increase
|
|
|
70
73
|
sig { params(require_approval: T::Boolean).void }
|
|
71
74
|
attr_writer :require_approval
|
|
72
75
|
|
|
76
|
+
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
77
|
+
# (RTN).
|
|
78
|
+
sig { returns(T.nilable(String)) }
|
|
79
|
+
attr_reader :routing_number
|
|
80
|
+
|
|
81
|
+
sig { params(routing_number: String).void }
|
|
82
|
+
attr_writer :routing_number
|
|
83
|
+
|
|
73
84
|
# The name of the ultimate recipient of the transfer. Set this if the creditor is
|
|
74
85
|
# an intermediary receiving the payment for someone else.
|
|
75
86
|
sig { returns(T.nilable(String)) }
|
|
@@ -90,13 +101,15 @@ module Increase
|
|
|
90
101
|
params(
|
|
91
102
|
amount: Integer,
|
|
92
103
|
creditor_name: String,
|
|
93
|
-
remittance_information: String,
|
|
94
104
|
source_account_number_id: String,
|
|
105
|
+
unstructured_remittance_information: String,
|
|
106
|
+
account_number: String,
|
|
95
107
|
debtor_name: String,
|
|
96
108
|
destination_account_number: String,
|
|
97
109
|
destination_routing_number: String,
|
|
98
110
|
external_account_id: String,
|
|
99
111
|
require_approval: T::Boolean,
|
|
112
|
+
routing_number: String,
|
|
100
113
|
ultimate_creditor_name: String,
|
|
101
114
|
ultimate_debtor_name: String,
|
|
102
115
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -108,24 +121,25 @@ module Increase
|
|
|
108
121
|
amount:,
|
|
109
122
|
# The name of the transfer's recipient.
|
|
110
123
|
creditor_name:,
|
|
111
|
-
# Unstructured information that will show on the recipient's bank statement.
|
|
112
|
-
remittance_information:,
|
|
113
124
|
# The identifier of the Account Number from which to send the transfer.
|
|
114
125
|
source_account_number_id:,
|
|
126
|
+
# Unstructured information that will show on the recipient's bank statement.
|
|
127
|
+
unstructured_remittance_information:,
|
|
128
|
+
# The destination account number.
|
|
129
|
+
account_number: nil,
|
|
115
130
|
# The name of the transfer's sender. If not provided, defaults to the name of the
|
|
116
131
|
# account's entity.
|
|
117
132
|
debtor_name: nil,
|
|
118
|
-
# The destination account number.
|
|
119
133
|
destination_account_number: nil,
|
|
120
|
-
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
121
|
-
# (RTN).
|
|
122
134
|
destination_routing_number: nil,
|
|
123
135
|
# The ID of an External Account to initiate a transfer to. If this parameter is
|
|
124
|
-
# provided, `
|
|
125
|
-
# absent.
|
|
136
|
+
# provided, `account_number` and `routing_number` must be absent.
|
|
126
137
|
external_account_id: nil,
|
|
127
138
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
128
139
|
require_approval: nil,
|
|
140
|
+
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
141
|
+
# (RTN).
|
|
142
|
+
routing_number: nil,
|
|
129
143
|
# The name of the ultimate recipient of the transfer. Set this if the creditor is
|
|
130
144
|
# an intermediary receiving the payment for someone else.
|
|
131
145
|
ultimate_creditor_name: nil,
|
|
@@ -141,13 +155,15 @@ module Increase
|
|
|
141
155
|
{
|
|
142
156
|
amount: Integer,
|
|
143
157
|
creditor_name: String,
|
|
144
|
-
remittance_information: String,
|
|
145
158
|
source_account_number_id: String,
|
|
159
|
+
unstructured_remittance_information: String,
|
|
160
|
+
account_number: String,
|
|
146
161
|
debtor_name: String,
|
|
147
162
|
destination_account_number: String,
|
|
148
163
|
destination_routing_number: String,
|
|
149
164
|
external_account_id: String,
|
|
150
165
|
require_approval: T::Boolean,
|
|
166
|
+
routing_number: String,
|
|
151
167
|
ultimate_creditor_name: String,
|
|
152
168
|
ultimate_debtor_name: String,
|
|
153
169
|
request_options: Increase::RequestOptions
|