lithic 0.11.0 → 0.12.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 +10 -0
- data/README.md +1 -1
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +143 -1
- data/lib/lithic/models/auth_rules/rule_feature.rb +47 -1
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +103 -0
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_bank_account_set_verification_method_params.rb +55 -0
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/external_bank_accounts.rb +31 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +337 -3
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +104 -1
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +6 -3
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +175 -0
- data/rbi/lithic/models/event.rbi +11 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_bank_account_set_verification_method_params.rbi +111 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models.rbi +6 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +22 -0
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +87 -3
- data/sig/lithic/models/auth_rules/rule_feature.rbs +42 -0
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +76 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_set_verification_method_params.rbs +51 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models.rbs +4 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +7 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0ee91f9eb716880267ff8f0ceec1c0c1a68c030864826cdd077802e802c7b07
|
|
4
|
+
data.tar.gz: a43b4db3e1c7c2084c6bc79c8b6ab6f9776ce1402f3380e997e977ac6c15a6f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bc92ae6b2aed386110d68ee7bc6f423fe5e8c34b16e923b97efeb004c5c1699bab929e41f0af80a7733d32e25d42fd19a09bb22323e2fe3801c10e21ce3da9d
|
|
7
|
+
data.tar.gz: 7b4c1ecbb2902bc7ecb06e55f730f9db3e25536179e7042ef013de2fc126d8b413a0834f2878824cec583c065c50fc57e0f228a75dcade4f2d5130bf6b7e85b0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.12.0 (2026-04-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.11.0...v0.12.0](https://github.com/lithic-com/lithic-ruby/compare/v0.11.0...v0.12.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Add card_authorization.challenge_response webhook ([8abc734](https://github.com/lithic-com/lithic-ruby/commit/8abc7348e6ed248c532058d68388fc357e54f65f))
|
|
10
|
+
* **api:** Add card/account/business account signals endpoints and behavioral rule attributes ([76de3de](https://github.com/lithic-com/lithic-ruby/commit/76de3de7a510e54712be632789e90457b7486f3d))
|
|
11
|
+
* **api:** add set_verification_method to external_bank_accounts ([3878cb3](https://github.com/lithic-com/lithic-ruby/commit/3878cb30db9f591d2070bed948cc40da07dd3f0e))
|
|
12
|
+
|
|
3
13
|
## 0.11.0 (2026-04-13)
|
|
4
14
|
|
|
5
15
|
Full Changelog: [v0.10.0...v0.11.0](https://github.com/lithic-com/lithic-ruby/compare/v0.10.0...v0.11.0)
|
data/README.md
CHANGED
|
@@ -107,6 +107,33 @@ module Lithic
|
|
|
107
107
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
108
108
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
109
109
|
# of the authorization.
|
|
110
|
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
111
|
+
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
112
|
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
113
|
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
114
|
+
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
115
|
+
# `parameters.interval`.
|
|
116
|
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
117
|
+
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
118
|
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
119
|
+
# and `parameters.interval`.
|
|
120
|
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
121
|
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
122
|
+
# Requires `parameters.scope`.
|
|
123
|
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
|
|
124
|
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
|
|
125
|
+
# `parameters.scope`.
|
|
126
|
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
|
|
127
|
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
128
|
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
129
|
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
130
|
+
# supported for `BUSINESS_ACCOUNT` scope.
|
|
131
|
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
132
|
+
# transaction for the entity. Requires `parameters.scope`.
|
|
133
|
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
134
|
+
# the entity's transaction history. Requires `parameters.scope`.
|
|
135
|
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
136
|
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
110
137
|
#
|
|
111
138
|
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute]
|
|
112
139
|
required :attribute,
|
|
@@ -124,7 +151,18 @@ module Lithic
|
|
|
124
151
|
# @return [String, Integer, Array<String>, Time]
|
|
125
152
|
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
126
153
|
|
|
127
|
-
# @!
|
|
154
|
+
# @!attribute parameters
|
|
155
|
+
# Additional parameters required for transaction history signal attributes.
|
|
156
|
+
# Required when `attribute` is one of `AMOUNT_Z_SCORE`, `AVG_TRANSACTION_AMOUNT`,
|
|
157
|
+
# `STDEV_TRANSACTION_AMOUNT`, `IS_NEW_COUNTRY`, `IS_NEW_MCC`,
|
|
158
|
+
# `IS_FIRST_TRANSACTION`, `CONSECUTIVE_DECLINES`, `TIME_SINCE_LAST_TRANSACTION`,
|
|
159
|
+
# or `DISTINCT_COUNTRY_COUNT`. Not used for other attributes.
|
|
160
|
+
#
|
|
161
|
+
# @return [Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters, nil]
|
|
162
|
+
optional :parameters,
|
|
163
|
+
-> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters }
|
|
164
|
+
|
|
165
|
+
# @!method initialize(attribute:, operation:, value:, parameters: nil)
|
|
128
166
|
# Some parameter documentations has been truncated, see
|
|
129
167
|
# {Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition}
|
|
130
168
|
# for more details.
|
|
@@ -134,6 +172,8 @@ module Lithic
|
|
|
134
172
|
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
135
173
|
#
|
|
136
174
|
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
175
|
+
#
|
|
176
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters] Additional parameters required for transaction history signal attributes. Requir
|
|
137
177
|
|
|
138
178
|
# The attribute to target.
|
|
139
179
|
#
|
|
@@ -206,6 +246,33 @@ module Lithic
|
|
|
206
246
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
207
247
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
208
248
|
# of the authorization.
|
|
249
|
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
250
|
+
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
251
|
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
252
|
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
253
|
+
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
254
|
+
# `parameters.interval`.
|
|
255
|
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
256
|
+
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
257
|
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
258
|
+
# and `parameters.interval`.
|
|
259
|
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
260
|
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
261
|
+
# Requires `parameters.scope`.
|
|
262
|
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
|
|
263
|
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
|
|
264
|
+
# `parameters.scope`.
|
|
265
|
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
|
|
266
|
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
267
|
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
268
|
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
269
|
+
# supported for `BUSINESS_ACCOUNT` scope.
|
|
270
|
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
271
|
+
# transaction for the entity. Requires `parameters.scope`.
|
|
272
|
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
273
|
+
# the entity's transaction history. Requires `parameters.scope`.
|
|
274
|
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
275
|
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
209
276
|
#
|
|
210
277
|
# @see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition#attribute
|
|
211
278
|
module Attribute
|
|
@@ -237,10 +304,85 @@ module Lithic
|
|
|
237
304
|
SERVICE_LOCATION_POSTAL_CODE = :SERVICE_LOCATION_POSTAL_CODE
|
|
238
305
|
CARD_AGE = :CARD_AGE
|
|
239
306
|
ACCOUNT_AGE = :ACCOUNT_AGE
|
|
307
|
+
AMOUNT_Z_SCORE = :AMOUNT_Z_SCORE
|
|
308
|
+
AVG_TRANSACTION_AMOUNT = :AVG_TRANSACTION_AMOUNT
|
|
309
|
+
STDEV_TRANSACTION_AMOUNT = :STDEV_TRANSACTION_AMOUNT
|
|
310
|
+
IS_NEW_COUNTRY = :IS_NEW_COUNTRY
|
|
311
|
+
IS_NEW_MCC = :IS_NEW_MCC
|
|
312
|
+
IS_FIRST_TRANSACTION = :IS_FIRST_TRANSACTION
|
|
313
|
+
CONSECUTIVE_DECLINES = :CONSECUTIVE_DECLINES
|
|
314
|
+
TIME_SINCE_LAST_TRANSACTION = :TIME_SINCE_LAST_TRANSACTION
|
|
315
|
+
DISTINCT_COUNTRY_COUNT = :DISTINCT_COUNTRY_COUNT
|
|
316
|
+
THREE_DS_SUCCESS_RATE = :THREE_DS_SUCCESS_RATE
|
|
240
317
|
|
|
241
318
|
# @!method self.values
|
|
242
319
|
# @return [Array<Symbol>]
|
|
243
320
|
end
|
|
321
|
+
|
|
322
|
+
# @see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition#parameters
|
|
323
|
+
class Parameters < Lithic::Internal::Type::BaseModel
|
|
324
|
+
# @!attribute interval
|
|
325
|
+
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
|
|
326
|
+
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
|
|
327
|
+
# all-time history or a specific window (`7D`, `30D`, `90D`).
|
|
328
|
+
#
|
|
329
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval, nil]
|
|
330
|
+
optional :interval,
|
|
331
|
+
enum: -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval }
|
|
332
|
+
|
|
333
|
+
# @!attribute scope
|
|
334
|
+
# The entity scope to evaluate the attribute against.
|
|
335
|
+
#
|
|
336
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope, nil]
|
|
337
|
+
optional :scope,
|
|
338
|
+
enum: -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope }
|
|
339
|
+
|
|
340
|
+
# @!method initialize(interval: nil, scope: nil)
|
|
341
|
+
# Some parameter documentations has been truncated, see
|
|
342
|
+
# {Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters}
|
|
343
|
+
# for more details.
|
|
344
|
+
#
|
|
345
|
+
# Additional parameters required for transaction history signal attributes.
|
|
346
|
+
# Required when `attribute` is one of `AMOUNT_Z_SCORE`, `AVG_TRANSACTION_AMOUNT`,
|
|
347
|
+
# `STDEV_TRANSACTION_AMOUNT`, `IS_NEW_COUNTRY`, `IS_NEW_MCC`,
|
|
348
|
+
# `IS_FIRST_TRANSACTION`, `CONSECUTIVE_DECLINES`, `TIME_SINCE_LAST_TRANSACTION`,
|
|
349
|
+
# or `DISTINCT_COUNTRY_COUNT`. Not used for other attributes.
|
|
350
|
+
#
|
|
351
|
+
# @param interval [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval] The time window for statistical attributes (`AMOUNT_Z_SCORE`, `AVG_TRANSACTION_A
|
|
352
|
+
#
|
|
353
|
+
# @param scope [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope] The entity scope to evaluate the attribute against.
|
|
354
|
+
|
|
355
|
+
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
|
|
356
|
+
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
|
|
357
|
+
# all-time history or a specific window (`7D`, `30D`, `90D`).
|
|
358
|
+
#
|
|
359
|
+
# @see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters#interval
|
|
360
|
+
module Interval
|
|
361
|
+
extend Lithic::Internal::Type::Enum
|
|
362
|
+
|
|
363
|
+
LIFETIME = :LIFETIME
|
|
364
|
+
INTERVAL_7_D = :"7D"
|
|
365
|
+
INTERVAL_30_D = :"30D"
|
|
366
|
+
INTERVAL_90_D = :"90D"
|
|
367
|
+
|
|
368
|
+
# @!method self.values
|
|
369
|
+
# @return [Array<Symbol>]
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# The entity scope to evaluate the attribute against.
|
|
373
|
+
#
|
|
374
|
+
# @see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters#scope
|
|
375
|
+
module Scope
|
|
376
|
+
extend Lithic::Internal::Type::Enum
|
|
377
|
+
|
|
378
|
+
CARD = :CARD
|
|
379
|
+
ACCOUNT = :ACCOUNT
|
|
380
|
+
BUSINESS_ACCOUNT = :BUSINESS_ACCOUNT
|
|
381
|
+
|
|
382
|
+
# @!method self.values
|
|
383
|
+
# @return [Array<Symbol>]
|
|
384
|
+
end
|
|
385
|
+
end
|
|
244
386
|
end
|
|
245
387
|
end
|
|
246
388
|
end
|
|
@@ -24,6 +24,10 @@ module Lithic
|
|
|
24
24
|
# - `SPEND_VELOCITY`: Spend velocity data for the card or account. Requires
|
|
25
25
|
# `scope`, `period`, and optionally `filters` to configure the velocity
|
|
26
26
|
# calculation. Available for AUTHORIZATION event stream rules.
|
|
27
|
+
# - `TRANSACTION_HISTORY_SIGNALS`: Behavioral feature state derived from the
|
|
28
|
+
# entity's transaction history. Requires `scope` to specify whether to load
|
|
29
|
+
# card, account, or business account history. Available for AUTHORIZATION event
|
|
30
|
+
# stream rules.
|
|
27
31
|
module RuleFeature
|
|
28
32
|
extend Lithic::Internal::Type::Union
|
|
29
33
|
|
|
@@ -43,6 +47,8 @@ module Lithic
|
|
|
43
47
|
|
|
44
48
|
variant -> { Lithic::AuthRules::RuleFeature::SpendVelocityFeature }
|
|
45
49
|
|
|
50
|
+
variant -> { Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature }
|
|
51
|
+
|
|
46
52
|
class AuthorizationFeature < Lithic::Internal::Type::BaseModel
|
|
47
53
|
# @!attribute type
|
|
48
54
|
#
|
|
@@ -223,8 +229,48 @@ module Lithic
|
|
|
223
229
|
end
|
|
224
230
|
end
|
|
225
231
|
|
|
232
|
+
class TransactionHistorySignalsFeature < Lithic::Internal::Type::BaseModel
|
|
233
|
+
# @!attribute scope
|
|
234
|
+
# The entity scope to load transaction history signals for.
|
|
235
|
+
#
|
|
236
|
+
# @return [Symbol, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope]
|
|
237
|
+
required :scope, enum: -> { Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope }
|
|
238
|
+
|
|
239
|
+
# @!attribute type
|
|
240
|
+
#
|
|
241
|
+
# @return [Symbol, :TRANSACTION_HISTORY_SIGNALS]
|
|
242
|
+
required :type, const: :TRANSACTION_HISTORY_SIGNALS
|
|
243
|
+
|
|
244
|
+
# @!attribute name
|
|
245
|
+
# The variable name for this feature in the rule function signature
|
|
246
|
+
#
|
|
247
|
+
# @return [String, nil]
|
|
248
|
+
optional :name, String
|
|
249
|
+
|
|
250
|
+
# @!method initialize(scope:, name: nil, type: :TRANSACTION_HISTORY_SIGNALS)
|
|
251
|
+
# @param scope [Symbol, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope] The entity scope to load transaction history signals for.
|
|
252
|
+
#
|
|
253
|
+
# @param name [String] The variable name for this feature in the rule function signature
|
|
254
|
+
#
|
|
255
|
+
# @param type [Symbol, :TRANSACTION_HISTORY_SIGNALS]
|
|
256
|
+
|
|
257
|
+
# The entity scope to load transaction history signals for.
|
|
258
|
+
#
|
|
259
|
+
# @see Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature#scope
|
|
260
|
+
module Scope
|
|
261
|
+
extend Lithic::Internal::Type::Enum
|
|
262
|
+
|
|
263
|
+
CARD = :CARD
|
|
264
|
+
ACCOUNT = :ACCOUNT
|
|
265
|
+
BUSINESS_ACCOUNT = :BUSINESS_ACCOUNT
|
|
266
|
+
|
|
267
|
+
# @!method self.values
|
|
268
|
+
# @return [Array<Symbol>]
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
|
|
226
272
|
# @!method self.variants
|
|
227
|
-
# @return [Array(Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature)]
|
|
273
|
+
# @return [Array(Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature)]
|
|
228
274
|
end
|
|
229
275
|
end
|
|
230
276
|
end
|
|
@@ -15,7 +15,7 @@ module Lithic
|
|
|
15
15
|
# @!attribute features
|
|
16
16
|
# Features available to the TypeScript code at evaluation time
|
|
17
17
|
#
|
|
18
|
-
# @return [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature>]
|
|
18
|
+
# @return [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature>]
|
|
19
19
|
required :features, -> { Lithic::Internal::Type::ArrayOf[union: Lithic::AuthRules::RuleFeature] }
|
|
20
20
|
|
|
21
21
|
# @!method initialize(code:, features:)
|
|
@@ -26,7 +26,7 @@ module Lithic
|
|
|
26
26
|
#
|
|
27
27
|
# @param code [String] The TypeScript source code of the rule. Must define a `rule()` function that acc
|
|
28
28
|
#
|
|
29
|
-
# @param features [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature>] Features available to the TypeScript code at evaluation time
|
|
29
|
+
# @param features [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature>] Features available to the TypeScript code at evaluation time
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -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
|
data/lib/lithic/models/event.rb
CHANGED
|
@@ -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
|
|
@@ -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
|
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
|