lithic 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +38 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +15 -1
  5. data/lib/lithic/models/account.rb +2 -2
  6. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +5 -4
  7. data/lib/lithic/models/account_holder_update_response.rb +3 -3
  8. data/lib/lithic/models/account_update_params.rb +2 -2
  9. data/lib/lithic/models/auth_rules/auth_rule.rb +14 -8
  10. data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
  11. data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +109 -0
  12. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +152 -1
  13. data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +244 -0
  14. data/lib/lithic/models/auth_rules/event_stream.rb +1 -0
  15. data/lib/lithic/models/auth_rules/rule_feature.rb +47 -1
  16. data/lib/lithic/models/auth_rules/spend_velocity_filters.rb +33 -0
  17. data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
  18. data/lib/lithic/models/auth_rules/v2_create_params.rb +27 -15
  19. data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
  20. data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +103 -0
  21. data/lib/lithic/models/card_create_params.rb +4 -2
  22. data/lib/lithic/models/card_renew_params.rb +4 -2
  23. data/lib/lithic/models/event.rb +5 -0
  24. data/lib/lithic/models/event_list_params.rb +3 -0
  25. data/lib/lithic/models/event_subscription.rb +3 -0
  26. data/lib/lithic/models/events/subscription_create_params.rb +3 -0
  27. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
  28. data/lib/lithic/models/events/subscription_update_params.rb +3 -0
  29. data/lib/lithic/models/external_bank_account_set_verification_method_params.rb +55 -0
  30. data/lib/lithic/models/non_pci_card.rb +13 -13
  31. data/lib/lithic/models/parsed_webhook_event.rb +3 -1
  32. data/lib/lithic/models/reports/settlement/network_total_list_params.rb +1 -0
  33. data/lib/lithic/models/settlement_detail.rb +11 -4
  34. data/lib/lithic/models/settlement_summary_details.rb +1 -0
  35. data/lib/lithic/models.rb +6 -0
  36. data/lib/lithic/resources/accounts.rb +1 -1
  37. data/lib/lithic/resources/auth_rules/v2.rb +1 -1
  38. data/lib/lithic/resources/external_bank_accounts.rb +31 -0
  39. data/lib/lithic/resources/webhooks.rb +1 -1
  40. data/lib/lithic/version.rb +1 -1
  41. data/lib/lithic.rb +6 -1
  42. data/rbi/lithic/models/account.rbi +3 -6
  43. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -14
  44. data/rbi/lithic/models/account_holder_update_response.rbi +3 -3
  45. data/rbi/lithic/models/account_update_params.rbi +5 -8
  46. data/rbi/lithic/models/auth_rules/auth_rule.rbi +10 -3
  47. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +2 -0
  48. data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +242 -0
  49. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +354 -3
  50. data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +573 -0
  51. data/rbi/lithic/models/auth_rules/event_stream.rbi +5 -0
  52. data/rbi/lithic/models/auth_rules/rule_feature.rbi +104 -1
  53. data/rbi/lithic/models/auth_rules/spend_velocity_filters.rbi +58 -0
  54. data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +6 -3
  55. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +30 -9
  56. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -0
  57. data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +175 -0
  58. data/rbi/lithic/models/card_create_params.rbi +8 -4
  59. data/rbi/lithic/models/card_renew_params.rbi +8 -4
  60. data/rbi/lithic/models/event.rbi +11 -0
  61. data/rbi/lithic/models/event_list_params.rbi +7 -0
  62. data/rbi/lithic/models/event_subscription.rbi +7 -0
  63. data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
  64. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
  65. data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
  66. data/rbi/lithic/models/external_bank_account_set_verification_method_params.rbi +111 -0
  67. data/rbi/lithic/models/non_pci_card.rbi +21 -31
  68. data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
  69. data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +5 -0
  70. data/rbi/lithic/models/settlement_detail.rbi +17 -4
  71. data/rbi/lithic/models/settlement_summary_details.rbi +2 -0
  72. data/rbi/lithic/models.rbi +6 -0
  73. data/rbi/lithic/resources/accounts.rbi +2 -1
  74. data/rbi/lithic/resources/auth_rules/v2.rbi +1 -0
  75. data/rbi/lithic/resources/cards.rbi +8 -4
  76. data/rbi/lithic/resources/external_bank_accounts.rbi +22 -0
  77. data/rbi/lithic/resources/webhooks.rbi +1 -0
  78. data/sig/lithic/models/account.rbs +4 -8
  79. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -8
  80. data/sig/lithic/models/account_update_params.rbs +4 -8
  81. data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
  82. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
  83. data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +100 -0
  84. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +89 -3
  85. data/sig/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbs +155 -0
  86. data/sig/lithic/models/auth_rules/event_stream.rbs +2 -0
  87. data/sig/lithic/models/auth_rules/rule_feature.rbs +42 -0
  88. data/sig/lithic/models/auth_rules/spend_velocity_filters.rbs +35 -0
  89. data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
  90. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
  91. data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +76 -0
  92. data/sig/lithic/models/event.rbs +2 -0
  93. data/sig/lithic/models/event_list_params.rbs +2 -0
  94. data/sig/lithic/models/event_subscription.rbs +2 -0
  95. data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
  96. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
  97. data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
  98. data/sig/lithic/models/external_bank_account_set_verification_method_params.rbs +51 -0
  99. data/sig/lithic/models/non_pci_card.rbs +20 -30
  100. data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
  101. data/sig/lithic/models/reports/settlement/network_total_list_params.rbs +2 -1
  102. data/sig/lithic/models/settlement_detail.rbs +3 -1
  103. data/sig/lithic/models/settlement_summary_details.rbs +3 -1
  104. data/sig/lithic/models.rbs +4 -0
  105. data/sig/lithic/resources/accounts.rbs +1 -1
  106. data/sig/lithic/resources/external_bank_accounts.rbs +7 -0
  107. data/sig/lithic/resources/webhooks.rbs +1 -0
  108. metadata +17 -2
@@ -0,0 +1,103 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ class CardAuthorizationChallengeResponseWebhookEvent < Lithic::Internal::Type::BaseModel
6
+ # @!attribute card_token
7
+ # The token of the card associated with the challenge
8
+ #
9
+ # @return [String, nil]
10
+ required :card_token, String, nil?: true
11
+
12
+ # @!attribute challenge_method
13
+ # The method used to deliver the challenge to the cardholder
14
+ #
15
+ # @return [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod]
16
+ required :challenge_method,
17
+ enum: -> { Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod }
18
+
19
+ # @!attribute completed
20
+ # The timestamp of when the challenge was completed
21
+ #
22
+ # @return [Time, nil]
23
+ required :completed, Time, nil?: true
24
+
25
+ # @!attribute created
26
+ # The timestamp of when the challenge was created
27
+ #
28
+ # @return [Time]
29
+ required :created, Time
30
+
31
+ # @!attribute event_token
32
+ # Globally unique identifier for the event
33
+ #
34
+ # @return [String]
35
+ required :event_token, String
36
+
37
+ # @!attribute event_type
38
+ # Event type
39
+ #
40
+ # @return [Symbol, :"card_authorization.challenge_response"]
41
+ required :event_type, const: :"card_authorization.challenge_response"
42
+
43
+ # @!attribute response
44
+ # The cardholder's response to the challenge
45
+ #
46
+ # @return [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::Response]
47
+ required :response, enum: -> { Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response }
48
+
49
+ # @!attribute transaction_token
50
+ # The token of the transaction associated with the authorization event being
51
+ # challenged
52
+ #
53
+ # @return [String, nil]
54
+ required :transaction_token, String, nil?: true
55
+
56
+ # @!method initialize(card_token:, challenge_method:, completed:, created:, event_token:, response:, transaction_token:, event_type: :"card_authorization.challenge_response")
57
+ # Some parameter documentations has been truncated, see
58
+ # {Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent} for more
59
+ # details.
60
+ #
61
+ # @param card_token [String, nil] The token of the card associated with the challenge
62
+ #
63
+ # @param challenge_method [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod] The method used to deliver the challenge to the cardholder
64
+ #
65
+ # @param completed [Time, nil] The timestamp of when the challenge was completed
66
+ #
67
+ # @param created [Time] The timestamp of when the challenge was created
68
+ #
69
+ # @param event_token [String] Globally unique identifier for the event
70
+ #
71
+ # @param response [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::Response] The cardholder's response to the challenge
72
+ #
73
+ # @param transaction_token [String, nil] The token of the transaction associated with the authorization event being chall
74
+ #
75
+ # @param event_type [Symbol, :"card_authorization.challenge_response"] Event type
76
+
77
+ # The method used to deliver the challenge to the cardholder
78
+ #
79
+ # @see Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent#challenge_method
80
+ module ChallengeMethod
81
+ extend Lithic::Internal::Type::Enum
82
+
83
+ SMS = :SMS
84
+
85
+ # @!method self.values
86
+ # @return [Array<Symbol>]
87
+ end
88
+
89
+ # The cardholder's response to the challenge
90
+ #
91
+ # @see Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent#response
92
+ module Response
93
+ extend Lithic::Internal::Type::Enum
94
+
95
+ APPROVE = :APPROVE
96
+ DECLINE = :DECLINE
97
+
98
+ # @!method self.values
99
+ # @return [Array<Symbol>]
100
+ end
101
+ end
102
+ end
103
+ end
@@ -72,14 +72,16 @@ module Lithic
72
72
 
73
73
  # @!attribute exp_month
74
74
  # Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
75
- # an expiration date will be generated.
75
+ # an expiration date five years in the future will be generated. Five years is the
76
+ # maximum expiration date.
76
77
  #
77
78
  # @return [String, nil]
78
79
  optional :exp_month, String
79
80
 
80
81
  # @!attribute exp_year
81
82
  # Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
82
- # provided, an expiration date will be generated.
83
+ # provided, an expiration date five years in the future will be generated. Five
84
+ # years is the maximum expiration date.
83
85
  #
84
86
  # @return [String, nil]
85
87
  optional :exp_year, String
@@ -26,14 +26,16 @@ module Lithic
26
26
 
27
27
  # @!attribute exp_month
28
28
  # Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided,
29
- # an expiration date six years in the future will be generated.
29
+ # an expiration date five years in the future will be generated. Five years is the
30
+ # maximum expiration date.
30
31
  #
31
32
  # @return [String, nil]
32
33
  optional :exp_month, String
33
34
 
34
35
  # @!attribute exp_year
35
36
  # Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is
36
- # provided, an expiration date six years in the future will be generated.
37
+ # provided, an expiration date five years in the future will be generated. Five
38
+ # years is the maximum expiration date.
37
39
  #
38
40
  # @return [String, nil]
39
41
  optional :exp_year, String
@@ -33,6 +33,8 @@ module Lithic
33
33
  # created.
34
34
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
35
35
  # updated.
36
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
37
+ # SMS challenge during card authorization.
36
38
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
37
39
  # data is processed for a transaction event.
38
40
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -154,6 +156,8 @@ module Lithic
154
156
  # created.
155
157
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
156
158
  # updated.
159
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
160
+ # SMS challenge during card authorization.
157
161
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
158
162
  # data is processed for a transaction event.
159
163
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -251,6 +255,7 @@ module Lithic
251
255
  BALANCE_UPDATED = :"balance.updated"
252
256
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
253
257
  BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
258
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
254
259
  CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
255
260
  CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
256
261
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
@@ -87,6 +87,8 @@ module Lithic
87
87
  # created.
88
88
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
89
89
  # updated.
90
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
91
+ # SMS challenge during card authorization.
90
92
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
91
93
  # data is processed for a transaction event.
92
94
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -182,6 +184,7 @@ module Lithic
182
184
  BALANCE_UPDATED = :"balance.updated"
183
185
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
184
186
  BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
187
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
185
188
  CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
186
189
  CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
187
190
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
@@ -60,6 +60,8 @@ module Lithic
60
60
  # created.
61
61
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
62
62
  # updated.
63
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
64
+ # SMS challenge during card authorization.
63
65
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
64
66
  # data is processed for a transaction event.
65
67
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -155,6 +157,7 @@ module Lithic
155
157
  BALANCE_UPDATED = :"balance.updated"
156
158
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
157
159
  BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
160
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
158
161
  CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
159
162
  CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
160
163
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
@@ -62,6 +62,8 @@ module Lithic
62
62
  # created.
63
63
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
64
64
  # updated.
65
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
66
+ # SMS challenge during card authorization.
65
67
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
66
68
  # data is processed for a transaction event.
67
69
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -157,6 +159,7 @@ module Lithic
157
159
  BALANCE_UPDATED = :"balance.updated"
158
160
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
159
161
  BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
162
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
160
163
  CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
161
164
  CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
162
165
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
@@ -38,6 +38,7 @@ module Lithic
38
38
  BALANCE_UPDATED = :"balance.updated"
39
39
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
40
40
  BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
41
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
41
42
  CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
42
43
  CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
43
44
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
@@ -69,6 +69,8 @@ module Lithic
69
69
  # created.
70
70
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
71
71
  # updated.
72
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
73
+ # SMS challenge during card authorization.
72
74
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
73
75
  # data is processed for a transaction event.
74
76
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -164,6 +166,7 @@ module Lithic
164
166
  BALANCE_UPDATED = :"balance.updated"
165
167
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
166
168
  BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
169
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
167
170
  CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
168
171
  CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
169
172
  CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # @see Lithic::Resources::ExternalBankAccounts#set_verification_method
6
+ class ExternalBankAccountSetVerificationMethodParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ # @!attribute external_bank_account_token
11
+ #
12
+ # @return [String]
13
+ required :external_bank_account_token, String
14
+
15
+ # @!attribute verification_method
16
+ # The verification method to set for the external bank account
17
+ #
18
+ # @return [Symbol, Lithic::Models::ExternalBankAccountSetVerificationMethodParams::VerificationMethod]
19
+ required :verification_method,
20
+ enum: -> { Lithic::ExternalBankAccountSetVerificationMethodParams::VerificationMethod }
21
+
22
+ # @!attribute financial_account_token
23
+ # The financial account token of the operating account to fund the micro deposits.
24
+ # Required when verification_method is MICRO_DEPOSIT or PRENOTE.
25
+ #
26
+ # @return [String, nil]
27
+ optional :financial_account_token, String
28
+
29
+ # @!method initialize(external_bank_account_token:, verification_method:, financial_account_token: nil, request_options: {})
30
+ # Some parameter documentations has been truncated, see
31
+ # {Lithic::Models::ExternalBankAccountSetVerificationMethodParams} for more
32
+ # details.
33
+ #
34
+ # @param external_bank_account_token [String]
35
+ #
36
+ # @param verification_method [Symbol, Lithic::Models::ExternalBankAccountSetVerificationMethodParams::VerificationMethod] The verification method to set for the external bank account
37
+ #
38
+ # @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits.
39
+ #
40
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
41
+
42
+ # The verification method to set for the external bank account
43
+ module VerificationMethod
44
+ extend Lithic::Internal::Type::Enum
45
+
46
+ MICRO_DEPOSIT = :MICRO_DEPOSIT
47
+ PRENOTE = :PRENOTE
48
+ EXTERNALLY_VERIFIED = :EXTERNALLY_VERIFIED
49
+
50
+ # @!method self.values
51
+ # @return [Array<Symbol>]
52
+ end
53
+ end
54
+ end
55
+ end
@@ -29,10 +29,10 @@ module Lithic
29
29
  required :created, Time
30
30
 
31
31
  # @!attribute funding
32
- # Deprecated: Funding account for the card.
32
+ # Funding account for a card
33
33
  #
34
- # @return [Lithic::Models::NonPCICard::Funding]
35
- required :funding, -> { Lithic::NonPCICard::Funding }
34
+ # @return [Lithic::Models::NonPCICard::Funding, nil]
35
+ required :funding, -> { Lithic::NonPCICard::Funding }, nil?: true
36
36
 
37
37
  # @!attribute last_four
38
38
  # Last four digits of the card number.
@@ -141,7 +141,7 @@ module Lithic
141
141
  # by Lithic to use.
142
142
  #
143
143
  # @return [String, nil]
144
- optional :digital_card_art_token, String
144
+ optional :digital_card_art_token, String, nil?: true
145
145
 
146
146
  # @!attribute exp_month
147
147
  # Two digit (MM) expiry month.
@@ -189,7 +189,7 @@ module Lithic
189
189
  # should be manufactured with.
190
190
  #
191
191
  # @return [String, nil]
192
- optional :product_id, String
192
+ optional :product_id, String, nil?: true
193
193
 
194
194
  # @!attribute replacement_for
195
195
  # If the card is a replacement for another card, the globally unique identifier
@@ -221,7 +221,7 @@ module Lithic
221
221
  # of the above categories. A comment can be provided to specify the reason.
222
222
  #
223
223
  # @return [Symbol, Lithic::Models::NonPCICard::Substatus, nil]
224
- optional :substatus, enum: -> { Lithic::NonPCICard::Substatus }
224
+ optional :substatus, enum: -> { Lithic::NonPCICard::Substatus }, nil?: true
225
225
 
226
226
  # @!method initialize(token:, account_token:, card_program_token:, created:, funding:, last_four:, pin_status:, spend_limit:, spend_limit_duration:, state:, type:, auth_rule_tokens: nil, bulk_order_token: nil, cardholder_currency: nil, comment: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, hostname: nil, memo: nil, network_program_token: nil, pending_commands: nil, product_id: nil, replacement_for: nil, substatus: nil)
227
227
  # Some parameter documentations has been truncated, see
@@ -237,7 +237,7 @@ module Lithic
237
237
  #
238
238
  # @param created [Time] An RFC 3339 timestamp for when the card was created. UTC time zone.
239
239
  #
240
- # @param funding [Lithic::Models::NonPCICard::Funding] Deprecated: Funding account for the card.
240
+ # @param funding [Lithic::Models::NonPCICard::Funding, nil] Funding account for a card
241
241
  #
242
242
  # @param last_four [String] Last four digits of the card number.
243
243
  #
@@ -261,7 +261,7 @@ module Lithic
261
261
  #
262
262
  # @param comment [String] Additional context or information related to the card.
263
263
  #
264
- # @param digital_card_art_token [String] Specifies the digital card art to be displayed in the user's digital wallet afte
264
+ # @param digital_card_art_token [String, nil] Specifies the digital card art to be displayed in the user's digital wallet afte
265
265
  #
266
266
  # @param exp_month [String] Two digit (MM) expiry month.
267
267
  #
@@ -275,11 +275,11 @@ module Lithic
275
275
  #
276
276
  # @param pending_commands [Array<String>] Indicates if there are offline PIN changes pending card interaction with an offl
277
277
  #
278
- # @param product_id [String] Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
278
+ # @param product_id [String, nil] Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic
279
279
  #
280
280
  # @param replacement_for [String, nil] If the card is a replacement for another card, the globally unique identifier fo
281
281
  #
282
- # @param substatus [Symbol, Lithic::Models::NonPCICard::Substatus] Card state substatus values: \* `LOST` - The physical card is no longer in the
282
+ # @param substatus [Symbol, Lithic::Models::NonPCICard::Substatus, nil] Card state substatus values: \* `LOST` - The physical card is no longer in the
283
283
  # ca
284
284
 
285
285
  # @see Lithic::Models::NonPCICard#funding
@@ -330,13 +330,13 @@ module Lithic
330
330
  # The nickname given to the `FundingAccount` or `null` if it has no nickname.
331
331
  #
332
332
  # @return [String, nil]
333
- optional :nickname, String
333
+ optional :nickname, String, nil?: true
334
334
 
335
335
  # @!method initialize(token:, created:, last_four:, state:, type:, account_name: nil, nickname: nil)
336
336
  # Some parameter documentations has been truncated, see
337
337
  # {Lithic::Models::NonPCICard::Funding} for more details.
338
338
  #
339
- # Deprecated: Funding account for the card.
339
+ # Funding account for a card
340
340
  #
341
341
  # @param token [String] A globally unique identifier for this FundingAccount.
342
342
  #
@@ -351,7 +351,7 @@ module Lithic
351
351
  #
352
352
  # @param account_name [String] Account name identifying the funding source. This may be `null`.
353
353
  #
354
- # @param nickname [String] The nickname given to the `FundingAccount` or `null` if it has no nickname.
354
+ # @param nickname [String, nil] The nickname given to the `FundingAccount` or `null` if it has no nickname.
355
355
 
356
356
  # State of funding source. Funding source states: _ `ENABLED` - The funding
357
357
  # account is available to use for card creation and transactions. _ `PENDING` -
@@ -23,6 +23,8 @@ module Lithic
23
23
 
24
24
  variant -> { Lithic::CardAuthorizationApprovalRequestWebhookEvent }
25
25
 
26
+ variant -> { Lithic::CardAuthorizationChallengeResponseWebhookEvent }
27
+
26
28
  variant -> { Lithic::AuthRulesBacktestReportCreatedWebhookEvent }
27
29
 
28
30
  variant -> { Lithic::BalanceUpdatedWebhookEvent }
@@ -811,7 +813,7 @@ module Lithic
811
813
  end
812
814
 
813
815
  # @!method self.variants
814
- # @return [Array(Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent)]
816
+ # @return [Array(Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent)]
815
817
  end
816
818
  end
817
819
  end
@@ -112,6 +112,7 @@ module Lithic
112
112
  module Network
113
113
  extend Lithic::Internal::Type::Enum
114
114
 
115
+ AMEX = :AMEX
115
116
  VISA = :VISA
116
117
  MASTERCARD = :MASTERCARD
117
118
  MAESTRO = :MAESTRO
@@ -49,7 +49,8 @@ module Lithic
49
49
  required :disputes_gross_amount, Integer
50
50
 
51
51
  # @!attribute event_tokens
52
- # Globally unique identifiers denoting the Events associated with this settlement.
52
+ # Array of globally unique identifiers for the financial events that comprise this
53
+ # settlement. Use these tokens to access detailed event-level information.
53
54
  #
54
55
  # @return [Array<String>]
55
56
  required :event_tokens, Lithic::Internal::Type::ArrayOf[String]
@@ -106,7 +107,12 @@ module Lithic
106
107
  required :settlement_date, String
107
108
 
108
109
  # @!attribute transaction_token
109
- # Globally unique identifier denoting the associated Transaction object.
110
+ # Globally unique identifier denoting the associated transaction. For settlement
111
+ # records with type `CLEARING`, `FINANCIAL`, or `NON-FINANCIAL`, this references a
112
+ # card transaction token. For settlement records with type `CHARGEBACK`,
113
+ # `REPRESENTMENT`, `PREARBITRATION`, `ARBITRATION`, or `COLLABORATION`, this
114
+ # references the dispute transaction token. May be null for certain settlement
115
+ # types.
110
116
  #
111
117
  # @return [String]
112
118
  required :transaction_token, String
@@ -154,7 +160,7 @@ module Lithic
154
160
  #
155
161
  # @param disputes_gross_amount [Integer] The total gross amount of disputes settlements.
156
162
  #
157
- # @param event_tokens [Array<String>] Globally unique identifiers denoting the Events associated with this settlement.
163
+ # @param event_tokens [Array<String>] Array of globally unique identifiers for the financial events that comprise this
158
164
  #
159
165
  # @param institution [String] The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE f
160
166
  #
@@ -172,7 +178,7 @@ module Lithic
172
178
  #
173
179
  # @param settlement_date [String] Date of when money movement is triggered for the transaction. One exception appl
174
180
  #
175
- # @param transaction_token [String] Globally unique identifier denoting the associated Transaction object.
181
+ # @param transaction_token [String] Globally unique identifier denoting the associated transaction. For settlement r
176
182
  #
177
183
  # @param transactions_gross_amount [Integer] The total amount of settlement impacting transactions (excluding interchange, fe
178
184
  #
@@ -188,6 +194,7 @@ module Lithic
188
194
  module Network
189
195
  extend Lithic::Internal::Type::Enum
190
196
 
197
+ AMEX = :AMEX
191
198
  INTERLINK = :INTERLINK
192
199
  MAESTRO = :MAESTRO
193
200
  MASTERCARD = :MASTERCARD
@@ -80,6 +80,7 @@ module Lithic
80
80
  module Network
81
81
  extend Lithic::Internal::Type::Enum
82
82
 
83
+ AMEX = :AMEX
83
84
  INTERLINK = :INTERLINK
84
85
  MAESTRO = :MAESTRO
85
86
  MASTERCARD = :MASTERCARD
data/lib/lithic/models.rb CHANGED
@@ -131,6 +131,9 @@ module Lithic
131
131
  CardAuthorizationApprovalRequestWebhookEvent =
132
132
  Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent
133
133
 
134
+ CardAuthorizationChallengeResponseWebhookEvent =
135
+ Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent
136
+
134
137
  CardBulkOrder = Lithic::Models::CardBulkOrder
135
138
 
136
139
  CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
@@ -297,6 +300,9 @@ module Lithic
297
300
 
298
301
  ExternalBankAccounts = Lithic::Models::ExternalBankAccounts
299
302
 
303
+ ExternalBankAccountSetVerificationMethodParams =
304
+ Lithic::Models::ExternalBankAccountSetVerificationMethodParams
305
+
300
306
  ExternalBankAccountUnpauseParams = Lithic::Models::ExternalBankAccountUnpauseParams
301
307
 
302
308
  ExternalBankAccountUpdatedWebhookEvent = Lithic::Models::ExternalBankAccountUpdatedWebhookEvent
@@ -44,7 +44,7 @@ module Lithic
44
44
  #
45
45
  # @param state [Symbol, Lithic::Models::AccountUpdateParams::State] Account states.
46
46
  #
47
- # @param substatus [Symbol, Lithic::Models::AccountUpdateParams::Substatus] Account state substatus values:
47
+ # @param substatus [Symbol, Lithic::Models::AccountUpdateParams::Substatus, nil] Account state substatus values:
48
48
  #
49
49
  # @param verification_address [Lithic::Models::AccountUpdateParams::VerificationAddress] Address used during Address Verification Service (AVS) checks during transaction
50
50
  #
@@ -144,7 +144,7 @@ module Lithic
144
144
  #
145
145
  # @param auth_rule_token [String]
146
146
  #
147
- # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, nil] Parameters for the Auth Rule
147
+ # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, nil] Parameters for the Auth Rule
148
148
  #
149
149
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
150
150
  #
@@ -176,6 +176,37 @@ module Lithic
176
176
  )
177
177
  end
178
178
 
179
+ # Some parameter documentations has been truncated, see
180
+ # {Lithic::Models::ExternalBankAccountSetVerificationMethodParams} for more
181
+ # details.
182
+ #
183
+ # Update the verification method for an external bank account. Verification method
184
+ # can only be updated if the `verification_state` is `PENDING`.
185
+ #
186
+ # @overload set_verification_method(external_bank_account_token, verification_method:, financial_account_token: nil, request_options: {})
187
+ #
188
+ # @param external_bank_account_token [String]
189
+ #
190
+ # @param verification_method [Symbol, Lithic::Models::ExternalBankAccountSetVerificationMethodParams::VerificationMethod] The verification method to set for the external bank account
191
+ #
192
+ # @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits.
193
+ #
194
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
195
+ #
196
+ # @return [Lithic::Models::ExternalBankAccount]
197
+ #
198
+ # @see Lithic::Models::ExternalBankAccountSetVerificationMethodParams
199
+ def set_verification_method(external_bank_account_token, params)
200
+ parsed, options = Lithic::ExternalBankAccountSetVerificationMethodParams.dump_request(params)
201
+ @client.request(
202
+ method: :post,
203
+ path: ["v1/external_bank_accounts/%1$s/set_verification_method", external_bank_account_token],
204
+ body: parsed,
205
+ model: Lithic::ExternalBankAccount,
206
+ options: options
207
+ )
208
+ end
209
+
179
210
  # Unpause an external bank account
180
211
  #
181
212
  # @overload unpause(external_bank_account_token, request_options: {})
@@ -9,7 +9,7 @@ module Lithic
9
9
  # @param headers [Hash{String => String}] The webhook request headers
10
10
  # @param secret [String, nil] The webhook secret. If not provided, reads from LITHIC_WEBHOOK_SECRET environment variable.
11
11
  #
12
- # @return [Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent] #
12
+ # @return [Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent] #
13
13
  # @raise [ArgumentError] if secret is not provided and LITHIC_WEBHOOK_SECRET env var is not set
14
14
  # @raise [Lithic::Errors::MissingDependencyError] if the standardwebhooks gem is not installed
15
15
  # @raise [StandardWebhooks::WebhookVerificationError] if the signature is invalid
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lithic
4
- VERSION = "0.11.0"
4
+ VERSION = "0.13.0"
5
5
  end