lithic 0.18.0 → 0.19.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 +48 -0
- data/README.md +1 -1
- data/lib/lithic/internal/type/union.rb +7 -21
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -0
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -0
- data/lib/lithic/models/book_transfer_list_params.rb +1 -0
- data/lib/lithic/models/book_transfer_response.rb +4 -0
- data/lib/lithic/models/card_authorization.rb +7 -6
- data/lib/lithic/models/embed_session_generated_webhook_event.rb +83 -0
- data/lib/lithic/models/embed_viewed_webhook_event.rb +85 -0
- data/lib/lithic/models/event.rb +44 -12
- data/lib/lithic/models/event_list_params.rb +23 -6
- data/lib/lithic/models/event_subscription.rb +23 -6
- data/lib/lithic/models/events/subscription_create_params.rb +23 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
- data/lib/lithic/models/events/subscription_update_params.rb +23 -6
- data/lib/lithic/models/external_payment_list_params.rb +3 -3
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +4 -3
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +7 -0
- data/lib/lithic/models/financial_event.rb +5 -0
- data/lib/lithic/models/fraud/transaction_report_response.rb +8 -8
- data/lib/lithic/models/fraud/transaction_retrieve_response.rb +10 -8
- data/lib/lithic/models/parsed_webhook_event.rb +5 -1
- data/lib/lithic/models/payment.rb +28 -1
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/transaction_monitoring/case_transaction.rb +120 -43
- data/lib/lithic/models/transaction_monitoring/case_update_params.rb +5 -11
- data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +5 -11
- data/lib/lithic/models/transaction_monitoring/queue.rb +10 -1
- data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +14 -1
- data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +15 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +4 -3
- data/lib/lithic/models.rb +4 -0
- data/lib/lithic/resources/card_authorizations.rb +1 -1
- data/lib/lithic/resources/cards.rb +5 -0
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
- data/lib/lithic/resources/transaction_monitoring/cases.rb +2 -2
- data/lib/lithic/resources/transaction_monitoring/queues.rb +12 -2
- data/lib/lithic/resources/transactions.rb +4 -3
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -1
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +8 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +2 -2
- data/rbi/lithic/models/book_transfer_create_params.rbi +20 -0
- data/rbi/lithic/models/book_transfer_list_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_response.rbi +20 -0
- data/rbi/lithic/models/card_authorization.rbi +12 -10
- data/rbi/lithic/models/embed_session_generated_webhook_event.rbi +157 -0
- data/rbi/lithic/models/embed_viewed_webhook_event.rbi +146 -0
- data/rbi/lithic/models/event.rbi +70 -18
- data/rbi/lithic/models/event_list_params.rbi +31 -6
- data/rbi/lithic/models/event_subscription.rbi +31 -6
- data/rbi/lithic/models/events/subscription_create_params.rbi +31 -6
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +31 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +3 -3
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +8 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +35 -0
- data/rbi/lithic/models/financial_event.rbi +22 -0
- data/rbi/lithic/models/fraud/transaction_report_response.rbi +16 -29
- data/rbi/lithic/models/fraud/transaction_retrieve_response.rbi +16 -29
- data/rbi/lithic/models/parsed_webhook_event.rbi +2 -0
- data/rbi/lithic/models/payment.rbi +47 -0
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/transaction_monitoring/case_transaction.rbi +151 -46
- data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +8 -33
- data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +7 -31
- data/rbi/lithic/models/transaction_monitoring/queue.rbi +10 -0
- data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +12 -0
- data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +14 -0
- data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +8 -6
- data/rbi/lithic/models.rbi +5 -0
- data/rbi/lithic/resources/card_authorizations.rbi +1 -1
- data/rbi/lithic/resources/cards.rbi +3 -0
- data/rbi/lithic/resources/external_payments.rbi +1 -1
- data/rbi/lithic/resources/financial_accounts/balances.rbi +4 -3
- data/rbi/lithic/resources/three_ds/decisioning.rbi +1 -1
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +4 -11
- data/rbi/lithic/resources/transaction_monitoring/queues.rbi +11 -0
- data/rbi/lithic/resources/transactions.rbi +8 -6
- data/rbi/lithic/resources/webhooks.rbi +2 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +4 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +2 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +8 -0
- data/sig/lithic/models/book_transfer_list_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_response.rbs +8 -0
- data/sig/lithic/models/embed_session_generated_webhook_event.rbs +66 -0
- data/sig/lithic/models/embed_viewed_webhook_event.rbs +68 -0
- data/sig/lithic/models/event.rbs +4 -0
- data/sig/lithic/models/event_list_params.rbs +4 -0
- data/sig/lithic/models/event_subscription.rbs +4 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +14 -0
- data/sig/lithic/models/financial_event.rbs +10 -0
- data/sig/lithic/models/fraud/transaction_report_response.rbs +16 -26
- data/sig/lithic/models/fraud/transaction_retrieve_response.rbs +16 -26
- data/sig/lithic/models/parsed_webhook_event.rbs +2 -0
- data/sig/lithic/models/payment.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/transaction_monitoring/case_transaction.rbs +93 -34
- data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +5 -7
- data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +4 -4
- data/sig/lithic/models/transaction_monitoring/queue.rbs +5 -0
- data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +9 -1
- data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +10 -1
- data/sig/lithic/models.rbs +4 -0
- data/sig/lithic/resources/transaction_monitoring/cases.rbs +2 -2
- data/sig/lithic/resources/transaction_monitoring/queues.rbs +2 -0
- data/sig/lithic/resources/webhooks.rbs +2 -0
- metadata +8 -5
- data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +0 -28
- data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +0 -61
- data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +0 -24
|
@@ -127,7 +127,7 @@ module Lithic
|
|
|
127
127
|
# The type of event that occurred. Possible values:
|
|
128
128
|
#
|
|
129
129
|
# - account_holder_document.updated: Occurs when an account holder's document
|
|
130
|
-
# upload status has been updated
|
|
130
|
+
# upload status has been updated.
|
|
131
131
|
# - account_holder.created: Occurs when a new account_holder is created.
|
|
132
132
|
# - account_holder.updated: Occurs when an account_holder is updated.
|
|
133
133
|
# - account_holder.verification: Occurs when an asynchronous account_holder's
|
|
@@ -191,10 +191,25 @@ module Lithic
|
|
|
191
191
|
# This event will be deprecated in the future. We recommend using
|
|
192
192
|
# `tokenization.updated` instead.
|
|
193
193
|
#
|
|
194
|
-
# - dispute_evidence.upload_failed: Occurs when
|
|
194
|
+
# - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
|
|
195
|
+
# dispute filed through the Chargebacks API (`/v1/disputes`).
|
|
196
|
+
#
|
|
197
|
+
# This event is not emitted for Managed Disputes.
|
|
198
|
+
#
|
|
195
199
|
# - dispute_transaction.created: Occurs when a new dispute transaction is created
|
|
196
|
-
#
|
|
197
|
-
# -
|
|
200
|
+
# for a Managed Disputes case.
|
|
201
|
+
# - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
|
|
202
|
+
# Disputes case is updated.
|
|
203
|
+
# - dispute.updated: Occurs when a dispute filed through the Chargebacks API
|
|
204
|
+
# (`/v1/disputes`) is created or updated.
|
|
205
|
+
#
|
|
206
|
+
# This event is not emitted for Managed Disputes. Use
|
|
207
|
+
# `dispute_transaction.created` and `dispute_transaction.updated` instead.
|
|
208
|
+
#
|
|
209
|
+
# - embed.session_generated: Occurs when a card embed session is successfully
|
|
210
|
+
# generated.
|
|
211
|
+
# - embed.viewed: Occurs when a card detail is successfully revealed through an
|
|
212
|
+
# embed.
|
|
198
213
|
# - external_bank_account.created: Occurs when an external bank account is
|
|
199
214
|
# created.
|
|
200
215
|
# - external_bank_account.updated: Occurs when an external bank account is
|
|
@@ -216,12 +231,12 @@ module Lithic
|
|
|
216
231
|
# - payment_transaction.updated: Occurs when a payment transaction is updated.
|
|
217
232
|
# - settlement_report.updated: Occurs when a settlement report is created or
|
|
218
233
|
# updated.
|
|
219
|
-
# - statements.created: Occurs when a statement has been created
|
|
234
|
+
# - statements.created: Occurs when a statement has been created.
|
|
220
235
|
# - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
|
|
221
236
|
# event. Upon receiving this request, the Card Program should issue its own
|
|
222
237
|
# challenge to the cardholder. After a cardholder challenge is successfully
|
|
223
238
|
# completed, the Card Program needs to respond back to Lithic by call to
|
|
224
|
-
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/
|
|
239
|
+
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
|
|
225
240
|
# Then the cardholder must navigate back to the merchant checkout flow to
|
|
226
241
|
# complete the transaction. Some merchants will include an `app_requestor_url`
|
|
227
242
|
# for app-based purchases; Lithic recommends triggering a redirect to that URL
|
|
@@ -404,6 +419,16 @@ module Lithic
|
|
|
404
419
|
:"dispute.updated",
|
|
405
420
|
Lithic::EventListParams::EventType::TaggedSymbol
|
|
406
421
|
)
|
|
422
|
+
EMBED_SESSION_GENERATED =
|
|
423
|
+
T.let(
|
|
424
|
+
:"embed.session_generated",
|
|
425
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
|
426
|
+
)
|
|
427
|
+
EMBED_VIEWED =
|
|
428
|
+
T.let(
|
|
429
|
+
:"embed.viewed",
|
|
430
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
|
431
|
+
)
|
|
407
432
|
EXTERNAL_BANK_ACCOUNT_CREATED =
|
|
408
433
|
T.let(
|
|
409
434
|
:"external_bank_account.created",
|
|
@@ -75,7 +75,7 @@ module Lithic
|
|
|
75
75
|
# The type of event that occurred. Possible values:
|
|
76
76
|
#
|
|
77
77
|
# - account_holder_document.updated: Occurs when an account holder's document
|
|
78
|
-
# upload status has been updated
|
|
78
|
+
# upload status has been updated.
|
|
79
79
|
# - account_holder.created: Occurs when a new account_holder is created.
|
|
80
80
|
# - account_holder.updated: Occurs when an account_holder is updated.
|
|
81
81
|
# - account_holder.verification: Occurs when an asynchronous account_holder's
|
|
@@ -139,10 +139,25 @@ module Lithic
|
|
|
139
139
|
# This event will be deprecated in the future. We recommend using
|
|
140
140
|
# `tokenization.updated` instead.
|
|
141
141
|
#
|
|
142
|
-
# - dispute_evidence.upload_failed: Occurs when
|
|
142
|
+
# - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
|
|
143
|
+
# dispute filed through the Chargebacks API (`/v1/disputes`).
|
|
144
|
+
#
|
|
145
|
+
# This event is not emitted for Managed Disputes.
|
|
146
|
+
#
|
|
143
147
|
# - dispute_transaction.created: Occurs when a new dispute transaction is created
|
|
144
|
-
#
|
|
145
|
-
# -
|
|
148
|
+
# for a Managed Disputes case.
|
|
149
|
+
# - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
|
|
150
|
+
# Disputes case is updated.
|
|
151
|
+
# - dispute.updated: Occurs when a dispute filed through the Chargebacks API
|
|
152
|
+
# (`/v1/disputes`) is created or updated.
|
|
153
|
+
#
|
|
154
|
+
# This event is not emitted for Managed Disputes. Use
|
|
155
|
+
# `dispute_transaction.created` and `dispute_transaction.updated` instead.
|
|
156
|
+
#
|
|
157
|
+
# - embed.session_generated: Occurs when a card embed session is successfully
|
|
158
|
+
# generated.
|
|
159
|
+
# - embed.viewed: Occurs when a card detail is successfully revealed through an
|
|
160
|
+
# embed.
|
|
146
161
|
# - external_bank_account.created: Occurs when an external bank account is
|
|
147
162
|
# created.
|
|
148
163
|
# - external_bank_account.updated: Occurs when an external bank account is
|
|
@@ -164,12 +179,12 @@ module Lithic
|
|
|
164
179
|
# - payment_transaction.updated: Occurs when a payment transaction is updated.
|
|
165
180
|
# - settlement_report.updated: Occurs when a settlement report is created or
|
|
166
181
|
# updated.
|
|
167
|
-
# - statements.created: Occurs when a statement has been created
|
|
182
|
+
# - statements.created: Occurs when a statement has been created.
|
|
168
183
|
# - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
|
|
169
184
|
# event. Upon receiving this request, the Card Program should issue its own
|
|
170
185
|
# challenge to the cardholder. After a cardholder challenge is successfully
|
|
171
186
|
# completed, the Card Program needs to respond back to Lithic by call to
|
|
172
|
-
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/
|
|
187
|
+
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
|
|
173
188
|
# Then the cardholder must navigate back to the merchant checkout flow to
|
|
174
189
|
# complete the transaction. Some merchants will include an `app_requestor_url`
|
|
175
190
|
# for app-based purchases; Lithic recommends triggering a redirect to that URL
|
|
@@ -352,6 +367,16 @@ module Lithic
|
|
|
352
367
|
:"dispute.updated",
|
|
353
368
|
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
354
369
|
)
|
|
370
|
+
EMBED_SESSION_GENERATED =
|
|
371
|
+
T.let(
|
|
372
|
+
:"embed.session_generated",
|
|
373
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
374
|
+
)
|
|
375
|
+
EMBED_VIEWED =
|
|
376
|
+
T.let(
|
|
377
|
+
:"embed.viewed",
|
|
378
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
379
|
+
)
|
|
355
380
|
EXTERNAL_BANK_ACCOUNT_CREATED =
|
|
356
381
|
T.let(
|
|
357
382
|
:"external_bank_account.created",
|
|
@@ -102,7 +102,7 @@ module Lithic
|
|
|
102
102
|
# The type of event that occurred. Possible values:
|
|
103
103
|
#
|
|
104
104
|
# - account_holder_document.updated: Occurs when an account holder's document
|
|
105
|
-
# upload status has been updated
|
|
105
|
+
# upload status has been updated.
|
|
106
106
|
# - account_holder.created: Occurs when a new account_holder is created.
|
|
107
107
|
# - account_holder.updated: Occurs when an account_holder is updated.
|
|
108
108
|
# - account_holder.verification: Occurs when an asynchronous account_holder's
|
|
@@ -166,10 +166,25 @@ module Lithic
|
|
|
166
166
|
# This event will be deprecated in the future. We recommend using
|
|
167
167
|
# `tokenization.updated` instead.
|
|
168
168
|
#
|
|
169
|
-
# - dispute_evidence.upload_failed: Occurs when
|
|
169
|
+
# - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
|
|
170
|
+
# dispute filed through the Chargebacks API (`/v1/disputes`).
|
|
171
|
+
#
|
|
172
|
+
# This event is not emitted for Managed Disputes.
|
|
173
|
+
#
|
|
170
174
|
# - dispute_transaction.created: Occurs when a new dispute transaction is created
|
|
171
|
-
#
|
|
172
|
-
# -
|
|
175
|
+
# for a Managed Disputes case.
|
|
176
|
+
# - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
|
|
177
|
+
# Disputes case is updated.
|
|
178
|
+
# - dispute.updated: Occurs when a dispute filed through the Chargebacks API
|
|
179
|
+
# (`/v1/disputes`) is created or updated.
|
|
180
|
+
#
|
|
181
|
+
# This event is not emitted for Managed Disputes. Use
|
|
182
|
+
# `dispute_transaction.created` and `dispute_transaction.updated` instead.
|
|
183
|
+
#
|
|
184
|
+
# - embed.session_generated: Occurs when a card embed session is successfully
|
|
185
|
+
# generated.
|
|
186
|
+
# - embed.viewed: Occurs when a card detail is successfully revealed through an
|
|
187
|
+
# embed.
|
|
173
188
|
# - external_bank_account.created: Occurs when an external bank account is
|
|
174
189
|
# created.
|
|
175
190
|
# - external_bank_account.updated: Occurs when an external bank account is
|
|
@@ -191,12 +206,12 @@ module Lithic
|
|
|
191
206
|
# - payment_transaction.updated: Occurs when a payment transaction is updated.
|
|
192
207
|
# - settlement_report.updated: Occurs when a settlement report is created or
|
|
193
208
|
# updated.
|
|
194
|
-
# - statements.created: Occurs when a statement has been created
|
|
209
|
+
# - statements.created: Occurs when a statement has been created.
|
|
195
210
|
# - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
|
|
196
211
|
# event. Upon receiving this request, the Card Program should issue its own
|
|
197
212
|
# challenge to the cardholder. After a cardholder challenge is successfully
|
|
198
213
|
# completed, the Card Program needs to respond back to Lithic by call to
|
|
199
|
-
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/
|
|
214
|
+
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
|
|
200
215
|
# Then the cardholder must navigate back to the merchant checkout flow to
|
|
201
216
|
# complete the transaction. Some merchants will include an `app_requestor_url`
|
|
202
217
|
# for app-based purchases; Lithic recommends triggering a redirect to that URL
|
|
@@ -381,6 +396,16 @@ module Lithic
|
|
|
381
396
|
:"dispute.updated",
|
|
382
397
|
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
383
398
|
)
|
|
399
|
+
EMBED_SESSION_GENERATED =
|
|
400
|
+
T.let(
|
|
401
|
+
:"embed.session_generated",
|
|
402
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
403
|
+
)
|
|
404
|
+
EMBED_VIEWED =
|
|
405
|
+
T.let(
|
|
406
|
+
:"embed.viewed",
|
|
407
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
408
|
+
)
|
|
384
409
|
EXTERNAL_BANK_ACCOUNT_CREATED =
|
|
385
410
|
T.let(
|
|
386
411
|
:"external_bank_account.created",
|
|
@@ -238,6 +238,16 @@ module Lithic
|
|
|
238
238
|
:"dispute.updated",
|
|
239
239
|
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
240
240
|
)
|
|
241
|
+
EMBED_SESSION_GENERATED =
|
|
242
|
+
T.let(
|
|
243
|
+
:"embed.session_generated",
|
|
244
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
245
|
+
)
|
|
246
|
+
EMBED_VIEWED =
|
|
247
|
+
T.let(
|
|
248
|
+
:"embed.viewed",
|
|
249
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
250
|
+
)
|
|
241
251
|
EXTERNAL_BANK_ACCOUNT_CREATED =
|
|
242
252
|
T.let(
|
|
243
253
|
:"external_bank_account.created",
|
|
@@ -108,7 +108,7 @@ module Lithic
|
|
|
108
108
|
# The type of event that occurred. Possible values:
|
|
109
109
|
#
|
|
110
110
|
# - account_holder_document.updated: Occurs when an account holder's document
|
|
111
|
-
# upload status has been updated
|
|
111
|
+
# upload status has been updated.
|
|
112
112
|
# - account_holder.created: Occurs when a new account_holder is created.
|
|
113
113
|
# - account_holder.updated: Occurs when an account_holder is updated.
|
|
114
114
|
# - account_holder.verification: Occurs when an asynchronous account_holder's
|
|
@@ -172,10 +172,25 @@ module Lithic
|
|
|
172
172
|
# This event will be deprecated in the future. We recommend using
|
|
173
173
|
# `tokenization.updated` instead.
|
|
174
174
|
#
|
|
175
|
-
# - dispute_evidence.upload_failed: Occurs when
|
|
175
|
+
# - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
|
|
176
|
+
# dispute filed through the Chargebacks API (`/v1/disputes`).
|
|
177
|
+
#
|
|
178
|
+
# This event is not emitted for Managed Disputes.
|
|
179
|
+
#
|
|
176
180
|
# - dispute_transaction.created: Occurs when a new dispute transaction is created
|
|
177
|
-
#
|
|
178
|
-
# -
|
|
181
|
+
# for a Managed Disputes case.
|
|
182
|
+
# - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
|
|
183
|
+
# Disputes case is updated.
|
|
184
|
+
# - dispute.updated: Occurs when a dispute filed through the Chargebacks API
|
|
185
|
+
# (`/v1/disputes`) is created or updated.
|
|
186
|
+
#
|
|
187
|
+
# This event is not emitted for Managed Disputes. Use
|
|
188
|
+
# `dispute_transaction.created` and `dispute_transaction.updated` instead.
|
|
189
|
+
#
|
|
190
|
+
# - embed.session_generated: Occurs when a card embed session is successfully
|
|
191
|
+
# generated.
|
|
192
|
+
# - embed.viewed: Occurs when a card detail is successfully revealed through an
|
|
193
|
+
# embed.
|
|
179
194
|
# - external_bank_account.created: Occurs when an external bank account is
|
|
180
195
|
# created.
|
|
181
196
|
# - external_bank_account.updated: Occurs when an external bank account is
|
|
@@ -197,12 +212,12 @@ module Lithic
|
|
|
197
212
|
# - payment_transaction.updated: Occurs when a payment transaction is updated.
|
|
198
213
|
# - settlement_report.updated: Occurs when a settlement report is created or
|
|
199
214
|
# updated.
|
|
200
|
-
# - statements.created: Occurs when a statement has been created
|
|
215
|
+
# - statements.created: Occurs when a statement has been created.
|
|
201
216
|
# - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
|
|
202
217
|
# event. Upon receiving this request, the Card Program should issue its own
|
|
203
218
|
# challenge to the cardholder. After a cardholder challenge is successfully
|
|
204
219
|
# completed, the Card Program needs to respond back to Lithic by call to
|
|
205
|
-
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/
|
|
220
|
+
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
|
|
206
221
|
# Then the cardholder must navigate back to the merchant checkout flow to
|
|
207
222
|
# complete the transaction. Some merchants will include an `app_requestor_url`
|
|
208
223
|
# for app-based purchases; Lithic recommends triggering a redirect to that URL
|
|
@@ -387,6 +402,16 @@ module Lithic
|
|
|
387
402
|
:"dispute.updated",
|
|
388
403
|
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
389
404
|
)
|
|
405
|
+
EMBED_SESSION_GENERATED =
|
|
406
|
+
T.let(
|
|
407
|
+
:"embed.session_generated",
|
|
408
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
409
|
+
)
|
|
410
|
+
EMBED_VIEWED =
|
|
411
|
+
T.let(
|
|
412
|
+
:"embed.viewed",
|
|
413
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
414
|
+
)
|
|
390
415
|
EXTERNAL_BANK_ACCOUNT_CREATED =
|
|
391
416
|
T.let(
|
|
392
417
|
:"external_bank_account.created",
|
|
@@ -25,7 +25,7 @@ module Lithic
|
|
|
25
25
|
sig { params(business_account_token: String).void }
|
|
26
26
|
attr_writer :business_account_token
|
|
27
27
|
|
|
28
|
-
#
|
|
28
|
+
# The external rail the funds moved on
|
|
29
29
|
sig do
|
|
30
30
|
returns(
|
|
31
31
|
T.nilable(Lithic::ExternalPaymentListParams::Category::OrSymbol)
|
|
@@ -121,7 +121,7 @@ module Lithic
|
|
|
121
121
|
# will be included. UTC time zone.
|
|
122
122
|
begin_: nil,
|
|
123
123
|
business_account_token: nil,
|
|
124
|
-
#
|
|
124
|
+
# The external rail the funds moved on
|
|
125
125
|
category: nil,
|
|
126
126
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
127
127
|
# will be included. UTC time zone.
|
|
@@ -165,7 +165,7 @@ module Lithic
|
|
|
165
165
|
def to_hash
|
|
166
166
|
end
|
|
167
167
|
|
|
168
|
-
#
|
|
168
|
+
# The external rail the funds moved on
|
|
169
169
|
module Category
|
|
170
170
|
extend Lithic::Internal::Type::Enum
|
|
171
171
|
|
|
@@ -25,9 +25,10 @@ module Lithic
|
|
|
25
25
|
sig { params(balance_date: Time).void }
|
|
26
26
|
attr_writer :balance_date
|
|
27
27
|
|
|
28
|
-
# Balance after a given financial event occured.
|
|
29
|
-
#
|
|
30
|
-
#
|
|
28
|
+
# Balance after a given financial event occured. Note: if an account receives
|
|
29
|
+
# multiple events around the same time whose financial impacts cancel out, a
|
|
30
|
+
# balance lookup by one of those event tokens may return 404, since their combined
|
|
31
|
+
# impact on the account is zero.
|
|
31
32
|
sig { returns(T.nilable(String)) }
|
|
32
33
|
attr_reader :last_transaction_event_token
|
|
33
34
|
|
|
@@ -46,9 +47,10 @@ module Lithic
|
|
|
46
47
|
financial_account_token:,
|
|
47
48
|
# UTC date of the balance to retrieve. Defaults to latest available balance
|
|
48
49
|
balance_date: nil,
|
|
49
|
-
# Balance after a given financial event occured.
|
|
50
|
-
#
|
|
51
|
-
#
|
|
50
|
+
# Balance after a given financial event occured. Note: if an account receives
|
|
51
|
+
# multiple events around the same time whose financial impacts cancel out, a
|
|
52
|
+
# balance lookup by one of those event tokens may return 404, since their combined
|
|
53
|
+
# impact on the account is zero.
|
|
52
54
|
last_transaction_event_token: nil,
|
|
53
55
|
request_options: {}
|
|
54
56
|
)
|
|
@@ -233,6 +233,11 @@ module Lithic
|
|
|
233
233
|
:WIRE,
|
|
234
234
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
|
235
235
|
)
|
|
236
|
+
STABLECOIN =
|
|
237
|
+
T.let(
|
|
238
|
+
:STABLECOIN,
|
|
239
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
|
240
|
+
)
|
|
236
241
|
BALANCE_OR_FUNDING =
|
|
237
242
|
T.let(
|
|
238
243
|
:BALANCE_OR_FUNDING,
|
|
@@ -333,6 +338,11 @@ module Lithic
|
|
|
333
338
|
:PROGRAM_FUNDING,
|
|
334
339
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
|
335
340
|
)
|
|
341
|
+
PROGRAM_TRANSFER =
|
|
342
|
+
T.let(
|
|
343
|
+
:PROGRAM_TRANSFER,
|
|
344
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::Category::TaggedSymbol
|
|
345
|
+
)
|
|
336
346
|
|
|
337
347
|
sig do
|
|
338
348
|
override.returns(
|
|
@@ -762,6 +772,16 @@ module Lithic
|
|
|
762
772
|
:LITHIC_NETWORK_PAYMENT,
|
|
763
773
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
764
774
|
)
|
|
775
|
+
LITHIC_PROGRAM_TRANSFER =
|
|
776
|
+
T.let(
|
|
777
|
+
:LITHIC_PROGRAM_TRANSFER,
|
|
778
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
779
|
+
)
|
|
780
|
+
BANK_PROGRAM_TRANSFER =
|
|
781
|
+
T.let(
|
|
782
|
+
:BANK_PROGRAM_TRANSFER,
|
|
783
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
784
|
+
)
|
|
765
785
|
ANNUAL =
|
|
766
786
|
T.let(
|
|
767
787
|
:ANNUAL,
|
|
@@ -797,6 +817,21 @@ module Lithic
|
|
|
797
817
|
:ACCOUNT_TO_ACCOUNT,
|
|
798
818
|
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
799
819
|
)
|
|
820
|
+
STABLECOIN_RECEIVED =
|
|
821
|
+
T.let(
|
|
822
|
+
:STABLECOIN_RECEIVED,
|
|
823
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
824
|
+
)
|
|
825
|
+
STABLECOIN_REVIEWED =
|
|
826
|
+
T.let(
|
|
827
|
+
:STABLECOIN_REVIEWED,
|
|
828
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
829
|
+
)
|
|
830
|
+
STABLECOIN_SETTLED =
|
|
831
|
+
T.let(
|
|
832
|
+
:STABLECOIN_SETTLED,
|
|
833
|
+
Lithic::FinancialAccounts::Statements::StatementLineItems::Data::EventType::TaggedSymbol
|
|
834
|
+
)
|
|
800
835
|
|
|
801
836
|
sig do
|
|
802
837
|
override.returns(
|
|
@@ -447,6 +447,16 @@ module Lithic
|
|
|
447
447
|
:LITHIC_NETWORK_PAYMENT,
|
|
448
448
|
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
449
449
|
)
|
|
450
|
+
LITHIC_PROGRAM_TRANSFER =
|
|
451
|
+
T.let(
|
|
452
|
+
:LITHIC_PROGRAM_TRANSFER,
|
|
453
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
454
|
+
)
|
|
455
|
+
BANK_PROGRAM_TRANSFER =
|
|
456
|
+
T.let(
|
|
457
|
+
:BANK_PROGRAM_TRANSFER,
|
|
458
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
459
|
+
)
|
|
450
460
|
ANNUAL = T.let(:ANNUAL, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
451
461
|
ANNUAL_REVERSAL =
|
|
452
462
|
T.let(:ANNUAL_REVERSAL, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
@@ -459,6 +469,18 @@ module Lithic
|
|
|
459
469
|
T.let(:MONTHLY_REVERSAL, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
460
470
|
ACCOUNT_TO_ACCOUNT =
|
|
461
471
|
T.let(:ACCOUNT_TO_ACCOUNT, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
472
|
+
STABLECOIN_RECEIVED =
|
|
473
|
+
T.let(
|
|
474
|
+
:STABLECOIN_RECEIVED,
|
|
475
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
476
|
+
)
|
|
477
|
+
STABLECOIN_REVIEWED =
|
|
478
|
+
T.let(
|
|
479
|
+
:STABLECOIN_REVIEWED,
|
|
480
|
+
Lithic::FinancialEvent::Type::TaggedSymbol
|
|
481
|
+
)
|
|
482
|
+
STABLECOIN_SETTLED =
|
|
483
|
+
T.let(:STABLECOIN_SETTLED, Lithic::FinancialEvent::Type::TaggedSymbol)
|
|
462
484
|
|
|
463
485
|
sig do
|
|
464
486
|
override.returns(T::Array[Lithic::FinancialEvent::Type::TaggedSymbol])
|
|
@@ -40,17 +40,11 @@ module Lithic
|
|
|
40
40
|
|
|
41
41
|
# Provides additional context or details about the fraud report.
|
|
42
42
|
sig { returns(T.nilable(String)) }
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
sig { params(comment: String).void }
|
|
46
|
-
attr_writer :comment
|
|
43
|
+
attr_accessor :comment
|
|
47
44
|
|
|
48
45
|
# Timestamp representing when the fraud report was created.
|
|
49
46
|
sig { returns(T.nilable(Time)) }
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
sig { params(created_at: Time).void }
|
|
53
|
-
attr_writer :created_at
|
|
47
|
+
attr_accessor :created_at
|
|
54
48
|
|
|
55
49
|
# Specifies the type or category of fraud that the transaction is suspected or
|
|
56
50
|
# confirmed to involve, string (enum) supporting the following values:
|
|
@@ -80,33 +74,24 @@ module Lithic
|
|
|
80
74
|
)
|
|
81
75
|
)
|
|
82
76
|
end
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
sig do
|
|
86
|
-
params(
|
|
87
|
-
fraud_type:
|
|
88
|
-
Lithic::Models::Fraud::TransactionReportResponse::FraudType::OrSymbol
|
|
89
|
-
).void
|
|
90
|
-
end
|
|
91
|
-
attr_writer :fraud_type
|
|
77
|
+
attr_accessor :fraud_type
|
|
92
78
|
|
|
93
79
|
# Timestamp representing the last update to the fraud report.
|
|
94
80
|
sig { returns(T.nilable(Time)) }
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
sig { params(updated_at: Time).void }
|
|
98
|
-
attr_writer :updated_at
|
|
81
|
+
attr_accessor :updated_at
|
|
99
82
|
|
|
100
83
|
sig do
|
|
101
84
|
params(
|
|
102
85
|
fraud_status:
|
|
103
86
|
Lithic::Models::Fraud::TransactionReportResponse::FraudStatus::OrSymbol,
|
|
104
87
|
transaction_token: String,
|
|
105
|
-
comment: String,
|
|
106
|
-
created_at: Time,
|
|
88
|
+
comment: T.nilable(String),
|
|
89
|
+
created_at: T.nilable(Time),
|
|
107
90
|
fraud_type:
|
|
108
|
-
|
|
109
|
-
|
|
91
|
+
T.nilable(
|
|
92
|
+
Lithic::Models::Fraud::TransactionReportResponse::FraudType::OrSymbol
|
|
93
|
+
),
|
|
94
|
+
updated_at: T.nilable(Time)
|
|
110
95
|
).returns(T.attached_class)
|
|
111
96
|
end
|
|
112
97
|
def self.new(
|
|
@@ -165,11 +150,13 @@ module Lithic
|
|
|
165
150
|
fraud_status:
|
|
166
151
|
Lithic::Models::Fraud::TransactionReportResponse::FraudStatus::TaggedSymbol,
|
|
167
152
|
transaction_token: String,
|
|
168
|
-
comment: String,
|
|
169
|
-
created_at: Time,
|
|
153
|
+
comment: T.nilable(String),
|
|
154
|
+
created_at: T.nilable(Time),
|
|
170
155
|
fraud_type:
|
|
171
|
-
|
|
172
|
-
|
|
156
|
+
T.nilable(
|
|
157
|
+
Lithic::Models::Fraud::TransactionReportResponse::FraudType::TaggedSymbol
|
|
158
|
+
),
|
|
159
|
+
updated_at: T.nilable(Time)
|
|
173
160
|
}
|
|
174
161
|
)
|
|
175
162
|
end
|
|
@@ -40,17 +40,11 @@ module Lithic
|
|
|
40
40
|
|
|
41
41
|
# Provides additional context or details about the fraud report.
|
|
42
42
|
sig { returns(T.nilable(String)) }
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
sig { params(comment: String).void }
|
|
46
|
-
attr_writer :comment
|
|
43
|
+
attr_accessor :comment
|
|
47
44
|
|
|
48
45
|
# Timestamp representing when the fraud report was created.
|
|
49
46
|
sig { returns(T.nilable(Time)) }
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
sig { params(created_at: Time).void }
|
|
53
|
-
attr_writer :created_at
|
|
47
|
+
attr_accessor :created_at
|
|
54
48
|
|
|
55
49
|
# Specifies the type or category of fraud that the transaction is suspected or
|
|
56
50
|
# confirmed to involve, string (enum) supporting the following values:
|
|
@@ -80,33 +74,24 @@ module Lithic
|
|
|
80
74
|
)
|
|
81
75
|
)
|
|
82
76
|
end
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
sig do
|
|
86
|
-
params(
|
|
87
|
-
fraud_type:
|
|
88
|
-
Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType::OrSymbol
|
|
89
|
-
).void
|
|
90
|
-
end
|
|
91
|
-
attr_writer :fraud_type
|
|
77
|
+
attr_accessor :fraud_type
|
|
92
78
|
|
|
93
79
|
# Timestamp representing the last update to the fraud report.
|
|
94
80
|
sig { returns(T.nilable(Time)) }
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
sig { params(updated_at: Time).void }
|
|
98
|
-
attr_writer :updated_at
|
|
81
|
+
attr_accessor :updated_at
|
|
99
82
|
|
|
100
83
|
sig do
|
|
101
84
|
params(
|
|
102
85
|
fraud_status:
|
|
103
86
|
Lithic::Models::Fraud::TransactionRetrieveResponse::FraudStatus::OrSymbol,
|
|
104
87
|
transaction_token: String,
|
|
105
|
-
comment: String,
|
|
106
|
-
created_at: Time,
|
|
88
|
+
comment: T.nilable(String),
|
|
89
|
+
created_at: T.nilable(Time),
|
|
107
90
|
fraud_type:
|
|
108
|
-
|
|
109
|
-
|
|
91
|
+
T.nilable(
|
|
92
|
+
Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType::OrSymbol
|
|
93
|
+
),
|
|
94
|
+
updated_at: T.nilable(Time)
|
|
110
95
|
).returns(T.attached_class)
|
|
111
96
|
end
|
|
112
97
|
def self.new(
|
|
@@ -165,11 +150,13 @@ module Lithic
|
|
|
165
150
|
fraud_status:
|
|
166
151
|
Lithic::Models::Fraud::TransactionRetrieveResponse::FraudStatus::TaggedSymbol,
|
|
167
152
|
transaction_token: String,
|
|
168
|
-
comment: String,
|
|
169
|
-
created_at: Time,
|
|
153
|
+
comment: T.nilable(String),
|
|
154
|
+
created_at: T.nilable(Time),
|
|
170
155
|
fraud_type:
|
|
171
|
-
|
|
172
|
-
|
|
156
|
+
T.nilable(
|
|
157
|
+
Lithic::Models::Fraud::TransactionRetrieveResponse::FraudType::TaggedSymbol
|
|
158
|
+
),
|
|
159
|
+
updated_at: T.nilable(Time)
|
|
173
160
|
}
|
|
174
161
|
)
|
|
175
162
|
end
|
|
@@ -43,6 +43,8 @@ module Lithic
|
|
|
43
43
|
Lithic::DigitalWalletTokenizationUpdatedWebhookEvent,
|
|
44
44
|
Lithic::DisputeUpdatedWebhookEvent,
|
|
45
45
|
Lithic::DisputeEvidenceUploadFailedWebhookEvent,
|
|
46
|
+
Lithic::EmbedSessionGeneratedWebhookEvent,
|
|
47
|
+
Lithic::EmbedViewedWebhookEvent,
|
|
46
48
|
Lithic::ExternalBankAccountCreatedWebhookEvent,
|
|
47
49
|
Lithic::ExternalBankAccountUpdatedWebhookEvent,
|
|
48
50
|
Lithic::ExternalPaymentCreatedWebhookEvent,
|