lithic 0.18.1 → 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 +30 -0
- data/README.md +1 -1
- 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/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_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 +1 -1
- 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/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_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 +3 -10
- 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_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 +1 -1
- 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
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class EmbedViewedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Lithic::EmbedViewedWebhookEvent, Lithic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# The token of the account associated with the card
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
attr_accessor :account_token
|
|
14
|
+
|
|
15
|
+
# The token of the card whose details were revealed
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :card_token
|
|
18
|
+
|
|
19
|
+
# Details about the request that revealed the card detail
|
|
20
|
+
sig { returns(Lithic::EmbedViewedWebhookEvent::DeviceDetails) }
|
|
21
|
+
attr_reader :device_details
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
params(
|
|
25
|
+
device_details: Lithic::EmbedViewedWebhookEvent::DeviceDetails::OrHash
|
|
26
|
+
).void
|
|
27
|
+
end
|
|
28
|
+
attr_writer :device_details
|
|
29
|
+
|
|
30
|
+
# The type of card detail that was revealed
|
|
31
|
+
sig { returns(Lithic::EmbedViewedWebhookEvent::EmbedType::TaggedSymbol) }
|
|
32
|
+
attr_accessor :embed_type
|
|
33
|
+
|
|
34
|
+
# The type of event
|
|
35
|
+
sig { returns(Symbol) }
|
|
36
|
+
attr_accessor :event_type
|
|
37
|
+
|
|
38
|
+
# The identifier shared by webhook events for the same embed session.
|
|
39
|
+
sig { returns(String) }
|
|
40
|
+
attr_accessor :session_id
|
|
41
|
+
|
|
42
|
+
sig do
|
|
43
|
+
params(
|
|
44
|
+
account_token: String,
|
|
45
|
+
card_token: String,
|
|
46
|
+
device_details:
|
|
47
|
+
Lithic::EmbedViewedWebhookEvent::DeviceDetails::OrHash,
|
|
48
|
+
embed_type: Lithic::EmbedViewedWebhookEvent::EmbedType::OrSymbol,
|
|
49
|
+
session_id: String,
|
|
50
|
+
event_type: Symbol
|
|
51
|
+
).returns(T.attached_class)
|
|
52
|
+
end
|
|
53
|
+
def self.new(
|
|
54
|
+
# The token of the account associated with the card
|
|
55
|
+
account_token:,
|
|
56
|
+
# The token of the card whose details were revealed
|
|
57
|
+
card_token:,
|
|
58
|
+
# Details about the request that revealed the card detail
|
|
59
|
+
device_details:,
|
|
60
|
+
# The type of card detail that was revealed
|
|
61
|
+
embed_type:,
|
|
62
|
+
# The identifier shared by webhook events for the same embed session.
|
|
63
|
+
session_id:,
|
|
64
|
+
# The type of event
|
|
65
|
+
event_type: :"embed.viewed"
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
sig do
|
|
70
|
+
override.returns(
|
|
71
|
+
{
|
|
72
|
+
account_token: String,
|
|
73
|
+
card_token: String,
|
|
74
|
+
device_details: Lithic::EmbedViewedWebhookEvent::DeviceDetails,
|
|
75
|
+
embed_type:
|
|
76
|
+
Lithic::EmbedViewedWebhookEvent::EmbedType::TaggedSymbol,
|
|
77
|
+
event_type: Symbol,
|
|
78
|
+
session_id: String
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
end
|
|
82
|
+
def to_hash
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class DeviceDetails < Lithic::Internal::Type::BaseModel
|
|
86
|
+
OrHash =
|
|
87
|
+
T.type_alias do
|
|
88
|
+
T.any(
|
|
89
|
+
Lithic::EmbedViewedWebhookEvent::DeviceDetails,
|
|
90
|
+
Lithic::Internal::AnyHash
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# The IP address recorded for the request that generated the event
|
|
95
|
+
sig { returns(String) }
|
|
96
|
+
attr_accessor :ip_address
|
|
97
|
+
|
|
98
|
+
# Details about the request that revealed the card detail
|
|
99
|
+
sig { params(ip_address: String).returns(T.attached_class) }
|
|
100
|
+
def self.new(
|
|
101
|
+
# The IP address recorded for the request that generated the event
|
|
102
|
+
ip_address:
|
|
103
|
+
)
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
sig { override.returns({ ip_address: String }) }
|
|
107
|
+
def to_hash
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# The type of card detail that was revealed
|
|
112
|
+
module EmbedType
|
|
113
|
+
extend Lithic::Internal::Type::Enum
|
|
114
|
+
|
|
115
|
+
TaggedSymbol =
|
|
116
|
+
T.type_alias do
|
|
117
|
+
T.all(Symbol, Lithic::EmbedViewedWebhookEvent::EmbedType)
|
|
118
|
+
end
|
|
119
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
120
|
+
|
|
121
|
+
PAN =
|
|
122
|
+
T.let(:PAN, Lithic::EmbedViewedWebhookEvent::EmbedType::TaggedSymbol)
|
|
123
|
+
CVV =
|
|
124
|
+
T.let(:CVV, Lithic::EmbedViewedWebhookEvent::EmbedType::TaggedSymbol)
|
|
125
|
+
EXP_MONTH =
|
|
126
|
+
T.let(
|
|
127
|
+
:EXP_MONTH,
|
|
128
|
+
Lithic::EmbedViewedWebhookEvent::EmbedType::TaggedSymbol
|
|
129
|
+
)
|
|
130
|
+
EXP_YEAR =
|
|
131
|
+
T.let(
|
|
132
|
+
:EXP_YEAR,
|
|
133
|
+
Lithic::EmbedViewedWebhookEvent::EmbedType::TaggedSymbol
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
sig do
|
|
137
|
+
override.returns(
|
|
138
|
+
T::Array[Lithic::EmbedViewedWebhookEvent::EmbedType::TaggedSymbol]
|
|
139
|
+
)
|
|
140
|
+
end
|
|
141
|
+
def self.values
|
|
142
|
+
end
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
end
|
data/rbi/lithic/models/event.rbi
CHANGED
|
@@ -18,7 +18,7 @@ module Lithic
|
|
|
18
18
|
# The type of event that occurred. Possible values:
|
|
19
19
|
#
|
|
20
20
|
# - account_holder_document.updated: Occurs when an account holder's document
|
|
21
|
-
# upload status has been updated
|
|
21
|
+
# upload status has been updated.
|
|
22
22
|
# - account_holder.created: Occurs when a new account_holder is created.
|
|
23
23
|
# - account_holder.updated: Occurs when an account_holder is updated.
|
|
24
24
|
# - account_holder.verification: Occurs when an asynchronous account_holder's
|
|
@@ -82,10 +82,25 @@ module Lithic
|
|
|
82
82
|
# This event will be deprecated in the future. We recommend using
|
|
83
83
|
# `tokenization.updated` instead.
|
|
84
84
|
#
|
|
85
|
-
# - dispute_evidence.upload_failed: Occurs when
|
|
85
|
+
# - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
|
|
86
|
+
# dispute filed through the Chargebacks API (`/v1/disputes`).
|
|
87
|
+
#
|
|
88
|
+
# This event is not emitted for Managed Disputes.
|
|
89
|
+
#
|
|
86
90
|
# - dispute_transaction.created: Occurs when a new dispute transaction is created
|
|
87
|
-
#
|
|
88
|
-
# -
|
|
91
|
+
# for a Managed Disputes case.
|
|
92
|
+
# - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
|
|
93
|
+
# Disputes case is updated.
|
|
94
|
+
# - dispute.updated: Occurs when a dispute filed through the Chargebacks API
|
|
95
|
+
# (`/v1/disputes`) is created or updated.
|
|
96
|
+
#
|
|
97
|
+
# This event is not emitted for Managed Disputes. Use
|
|
98
|
+
# `dispute_transaction.created` and `dispute_transaction.updated` instead.
|
|
99
|
+
#
|
|
100
|
+
# - embed.session_generated: Occurs when a card embed session is successfully
|
|
101
|
+
# generated.
|
|
102
|
+
# - embed.viewed: Occurs when a card detail is successfully revealed through an
|
|
103
|
+
# embed.
|
|
89
104
|
# - external_bank_account.created: Occurs when an external bank account is
|
|
90
105
|
# created.
|
|
91
106
|
# - external_bank_account.updated: Occurs when an external bank account is
|
|
@@ -107,12 +122,12 @@ module Lithic
|
|
|
107
122
|
# - payment_transaction.updated: Occurs when a payment transaction is updated.
|
|
108
123
|
# - settlement_report.updated: Occurs when a settlement report is created or
|
|
109
124
|
# updated.
|
|
110
|
-
# - statements.created: Occurs when a statement has been created
|
|
125
|
+
# - statements.created: Occurs when a statement has been created.
|
|
111
126
|
# - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
|
|
112
127
|
# event. Upon receiving this request, the Card Program should issue its own
|
|
113
128
|
# challenge to the cardholder. After a cardholder challenge is successfully
|
|
114
129
|
# completed, the Card Program needs to respond back to Lithic by call to
|
|
115
|
-
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/
|
|
130
|
+
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
|
|
116
131
|
# Then the cardholder must navigate back to the merchant checkout flow to
|
|
117
132
|
# complete the transaction. Some merchants will include an `app_requestor_url`
|
|
118
133
|
# for app-based purchases; Lithic recommends triggering a redirect to that URL
|
|
@@ -153,7 +168,7 @@ module Lithic
|
|
|
153
168
|
# The type of event that occurred. Possible values:
|
|
154
169
|
#
|
|
155
170
|
# - account_holder_document.updated: Occurs when an account holder's document
|
|
156
|
-
# upload status has been updated
|
|
171
|
+
# upload status has been updated.
|
|
157
172
|
# - account_holder.created: Occurs when a new account_holder is created.
|
|
158
173
|
# - account_holder.updated: Occurs when an account_holder is updated.
|
|
159
174
|
# - account_holder.verification: Occurs when an asynchronous account_holder's
|
|
@@ -217,10 +232,25 @@ module Lithic
|
|
|
217
232
|
# This event will be deprecated in the future. We recommend using
|
|
218
233
|
# `tokenization.updated` instead.
|
|
219
234
|
#
|
|
220
|
-
# - dispute_evidence.upload_failed: Occurs when
|
|
235
|
+
# - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
|
|
236
|
+
# dispute filed through the Chargebacks API (`/v1/disputes`).
|
|
237
|
+
#
|
|
238
|
+
# This event is not emitted for Managed Disputes.
|
|
239
|
+
#
|
|
221
240
|
# - dispute_transaction.created: Occurs when a new dispute transaction is created
|
|
222
|
-
#
|
|
223
|
-
# -
|
|
241
|
+
# for a Managed Disputes case.
|
|
242
|
+
# - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
|
|
243
|
+
# Disputes case is updated.
|
|
244
|
+
# - dispute.updated: Occurs when a dispute filed through the Chargebacks API
|
|
245
|
+
# (`/v1/disputes`) is created or updated.
|
|
246
|
+
#
|
|
247
|
+
# This event is not emitted for Managed Disputes. Use
|
|
248
|
+
# `dispute_transaction.created` and `dispute_transaction.updated` instead.
|
|
249
|
+
#
|
|
250
|
+
# - embed.session_generated: Occurs when a card embed session is successfully
|
|
251
|
+
# generated.
|
|
252
|
+
# - embed.viewed: Occurs when a card detail is successfully revealed through an
|
|
253
|
+
# embed.
|
|
224
254
|
# - external_bank_account.created: Occurs when an external bank account is
|
|
225
255
|
# created.
|
|
226
256
|
# - external_bank_account.updated: Occurs when an external bank account is
|
|
@@ -242,12 +272,12 @@ module Lithic
|
|
|
242
272
|
# - payment_transaction.updated: Occurs when a payment transaction is updated.
|
|
243
273
|
# - settlement_report.updated: Occurs when a settlement report is created or
|
|
244
274
|
# updated.
|
|
245
|
-
# - statements.created: Occurs when a statement has been created
|
|
275
|
+
# - statements.created: Occurs when a statement has been created.
|
|
246
276
|
# - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
|
|
247
277
|
# event. Upon receiving this request, the Card Program should issue its own
|
|
248
278
|
# challenge to the cardholder. After a cardholder challenge is successfully
|
|
249
279
|
# completed, the Card Program needs to respond back to Lithic by call to
|
|
250
|
-
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/
|
|
280
|
+
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
|
|
251
281
|
# Then the cardholder must navigate back to the merchant checkout flow to
|
|
252
282
|
# complete the transaction. Some merchants will include an `app_requestor_url`
|
|
253
283
|
# for app-based purchases; Lithic recommends triggering a redirect to that URL
|
|
@@ -284,7 +314,7 @@ module Lithic
|
|
|
284
314
|
# The type of event that occurred. Possible values:
|
|
285
315
|
#
|
|
286
316
|
# - account_holder_document.updated: Occurs when an account holder's document
|
|
287
|
-
# upload status has been updated
|
|
317
|
+
# upload status has been updated.
|
|
288
318
|
# - account_holder.created: Occurs when a new account_holder is created.
|
|
289
319
|
# - account_holder.updated: Occurs when an account_holder is updated.
|
|
290
320
|
# - account_holder.verification: Occurs when an asynchronous account_holder's
|
|
@@ -348,10 +378,25 @@ module Lithic
|
|
|
348
378
|
# This event will be deprecated in the future. We recommend using
|
|
349
379
|
# `tokenization.updated` instead.
|
|
350
380
|
#
|
|
351
|
-
# - dispute_evidence.upload_failed: Occurs when
|
|
381
|
+
# - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
|
|
382
|
+
# dispute filed through the Chargebacks API (`/v1/disputes`).
|
|
383
|
+
#
|
|
384
|
+
# This event is not emitted for Managed Disputes.
|
|
385
|
+
#
|
|
352
386
|
# - dispute_transaction.created: Occurs when a new dispute transaction is created
|
|
353
|
-
#
|
|
354
|
-
# -
|
|
387
|
+
# for a Managed Disputes case.
|
|
388
|
+
# - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
|
|
389
|
+
# Disputes case is updated.
|
|
390
|
+
# - dispute.updated: Occurs when a dispute filed through the Chargebacks API
|
|
391
|
+
# (`/v1/disputes`) is created or updated.
|
|
392
|
+
#
|
|
393
|
+
# This event is not emitted for Managed Disputes. Use
|
|
394
|
+
# `dispute_transaction.created` and `dispute_transaction.updated` instead.
|
|
395
|
+
#
|
|
396
|
+
# - embed.session_generated: Occurs when a card embed session is successfully
|
|
397
|
+
# generated.
|
|
398
|
+
# - embed.viewed: Occurs when a card detail is successfully revealed through an
|
|
399
|
+
# embed.
|
|
355
400
|
# - external_bank_account.created: Occurs when an external bank account is
|
|
356
401
|
# created.
|
|
357
402
|
# - external_bank_account.updated: Occurs when an external bank account is
|
|
@@ -373,12 +418,12 @@ module Lithic
|
|
|
373
418
|
# - payment_transaction.updated: Occurs when a payment transaction is updated.
|
|
374
419
|
# - settlement_report.updated: Occurs when a settlement report is created or
|
|
375
420
|
# updated.
|
|
376
|
-
# - statements.created: Occurs when a statement has been created
|
|
421
|
+
# - statements.created: Occurs when a statement has been created.
|
|
377
422
|
# - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
|
|
378
423
|
# event. Upon receiving this request, the Card Program should issue its own
|
|
379
424
|
# challenge to the cardholder. After a cardholder challenge is successfully
|
|
380
425
|
# completed, the Card Program needs to respond back to Lithic by call to
|
|
381
|
-
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/
|
|
426
|
+
# [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/postthreedschallengeresponse).
|
|
382
427
|
# Then the cardholder must navigate back to the merchant checkout flow to
|
|
383
428
|
# complete the transaction. Some merchants will include an `app_requestor_url`
|
|
384
429
|
# for app-based purchases; Lithic recommends triggering a redirect to that URL
|
|
@@ -530,6 +575,13 @@ module Lithic
|
|
|
530
575
|
)
|
|
531
576
|
DISPUTE_UPDATED =
|
|
532
577
|
T.let(:"dispute.updated", Lithic::Event::EventType::TaggedSymbol)
|
|
578
|
+
EMBED_SESSION_GENERATED =
|
|
579
|
+
T.let(
|
|
580
|
+
:"embed.session_generated",
|
|
581
|
+
Lithic::Event::EventType::TaggedSymbol
|
|
582
|
+
)
|
|
583
|
+
EMBED_VIEWED =
|
|
584
|
+
T.let(:"embed.viewed", Lithic::Event::EventType::TaggedSymbol)
|
|
533
585
|
EXTERNAL_BANK_ACCOUNT_CREATED =
|
|
534
586
|
T.let(
|
|
535
587
|
:"external_bank_account.created",
|
|
@@ -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
|
|