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.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/client.rb +18 -0
  4. data/lib/increase/models/ach_transfer.rb +3 -3
  5. data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
  6. data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
  7. data/lib/increase/models/card_create_details_token_params.rb +22 -0
  8. data/lib/increase/models/card_details_token.rb +57 -0
  9. data/lib/increase/models/card_payment.rb +29 -1
  10. data/lib/increase/models/declined_transaction.rb +3 -0
  11. data/lib/increase/models/digital_wallet_token.rb +18 -0
  12. data/lib/increase/models/digital_wallet_token_request.rb +307 -0
  13. data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
  14. data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
  15. data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
  16. data/lib/increase/models/entity.rb +35 -7
  17. data/lib/increase/models/entity_beneficial_owner.rb +1 -1
  18. data/lib/increase/models/entity_create_params.rb +1 -1
  19. data/lib/increase/models/export.rb +19 -19
  20. data/lib/increase/models/export_create_params.rb +15 -15
  21. data/lib/increase/models/export_list_params.rb +19 -19
  22. data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
  23. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
  24. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
  25. data/lib/increase/models/inbound_wire_transfer.rb +10 -1
  26. data/lib/increase/models/physical_check_batch.rb +266 -0
  27. data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
  28. data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
  29. data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
  30. data/lib/increase/models/real_time_decision.rb +9 -0
  31. data/lib/increase/models/real_time_decision_action_params.rb +3 -0
  32. data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
  33. data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
  34. data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
  35. data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
  36. data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
  37. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
  38. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  39. data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
  40. data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
  41. data/lib/increase/models/transaction.rb +36 -2
  42. data/lib/increase/models.rb +42 -0
  43. data/lib/increase/resources/cards.rb +23 -0
  44. data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
  45. data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
  46. data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
  47. data/lib/increase/resources/physical_check_batches.rb +86 -0
  48. data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
  49. data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
  50. data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
  51. data/lib/increase/resources/simulations.rb +4 -0
  52. data/lib/increase/version.rb +1 -1
  53. data/lib/increase.rb +25 -0
  54. data/rbi/increase/client.rbi +14 -0
  55. data/rbi/increase/models/ach_transfer.rbi +3 -3
  56. data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
  57. data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
  58. data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
  59. data/rbi/increase/models/card_details_token.rbi +85 -0
  60. data/rbi/increase/models/card_payment.rbi +59 -0
  61. data/rbi/increase/models/declined_transaction.rbi +7 -0
  62. data/rbi/increase/models/digital_wallet_token.rbi +42 -0
  63. data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
  64. data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
  65. data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
  66. data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
  67. data/rbi/increase/models/entity.rbi +71 -6
  68. data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
  69. data/rbi/increase/models/entity_create_params.rbi +1 -1
  70. data/rbi/increase/models/export.rbi +32 -32
  71. data/rbi/increase/models/export_create_params.rbi +29 -29
  72. data/rbi/increase/models/export_list_params.rbi +37 -37
  73. data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
  74. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
  75. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
  76. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  77. data/rbi/increase/models/physical_check_batch.rbi +382 -0
  78. data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
  79. data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
  80. data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
  81. data/rbi/increase/models/real_time_decision.rbi +21 -0
  82. data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
  83. data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
  84. data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
  85. data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
  86. data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
  87. data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
  88. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
  89. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  90. data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
  91. data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
  92. data/rbi/increase/models/transaction.rbi +60 -0
  93. data/rbi/increase/models.rbi +50 -0
  94. data/rbi/increase/resources/cards.rbi +17 -0
  95. data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
  96. data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
  97. data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
  98. data/rbi/increase/resources/physical_check_batches.rbi +66 -0
  99. data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
  100. data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
  101. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
  102. data/rbi/increase/resources/simulations.rbi +3 -0
  103. data/sig/increase/client.rbs +8 -0
  104. data/sig/increase/models/ach_transfer.rbs +4 -4
  105. data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
  106. data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
  107. data/sig/increase/models/card_create_details_token_params.rbs +23 -0
  108. data/sig/increase/models/card_details_token.rbs +40 -0
  109. data/sig/increase/models/card_payment.rbs +23 -0
  110. data/sig/increase/models/declined_transaction.rbs +4 -0
  111. data/sig/increase/models/digital_wallet_token.rbs +36 -3
  112. data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
  113. data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
  114. data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
  115. data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
  116. data/sig/increase/models/entity.rbs +25 -6
  117. data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
  118. data/sig/increase/models/entity_create_params.rbs +1 -1
  119. data/sig/increase/models/export.rbs +28 -28
  120. data/sig/increase/models/export_create_params.rbs +22 -22
  121. data/sig/increase/models/export_list_params.rbs +28 -28
  122. data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
  123. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
  124. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  125. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  126. data/sig/increase/models/physical_check_batch.rbs +193 -0
  127. data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
  128. data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
  129. data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
  130. data/sig/increase/models/real_time_decision.rbs +14 -2
  131. data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
  132. data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
  133. data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
  134. data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
  135. data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
  136. data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  137. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
  138. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  139. data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
  140. data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
  141. data/sig/increase/models/transaction.rbs +24 -0
  142. data/sig/increase/models.rbs +36 -0
  143. data/sig/increase/resources/cards.rbs +5 -0
  144. data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
  145. data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
  146. data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
  147. data/sig/increase/resources/physical_check_batches.rbs +24 -0
  148. data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
  149. data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
  150. data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
  151. data/sig/increase/resources/simulations.rbs +2 -0
  152. metadata +77 -2
@@ -151,6 +151,13 @@ module Increase
151
151
  Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
152
152
  )
153
153
 
154
+ # A beneficial owner's full tax identifier is required. A non-US person can submit a passport or driver's license. Make changes via the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
155
+ BENEFICIAL_OWNER_TAX_IDENTIFIER =
156
+ T.let(
157
+ :beneficial_owner_tax_identifier,
158
+ Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
159
+ )
160
+
154
161
  sig do
155
162
  override.returns(
156
163
  T::Array[
@@ -0,0 +1,243 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ module Simulations
6
+ class FednowTransferCompleteParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ OrHash =
11
+ T.type_alias do
12
+ T.any(
13
+ Increase::Simulations::FednowTransferCompleteParams,
14
+ Increase::Internal::AnyHash
15
+ )
16
+ end
17
+
18
+ # The identifier of the FedNow Transfer you wish to complete.
19
+ sig { returns(String) }
20
+ attr_accessor :fednow_transfer_id
21
+
22
+ # If set, the simulation will reject the transfer.
23
+ sig do
24
+ returns(
25
+ T.nilable(
26
+ Increase::Simulations::FednowTransferCompleteParams::Rejection
27
+ )
28
+ )
29
+ end
30
+ attr_reader :rejection
31
+
32
+ sig do
33
+ params(
34
+ rejection:
35
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::OrHash
36
+ ).void
37
+ end
38
+ attr_writer :rejection
39
+
40
+ sig do
41
+ params(
42
+ fednow_transfer_id: String,
43
+ rejection:
44
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::OrHash,
45
+ request_options: Increase::RequestOptions::OrHash
46
+ ).returns(T.attached_class)
47
+ end
48
+ def self.new(
49
+ # The identifier of the FedNow Transfer you wish to complete.
50
+ fednow_transfer_id:,
51
+ # If set, the simulation will reject the transfer.
52
+ rejection: nil,
53
+ request_options: {}
54
+ )
55
+ end
56
+
57
+ sig do
58
+ override.returns(
59
+ {
60
+ fednow_transfer_id: String,
61
+ rejection:
62
+ Increase::Simulations::FednowTransferCompleteParams::Rejection,
63
+ request_options: Increase::RequestOptions
64
+ }
65
+ )
66
+ end
67
+ def to_hash
68
+ end
69
+
70
+ class Rejection < Increase::Internal::Type::BaseModel
71
+ OrHash =
72
+ T.type_alias do
73
+ T.any(
74
+ Increase::Simulations::FednowTransferCompleteParams::Rejection,
75
+ Increase::Internal::AnyHash
76
+ )
77
+ end
78
+
79
+ # The reason code that the simulated rejection will have.
80
+ sig do
81
+ returns(
82
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::OrSymbol
83
+ )
84
+ end
85
+ attr_accessor :reject_reason_code
86
+
87
+ # If set, the simulation will reject the transfer.
88
+ sig do
89
+ params(
90
+ reject_reason_code:
91
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::OrSymbol
92
+ ).returns(T.attached_class)
93
+ end
94
+ def self.new(
95
+ # The reason code that the simulated rejection will have.
96
+ reject_reason_code:
97
+ )
98
+ end
99
+
100
+ sig do
101
+ override.returns(
102
+ {
103
+ reject_reason_code:
104
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::OrSymbol
105
+ }
106
+ )
107
+ end
108
+ def to_hash
109
+ end
110
+
111
+ # The reason code that the simulated rejection will have.
112
+ module RejectReasonCode
113
+ extend Increase::Internal::Type::Enum
114
+
115
+ TaggedSymbol =
116
+ T.type_alias do
117
+ T.all(
118
+ Symbol,
119
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode
120
+ )
121
+ end
122
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
123
+
124
+ # The destination account is closed. Corresponds to the FedNow reason code `AC04`.
125
+ ACCOUNT_CLOSED =
126
+ T.let(
127
+ :account_closed,
128
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
129
+ )
130
+
131
+ # The destination account is currently blocked from receiving transactions. Corresponds to the FedNow reason code `AC06`.
132
+ ACCOUNT_BLOCKED =
133
+ T.let(
134
+ :account_blocked,
135
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
136
+ )
137
+
138
+ # The destination account is ineligible to receive FedNow transfers. Corresponds to the FedNow reason code `AC14`.
139
+ INVALID_CREDITOR_ACCOUNT_TYPE =
140
+ T.let(
141
+ :invalid_creditor_account_type,
142
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
143
+ )
144
+
145
+ # The destination account does not exist. Corresponds to the FedNow reason code `AC03`.
146
+ INVALID_CREDITOR_ACCOUNT_NUMBER =
147
+ T.let(
148
+ :invalid_creditor_account_number,
149
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
150
+ )
151
+
152
+ # The destination routing number is invalid. Corresponds to the FedNow reason code `RC04`.
153
+ INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER =
154
+ T.let(
155
+ :invalid_creditor_financial_institution_identifier,
156
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
157
+ )
158
+
159
+ # The destination account holder is deceased. Corresponds to the FedNow reason code `MD07`.
160
+ END_CUSTOMER_DECEASED =
161
+ T.let(
162
+ :end_customer_deceased,
163
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
164
+ )
165
+
166
+ # The reason is provided as narrative information in the additional information field. Corresponds to the FedNow reason code `NARR`.
167
+ NARRATIVE =
168
+ T.let(
169
+ :narrative,
170
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
171
+ )
172
+
173
+ # FedNow transfers are not allowed to the destination account. Corresponds to the FedNow reason code `AG01`.
174
+ TRANSACTION_FORBIDDEN =
175
+ T.let(
176
+ :transaction_forbidden,
177
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
178
+ )
179
+
180
+ # FedNow transfers are not enabled for the destination account. Corresponds to the FedNow reason code `AG03`.
181
+ TRANSACTION_TYPE_NOT_SUPPORTED =
182
+ T.let(
183
+ :transaction_type_not_supported,
184
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
185
+ )
186
+
187
+ # The amount is higher than the recipient is authorized to send or receive. Corresponds to the FedNow reason code `E990`.
188
+ AMOUNT_EXCEEDS_BANK_LIMITS =
189
+ T.let(
190
+ :amount_exceeds_bank_limits,
191
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
192
+ )
193
+
194
+ # The creditor's address is required, but missing or invalid. Corresponds to the FedNow reason code `BE04`.
195
+ INVALID_CREDITOR_ADDRESS =
196
+ T.let(
197
+ :invalid_creditor_address,
198
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
199
+ )
200
+
201
+ # The debtor's address is required, but missing or invalid. Corresponds to the FedNow reason code `BE07`.
202
+ INVALID_DEBTOR_ADDRESS =
203
+ T.let(
204
+ :invalid_debtor_address,
205
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
206
+ )
207
+
208
+ # There was a timeout processing the transfer. Corresponds to the FedNow reason code `E997`.
209
+ TIMEOUT =
210
+ T.let(
211
+ :timeout,
212
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
213
+ )
214
+
215
+ # The transfer was rejected due to an internal Increase issue. We have been notified.
216
+ PROCESSING_ERROR =
217
+ T.let(
218
+ :processing_error,
219
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
220
+ )
221
+
222
+ # Some other error or issue has occurred.
223
+ OTHER =
224
+ T.let(
225
+ :other,
226
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
227
+ )
228
+
229
+ sig do
230
+ override.returns(
231
+ T::Array[
232
+ Increase::Simulations::FednowTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
233
+ ]
234
+ )
235
+ end
236
+ def self.values
237
+ end
238
+ end
239
+ end
240
+ end
241
+ end
242
+ end
243
+ end
@@ -0,0 +1,48 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ module Simulations
6
+ class InboundCheckDepositAcceptParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ OrHash =
11
+ T.type_alias do
12
+ T.any(
13
+ Increase::Simulations::InboundCheckDepositAcceptParams,
14
+ Increase::Internal::AnyHash
15
+ )
16
+ end
17
+
18
+ # The identifier of the Inbound Check Deposit you wish to accept.
19
+ sig { returns(String) }
20
+ attr_accessor :inbound_check_deposit_id
21
+
22
+ sig do
23
+ params(
24
+ inbound_check_deposit_id: String,
25
+ request_options: Increase::RequestOptions::OrHash
26
+ ).returns(T.attached_class)
27
+ end
28
+ def self.new(
29
+ # The identifier of the Inbound Check Deposit you wish to accept.
30
+ inbound_check_deposit_id:,
31
+ request_options: {}
32
+ )
33
+ end
34
+
35
+ sig do
36
+ override.returns(
37
+ {
38
+ inbound_check_deposit_id: String,
39
+ request_options: Increase::RequestOptions
40
+ }
41
+ )
42
+ end
43
+ def to_hash
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -6122,6 +6122,14 @@ module Increase
6122
6122
  sig { returns(T.nilable(String)) }
6123
6123
  attr_accessor :merchant_state
6124
6124
 
6125
+ # The card network on which this transaction was processed.
6126
+ sig do
6127
+ returns(
6128
+ Increase::Transaction::Source::CardRefund::Network::TaggedSymbol
6129
+ )
6130
+ end
6131
+ attr_accessor :network
6132
+
6125
6133
  # Network-specific identifiers for this refund.
6126
6134
  sig do
6127
6135
  returns(
@@ -6216,6 +6224,8 @@ module Increase
6216
6224
  merchant_name: String,
6217
6225
  merchant_postal_code: T.nilable(String),
6218
6226
  merchant_state: T.nilable(String),
6227
+ network:
6228
+ Increase::Transaction::Source::CardRefund::Network::OrSymbol,
6219
6229
  network_identifiers:
6220
6230
  Increase::Transaction::Source::CardRefund::NetworkIdentifiers::OrHash,
6221
6231
  presentment_amount: Integer,
@@ -6263,6 +6273,8 @@ module Increase
6263
6273
  merchant_postal_code:,
6264
6274
  # The state the merchant resides in.
6265
6275
  merchant_state:,
6276
+ # The card network on which this transaction was processed.
6277
+ network:,
6266
6278
  # Network-specific identifiers for this refund.
6267
6279
  network_identifiers:,
6268
6280
  # The amount in the minor unit of the transaction's presentment currency.
@@ -6306,6 +6318,8 @@ module Increase
6306
6318
  merchant_name: String,
6307
6319
  merchant_postal_code: T.nilable(String),
6308
6320
  merchant_state: T.nilable(String),
6321
+ network:
6322
+ Increase::Transaction::Source::CardRefund::Network::TaggedSymbol,
6309
6323
  network_identifiers:
6310
6324
  Increase::Transaction::Source::CardRefund::NetworkIdentifiers,
6311
6325
  presentment_amount: Integer,
@@ -6543,6 +6557,44 @@ module Increase
6543
6557
  end
6544
6558
  end
6545
6559
 
6560
+ # The card network on which this transaction was processed.
6561
+ module Network
6562
+ extend Increase::Internal::Type::Enum
6563
+
6564
+ TaggedSymbol =
6565
+ T.type_alias do
6566
+ T.all(
6567
+ Symbol,
6568
+ Increase::Transaction::Source::CardRefund::Network
6569
+ )
6570
+ end
6571
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
6572
+
6573
+ # Visa
6574
+ VISA =
6575
+ T.let(
6576
+ :visa,
6577
+ Increase::Transaction::Source::CardRefund::Network::TaggedSymbol
6578
+ )
6579
+
6580
+ # Pulse
6581
+ PULSE =
6582
+ T.let(
6583
+ :pulse,
6584
+ Increase::Transaction::Source::CardRefund::Network::TaggedSymbol
6585
+ )
6586
+
6587
+ sig do
6588
+ override.returns(
6589
+ T::Array[
6590
+ Increase::Transaction::Source::CardRefund::Network::TaggedSymbol
6591
+ ]
6592
+ )
6593
+ end
6594
+ def self.values
6595
+ end
6596
+ end
6597
+
6546
6598
  class NetworkIdentifiers < Increase::Internal::Type::BaseModel
6547
6599
  OrHash =
6548
6600
  T.type_alias do
@@ -16003,6 +16055,10 @@ module Increase
16003
16055
  sig { returns(T.nilable(String)) }
16004
16056
  attr_accessor :instructing_agent_routing_number
16005
16057
 
16058
+ # A free-form instruction for the receiving bank set by the sender.
16059
+ sig { returns(T.nilable(String)) }
16060
+ attr_accessor :instruction_for_creditor_agent
16061
+
16006
16062
  # The sending bank's identifier for the wire transfer.
16007
16063
  sig { returns(T.nilable(String)) }
16008
16064
  attr_accessor :instruction_identification
@@ -16044,6 +16100,7 @@ module Increase
16044
16100
  end_to_end_identification: T.nilable(String),
16045
16101
  input_message_accountability_data: T.nilable(String),
16046
16102
  instructing_agent_routing_number: T.nilable(String),
16103
+ instruction_for_creditor_agent: T.nilable(String),
16047
16104
  instruction_identification: T.nilable(String),
16048
16105
  purpose: T.nilable(String),
16049
16106
  transfer_id: String,
@@ -16081,6 +16138,8 @@ module Increase
16081
16138
  # The American Bankers' Association (ABA) routing number of the bank that sent the
16082
16139
  # wire.
16083
16140
  instructing_agent_routing_number:,
16141
+ # A free-form instruction for the receiving bank set by the sender.
16142
+ instruction_for_creditor_agent:,
16084
16143
  # The sending bank's identifier for the wire transfer.
16085
16144
  instruction_identification:,
16086
16145
  # The reason for the wire transfer, as set by the sender.
@@ -16112,6 +16171,7 @@ module Increase
16112
16171
  end_to_end_identification: T.nilable(String),
16113
16172
  input_message_accountability_data: T.nilable(String),
16114
16173
  instructing_agent_routing_number: T.nilable(String),
16174
+ instruction_for_creditor_agent: T.nilable(String),
16115
16175
  instruction_identification: T.nilable(String),
16116
16176
  purpose: T.nilable(String),
16117
16177
  transfer_id: String,
@@ -85,12 +85,16 @@ module Increase
85
85
  CardCreateDetailsIframeParams =
86
86
  Increase::Models::CardCreateDetailsIframeParams
87
87
 
88
+ CardCreateDetailsTokenParams = Increase::Models::CardCreateDetailsTokenParams
89
+
88
90
  CardCreateParams = Increase::Models::CardCreateParams
89
91
 
90
92
  CardDetails = Increase::Models::CardDetails
91
93
 
92
94
  CardDetailsParams = Increase::Models::CardDetailsParams
93
95
 
96
+ CardDetailsToken = Increase::Models::CardDetailsToken
97
+
94
98
  CardDispute = Increase::Models::CardDispute
95
99
 
96
100
  CardDisputeCreateParams = Increase::Models::CardDisputeCreateParams
@@ -211,9 +215,20 @@ module Increase
211
215
 
212
216
  DigitalWalletTokenListParams = Increase::Models::DigitalWalletTokenListParams
213
217
 
218
+ DigitalWalletTokenRequest = Increase::Models::DigitalWalletTokenRequest
219
+
220
+ DigitalWalletTokenRequestListParams =
221
+ Increase::Models::DigitalWalletTokenRequestListParams
222
+
223
+ DigitalWalletTokenRequestRetrieveParams =
224
+ Increase::Models::DigitalWalletTokenRequestRetrieveParams
225
+
214
226
  DigitalWalletTokenRetrieveParams =
215
227
  Increase::Models::DigitalWalletTokenRetrieveParams
216
228
 
229
+ DigitalWalletTokenTransitionParams =
230
+ Increase::Models::DigitalWalletTokenTransitionParams
231
+
217
232
  Entity = Increase::Models::Entity
218
233
 
219
234
  EntityArchiveParams = Increase::Models::EntityArchiveParams
@@ -361,6 +376,15 @@ module Increase
361
376
  InboundMailItemRetrieveParams =
362
377
  Increase::Models::InboundMailItemRetrieveParams
363
378
 
379
+ InboundRealTimePaymentsRequestForPayment =
380
+ Increase::Models::InboundRealTimePaymentsRequestForPayment
381
+
382
+ InboundRealTimePaymentsRequestsForPaymentListParams =
383
+ Increase::Models::InboundRealTimePaymentsRequestsForPaymentListParams
384
+
385
+ InboundRealTimePaymentsRequestsForPaymentRetrieveParams =
386
+ Increase::Models::InboundRealTimePaymentsRequestsForPaymentRetrieveParams
387
+
364
388
  InboundRealTimePaymentsTransfer =
365
389
  Increase::Models::InboundRealTimePaymentsTransfer
366
390
 
@@ -499,6 +523,17 @@ module Increase
499
523
 
500
524
  PhysicalCardUpdateParams = Increase::Models::PhysicalCardUpdateParams
501
525
 
526
+ PhysicalCheckBatch = Increase::Models::PhysicalCheckBatch
527
+
528
+ PhysicalCheckBatchCancelParams =
529
+ Increase::Models::PhysicalCheckBatchCancelParams
530
+
531
+ PhysicalCheckBatchCompleteParams =
532
+ Increase::Models::PhysicalCheckBatchCompleteParams
533
+
534
+ PhysicalCheckBatchCreateParams =
535
+ Increase::Models::PhysicalCheckBatchCreateParams
536
+
502
537
  Program = Increase::Models::Program
503
538
 
504
539
  ProgramListParams = Increase::Models::ProgramListParams
@@ -512,6 +547,21 @@ module Increase
512
547
  RealTimeDecisionRetrieveParams =
513
548
  Increase::Models::RealTimeDecisionRetrieveParams
514
549
 
550
+ RealTimePaymentsRequestForPayment =
551
+ Increase::Models::RealTimePaymentsRequestForPayment
552
+
553
+ RealTimePaymentsRequestsForPaymentCancelParams =
554
+ Increase::Models::RealTimePaymentsRequestsForPaymentCancelParams
555
+
556
+ RealTimePaymentsRequestsForPaymentCreateParams =
557
+ Increase::Models::RealTimePaymentsRequestsForPaymentCreateParams
558
+
559
+ RealTimePaymentsRequestsForPaymentListParams =
560
+ Increase::Models::RealTimePaymentsRequestsForPaymentListParams
561
+
562
+ RealTimePaymentsRequestsForPaymentRetrieveParams =
563
+ Increase::Models::RealTimePaymentsRequestsForPaymentRetrieveParams
564
+
515
565
  RealTimePaymentsTransfer = Increase::Models::RealTimePaymentsTransfer
516
566
 
517
567
  RealTimePaymentsTransferApproveParams =
@@ -145,6 +145,23 @@ module Increase
145
145
  )
146
146
  end
147
147
 
148
+ # Create a short-lived token that authorizes
149
+ # [Card Elements](/documentation/card-elements) to render the details of a Card in
150
+ # your frontend. Mint the token on your server and pass it to the browser; the
151
+ # token is valid for one hour and is scoped to a single Card.
152
+ sig do
153
+ params(
154
+ card_id: String,
155
+ request_options: Increase::RequestOptions::OrHash
156
+ ).returns(Increase::CardDetailsToken)
157
+ end
158
+ def create_details_token(
159
+ # The identifier of the Card to mint a details token for.
160
+ card_id,
161
+ request_options: {}
162
+ )
163
+ end
164
+
148
165
  # Sensitive details for a Card include the primary account number, expiration,
149
166
  # card verification code, and PIN.
150
167
  sig do
@@ -0,0 +1,52 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Resources
5
+ class DigitalWalletTokenRequests
6
+ # Retrieve a Digital Wallet Token Request
7
+ sig do
8
+ params(
9
+ digital_wallet_token_request_id: String,
10
+ request_options: Increase::RequestOptions::OrHash
11
+ ).returns(Increase::DigitalWalletTokenRequest)
12
+ end
13
+ def retrieve(
14
+ # The identifier of the Digital Wallet Token Request.
15
+ digital_wallet_token_request_id,
16
+ request_options: {}
17
+ )
18
+ end
19
+
20
+ # List Digital Wallet Token Requests
21
+ sig do
22
+ params(
23
+ card_id: String,
24
+ created_at:
25
+ Increase::DigitalWalletTokenRequestListParams::CreatedAt::OrHash,
26
+ cursor: String,
27
+ limit: Integer,
28
+ request_options: Increase::RequestOptions::OrHash
29
+ ).returns(Increase::Internal::Page[Increase::DigitalWalletTokenRequest])
30
+ end
31
+ def list(
32
+ # Filter Digital Wallet Token Requests to ones for the specified Card.
33
+ card_id: nil,
34
+ created_at: nil,
35
+ # Return the page of entries after this one.
36
+ cursor: nil,
37
+ # Limit the size of the list that is returned. The default (and maximum) is 100
38
+ # objects.
39
+ #
40
+ # Defaults to `100`.
41
+ limit: nil,
42
+ request_options: {}
43
+ )
44
+ end
45
+
46
+ # @api private
47
+ sig { params(client: Increase::Client).returns(T.attached_class) }
48
+ def self.new(client:)
49
+ end
50
+ end
51
+ end
52
+ end
@@ -42,6 +42,27 @@ module Increase
42
42
  )
43
43
  end
44
44
 
45
+ # Submit a Digital Wallet Token status transition to the card network. The Digital
46
+ # Wallet Token will move to `pending_transitioning` until the card network
47
+ # confirms the transition, and a `digital_wallet_token.updated` webhook will be
48
+ # sent once the transition has been confirmed.
49
+ sig do
50
+ params(
51
+ digital_wallet_token_id: String,
52
+ status:
53
+ Increase::DigitalWalletTokenTransitionParams::Status::OrSymbol,
54
+ request_options: Increase::RequestOptions::OrHash
55
+ ).returns(Increase::DigitalWalletToken)
56
+ end
57
+ def transition(
58
+ # The identifier of the Digital Wallet Token.
59
+ digital_wallet_token_id,
60
+ # The status to transition the Digital Wallet Token to.
61
+ status:,
62
+ request_options: {}
63
+ )
64
+ end
65
+
45
66
  # @api private
46
67
  sig { params(client: Increase::Client).returns(T.attached_class) }
47
68
  def self.new(client:)
@@ -0,0 +1,62 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Resources
5
+ class InboundRealTimePaymentsRequestsForPayment
6
+ # Retrieve an Inbound Real-Time Payments Request for Payment
7
+ sig do
8
+ params(
9
+ inbound_real_time_payments_request_for_payment_id: String,
10
+ request_options: Increase::RequestOptions::OrHash
11
+ ).returns(Increase::InboundRealTimePaymentsRequestForPayment)
12
+ end
13
+ def retrieve(
14
+ # The identifier of the Inbound Real-Time Payments Request for Payment to get
15
+ # details for.
16
+ inbound_real_time_payments_request_for_payment_id,
17
+ request_options: {}
18
+ )
19
+ end
20
+
21
+ # List Inbound Real-Time Payments Requests for Payment
22
+ sig do
23
+ params(
24
+ account_id: String,
25
+ account_number_id: String,
26
+ created_at:
27
+ Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt::OrHash,
28
+ cursor: String,
29
+ limit: Integer,
30
+ request_options: Increase::RequestOptions::OrHash
31
+ ).returns(
32
+ Increase::Internal::Page[
33
+ Increase::InboundRealTimePaymentsRequestForPayment
34
+ ]
35
+ )
36
+ end
37
+ def list(
38
+ # Filter Inbound Real-Time Payments Requests for Payment to those belonging to the
39
+ # specified Account.
40
+ account_id: nil,
41
+ # Filter Inbound Real-Time Payments Requests for Payment to ones belonging to the
42
+ # specified Account Number.
43
+ account_number_id: nil,
44
+ created_at: nil,
45
+ # Return the page of entries after this one.
46
+ cursor: nil,
47
+ # Limit the size of the list that is returned. The default (and maximum) is 100
48
+ # objects.
49
+ #
50
+ # Defaults to `100`.
51
+ limit: nil,
52
+ request_options: {}
53
+ )
54
+ end
55
+
56
+ # @api private
57
+ sig { params(client: Increase::Client).returns(T.attached_class) }
58
+ def self.new(client:)
59
+ end
60
+ end
61
+ end
62
+ end