lithic 0.1.0 → 0.2.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 +13 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/errors.rb +15 -0
- data/lib/lithic/models/account_holder_created_webhook_event.rb +75 -0
- data/lib/lithic/models/account_holder_document_updated_webhook_event.rb +191 -0
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +702 -0
- data/lib/lithic/models/account_holder_verification_webhook_event.rb +69 -0
- data/lib/lithic/models/asa_request_webhook_event.rb +1010 -0
- data/lib/lithic/models/auth_rules_backtest_report_created_webhook_event.rb +16 -0
- data/lib/lithic/models/balance_updated_webhook_event.rb +23 -0
- data/lib/lithic/models/book_transfer_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/book_transfer_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/card_converted_webhook_event.rb +24 -0
- data/lib/lithic/models/card_created_webhook_event.rb +32 -0
- data/lib/lithic/models/card_reissued_webhook_event.rb +24 -0
- data/lib/lithic/models/card_renewed_webhook_event.rb +56 -0
- data/lib/lithic/models/card_shipped_webhook_event.rb +70 -0
- data/lib/lithic/models/card_transaction_enhanced_data_created_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +253 -0
- data/lib/lithic/models/digital_wallet_tokenization_result_webhook_event.rb +145 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/digital_wallet_tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/dispute_evidence_upload_failed_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/external_bank_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_bank_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/funding_event_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_created_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_created_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_created_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/parsed_webhook_event.rb +818 -0
- data/lib/lithic/models/payment_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/payment_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/settlement_report_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/statements_created_webhook_event.rb +16 -0
- data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +89 -0
- data/lib/lithic/models/three_ds_authentication_created_webhook_event.rb +18 -0
- data/lib/lithic/models/three_ds_authentication_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +249 -0
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +159 -0
- data/lib/lithic/models/tokenization_result_webhook_event.rb +141 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +120 -0
- data/lib/lithic/resources/webhooks.rb +87 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +74 -17
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_holder_created_webhook_event.rbi +149 -0
- data/rbi/lithic/models/account_holder_document_updated_webhook_event.rbi +479 -0
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +1274 -0
- data/rbi/lithic/models/account_holder_verification_webhook_event.rbi +143 -0
- data/rbi/lithic/models/asa_request_webhook_event.rbi +2229 -0
- data/rbi/lithic/models/auth_rules_backtest_report_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/balance_updated_webhook_event.rbi +43 -0
- data/rbi/lithic/models/book_transfer_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/book_transfer_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/card_converted_webhook_event.rbi +35 -0
- data/rbi/lithic/models/card_created_webhook_event.rbi +53 -0
- data/rbi/lithic/models/card_reissued_webhook_event.rbi +38 -0
- data/rbi/lithic/models/card_renewed_webhook_event.rbi +92 -0
- data/rbi/lithic/models/card_shipped_webhook_event.rbi +150 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +2 -2
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/digital_wallet_tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/dispute_evidence_upload_failed_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_updated_webhook_event.rbi +28 -0
- data/rbi/lithic/models/external_bank_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/funding_event_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction.rbi +15 -10
- data/rbi/lithic/models/internal_transaction_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/loan_tape_created_webhook_event.rbi +27 -0
- data/rbi/lithic/models/loan_tape_updated_webhook_event.rbi +27 -0
- data/rbi/lithic/models/management_operation_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/management_operation_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1310 -0
- data/rbi/lithic/models/payment_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/payment_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/settlement_report_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/statements_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +175 -0
- data/rbi/lithic/models/three_ds_authentication_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/three_ds_authentication_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +333 -0
- data/rbi/lithic/models/tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +155 -0
- data/rbi/lithic/resources/webhooks.rbi +158 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_holder_created_webhook_event.rbs +77 -0
- data/sig/lithic/models/account_holder_document_updated_webhook_event.rbs +219 -0
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +587 -0
- data/sig/lithic/models/account_holder_verification_webhook_event.rbs +69 -0
- data/sig/lithic/models/asa_request_webhook_event.rbs +881 -0
- data/sig/lithic/models/auth_rules_backtest_report_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/balance_updated_webhook_event.rbs +25 -0
- data/sig/lithic/models/book_transfer_transaction_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/book_transfer_transaction_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_converted_webhook_event.rbs +19 -0
- data/sig/lithic/models/card_created_webhook_event.rbs +30 -0
- data/sig/lithic/models/card_reissued_webhook_event.rbs +21 -0
- data/sig/lithic/models/card_renewed_webhook_event.rbs +55 -0
- data/sig/lithic/models/card_shipped_webhook_event.rbs +71 -0
- data/sig/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/digital_wallet_tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/dispute_evidence_upload_failed_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/external_bank_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_bank_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/funding_event_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/internal_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/internal_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/loan_tape_created_webhook_event.rbs +15 -0
- data/sig/lithic/models/loan_tape_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/management_operation_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/management_operation_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/network_total_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/network_total_updated_webhook_event.rbs +16 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +641 -0
- data/sig/lithic/models/payment_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/payment_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/settlement_report_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/statements_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +72 -0
- data/sig/lithic/models/three_ds_authentication_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/three_ds_authentication_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +134 -0
- data/sig/lithic/models/tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +112 -0
- data/sig/lithic/resources/webhooks.rbs +135 -0
- metadata +173 -2
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_two_factor_authentication_code_sent_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
7
|
+
card_token: String,
|
|
8
|
+
created: Time,
|
|
9
|
+
event_type: :"tokenization.two_factor_authentication_code_sent",
|
|
10
|
+
tokenization_token: String
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class TokenizationTwoFactorAuthenticationCodeSentWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor account_token: String
|
|
15
|
+
|
|
16
|
+
attr_accessor activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod
|
|
17
|
+
|
|
18
|
+
attr_accessor card_token: String
|
|
19
|
+
|
|
20
|
+
attr_accessor created: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor event_type: :"tokenization.two_factor_authentication_code_sent"
|
|
23
|
+
|
|
24
|
+
attr_accessor tokenization_token: String
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
account_token: String,
|
|
28
|
+
activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
29
|
+
card_token: String,
|
|
30
|
+
created: Time,
|
|
31
|
+
tokenization_token: String,
|
|
32
|
+
?event_type: :"tokenization.two_factor_authentication_code_sent"
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
account_token: String,
|
|
37
|
+
activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
38
|
+
card_token: String,
|
|
39
|
+
created: Time,
|
|
40
|
+
event_type: :"tokenization.two_factor_authentication_code_sent",
|
|
41
|
+
tokenization_token: String
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
type activation_method =
|
|
45
|
+
{
|
|
46
|
+
type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_,
|
|
47
|
+
value: String
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
class ActivationMethod < Lithic::Internal::Type::BaseModel
|
|
51
|
+
attr_accessor type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_
|
|
52
|
+
|
|
53
|
+
attr_accessor value: String
|
|
54
|
+
|
|
55
|
+
def initialize: (
|
|
56
|
+
type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_,
|
|
57
|
+
value: String
|
|
58
|
+
) -> void
|
|
59
|
+
|
|
60
|
+
def to_hash: -> {
|
|
61
|
+
type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_,
|
|
62
|
+
value: String
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type type_ = :EMAIL_TO_CARDHOLDER_ADDRESS | :TEXT_TO_CARDHOLDER_NUMBER
|
|
66
|
+
|
|
67
|
+
module Type
|
|
68
|
+
extend Lithic::Internal::Type::Enum
|
|
69
|
+
|
|
70
|
+
EMAIL_TO_CARDHOLDER_ADDRESS: :EMAIL_TO_CARDHOLDER_ADDRESS
|
|
71
|
+
TEXT_TO_CARDHOLDER_NUMBER: :TEXT_TO_CARDHOLDER_NUMBER
|
|
72
|
+
|
|
73
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_]
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_two_factor_authentication_code_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
7
|
+
authentication_code: String,
|
|
8
|
+
card_token: String,
|
|
9
|
+
created: Time,
|
|
10
|
+
event_type: :"tokenization.two_factor_authentication_code",
|
|
11
|
+
tokenization_token: String
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class TokenizationTwoFactorAuthenticationCodeWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor account_token: String
|
|
16
|
+
|
|
17
|
+
attr_accessor activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod
|
|
18
|
+
|
|
19
|
+
attr_accessor authentication_code: String
|
|
20
|
+
|
|
21
|
+
attr_accessor card_token: String
|
|
22
|
+
|
|
23
|
+
attr_accessor created: Time
|
|
24
|
+
|
|
25
|
+
attr_accessor event_type: :"tokenization.two_factor_authentication_code"
|
|
26
|
+
|
|
27
|
+
attr_accessor tokenization_token: String
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
account_token: String,
|
|
31
|
+
activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
32
|
+
authentication_code: String,
|
|
33
|
+
card_token: String,
|
|
34
|
+
created: Time,
|
|
35
|
+
tokenization_token: String,
|
|
36
|
+
?event_type: :"tokenization.two_factor_authentication_code"
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
account_token: String,
|
|
41
|
+
activation_method: Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
42
|
+
authentication_code: String,
|
|
43
|
+
card_token: String,
|
|
44
|
+
created: Time,
|
|
45
|
+
event_type: :"tokenization.two_factor_authentication_code",
|
|
46
|
+
tokenization_token: String
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
type activation_method =
|
|
50
|
+
{
|
|
51
|
+
type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_,
|
|
52
|
+
value: String
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
class ActivationMethod < Lithic::Internal::Type::BaseModel
|
|
56
|
+
attr_accessor type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_
|
|
57
|
+
|
|
58
|
+
attr_accessor value: String
|
|
59
|
+
|
|
60
|
+
def initialize: (
|
|
61
|
+
type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_,
|
|
62
|
+
value: String
|
|
63
|
+
) -> void
|
|
64
|
+
|
|
65
|
+
def to_hash: -> {
|
|
66
|
+
type: Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_,
|
|
67
|
+
value: String
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
type type_ = :EMAIL_TO_CARDHOLDER_ADDRESS | :TEXT_TO_CARDHOLDER_NUMBER
|
|
71
|
+
|
|
72
|
+
module Type
|
|
73
|
+
extend Lithic::Internal::Type::Enum
|
|
74
|
+
|
|
75
|
+
EMAIL_TO_CARDHOLDER_ADDRESS: :EMAIL_TO_CARDHOLDER_ADDRESS
|
|
76
|
+
TEXT_TO_CARDHOLDER_NUMBER: :TEXT_TO_CARDHOLDER_NUMBER
|
|
77
|
+
|
|
78
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_]
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_updated_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
card_token: String,
|
|
7
|
+
created: Time,
|
|
8
|
+
event_type: :"tokenization.updated",
|
|
9
|
+
tokenization: Lithic::Tokenization
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class TokenizationUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor account_token: String
|
|
14
|
+
|
|
15
|
+
attr_accessor card_token: String
|
|
16
|
+
|
|
17
|
+
attr_accessor created: Time
|
|
18
|
+
|
|
19
|
+
attr_accessor event_type: :"tokenization.updated"
|
|
20
|
+
|
|
21
|
+
attr_accessor tokenization: Lithic::Tokenization
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
account_token: String,
|
|
25
|
+
card_token: String,
|
|
26
|
+
created: Time,
|
|
27
|
+
tokenization: Lithic::Tokenization,
|
|
28
|
+
?event_type: :"tokenization.updated"
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
account_token: String,
|
|
33
|
+
card_token: String,
|
|
34
|
+
created: Time,
|
|
35
|
+
event_type: :"tokenization.updated",
|
|
36
|
+
tokenization: Lithic::Tokenization
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type webhook_parsed_params =
|
|
4
|
+
{ } & Lithic::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class WebhookParsedParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: Lithic::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: Lithic::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/sig/lithic/models.rbs
CHANGED
|
@@ -9,8 +9,12 @@ module Lithic
|
|
|
9
9
|
|
|
10
10
|
class AccountHolder = Lithic::Models::AccountHolder
|
|
11
11
|
|
|
12
|
+
class AccountHolderCreatedWebhookEvent = Lithic::Models::AccountHolderCreatedWebhookEvent
|
|
13
|
+
|
|
12
14
|
class AccountHolderCreateParams = Lithic::Models::AccountHolderCreateParams
|
|
13
15
|
|
|
16
|
+
class AccountHolderDocumentUpdatedWebhookEvent = Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent
|
|
17
|
+
|
|
14
18
|
class AccountHolderListDocumentsParams = Lithic::Models::AccountHolderListDocumentsParams
|
|
15
19
|
|
|
16
20
|
class AccountHolderListParams = Lithic::Models::AccountHolderListParams
|
|
@@ -23,10 +27,14 @@ module Lithic
|
|
|
23
27
|
|
|
24
28
|
class AccountHolderSimulateEnrollmentReviewParams = Lithic::Models::AccountHolderSimulateEnrollmentReviewParams
|
|
25
29
|
|
|
30
|
+
module AccountHolderUpdatedWebhookEvent = Lithic::Models::AccountHolderUpdatedWebhookEvent
|
|
31
|
+
|
|
26
32
|
class AccountHolderUpdateParams = Lithic::Models::AccountHolderUpdateParams
|
|
27
33
|
|
|
28
34
|
class AccountHolderUploadDocumentParams = Lithic::Models::AccountHolderUploadDocumentParams
|
|
29
35
|
|
|
36
|
+
class AccountHolderVerificationWebhookEvent = Lithic::Models::AccountHolderVerificationWebhookEvent
|
|
37
|
+
|
|
30
38
|
class AccountListParams = Lithic::Models::AccountListParams
|
|
31
39
|
|
|
32
40
|
class AccountRetrieveParams = Lithic::Models::AccountRetrieveParams
|
|
@@ -47,8 +55,12 @@ module Lithic
|
|
|
47
55
|
|
|
48
56
|
class APIStatus = Lithic::Models::APIStatus
|
|
49
57
|
|
|
58
|
+
class AsaRequestWebhookEvent = Lithic::Models::AsaRequestWebhookEvent
|
|
59
|
+
|
|
50
60
|
module AuthRules = Lithic::Models::AuthRules
|
|
51
61
|
|
|
62
|
+
class AuthRulesBacktestReportCreatedWebhookEvent = Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent
|
|
63
|
+
|
|
52
64
|
class AuthStreamEnrollmentRetrieveSecretParams = Lithic::Models::AuthStreamEnrollmentRetrieveSecretParams
|
|
53
65
|
|
|
54
66
|
class AuthStreamEnrollmentRotateSecretParams = Lithic::Models::AuthStreamEnrollmentRotateSecretParams
|
|
@@ -59,6 +71,8 @@ module Lithic
|
|
|
59
71
|
|
|
60
72
|
class BalanceListParams = Lithic::Models::BalanceListParams
|
|
61
73
|
|
|
74
|
+
class BalanceUpdatedWebhookEvent = Lithic::Models::BalanceUpdatedWebhookEvent
|
|
75
|
+
|
|
62
76
|
class BookTransferCreateParams = Lithic::Models::BookTransferCreateParams
|
|
63
77
|
|
|
64
78
|
class BookTransferListParams = Lithic::Models::BookTransferListParams
|
|
@@ -69,6 +83,10 @@ module Lithic
|
|
|
69
83
|
|
|
70
84
|
class BookTransferReverseParams = Lithic::Models::BookTransferReverseParams
|
|
71
85
|
|
|
86
|
+
class BookTransferTransactionCreatedWebhookEvent = Lithic::Models::BookTransferTransactionCreatedWebhookEvent
|
|
87
|
+
|
|
88
|
+
class BookTransferTransactionUpdatedWebhookEvent = Lithic::Models::BookTransferTransactionUpdatedWebhookEvent
|
|
89
|
+
|
|
72
90
|
class Card = Lithic::Models::Card
|
|
73
91
|
|
|
74
92
|
class CardBulkOrder = Lithic::Models::CardBulkOrder
|
|
@@ -81,8 +99,12 @@ module Lithic
|
|
|
81
99
|
|
|
82
100
|
class CardBulkOrderUpdateParams = Lithic::Models::CardBulkOrderUpdateParams
|
|
83
101
|
|
|
102
|
+
class CardConvertedWebhookEvent = Lithic::Models::CardConvertedWebhookEvent
|
|
103
|
+
|
|
84
104
|
class CardConvertPhysicalParams = Lithic::Models::CardConvertPhysicalParams
|
|
85
105
|
|
|
106
|
+
class CardCreatedWebhookEvent = Lithic::Models::CardCreatedWebhookEvent
|
|
107
|
+
|
|
86
108
|
class CardCreateParams = Lithic::Models::CardCreateParams
|
|
87
109
|
|
|
88
110
|
class CardEmbedParams = Lithic::Models::CardEmbedParams
|
|
@@ -99,8 +121,12 @@ module Lithic
|
|
|
99
121
|
|
|
100
122
|
class CardProvisionParams = Lithic::Models::CardProvisionParams
|
|
101
123
|
|
|
124
|
+
class CardReissuedWebhookEvent = Lithic::Models::CardReissuedWebhookEvent
|
|
125
|
+
|
|
102
126
|
class CardReissueParams = Lithic::Models::CardReissueParams
|
|
103
127
|
|
|
128
|
+
class CardRenewedWebhookEvent = Lithic::Models::CardRenewedWebhookEvent
|
|
129
|
+
|
|
104
130
|
class CardRenewParams = Lithic::Models::CardRenewParams
|
|
105
131
|
|
|
106
132
|
class CardRetrieveParams = Lithic::Models::CardRetrieveParams
|
|
@@ -111,8 +137,16 @@ module Lithic
|
|
|
111
137
|
|
|
112
138
|
class CardSearchByPanParams = Lithic::Models::CardSearchByPanParams
|
|
113
139
|
|
|
140
|
+
class CardShippedWebhookEvent = Lithic::Models::CardShippedWebhookEvent
|
|
141
|
+
|
|
114
142
|
class CardSpendLimits = Lithic::Models::CardSpendLimits
|
|
115
143
|
|
|
144
|
+
class CardTransactionEnhancedDataCreatedWebhookEvent = Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent
|
|
145
|
+
|
|
146
|
+
class CardTransactionEnhancedDataUpdatedWebhookEvent = Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent
|
|
147
|
+
|
|
148
|
+
class CardTransactionUpdatedWebhookEvent = Lithic::Models::CardTransactionUpdatedWebhookEvent
|
|
149
|
+
|
|
116
150
|
class CardUpdateParams = Lithic::Models::CardUpdateParams
|
|
117
151
|
|
|
118
152
|
class CardWebProvisionParams = Lithic::Models::CardWebProvisionParams
|
|
@@ -135,6 +169,16 @@ module Lithic
|
|
|
135
169
|
|
|
136
170
|
class DigitalCardArtRetrieveParams = Lithic::Models::DigitalCardArtRetrieveParams
|
|
137
171
|
|
|
172
|
+
class DigitalWalletTokenizationApprovalRequestWebhookEvent = Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent
|
|
173
|
+
|
|
174
|
+
class DigitalWalletTokenizationResultWebhookEvent = Lithic::Models::DigitalWalletTokenizationResultWebhookEvent
|
|
175
|
+
|
|
176
|
+
class DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent = Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
177
|
+
|
|
178
|
+
class DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent = Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
179
|
+
|
|
180
|
+
class DigitalWalletTokenizationUpdatedWebhookEvent = Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent
|
|
181
|
+
|
|
138
182
|
class DigitalWalletTokenMetadata = Lithic::Models::DigitalWalletTokenMetadata
|
|
139
183
|
|
|
140
184
|
class Dispute = Lithic::Models::Dispute
|
|
@@ -147,6 +191,8 @@ module Lithic
|
|
|
147
191
|
|
|
148
192
|
class DisputeEvidence = Lithic::Models::DisputeEvidence
|
|
149
193
|
|
|
194
|
+
class DisputeEvidenceUploadFailedWebhookEvent = Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent
|
|
195
|
+
|
|
150
196
|
class DisputeInitiateEvidenceUploadParams = Lithic::Models::DisputeInitiateEvidenceUploadParams
|
|
151
197
|
|
|
152
198
|
class DisputeListEvidencesParams = Lithic::Models::DisputeListEvidencesParams
|
|
@@ -161,6 +207,12 @@ module Lithic
|
|
|
161
207
|
|
|
162
208
|
class DisputesV2RetrieveParams = Lithic::Models::DisputesV2RetrieveParams
|
|
163
209
|
|
|
210
|
+
class DisputeTransactionCreatedWebhookEvent = Lithic::Models::DisputeTransactionCreatedWebhookEvent
|
|
211
|
+
|
|
212
|
+
class DisputeTransactionUpdatedWebhookEvent = Lithic::Models::DisputeTransactionUpdatedWebhookEvent
|
|
213
|
+
|
|
214
|
+
class DisputeUpdatedWebhookEvent = Lithic::Models::DisputeUpdatedWebhookEvent
|
|
215
|
+
|
|
164
216
|
class DisputeUpdateParams = Lithic::Models::DisputeUpdateParams
|
|
165
217
|
|
|
166
218
|
class DisputeV2 = Lithic::Models::DisputeV2
|
|
@@ -183,6 +235,8 @@ module Lithic
|
|
|
183
235
|
|
|
184
236
|
class ExternalBankAccountAddress = Lithic::Models::ExternalBankAccountAddress
|
|
185
237
|
|
|
238
|
+
class ExternalBankAccountCreatedWebhookEvent = Lithic::Models::ExternalBankAccountCreatedWebhookEvent
|
|
239
|
+
|
|
186
240
|
class ExternalBankAccountCreateParams = Lithic::Models::ExternalBankAccountCreateParams
|
|
187
241
|
|
|
188
242
|
class ExternalBankAccountListParams = Lithic::Models::ExternalBankAccountListParams
|
|
@@ -197,12 +251,16 @@ module Lithic
|
|
|
197
251
|
|
|
198
252
|
class ExternalBankAccountUnpauseParams = Lithic::Models::ExternalBankAccountUnpauseParams
|
|
199
253
|
|
|
254
|
+
class ExternalBankAccountUpdatedWebhookEvent = Lithic::Models::ExternalBankAccountUpdatedWebhookEvent
|
|
255
|
+
|
|
200
256
|
class ExternalBankAccountUpdateParams = Lithic::Models::ExternalBankAccountUpdateParams
|
|
201
257
|
|
|
202
258
|
class ExternalPayment = Lithic::Models::ExternalPayment
|
|
203
259
|
|
|
204
260
|
class ExternalPaymentCancelParams = Lithic::Models::ExternalPaymentCancelParams
|
|
205
261
|
|
|
262
|
+
class ExternalPaymentCreatedWebhookEvent = Lithic::Models::ExternalPaymentCreatedWebhookEvent
|
|
263
|
+
|
|
206
264
|
class ExternalPaymentCreateParams = Lithic::Models::ExternalPaymentCreateParams
|
|
207
265
|
|
|
208
266
|
class ExternalPaymentListParams = Lithic::Models::ExternalPaymentListParams
|
|
@@ -215,6 +273,8 @@ module Lithic
|
|
|
215
273
|
|
|
216
274
|
class ExternalPaymentSettleParams = Lithic::Models::ExternalPaymentSettleParams
|
|
217
275
|
|
|
276
|
+
class ExternalPaymentUpdatedWebhookEvent = Lithic::Models::ExternalPaymentUpdatedWebhookEvent
|
|
277
|
+
|
|
218
278
|
class ExternalResource = Lithic::Models::ExternalResource
|
|
219
279
|
|
|
220
280
|
module ExternalResourceType = Lithic::Models::ExternalResourceType
|
|
@@ -223,6 +283,8 @@ module Lithic
|
|
|
223
283
|
|
|
224
284
|
class FinancialAccountBalance = Lithic::Models::FinancialAccountBalance
|
|
225
285
|
|
|
286
|
+
class FinancialAccountCreatedWebhookEvent = Lithic::Models::FinancialAccountCreatedWebhookEvent
|
|
287
|
+
|
|
226
288
|
class FinancialAccountCreateParams = Lithic::Models::FinancialAccountCreateParams
|
|
227
289
|
|
|
228
290
|
class FinancialAccountListParams = Lithic::Models::FinancialAccountListParams
|
|
@@ -233,6 +295,8 @@ module Lithic
|
|
|
233
295
|
|
|
234
296
|
module FinancialAccounts = Lithic::Models::FinancialAccounts
|
|
235
297
|
|
|
298
|
+
class FinancialAccountUpdatedWebhookEvent = Lithic::Models::FinancialAccountUpdatedWebhookEvent
|
|
299
|
+
|
|
236
300
|
class FinancialAccountUpdateParams = Lithic::Models::FinancialAccountUpdateParams
|
|
237
301
|
|
|
238
302
|
class FinancialAccountUpdateStatusParams = Lithic::Models::FinancialAccountUpdateStatusParams
|
|
@@ -245,6 +309,8 @@ module Lithic
|
|
|
245
309
|
|
|
246
310
|
class FundingEvent = Lithic::Models::FundingEvent
|
|
247
311
|
|
|
312
|
+
class FundingEventCreatedWebhookEvent = Lithic::Models::FundingEventCreatedWebhookEvent
|
|
313
|
+
|
|
248
314
|
class FundingEventListParams = Lithic::Models::FundingEventListParams
|
|
249
315
|
|
|
250
316
|
class FundingEventRetrieveDetailsParams = Lithic::Models::FundingEventRetrieveDetailsParams
|
|
@@ -255,6 +321,10 @@ module Lithic
|
|
|
255
321
|
|
|
256
322
|
class InternalTransactionAPI = Lithic::Models::InternalTransactionAPI
|
|
257
323
|
|
|
324
|
+
class InternalTransactionCreatedWebhookEvent = Lithic::Models::InternalTransactionCreatedWebhookEvent
|
|
325
|
+
|
|
326
|
+
class InternalTransactionUpdatedWebhookEvent = Lithic::Models::InternalTransactionUpdatedWebhookEvent
|
|
327
|
+
|
|
258
328
|
class KYB = Lithic::Models::KYB
|
|
259
329
|
|
|
260
330
|
class KYBBusinessEntity = Lithic::Models::KYBBusinessEntity
|
|
@@ -263,6 +333,12 @@ module Lithic
|
|
|
263
333
|
|
|
264
334
|
class KYCExempt = Lithic::Models::KYCExempt
|
|
265
335
|
|
|
336
|
+
class LoanTapeCreatedWebhookEvent = Lithic::Models::LoanTapeCreatedWebhookEvent
|
|
337
|
+
|
|
338
|
+
class LoanTapeUpdatedWebhookEvent = Lithic::Models::LoanTapeUpdatedWebhookEvent
|
|
339
|
+
|
|
340
|
+
class ManagementOperationCreatedWebhookEvent = Lithic::Models::ManagementOperationCreatedWebhookEvent
|
|
341
|
+
|
|
266
342
|
class ManagementOperationCreateParams = Lithic::Models::ManagementOperationCreateParams
|
|
267
343
|
|
|
268
344
|
class ManagementOperationListParams = Lithic::Models::ManagementOperationListParams
|
|
@@ -273,6 +349,8 @@ module Lithic
|
|
|
273
349
|
|
|
274
350
|
class ManagementOperationTransaction = Lithic::Models::ManagementOperationTransaction
|
|
275
351
|
|
|
352
|
+
class ManagementOperationUpdatedWebhookEvent = Lithic::Models::ManagementOperationUpdatedWebhookEvent
|
|
353
|
+
|
|
276
354
|
class Merchant = Lithic::Models::Merchant
|
|
277
355
|
|
|
278
356
|
class MessageAttempt = Lithic::Models::MessageAttempt
|
|
@@ -285,10 +363,16 @@ module Lithic
|
|
|
285
363
|
|
|
286
364
|
class NetworkTotal = Lithic::Models::NetworkTotal
|
|
287
365
|
|
|
366
|
+
class NetworkTotalCreatedWebhookEvent = Lithic::Models::NetworkTotalCreatedWebhookEvent
|
|
367
|
+
|
|
368
|
+
class NetworkTotalUpdatedWebhookEvent = Lithic::Models::NetworkTotalUpdatedWebhookEvent
|
|
369
|
+
|
|
288
370
|
class NonPCICard = Lithic::Models::NonPCICard
|
|
289
371
|
|
|
290
372
|
module OwnerType = Lithic::Models::OwnerType
|
|
291
373
|
|
|
374
|
+
module ParsedWebhookEvent = Lithic::Models::ParsedWebhookEvent
|
|
375
|
+
|
|
292
376
|
class Payment = Lithic::Models::Payment
|
|
293
377
|
|
|
294
378
|
class PaymentCreateParams = Lithic::Models::PaymentCreateParams
|
|
@@ -309,6 +393,10 @@ module Lithic
|
|
|
309
393
|
|
|
310
394
|
class PaymentSimulateReturnParams = Lithic::Models::PaymentSimulateReturnParams
|
|
311
395
|
|
|
396
|
+
class PaymentTransactionCreatedWebhookEvent = Lithic::Models::PaymentTransactionCreatedWebhookEvent
|
|
397
|
+
|
|
398
|
+
class PaymentTransactionUpdatedWebhookEvent = Lithic::Models::PaymentTransactionUpdatedWebhookEvent
|
|
399
|
+
|
|
312
400
|
class ProvisionResponse = Lithic::Models::ProvisionResponse
|
|
313
401
|
|
|
314
402
|
module Reports = Lithic::Models::Reports
|
|
@@ -327,26 +415,40 @@ module Lithic
|
|
|
327
415
|
|
|
328
416
|
class SettlementReport = Lithic::Models::SettlementReport
|
|
329
417
|
|
|
418
|
+
class SettlementReportUpdatedWebhookEvent = Lithic::Models::SettlementReportUpdatedWebhookEvent
|
|
419
|
+
|
|
330
420
|
class SettlementSummaryDetails = Lithic::Models::SettlementSummaryDetails
|
|
331
421
|
|
|
332
422
|
class ShippingAddress = Lithic::Models::ShippingAddress
|
|
333
423
|
|
|
334
424
|
module SpendLimitDuration = Lithic::Models::SpendLimitDuration
|
|
335
425
|
|
|
426
|
+
class StatementsCreatedWebhookEvent = Lithic::Models::StatementsCreatedWebhookEvent
|
|
427
|
+
|
|
336
428
|
class StatementTotals = Lithic::Models::StatementTotals
|
|
337
429
|
|
|
338
430
|
module ThreeDS = Lithic::Models::ThreeDS
|
|
339
431
|
|
|
340
432
|
class ThreeDSAuthentication = Lithic::Models::ThreeDSAuthentication
|
|
341
433
|
|
|
434
|
+
class ThreeDSAuthenticationChallengeWebhookEvent = Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent
|
|
435
|
+
|
|
436
|
+
class ThreeDSAuthenticationCreatedWebhookEvent = Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent
|
|
437
|
+
|
|
438
|
+
class ThreeDSAuthenticationUpdatedWebhookEvent = Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent
|
|
439
|
+
|
|
342
440
|
class TokenInfo = Lithic::Models::TokenInfo
|
|
343
441
|
|
|
344
442
|
class Tokenization = Lithic::Models::Tokenization
|
|
345
443
|
|
|
346
444
|
class TokenizationActivateParams = Lithic::Models::TokenizationActivateParams
|
|
347
445
|
|
|
446
|
+
class TokenizationApprovalRequestWebhookEvent = Lithic::Models::TokenizationApprovalRequestWebhookEvent
|
|
447
|
+
|
|
348
448
|
class TokenizationDeactivateParams = Lithic::Models::TokenizationDeactivateParams
|
|
349
449
|
|
|
450
|
+
class TokenizationDecisioningRequestWebhookEvent = Lithic::Models::TokenizationDecisioningRequestWebhookEvent
|
|
451
|
+
|
|
350
452
|
class TokenizationDecisioningRetrieveSecretParams = Lithic::Models::TokenizationDecisioningRetrieveSecretParams
|
|
351
453
|
|
|
352
454
|
class TokenizationDecisioningRotateSecretParams = Lithic::Models::TokenizationDecisioningRotateSecretParams
|
|
@@ -359,6 +461,8 @@ module Lithic
|
|
|
359
461
|
|
|
360
462
|
class TokenizationResendActivationCodeParams = Lithic::Models::TokenizationResendActivationCodeParams
|
|
361
463
|
|
|
464
|
+
class TokenizationResultWebhookEvent = Lithic::Models::TokenizationResultWebhookEvent
|
|
465
|
+
|
|
362
466
|
class TokenizationRetrieveParams = Lithic::Models::TokenizationRetrieveParams
|
|
363
467
|
|
|
364
468
|
class TokenizationRuleResult = Lithic::Models::TokenizationRuleResult
|
|
@@ -369,10 +473,16 @@ module Lithic
|
|
|
369
473
|
|
|
370
474
|
module TokenizationTfaReason = Lithic::Models::TokenizationTfaReason
|
|
371
475
|
|
|
476
|
+
class TokenizationTwoFactorAuthenticationCodeSentWebhookEvent = Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
477
|
+
|
|
478
|
+
class TokenizationTwoFactorAuthenticationCodeWebhookEvent = Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
479
|
+
|
|
372
480
|
class TokenizationUnpauseParams = Lithic::Models::TokenizationUnpauseParams
|
|
373
481
|
|
|
374
482
|
class TokenizationUpdateDigitalCardArtParams = Lithic::Models::TokenizationUpdateDigitalCardArtParams
|
|
375
483
|
|
|
484
|
+
class TokenizationUpdatedWebhookEvent = Lithic::Models::TokenizationUpdatedWebhookEvent
|
|
485
|
+
|
|
376
486
|
class Transaction = Lithic::Models::Transaction
|
|
377
487
|
|
|
378
488
|
class TransactionExpireAuthorizationParams = Lithic::Models::TransactionExpireAuthorizationParams
|
|
@@ -405,5 +515,7 @@ module Lithic
|
|
|
405
515
|
|
|
406
516
|
class WalletDecisioningInfo = Lithic::Models::WalletDecisioningInfo
|
|
407
517
|
|
|
518
|
+
class WebhookParsedParams = Lithic::Models::WebhookParsedParams
|
|
519
|
+
|
|
408
520
|
class WirePartyDetails = Lithic::Models::WirePartyDetails
|
|
409
521
|
end
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Resources
|
|
3
|
+
class Webhooks
|
|
4
|
+
def parse: (
|
|
5
|
+
String payload,
|
|
6
|
+
headers: Hash[String, String],
|
|
7
|
+
?secret: String?
|
|
8
|
+
) -> (Lithic::AccountHolderCreatedWebhookEvent
|
|
9
|
+
| Lithic::ParsedWebhookEvent::KYBPayload
|
|
10
|
+
| Lithic::ParsedWebhookEvent::KYCPayload
|
|
11
|
+
| Lithic::ParsedWebhookEvent::LegacyPayload
|
|
12
|
+
| Lithic::AccountHolderVerificationWebhookEvent
|
|
13
|
+
| Lithic::AccountHolderDocumentUpdatedWebhookEvent
|
|
14
|
+
| Lithic::AsaRequestWebhookEvent
|
|
15
|
+
| Lithic::TokenizationDecisioningRequestWebhookEvent
|
|
16
|
+
| Lithic::AuthRulesBacktestReportCreatedWebhookEvent
|
|
17
|
+
| Lithic::BalanceUpdatedWebhookEvent
|
|
18
|
+
| Lithic::BookTransferTransactionCreatedWebhookEvent
|
|
19
|
+
| Lithic::BookTransferTransactionUpdatedWebhookEvent
|
|
20
|
+
| Lithic::CardCreatedWebhookEvent
|
|
21
|
+
| Lithic::CardConvertedWebhookEvent
|
|
22
|
+
| Lithic::CardRenewedWebhookEvent
|
|
23
|
+
| Lithic::CardReissuedWebhookEvent
|
|
24
|
+
| Lithic::CardShippedWebhookEvent
|
|
25
|
+
| Lithic::CardTransactionUpdatedWebhookEvent
|
|
26
|
+
| Lithic::CardTransactionEnhancedDataCreatedWebhookEvent
|
|
27
|
+
| Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent
|
|
28
|
+
| Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent
|
|
29
|
+
| Lithic::DigitalWalletTokenizationResultWebhookEvent
|
|
30
|
+
| Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
31
|
+
| Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
32
|
+
| Lithic::DigitalWalletTokenizationUpdatedWebhookEvent
|
|
33
|
+
| Lithic::DisputeUpdatedWebhookEvent
|
|
34
|
+
| Lithic::DisputeEvidenceUploadFailedWebhookEvent
|
|
35
|
+
| Lithic::ExternalBankAccountCreatedWebhookEvent
|
|
36
|
+
| Lithic::ExternalBankAccountUpdatedWebhookEvent
|
|
37
|
+
| Lithic::ExternalPaymentCreatedWebhookEvent
|
|
38
|
+
| Lithic::ExternalPaymentUpdatedWebhookEvent
|
|
39
|
+
| Lithic::FinancialAccountCreatedWebhookEvent
|
|
40
|
+
| Lithic::FinancialAccountUpdatedWebhookEvent
|
|
41
|
+
| Lithic::FundingEventCreatedWebhookEvent
|
|
42
|
+
| Lithic::LoanTapeCreatedWebhookEvent
|
|
43
|
+
| Lithic::LoanTapeUpdatedWebhookEvent
|
|
44
|
+
| Lithic::ManagementOperationCreatedWebhookEvent
|
|
45
|
+
| Lithic::ManagementOperationUpdatedWebhookEvent
|
|
46
|
+
| Lithic::InternalTransactionCreatedWebhookEvent
|
|
47
|
+
| Lithic::InternalTransactionUpdatedWebhookEvent
|
|
48
|
+
| Lithic::NetworkTotalCreatedWebhookEvent
|
|
49
|
+
| Lithic::NetworkTotalUpdatedWebhookEvent
|
|
50
|
+
| Lithic::PaymentTransactionCreatedWebhookEvent
|
|
51
|
+
| Lithic::PaymentTransactionUpdatedWebhookEvent
|
|
52
|
+
| Lithic::SettlementReportUpdatedWebhookEvent
|
|
53
|
+
| Lithic::StatementsCreatedWebhookEvent
|
|
54
|
+
| Lithic::ThreeDSAuthenticationCreatedWebhookEvent
|
|
55
|
+
| Lithic::ThreeDSAuthenticationUpdatedWebhookEvent
|
|
56
|
+
| Lithic::ThreeDSAuthenticationChallengeWebhookEvent
|
|
57
|
+
| Lithic::TokenizationApprovalRequestWebhookEvent
|
|
58
|
+
| Lithic::TokenizationResultWebhookEvent
|
|
59
|
+
| Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
60
|
+
| Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
61
|
+
| Lithic::TokenizationUpdatedWebhookEvent
|
|
62
|
+
| Lithic::ThreeDSAuthentication
|
|
63
|
+
| Lithic::DisputeTransactionCreatedWebhookEvent
|
|
64
|
+
| Lithic::DisputeTransactionUpdatedWebhookEvent)
|
|
65
|
+
|
|
66
|
+
def parse_unsafe: (
|
|
67
|
+
String payload
|
|
68
|
+
) -> (Lithic::AccountHolderCreatedWebhookEvent
|
|
69
|
+
| Lithic::ParsedWebhookEvent::KYBPayload
|
|
70
|
+
| Lithic::ParsedWebhookEvent::KYCPayload
|
|
71
|
+
| Lithic::ParsedWebhookEvent::LegacyPayload
|
|
72
|
+
| Lithic::AccountHolderVerificationWebhookEvent
|
|
73
|
+
| Lithic::AccountHolderDocumentUpdatedWebhookEvent
|
|
74
|
+
| Lithic::AsaRequestWebhookEvent
|
|
75
|
+
| Lithic::TokenizationDecisioningRequestWebhookEvent
|
|
76
|
+
| Lithic::AuthRulesBacktestReportCreatedWebhookEvent
|
|
77
|
+
| Lithic::BalanceUpdatedWebhookEvent
|
|
78
|
+
| Lithic::BookTransferTransactionCreatedWebhookEvent
|
|
79
|
+
| Lithic::BookTransferTransactionUpdatedWebhookEvent
|
|
80
|
+
| Lithic::CardCreatedWebhookEvent
|
|
81
|
+
| Lithic::CardConvertedWebhookEvent
|
|
82
|
+
| Lithic::CardRenewedWebhookEvent
|
|
83
|
+
| Lithic::CardReissuedWebhookEvent
|
|
84
|
+
| Lithic::CardShippedWebhookEvent
|
|
85
|
+
| Lithic::CardTransactionUpdatedWebhookEvent
|
|
86
|
+
| Lithic::CardTransactionEnhancedDataCreatedWebhookEvent
|
|
87
|
+
| Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent
|
|
88
|
+
| Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent
|
|
89
|
+
| Lithic::DigitalWalletTokenizationResultWebhookEvent
|
|
90
|
+
| Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
91
|
+
| Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
92
|
+
| Lithic::DigitalWalletTokenizationUpdatedWebhookEvent
|
|
93
|
+
| Lithic::DisputeUpdatedWebhookEvent
|
|
94
|
+
| Lithic::DisputeEvidenceUploadFailedWebhookEvent
|
|
95
|
+
| Lithic::ExternalBankAccountCreatedWebhookEvent
|
|
96
|
+
| Lithic::ExternalBankAccountUpdatedWebhookEvent
|
|
97
|
+
| Lithic::ExternalPaymentCreatedWebhookEvent
|
|
98
|
+
| Lithic::ExternalPaymentUpdatedWebhookEvent
|
|
99
|
+
| Lithic::FinancialAccountCreatedWebhookEvent
|
|
100
|
+
| Lithic::FinancialAccountUpdatedWebhookEvent
|
|
101
|
+
| Lithic::FundingEventCreatedWebhookEvent
|
|
102
|
+
| Lithic::LoanTapeCreatedWebhookEvent
|
|
103
|
+
| Lithic::LoanTapeUpdatedWebhookEvent
|
|
104
|
+
| Lithic::ManagementOperationCreatedWebhookEvent
|
|
105
|
+
| Lithic::ManagementOperationUpdatedWebhookEvent
|
|
106
|
+
| Lithic::InternalTransactionCreatedWebhookEvent
|
|
107
|
+
| Lithic::InternalTransactionUpdatedWebhookEvent
|
|
108
|
+
| Lithic::NetworkTotalCreatedWebhookEvent
|
|
109
|
+
| Lithic::NetworkTotalUpdatedWebhookEvent
|
|
110
|
+
| Lithic::PaymentTransactionCreatedWebhookEvent
|
|
111
|
+
| Lithic::PaymentTransactionUpdatedWebhookEvent
|
|
112
|
+
| Lithic::SettlementReportUpdatedWebhookEvent
|
|
113
|
+
| Lithic::StatementsCreatedWebhookEvent
|
|
114
|
+
| Lithic::ThreeDSAuthenticationCreatedWebhookEvent
|
|
115
|
+
| Lithic::ThreeDSAuthenticationUpdatedWebhookEvent
|
|
116
|
+
| Lithic::ThreeDSAuthenticationChallengeWebhookEvent
|
|
117
|
+
| Lithic::TokenizationApprovalRequestWebhookEvent
|
|
118
|
+
| Lithic::TokenizationResultWebhookEvent
|
|
119
|
+
| Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
120
|
+
| Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
121
|
+
| Lithic::TokenizationUpdatedWebhookEvent
|
|
122
|
+
| Lithic::ThreeDSAuthentication
|
|
123
|
+
| Lithic::DisputeTransactionCreatedWebhookEvent
|
|
124
|
+
| Lithic::DisputeTransactionUpdatedWebhookEvent)
|
|
125
|
+
|
|
126
|
+
def verify_signature: (
|
|
127
|
+
payload: String,
|
|
128
|
+
headers: Hash[String, String],
|
|
129
|
+
?secret: String?
|
|
130
|
+
) -> Hash[Symbol, untyped]
|
|
131
|
+
|
|
132
|
+
def initialize: (client: Lithic::Client) -> void
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|