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,513 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type real_time_payments_request_for_payment =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
account_id: String,
|
|
7
|
+
account_number_id: String,
|
|
8
|
+
amount: Integer,
|
|
9
|
+
cancellation: Increase::RealTimePaymentsRequestForPayment::Cancellation?,
|
|
10
|
+
created_at: Time,
|
|
11
|
+
creditor_name: String,
|
|
12
|
+
currency: Increase::Models::RealTimePaymentsRequestForPayment::currency,
|
|
13
|
+
debtor: Increase::RealTimePaymentsRequestForPayment::Debtor,
|
|
14
|
+
debtor_account_number: String,
|
|
15
|
+
debtor_routing_number: String,
|
|
16
|
+
expires_at: Time,
|
|
17
|
+
fulfillment_inbound_real_time_payments_transfer_id: String?,
|
|
18
|
+
idempotency_key: String?,
|
|
19
|
+
refusal: Increase::RealTimePaymentsRequestForPayment::Refusal?,
|
|
20
|
+
rejection: Increase::RealTimePaymentsRequestForPayment::Rejection?,
|
|
21
|
+
requested_execution_at: Time?,
|
|
22
|
+
status: Increase::Models::RealTimePaymentsRequestForPayment::status,
|
|
23
|
+
submission: Increase::RealTimePaymentsRequestForPayment::Submission?,
|
|
24
|
+
type: Increase::Models::RealTimePaymentsRequestForPayment::type_,
|
|
25
|
+
unstructured_remittance_information: String
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
class RealTimePaymentsRequestForPayment < Increase::Internal::Type::BaseModel
|
|
29
|
+
attr_accessor id: String
|
|
30
|
+
|
|
31
|
+
attr_accessor account_id: String
|
|
32
|
+
|
|
33
|
+
attr_accessor account_number_id: String
|
|
34
|
+
|
|
35
|
+
attr_accessor amount: Integer
|
|
36
|
+
|
|
37
|
+
attr_accessor cancellation: Increase::RealTimePaymentsRequestForPayment::Cancellation?
|
|
38
|
+
|
|
39
|
+
attr_accessor created_at: Time
|
|
40
|
+
|
|
41
|
+
attr_accessor creditor_name: String
|
|
42
|
+
|
|
43
|
+
attr_accessor currency: Increase::Models::RealTimePaymentsRequestForPayment::currency
|
|
44
|
+
|
|
45
|
+
attr_accessor debtor: Increase::RealTimePaymentsRequestForPayment::Debtor
|
|
46
|
+
|
|
47
|
+
attr_accessor debtor_account_number: String
|
|
48
|
+
|
|
49
|
+
attr_accessor debtor_routing_number: String
|
|
50
|
+
|
|
51
|
+
attr_accessor expires_at: Time
|
|
52
|
+
|
|
53
|
+
attr_accessor fulfillment_inbound_real_time_payments_transfer_id: String?
|
|
54
|
+
|
|
55
|
+
attr_accessor idempotency_key: String?
|
|
56
|
+
|
|
57
|
+
attr_accessor refusal: Increase::RealTimePaymentsRequestForPayment::Refusal?
|
|
58
|
+
|
|
59
|
+
attr_accessor rejection: Increase::RealTimePaymentsRequestForPayment::Rejection?
|
|
60
|
+
|
|
61
|
+
attr_accessor requested_execution_at: Time?
|
|
62
|
+
|
|
63
|
+
attr_accessor status: Increase::Models::RealTimePaymentsRequestForPayment::status
|
|
64
|
+
|
|
65
|
+
attr_accessor submission: Increase::RealTimePaymentsRequestForPayment::Submission?
|
|
66
|
+
|
|
67
|
+
attr_accessor type: Increase::Models::RealTimePaymentsRequestForPayment::type_
|
|
68
|
+
|
|
69
|
+
attr_accessor unstructured_remittance_information: String
|
|
70
|
+
|
|
71
|
+
def initialize: (
|
|
72
|
+
id: String,
|
|
73
|
+
account_id: String,
|
|
74
|
+
account_number_id: String,
|
|
75
|
+
amount: Integer,
|
|
76
|
+
cancellation: Increase::RealTimePaymentsRequestForPayment::Cancellation?,
|
|
77
|
+
created_at: Time,
|
|
78
|
+
creditor_name: String,
|
|
79
|
+
currency: Increase::Models::RealTimePaymentsRequestForPayment::currency,
|
|
80
|
+
debtor: Increase::RealTimePaymentsRequestForPayment::Debtor,
|
|
81
|
+
debtor_account_number: String,
|
|
82
|
+
debtor_routing_number: String,
|
|
83
|
+
expires_at: Time,
|
|
84
|
+
fulfillment_inbound_real_time_payments_transfer_id: String?,
|
|
85
|
+
idempotency_key: String?,
|
|
86
|
+
refusal: Increase::RealTimePaymentsRequestForPayment::Refusal?,
|
|
87
|
+
rejection: Increase::RealTimePaymentsRequestForPayment::Rejection?,
|
|
88
|
+
requested_execution_at: Time?,
|
|
89
|
+
status: Increase::Models::RealTimePaymentsRequestForPayment::status,
|
|
90
|
+
submission: Increase::RealTimePaymentsRequestForPayment::Submission?,
|
|
91
|
+
type: Increase::Models::RealTimePaymentsRequestForPayment::type_,
|
|
92
|
+
unstructured_remittance_information: String
|
|
93
|
+
) -> void
|
|
94
|
+
|
|
95
|
+
def to_hash: -> {
|
|
96
|
+
id: String,
|
|
97
|
+
account_id: String,
|
|
98
|
+
account_number_id: String,
|
|
99
|
+
amount: Integer,
|
|
100
|
+
cancellation: Increase::RealTimePaymentsRequestForPayment::Cancellation?,
|
|
101
|
+
created_at: Time,
|
|
102
|
+
creditor_name: String,
|
|
103
|
+
currency: Increase::Models::RealTimePaymentsRequestForPayment::currency,
|
|
104
|
+
debtor: Increase::RealTimePaymentsRequestForPayment::Debtor,
|
|
105
|
+
debtor_account_number: String,
|
|
106
|
+
debtor_routing_number: String,
|
|
107
|
+
expires_at: Time,
|
|
108
|
+
fulfillment_inbound_real_time_payments_transfer_id: String?,
|
|
109
|
+
idempotency_key: String?,
|
|
110
|
+
refusal: Increase::RealTimePaymentsRequestForPayment::Refusal?,
|
|
111
|
+
rejection: Increase::RealTimePaymentsRequestForPayment::Rejection?,
|
|
112
|
+
requested_execution_at: Time?,
|
|
113
|
+
status: Increase::Models::RealTimePaymentsRequestForPayment::status,
|
|
114
|
+
submission: Increase::RealTimePaymentsRequestForPayment::Submission?,
|
|
115
|
+
type: Increase::Models::RealTimePaymentsRequestForPayment::type_,
|
|
116
|
+
unstructured_remittance_information: String
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
type cancellation =
|
|
120
|
+
{
|
|
121
|
+
additional_information: String?,
|
|
122
|
+
canceled_at: Time,
|
|
123
|
+
reason: Increase::Models::RealTimePaymentsRequestForPayment::Cancellation::reason
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
class Cancellation < Increase::Internal::Type::BaseModel
|
|
127
|
+
attr_accessor additional_information: String?
|
|
128
|
+
|
|
129
|
+
attr_accessor canceled_at: Time
|
|
130
|
+
|
|
131
|
+
attr_accessor reason: Increase::Models::RealTimePaymentsRequestForPayment::Cancellation::reason
|
|
132
|
+
|
|
133
|
+
def initialize: (
|
|
134
|
+
additional_information: String?,
|
|
135
|
+
canceled_at: Time,
|
|
136
|
+
reason: Increase::Models::RealTimePaymentsRequestForPayment::Cancellation::reason
|
|
137
|
+
) -> void
|
|
138
|
+
|
|
139
|
+
def to_hash: -> {
|
|
140
|
+
additional_information: String?,
|
|
141
|
+
canceled_at: Time,
|
|
142
|
+
reason: Increase::Models::RealTimePaymentsRequestForPayment::Cancellation::reason
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
type reason =
|
|
146
|
+
:requested_by_customer
|
|
147
|
+
| :paid_by_other_means
|
|
148
|
+
| :duplicate
|
|
149
|
+
| :wrong_amount
|
|
150
|
+
|
|
151
|
+
module Reason
|
|
152
|
+
extend Increase::Internal::Type::Enum
|
|
153
|
+
|
|
154
|
+
# The creditor no longer wants to be paid. Corresponds to the Real-Time Payments reason code `CUST`.
|
|
155
|
+
REQUESTED_BY_CUSTOMER: :requested_by_customer
|
|
156
|
+
|
|
157
|
+
# The requested payment has already been made through another channel. Corresponds to the Real-Time Payments reason code `UPAY`.
|
|
158
|
+
PAID_BY_OTHER_MEANS: :paid_by_other_means
|
|
159
|
+
|
|
160
|
+
# The request for payment duplicated another request for payment. Corresponds to the Real-Time Payments reason code `DUPL`.
|
|
161
|
+
DUPLICATE: :duplicate
|
|
162
|
+
|
|
163
|
+
# The request for payment was sent for the wrong amount. Corresponds to the Real-Time Payments reason code `AM09`.
|
|
164
|
+
WRONG_AMOUNT: :wrong_amount
|
|
165
|
+
|
|
166
|
+
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsRequestForPayment::Cancellation::reason]
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
type currency = :USD
|
|
171
|
+
|
|
172
|
+
module Currency
|
|
173
|
+
extend Increase::Internal::Type::Enum
|
|
174
|
+
|
|
175
|
+
# US Dollar (USD)
|
|
176
|
+
USD: :USD
|
|
177
|
+
|
|
178
|
+
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsRequestForPayment::currency]
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
type debtor =
|
|
182
|
+
{
|
|
183
|
+
address: Increase::RealTimePaymentsRequestForPayment::Debtor::Address,
|
|
184
|
+
name: String
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
class Debtor < Increase::Internal::Type::BaseModel
|
|
188
|
+
attr_accessor address: Increase::RealTimePaymentsRequestForPayment::Debtor::Address
|
|
189
|
+
|
|
190
|
+
attr_accessor name: String
|
|
191
|
+
|
|
192
|
+
def initialize: (
|
|
193
|
+
address: Increase::RealTimePaymentsRequestForPayment::Debtor::Address,
|
|
194
|
+
name: String
|
|
195
|
+
) -> void
|
|
196
|
+
|
|
197
|
+
def to_hash: -> {
|
|
198
|
+
address: Increase::RealTimePaymentsRequestForPayment::Debtor::Address,
|
|
199
|
+
name: String
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
type address =
|
|
203
|
+
{
|
|
204
|
+
:address_line2 => String?,
|
|
205
|
+
building_number: String?,
|
|
206
|
+
city: String?,
|
|
207
|
+
country: String?,
|
|
208
|
+
postal_code: String?,
|
|
209
|
+
state: String?,
|
|
210
|
+
street_name: String?
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
214
|
+
attr_accessor address_line2: String?
|
|
215
|
+
|
|
216
|
+
attr_accessor building_number: String?
|
|
217
|
+
|
|
218
|
+
attr_accessor city: String?
|
|
219
|
+
|
|
220
|
+
attr_accessor country: String?
|
|
221
|
+
|
|
222
|
+
attr_accessor postal_code: String?
|
|
223
|
+
|
|
224
|
+
attr_accessor state: String?
|
|
225
|
+
|
|
226
|
+
attr_accessor street_name: String?
|
|
227
|
+
|
|
228
|
+
def initialize: (
|
|
229
|
+
address_line2: String?,
|
|
230
|
+
building_number: String?,
|
|
231
|
+
city: String?,
|
|
232
|
+
country: String?,
|
|
233
|
+
postal_code: String?,
|
|
234
|
+
state: String?,
|
|
235
|
+
street_name: String?
|
|
236
|
+
) -> void
|
|
237
|
+
|
|
238
|
+
def to_hash: -> {
|
|
239
|
+
:address_line2 => String?,
|
|
240
|
+
building_number: String?,
|
|
241
|
+
city: String?,
|
|
242
|
+
country: String?,
|
|
243
|
+
postal_code: String?,
|
|
244
|
+
state: String?,
|
|
245
|
+
street_name: String?
|
|
246
|
+
}
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
type refusal =
|
|
251
|
+
{
|
|
252
|
+
refusal_reason_additional_information: String?,
|
|
253
|
+
refusal_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Refusal::refusal_reason_code,
|
|
254
|
+
refused_at: Time?
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
class Refusal < Increase::Internal::Type::BaseModel
|
|
258
|
+
attr_accessor refusal_reason_additional_information: String?
|
|
259
|
+
|
|
260
|
+
attr_accessor refusal_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Refusal::refusal_reason_code
|
|
261
|
+
|
|
262
|
+
attr_accessor refused_at: Time?
|
|
263
|
+
|
|
264
|
+
def initialize: (
|
|
265
|
+
refusal_reason_additional_information: String?,
|
|
266
|
+
refusal_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Refusal::refusal_reason_code,
|
|
267
|
+
refused_at: Time?
|
|
268
|
+
) -> void
|
|
269
|
+
|
|
270
|
+
def to_hash: -> {
|
|
271
|
+
refusal_reason_additional_information: String?,
|
|
272
|
+
refusal_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Refusal::refusal_reason_code,
|
|
273
|
+
refused_at: Time?
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
type refusal_reason_code =
|
|
277
|
+
:account_blocked
|
|
278
|
+
| :transaction_forbidden
|
|
279
|
+
| :transaction_type_not_supported
|
|
280
|
+
| :unexpected_amount
|
|
281
|
+
| :amount_exceeds_bank_limits
|
|
282
|
+
| :invalid_debtor_address
|
|
283
|
+
| :invalid_creditor_address
|
|
284
|
+
| :creditor_identifier_incorrect
|
|
285
|
+
| :requested_by_customer
|
|
286
|
+
| :order_rejected
|
|
287
|
+
| :end_customer_deceased
|
|
288
|
+
| :customer_has_opted_out
|
|
289
|
+
| :other
|
|
290
|
+
|
|
291
|
+
module RefusalReasonCode
|
|
292
|
+
extend Increase::Internal::Type::Enum
|
|
293
|
+
|
|
294
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code `AC06`.
|
|
295
|
+
ACCOUNT_BLOCKED: :account_blocked
|
|
296
|
+
|
|
297
|
+
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code `AG01`.
|
|
298
|
+
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
299
|
+
|
|
300
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code `AG03`.
|
|
301
|
+
TRANSACTION_TYPE_NOT_SUPPORTED: :transaction_type_not_supported
|
|
302
|
+
|
|
303
|
+
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code `AM09`.
|
|
304
|
+
UNEXPECTED_AMOUNT: :unexpected_amount
|
|
305
|
+
|
|
306
|
+
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code `AM14`.
|
|
307
|
+
AMOUNT_EXCEEDS_BANK_LIMITS: :amount_exceeds_bank_limits
|
|
308
|
+
|
|
309
|
+
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code `BE07`.
|
|
310
|
+
INVALID_DEBTOR_ADDRESS: :invalid_debtor_address
|
|
311
|
+
|
|
312
|
+
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code `BE04`.
|
|
313
|
+
INVALID_CREDITOR_ADDRESS: :invalid_creditor_address
|
|
314
|
+
|
|
315
|
+
# Creditor identifier incorrect. Corresponds to the Real-Time Payments reason code `CH11`.
|
|
316
|
+
CREDITOR_IDENTIFIER_INCORRECT: :creditor_identifier_incorrect
|
|
317
|
+
|
|
318
|
+
# The customer refused the request. Corresponds to the Real-Time Payments reason code `CUST`.
|
|
319
|
+
REQUESTED_BY_CUSTOMER: :requested_by_customer
|
|
320
|
+
|
|
321
|
+
# The order was rejected. Corresponds to the Real-Time Payments reason code `DS04`.
|
|
322
|
+
ORDER_REJECTED: :order_rejected
|
|
323
|
+
|
|
324
|
+
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code `MD07`.
|
|
325
|
+
END_CUSTOMER_DECEASED: :end_customer_deceased
|
|
326
|
+
|
|
327
|
+
# The customer has opted out of receiving requests for payments from this creditor. Corresponds to the Real-Time Payments reason code `SL12`.
|
|
328
|
+
CUSTOMER_HAS_OPTED_OUT: :customer_has_opted_out
|
|
329
|
+
|
|
330
|
+
# Some other error or issue has occurred.
|
|
331
|
+
OTHER: :other
|
|
332
|
+
|
|
333
|
+
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsRequestForPayment::Refusal::refusal_reason_code]
|
|
334
|
+
end
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
type rejection =
|
|
338
|
+
{
|
|
339
|
+
reject_reason_additional_information: String?,
|
|
340
|
+
reject_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Rejection::reject_reason_code,
|
|
341
|
+
rejected_at: Time?
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
class Rejection < Increase::Internal::Type::BaseModel
|
|
345
|
+
attr_accessor reject_reason_additional_information: String?
|
|
346
|
+
|
|
347
|
+
attr_accessor reject_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Rejection::reject_reason_code
|
|
348
|
+
|
|
349
|
+
attr_accessor rejected_at: Time?
|
|
350
|
+
|
|
351
|
+
def initialize: (
|
|
352
|
+
reject_reason_additional_information: String?,
|
|
353
|
+
reject_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Rejection::reject_reason_code,
|
|
354
|
+
rejected_at: Time?
|
|
355
|
+
) -> void
|
|
356
|
+
|
|
357
|
+
def to_hash: -> {
|
|
358
|
+
reject_reason_additional_information: String?,
|
|
359
|
+
reject_reason_code: Increase::Models::RealTimePaymentsRequestForPayment::Rejection::reject_reason_code,
|
|
360
|
+
rejected_at: Time?
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
type reject_reason_code =
|
|
364
|
+
:account_closed
|
|
365
|
+
| :account_blocked
|
|
366
|
+
| :invalid_creditor_account_type
|
|
367
|
+
| :invalid_creditor_account_number
|
|
368
|
+
| :invalid_creditor_financial_institution_identifier
|
|
369
|
+
| :end_customer_deceased
|
|
370
|
+
| :narrative
|
|
371
|
+
| :transaction_forbidden
|
|
372
|
+
| :transaction_type_not_supported
|
|
373
|
+
| :unexpected_amount
|
|
374
|
+
| :amount_exceeds_bank_limits
|
|
375
|
+
| :invalid_creditor_address
|
|
376
|
+
| :unknown_end_customer
|
|
377
|
+
| :invalid_debtor_address
|
|
378
|
+
| :timeout
|
|
379
|
+
| :unsupported_message_for_recipient
|
|
380
|
+
| :recipient_connection_not_available
|
|
381
|
+
| :real_time_payments_suspended
|
|
382
|
+
| :instructed_agent_signed_off
|
|
383
|
+
| :processing_error
|
|
384
|
+
| :other
|
|
385
|
+
|
|
386
|
+
module RejectReasonCode
|
|
387
|
+
extend Increase::Internal::Type::Enum
|
|
388
|
+
|
|
389
|
+
# The destination account is closed. Corresponds to the Real-Time Payments reason code "AC04".
|
|
390
|
+
ACCOUNT_CLOSED: :account_closed
|
|
391
|
+
|
|
392
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code "AC06".
|
|
393
|
+
ACCOUNT_BLOCKED: :account_blocked
|
|
394
|
+
|
|
395
|
+
# The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code "AC14".
|
|
396
|
+
INVALID_CREDITOR_ACCOUNT_TYPE: :invalid_creditor_account_type
|
|
397
|
+
|
|
398
|
+
# The destination account does not exist. Corresponds to the Real-Time Payments reason code "AC03".
|
|
399
|
+
INVALID_CREDITOR_ACCOUNT_NUMBER: :invalid_creditor_account_number
|
|
400
|
+
|
|
401
|
+
# The destination routing number is invalid. Corresponds to the Real-Time Payments reason code "RC04".
|
|
402
|
+
INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER: :invalid_creditor_financial_institution_identifier
|
|
403
|
+
|
|
404
|
+
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code "MD07".
|
|
405
|
+
END_CUSTOMER_DECEASED: :end_customer_deceased
|
|
406
|
+
|
|
407
|
+
# The reason is provided as narrative information in the additional information field.
|
|
408
|
+
NARRATIVE: :narrative
|
|
409
|
+
|
|
410
|
+
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code "AG01".
|
|
411
|
+
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
412
|
+
|
|
413
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "AG03".
|
|
414
|
+
TRANSACTION_TYPE_NOT_SUPPORTED: :transaction_type_not_supported
|
|
415
|
+
|
|
416
|
+
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code "AM09".
|
|
417
|
+
UNEXPECTED_AMOUNT: :unexpected_amount
|
|
418
|
+
|
|
419
|
+
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code "AM14".
|
|
420
|
+
AMOUNT_EXCEEDS_BANK_LIMITS: :amount_exceeds_bank_limits
|
|
421
|
+
|
|
422
|
+
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE04".
|
|
423
|
+
INVALID_CREDITOR_ADDRESS: :invalid_creditor_address
|
|
424
|
+
|
|
425
|
+
# The specified creditor is unknown. Corresponds to the Real-Time Payments reason code "BE06".
|
|
426
|
+
UNKNOWN_END_CUSTOMER: :unknown_end_customer
|
|
427
|
+
|
|
428
|
+
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE07".
|
|
429
|
+
INVALID_DEBTOR_ADDRESS: :invalid_debtor_address
|
|
430
|
+
|
|
431
|
+
# There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code "DS24".
|
|
432
|
+
TIMEOUT: :timeout
|
|
433
|
+
|
|
434
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "NOAT".
|
|
435
|
+
UNSUPPORTED_MESSAGE_FOR_RECIPIENT: :unsupported_message_for_recipient
|
|
436
|
+
|
|
437
|
+
# The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code "9912".
|
|
438
|
+
RECIPIENT_CONNECTION_NOT_AVAILABLE: :recipient_connection_not_available
|
|
439
|
+
|
|
440
|
+
# Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code "9948".
|
|
441
|
+
REAL_TIME_PAYMENTS_SUSPENDED: :real_time_payments_suspended
|
|
442
|
+
|
|
443
|
+
# The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code "9910".
|
|
444
|
+
INSTRUCTED_AGENT_SIGNED_OFF: :instructed_agent_signed_off
|
|
445
|
+
|
|
446
|
+
# The transfer was rejected due to an internal Increase issue. We have been notified.
|
|
447
|
+
PROCESSING_ERROR: :processing_error
|
|
448
|
+
|
|
449
|
+
# Some other error or issue has occurred.
|
|
450
|
+
OTHER: :other
|
|
451
|
+
|
|
452
|
+
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsRequestForPayment::Rejection::reject_reason_code]
|
|
453
|
+
end
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
type status =
|
|
457
|
+
:pending_submission
|
|
458
|
+
| :pending_response
|
|
459
|
+
| :rejected
|
|
460
|
+
| :accepted
|
|
461
|
+
| :refused
|
|
462
|
+
| :fulfilled
|
|
463
|
+
| :canceled
|
|
464
|
+
|
|
465
|
+
module Status
|
|
466
|
+
extend Increase::Internal::Type::Enum
|
|
467
|
+
|
|
468
|
+
# The request for payment is queued to be submitted to Real-Time Payments.
|
|
469
|
+
PENDING_SUBMISSION: :pending_submission
|
|
470
|
+
|
|
471
|
+
# The request for payment has been submitted and is pending a response from Real-Time Payments.
|
|
472
|
+
PENDING_RESPONSE: :pending_response
|
|
473
|
+
|
|
474
|
+
# The request for payment was rejected by the network or the recipient.
|
|
475
|
+
REJECTED: :rejected
|
|
476
|
+
|
|
477
|
+
# The request for payment was accepted by the recipient but has not yet been paid.
|
|
478
|
+
ACCEPTED: :accepted
|
|
479
|
+
|
|
480
|
+
# The request for payment was refused by the recipient.
|
|
481
|
+
REFUSED: :refused
|
|
482
|
+
|
|
483
|
+
# The request for payment was fulfilled by the receiver.
|
|
484
|
+
FULFILLED: :fulfilled
|
|
485
|
+
|
|
486
|
+
# The request for payment was canceled and can no longer be paid.
|
|
487
|
+
CANCELED: :canceled
|
|
488
|
+
|
|
489
|
+
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsRequestForPayment::status]
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
type submission = { payment_information_identification: String }
|
|
493
|
+
|
|
494
|
+
class Submission < Increase::Internal::Type::BaseModel
|
|
495
|
+
attr_accessor payment_information_identification: String
|
|
496
|
+
|
|
497
|
+
def initialize: (payment_information_identification: String) -> void
|
|
498
|
+
|
|
499
|
+
def to_hash: -> { payment_information_identification: String }
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
type type_ = :real_time_payments_request_for_payment
|
|
503
|
+
|
|
504
|
+
module Type
|
|
505
|
+
extend Increase::Internal::Type::Enum
|
|
506
|
+
|
|
507
|
+
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT: :real_time_payments_request_for_payment
|
|
508
|
+
|
|
509
|
+
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsRequestForPayment::type_]
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
end
|
|
513
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type real_time_payments_requests_for_payment_cancel_params =
|
|
4
|
+
{
|
|
5
|
+
real_time_payments_request_for_payment_id: String,
|
|
6
|
+
additional_information: String,
|
|
7
|
+
reason: Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams::reason
|
|
8
|
+
}
|
|
9
|
+
& Increase::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class RealTimePaymentsRequestsForPaymentCancelParams < Increase::Internal::Type::BaseModel
|
|
12
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include Increase::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_accessor real_time_payments_request_for_payment_id: String
|
|
16
|
+
|
|
17
|
+
attr_reader additional_information: String?
|
|
18
|
+
|
|
19
|
+
def additional_information=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader reason: Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams::reason?
|
|
22
|
+
|
|
23
|
+
def reason=: (
|
|
24
|
+
Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams::reason
|
|
25
|
+
) -> Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams::reason
|
|
26
|
+
|
|
27
|
+
def initialize: (
|
|
28
|
+
real_time_payments_request_for_payment_id: String,
|
|
29
|
+
?additional_information: String,
|
|
30
|
+
?reason: Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams::reason,
|
|
31
|
+
?request_options: Increase::request_opts
|
|
32
|
+
) -> void
|
|
33
|
+
|
|
34
|
+
def to_hash: -> {
|
|
35
|
+
real_time_payments_request_for_payment_id: String,
|
|
36
|
+
additional_information: String,
|
|
37
|
+
reason: Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams::reason,
|
|
38
|
+
request_options: Increase::RequestOptions
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type reason =
|
|
42
|
+
:requested_by_customer
|
|
43
|
+
| :paid_by_other_means
|
|
44
|
+
| :duplicate
|
|
45
|
+
| :wrong_amount
|
|
46
|
+
|
|
47
|
+
module Reason
|
|
48
|
+
extend Increase::Internal::Type::Enum
|
|
49
|
+
|
|
50
|
+
# The creditor no longer wants to be paid. Corresponds to the Real-Time Payments reason code `CUST`.
|
|
51
|
+
REQUESTED_BY_CUSTOMER: :requested_by_customer
|
|
52
|
+
|
|
53
|
+
# The requested payment has already been made through another channel. Corresponds to the Real-Time Payments reason code `UPAY`.
|
|
54
|
+
PAID_BY_OTHER_MEANS: :paid_by_other_means
|
|
55
|
+
|
|
56
|
+
# The request for payment duplicated another request for payment. Corresponds to the Real-Time Payments reason code `DUPL`.
|
|
57
|
+
DUPLICATE: :duplicate
|
|
58
|
+
|
|
59
|
+
# The request for payment was sent for the wrong amount. Corresponds to the Real-Time Payments reason code `AM09`.
|
|
60
|
+
WRONG_AMOUNT: :wrong_amount
|
|
61
|
+
|
|
62
|
+
def self?.values: -> ::Array[Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams::reason]
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|