lithic 0.18.1 → 0.20.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 +66 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- 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/ach_payment_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +2 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +24 -1
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +1 -1
- data/lib/lithic/models/blockchain_recipient.rb +148 -0
- data/lib/lithic/models/blockchain_recipient_create_params.rb +74 -0
- 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.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +10 -8
- data/lib/lithic/models/card_reassign_account_params.rb +29 -0
- data/lib/lithic/models/dispute_v2.rb +178 -130
- data/lib/lithic/models/disputes_v2_list_params.rb +10 -1
- 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_account.rb +14 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +4 -3
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_event.rb +8 -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 +91 -6
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/tokenization_simulate_params.rb +2 -2
- data/lib/lithic/models/transaction_monitoring/case_entity.rb +13 -4
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +4 -2
- 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 +10 -0
- data/lib/lithic/resources/blockchain_recipients.rb +57 -0
- data/lib/lithic/resources/card_authorizations.rb +1 -1
- data/lib/lithic/resources/cards.rb +34 -2
- data/lib/lithic/resources/disputes_v2.rb +3 -1
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
- data/lib/lithic/resources/tokenizations.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 +6 -1
- data/rbi/lithic/client.rbi +3 -0
- 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/ach_payment_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +8 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +30 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +2 -2
- data/rbi/lithic/models/blockchain_recipient.rbi +209 -0
- data/rbi/lithic/models/blockchain_recipient_create_params.rbi +102 -0
- 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.rbi +2 -2
- data/rbi/lithic/models/card_provision_params.rbi +16 -12
- data/rbi/lithic/models/card_reassign_account_params.rbi +49 -0
- data/rbi/lithic/models/dispute_v2.rbi +285 -181
- data/rbi/lithic/models/disputes_v2_list_params.rbi +13 -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_account.rbi +12 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +8 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_event.rbi +34 -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 +147 -4
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/tokenization_simulate_params.rbi +2 -2
- data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +27 -5
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +6 -2
- 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 +12 -0
- data/rbi/lithic/resources/blockchain_recipients.rbi +51 -0
- data/rbi/lithic/resources/card_authorizations.rbi +1 -1
- data/rbi/lithic/resources/cards.rbi +30 -6
- data/rbi/lithic/resources/disputes_v2.rbi +4 -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/tokenizations.rbi +1 -1
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +6 -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/client.rbs +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/ach_payment_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +4 -2
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +10 -0
- data/sig/lithic/models/blockchain_recipient.rbs +106 -0
- data/sig/lithic/models/blockchain_recipient_create_params.rbs +60 -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/card_reassign_account_params.rbs +28 -0
- data/sig/lithic/models/dispute_v2.rbs +145 -101
- data/sig/lithic/models/disputes_v2_list_params.rbs +7 -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_account.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_event.rbs +16 -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 +46 -1
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/transaction_monitoring/case_entity.rbs +7 -5
- 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 +10 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +18 -0
- data/sig/lithic/resources/cards.rbs +6 -0
- data/sig/lithic/resources/disputes_v2.rbs +1 -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 +20 -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
|
@@ -32,6 +32,14 @@ module Lithic
|
|
|
32
32
|
sig { params(card_token: String).void }
|
|
33
33
|
attr_writer :card_token
|
|
34
34
|
|
|
35
|
+
# Filter by the token of the claim the dispute was filed under. Returns the
|
|
36
|
+
# disputes created from that claim's disputed transaction events.
|
|
37
|
+
sig { returns(T.nilable(String)) }
|
|
38
|
+
attr_reader :claim_token
|
|
39
|
+
|
|
40
|
+
sig { params(claim_token: String).void }
|
|
41
|
+
attr_writer :claim_token
|
|
42
|
+
|
|
35
43
|
# Filter by the token of the transaction being disputed. Corresponds with
|
|
36
44
|
# transaction_series.related_transaction_token in the Dispute.
|
|
37
45
|
sig { returns(T.nilable(String)) }
|
|
@@ -75,6 +83,7 @@ module Lithic
|
|
|
75
83
|
account_token: String,
|
|
76
84
|
begin_: Time,
|
|
77
85
|
card_token: String,
|
|
86
|
+
claim_token: String,
|
|
78
87
|
disputed_transaction_token: String,
|
|
79
88
|
end_: Time,
|
|
80
89
|
ending_before: String,
|
|
@@ -90,6 +99,9 @@ module Lithic
|
|
|
90
99
|
begin_: nil,
|
|
91
100
|
# Filter by card token.
|
|
92
101
|
card_token: nil,
|
|
102
|
+
# Filter by the token of the claim the dispute was filed under. Returns the
|
|
103
|
+
# disputes created from that claim's disputed transaction events.
|
|
104
|
+
claim_token: nil,
|
|
93
105
|
# Filter by the token of the transaction being disputed. Corresponds with
|
|
94
106
|
# transaction_series.related_transaction_token in the Dispute.
|
|
95
107
|
disputed_transaction_token: nil,
|
|
@@ -113,6 +125,7 @@ module Lithic
|
|
|
113
125
|
account_token: String,
|
|
114
126
|
begin_: Time,
|
|
115
127
|
card_token: String,
|
|
128
|
+
claim_token: String,
|
|
116
129
|
disputed_transaction_token: String,
|
|
117
130
|
end_: Time,
|
|
118
131
|
ending_before: String,
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class EmbedSessionGeneratedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Lithic::EmbedSessionGeneratedWebhookEvent,
|
|
10
|
+
Lithic::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The token of the account associated with the card
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :account_token
|
|
17
|
+
|
|
18
|
+
# The token of the card associated with the embed session
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :card_token
|
|
21
|
+
|
|
22
|
+
# Details about the request that generated the embed session
|
|
23
|
+
sig { returns(Lithic::EmbedSessionGeneratedWebhookEvent::DeviceDetails) }
|
|
24
|
+
attr_reader :device_details
|
|
25
|
+
|
|
26
|
+
sig do
|
|
27
|
+
params(
|
|
28
|
+
device_details:
|
|
29
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::DeviceDetails::OrHash
|
|
30
|
+
).void
|
|
31
|
+
end
|
|
32
|
+
attr_writer :device_details
|
|
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
|
+
# The type of embed session that was generated
|
|
43
|
+
sig do
|
|
44
|
+
returns(
|
|
45
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::SessionType::TaggedSymbol
|
|
46
|
+
)
|
|
47
|
+
end
|
|
48
|
+
attr_accessor :session_type
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
params(
|
|
52
|
+
account_token: String,
|
|
53
|
+
card_token: String,
|
|
54
|
+
device_details:
|
|
55
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::DeviceDetails::OrHash,
|
|
56
|
+
session_id: String,
|
|
57
|
+
session_type:
|
|
58
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::SessionType::OrSymbol,
|
|
59
|
+
event_type: Symbol
|
|
60
|
+
).returns(T.attached_class)
|
|
61
|
+
end
|
|
62
|
+
def self.new(
|
|
63
|
+
# The token of the account associated with the card
|
|
64
|
+
account_token:,
|
|
65
|
+
# The token of the card associated with the embed session
|
|
66
|
+
card_token:,
|
|
67
|
+
# Details about the request that generated the embed session
|
|
68
|
+
device_details:,
|
|
69
|
+
# The identifier shared by webhook events for the same embed session.
|
|
70
|
+
session_id:,
|
|
71
|
+
# The type of embed session that was generated
|
|
72
|
+
session_type:,
|
|
73
|
+
# The type of event
|
|
74
|
+
event_type: :"embed.session_generated"
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
sig do
|
|
79
|
+
override.returns(
|
|
80
|
+
{
|
|
81
|
+
account_token: String,
|
|
82
|
+
card_token: String,
|
|
83
|
+
device_details:
|
|
84
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::DeviceDetails,
|
|
85
|
+
event_type: Symbol,
|
|
86
|
+
session_id: String,
|
|
87
|
+
session_type:
|
|
88
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::SessionType::TaggedSymbol
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
end
|
|
92
|
+
def to_hash
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
class DeviceDetails < Lithic::Internal::Type::BaseModel
|
|
96
|
+
OrHash =
|
|
97
|
+
T.type_alias do
|
|
98
|
+
T.any(
|
|
99
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::DeviceDetails,
|
|
100
|
+
Lithic::Internal::AnyHash
|
|
101
|
+
)
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# The IP address recorded for the request that generated the event
|
|
105
|
+
sig { returns(String) }
|
|
106
|
+
attr_accessor :ip_address
|
|
107
|
+
|
|
108
|
+
# Details about the request that generated the embed session
|
|
109
|
+
sig { params(ip_address: String).returns(T.attached_class) }
|
|
110
|
+
def self.new(
|
|
111
|
+
# The IP address recorded for the request that generated the event
|
|
112
|
+
ip_address:
|
|
113
|
+
)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
sig { override.returns({ ip_address: String }) }
|
|
117
|
+
def to_hash
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# The type of embed session that was generated
|
|
122
|
+
module SessionType
|
|
123
|
+
extend Lithic::Internal::Type::Enum
|
|
124
|
+
|
|
125
|
+
TaggedSymbol =
|
|
126
|
+
T.type_alias do
|
|
127
|
+
T.all(
|
|
128
|
+
Symbol,
|
|
129
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::SessionType
|
|
130
|
+
)
|
|
131
|
+
end
|
|
132
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
133
|
+
|
|
134
|
+
CARD_EMBED =
|
|
135
|
+
T.let(
|
|
136
|
+
:CARD_EMBED,
|
|
137
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::SessionType::TaggedSymbol
|
|
138
|
+
)
|
|
139
|
+
PIN_SETTING_EMBED =
|
|
140
|
+
T.let(
|
|
141
|
+
:PIN_SETTING_EMBED,
|
|
142
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::SessionType::TaggedSymbol
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
sig do
|
|
146
|
+
override.returns(
|
|
147
|
+
T::Array[
|
|
148
|
+
Lithic::EmbedSessionGeneratedWebhookEvent::SessionType::TaggedSymbol
|
|
149
|
+
]
|
|
150
|
+
)
|
|
151
|
+
end
|
|
152
|
+
def self.values
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
|
@@ -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",
|