lithic 0.2.0 → 0.4.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 +78 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +5 -10
- data/lib/lithic/internal/transport/pooled_net_requester.rb +12 -10
- data/lib/lithic/internal/util.rb +7 -2
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +5 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +21 -21
- data/lib/lithic/models/book_transfer_retry_params.rb +26 -0
- data/lib/lithic/models/{asa_request_webhook_event.rb → card_authorization_approval_request_webhook_event.rb} +151 -129
- data/lib/lithic/models/card_create_params.rb +12 -5
- data/lib/lithic/models/card_updated_webhook_event.rb +40 -0
- data/lib/lithic/models/card_web_provision_response.rb +5 -5
- data/lib/lithic/models/event.rb +3 -0
- data/lib/lithic/models/event_list_params.rb +2 -0
- data/lib/lithic/models/event_subscription.rb +2 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +2 -0
- data/lib/lithic/models/external_payment_create_params.rb +15 -1
- data/lib/lithic/models/financial_account.rb +33 -25
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape.rb +52 -3
- data/lib/lithic/models/financial_transaction.rb +4 -2
- data/lib/lithic/models/management_operation_create_params.rb +6 -1
- data/lib/lithic/models/non_pci_card.rb +8 -10
- data/lib/lithic/models/parsed_webhook_event.rb +5 -4
- data/lib/lithic/models/payment.rb +10 -1
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/three_ds_authentication_approval_request_webhook_event.rb +17 -0
- data/lib/lithic/models/transaction.rb +12 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +25 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +25 -1
- data/lib/lithic/models/transfer_limit_list_params.rb +22 -0
- data/lib/lithic/models/transfer_limits_response.rb +274 -0
- data/lib/lithic/models.rb +14 -6
- data/lib/lithic/resources/book_transfers.rb +27 -0
- data/lib/lithic/resources/cards.rb +33 -27
- data/lib/lithic/resources/external_payments.rb +13 -1
- data/lib/lithic/resources/financial_accounts.rb +8 -6
- data/lib/lithic/resources/management_operations.rb +4 -1
- data/lib/lithic/resources/transactions.rb +14 -2
- data/lib/lithic/resources/transfer_limits.rb +37 -0
- data/lib/lithic/resources/webhooks.rb +3 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +7 -7
- data/rbi/lithic/client.rbi +3 -3
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +11 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +47 -45
- data/rbi/lithic/models/book_transfer_retry_params.rbi +42 -0
- data/rbi/lithic/models/{asa_request_webhook_event.rbi → card_authorization_approval_request_webhook_event.rbi} +394 -256
- data/rbi/lithic/models/card_create_params.rbi +15 -6
- data/rbi/lithic/models/card_updated_webhook_event.rbi +61 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +5 -10
- data/rbi/lithic/models/event.rbi +5 -0
- data/rbi/lithic/models/event_list_params.rbi +6 -0
- data/rbi/lithic/models/event_subscription.rbi +6 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +4 -0
- data/rbi/lithic/models/financial_account.rbi +62 -54
- data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +93 -4
- data/rbi/lithic/models/financial_transaction.rbi +8 -4
- data/rbi/lithic/models/management_operation_create_params.rbi +4 -0
- data/rbi/lithic/models/non_pci_card.rbi +12 -15
- data/rbi/lithic/models/parsed_webhook_event.rbi +3 -2
- data/rbi/lithic/models/payment.rbi +16 -3
- data/rbi/lithic/models/three_ds_authentication_approval_request_webhook_event.rbi +27 -0
- data/rbi/lithic/models/transaction.rbi +20 -0
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +33 -0
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +33 -0
- data/rbi/lithic/models/transfer_limit_list_params.rbi +43 -0
- data/rbi/lithic/models/transfer_limits_response.rbi +604 -0
- data/rbi/lithic/models.rbi +14 -6
- data/rbi/lithic/resources/book_transfers.rbi +18 -0
- data/rbi/lithic/resources/cards.rbi +52 -49
- data/rbi/lithic/resources/external_payments.rbi +2 -0
- data/rbi/lithic/resources/financial_accounts.rbi +8 -5
- data/rbi/lithic/resources/management_operations.rbi +2 -0
- data/rbi/lithic/resources/transactions.rbi +18 -0
- data/rbi/lithic/resources/transfer_limits.rbi +28 -0
- data/rbi/lithic/resources/webhooks.rbi +4 -65
- data/sig/lithic/client.rbs +2 -2
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +20 -16
- data/sig/lithic/models/book_transfer_retry_params.rbs +23 -0
- data/sig/lithic/models/{asa_request_webhook_event.rbs → card_authorization_approval_request_webhook_event.rbs} +161 -156
- data/sig/lithic/models/card_create_params.rbs +8 -1
- data/sig/lithic/models/card_updated_webhook_event.rbs +35 -0
- data/sig/lithic/models/card_web_provision_response.rbs +4 -10
- 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/financial_account.rbs +32 -27
- data/sig/lithic/models/financial_account_update_status_params.rbs +8 -1
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +46 -4
- data/sig/lithic/models/parsed_webhook_event.rbs +3 -2
- data/sig/lithic/models/payment.rbs +10 -3
- data/sig/lithic/models/three_ds_authentication_approval_request_webhook_event.rbs +22 -0
- data/sig/lithic/models/transaction.rbs +9 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +21 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +22 -1
- data/sig/lithic/models/transfer_limit_list_params.rbs +22 -0
- data/sig/lithic/models/transfer_limits_response.rbs +232 -0
- data/sig/lithic/models.rbs +12 -6
- data/sig/lithic/resources/book_transfers.rbs +6 -0
- data/sig/lithic/resources/cards.rbs +1 -2
- data/sig/lithic/resources/financial_accounts.rbs +1 -0
- data/sig/lithic/resources/transactions.rbs +6 -0
- data/sig/lithic/resources/transfer_limits.rbs +12 -0
- data/sig/lithic/resources/webhooks.rbs +4 -61
- metadata +37 -23
- data/lib/lithic/models/aggregate_balance.rb +0 -113
- data/lib/lithic/models/aggregate_balance_list_params.rb +0 -35
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +0 -32
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +0 -92
- data/lib/lithic/resources/aggregate_balances.rb +0 -38
- data/lib/lithic/resources/cards/aggregate_balances.rb +0 -41
- data/rbi/lithic/models/aggregate_balance.rbi +0 -164
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +0 -104
- data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +0 -62
- data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +0 -115
- data/rbi/lithic/resources/aggregate_balances.rbi +0 -28
- data/rbi/lithic/resources/cards/aggregate_balances.rbi +0 -35
- data/sig/lithic/models/aggregate_balance.rbs +0 -78
- data/sig/lithic/models/aggregate_balance_list_params.rbs +0 -43
- data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +0 -34
- data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +0 -62
- data/sig/lithic/resources/aggregate_balances.rbs +0 -12
- data/sig/lithic/resources/cards/aggregate_balances.rbs +0 -15
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
|
19
19
|
# information.
|
|
20
20
|
# - `SINGLE_USE` - Card is closed upon first successful authorization.
|
|
21
|
-
# - `MERCHANT_LOCKED` -
|
|
22
|
-
#
|
|
21
|
+
# - `MERCHANT_LOCKED` - Card is locked to the first merchant that successfully
|
|
22
|
+
# authorizes the card.
|
|
23
23
|
# - `UNLOCKED` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
|
24
24
|
# VIRTUAL instead.
|
|
25
25
|
# - `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please
|
|
@@ -226,7 +226,12 @@ module Lithic
|
|
|
226
226
|
# @return [Symbol, Lithic::Models::CardCreateParams::State, nil]
|
|
227
227
|
optional :state, enum: -> { Lithic::CardCreateParams::State }
|
|
228
228
|
|
|
229
|
-
# @!
|
|
229
|
+
# @!attribute idempotency_key
|
|
230
|
+
#
|
|
231
|
+
# @return [String, nil]
|
|
232
|
+
optional :idempotency_key, String
|
|
233
|
+
|
|
234
|
+
# @!method initialize(type:, account_token: nil, bulk_order_token: nil, card_program_token: nil, carrier: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, memo: nil, pin: nil, product_id: nil, replacement_account_token: nil, replacement_comment: nil, replacement_for: nil, replacement_substatus: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, idempotency_key: nil, request_options: {})
|
|
230
235
|
# Some parameter documentations has been truncated, see
|
|
231
236
|
# {Lithic::Models::CardCreateParams} for more details.
|
|
232
237
|
#
|
|
@@ -270,6 +275,8 @@ module Lithic
|
|
|
270
275
|
#
|
|
271
276
|
# @param state [Symbol, Lithic::Models::CardCreateParams::State] Card state values:
|
|
272
277
|
#
|
|
278
|
+
# @param idempotency_key [String]
|
|
279
|
+
#
|
|
273
280
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
274
281
|
|
|
275
282
|
# Card types:
|
|
@@ -282,8 +289,8 @@ module Lithic
|
|
|
282
289
|
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
|
283
290
|
# information.
|
|
284
291
|
# - `SINGLE_USE` - Card is closed upon first successful authorization.
|
|
285
|
-
# - `MERCHANT_LOCKED` -
|
|
286
|
-
#
|
|
292
|
+
# - `MERCHANT_LOCKED` - Card is locked to the first merchant that successfully
|
|
293
|
+
# authorizes the card.
|
|
287
294
|
# - `UNLOCKED` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
|
288
295
|
# VIRTUAL instead.
|
|
289
296
|
# - `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute card_token
|
|
7
|
+
# The token of the card that was updated.
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :card_token, String
|
|
11
|
+
|
|
12
|
+
# @!attribute event_type
|
|
13
|
+
# The type of event that occurred.
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :"card.updated"]
|
|
16
|
+
required :event_type, const: :"card.updated"
|
|
17
|
+
|
|
18
|
+
# @!attribute previous_fields
|
|
19
|
+
# The previous values of the fields that were updated.
|
|
20
|
+
#
|
|
21
|
+
# @return [Object]
|
|
22
|
+
required :previous_fields, Lithic::Internal::Type::Unknown
|
|
23
|
+
|
|
24
|
+
# @!attribute state
|
|
25
|
+
# The current state of the card.
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :state, String
|
|
29
|
+
|
|
30
|
+
# @!method initialize(card_token:, previous_fields:, state:, event_type: :"card.updated")
|
|
31
|
+
# @param card_token [String] The token of the card that was updated.
|
|
32
|
+
#
|
|
33
|
+
# @param previous_fields [Object] The previous values of the fields that were updated.
|
|
34
|
+
#
|
|
35
|
+
# @param state [String] The current state of the card.
|
|
36
|
+
#
|
|
37
|
+
# @param event_type [Symbol, :"card.updated"] The type of event that occurred.
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -14,16 +14,16 @@ module Lithic
|
|
|
14
14
|
# @!attribute jws
|
|
15
15
|
# JWS object required for handoff to Apple's script.
|
|
16
16
|
#
|
|
17
|
-
# @return [Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws
|
|
18
|
-
|
|
17
|
+
# @return [Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws]
|
|
18
|
+
required :jws, -> { Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws }
|
|
19
19
|
|
|
20
20
|
# @!attribute state
|
|
21
21
|
# A unique identifier for the JWS object.
|
|
22
22
|
#
|
|
23
|
-
# @return [String
|
|
24
|
-
|
|
23
|
+
# @return [String]
|
|
24
|
+
required :state, String
|
|
25
25
|
|
|
26
|
-
# @!method initialize(jws
|
|
26
|
+
# @!method initialize(jws:, state:)
|
|
27
27
|
# @param jws [Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws] JWS object required for handoff to Apple's script.
|
|
28
28
|
#
|
|
29
29
|
# @param state [String] A unique identifier for the JWS object.
|
data/lib/lithic/models/event.rb
CHANGED
|
@@ -44,6 +44,7 @@ module Lithic
|
|
|
44
44
|
# - card.reissued: Occurs when a card is reissued.
|
|
45
45
|
# - card.renewed: Occurs when a card is renewed.
|
|
46
46
|
# - card.shipped: Occurs when a card is shipped.
|
|
47
|
+
# - card.updated: Occurs when a card is updated.
|
|
47
48
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
48
49
|
# approval request is made. This event will be deprecated in the future. We
|
|
49
50
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -167,6 +168,7 @@ module Lithic
|
|
|
167
168
|
# - card.reissued: Occurs when a card is reissued.
|
|
168
169
|
# - card.renewed: Occurs when a card is renewed.
|
|
169
170
|
# - card.shipped: Occurs when a card is shipped.
|
|
171
|
+
# - card.updated: Occurs when a card is updated.
|
|
170
172
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
171
173
|
# approval request is made. This event will be deprecated in the future. We
|
|
172
174
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -263,6 +265,7 @@ module Lithic
|
|
|
263
265
|
CARD_REISSUED = :"card.reissued"
|
|
264
266
|
CARD_RENEWED = :"card.renewed"
|
|
265
267
|
CARD_SHIPPED = :"card.shipped"
|
|
268
|
+
CARD_UPDATED = :"card.updated"
|
|
266
269
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
267
270
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
268
271
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -98,6 +98,7 @@ module Lithic
|
|
|
98
98
|
# - card.reissued: Occurs when a card is reissued.
|
|
99
99
|
# - card.renewed: Occurs when a card is renewed.
|
|
100
100
|
# - card.shipped: Occurs when a card is shipped.
|
|
101
|
+
# - card.updated: Occurs when a card is updated.
|
|
101
102
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
102
103
|
# approval request is made. This event will be deprecated in the future. We
|
|
103
104
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -192,6 +193,7 @@ module Lithic
|
|
|
192
193
|
CARD_REISSUED = :"card.reissued"
|
|
193
194
|
CARD_RENEWED = :"card.renewed"
|
|
194
195
|
CARD_SHIPPED = :"card.shipped"
|
|
196
|
+
CARD_UPDATED = :"card.updated"
|
|
195
197
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
196
198
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
197
199
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -71,6 +71,7 @@ module Lithic
|
|
|
71
71
|
# - card.reissued: Occurs when a card is reissued.
|
|
72
72
|
# - card.renewed: Occurs when a card is renewed.
|
|
73
73
|
# - card.shipped: Occurs when a card is shipped.
|
|
74
|
+
# - card.updated: Occurs when a card is updated.
|
|
74
75
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
75
76
|
# approval request is made. This event will be deprecated in the future. We
|
|
76
77
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -165,6 +166,7 @@ module Lithic
|
|
|
165
166
|
CARD_REISSUED = :"card.reissued"
|
|
166
167
|
CARD_RENEWED = :"card.renewed"
|
|
167
168
|
CARD_SHIPPED = :"card.shipped"
|
|
169
|
+
CARD_UPDATED = :"card.updated"
|
|
168
170
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
169
171
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
170
172
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -73,6 +73,7 @@ module Lithic
|
|
|
73
73
|
# - card.reissued: Occurs when a card is reissued.
|
|
74
74
|
# - card.renewed: Occurs when a card is renewed.
|
|
75
75
|
# - card.shipped: Occurs when a card is shipped.
|
|
76
|
+
# - card.updated: Occurs when a card is updated.
|
|
76
77
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
77
78
|
# approval request is made. This event will be deprecated in the future. We
|
|
78
79
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -167,6 +168,7 @@ module Lithic
|
|
|
167
168
|
CARD_REISSUED = :"card.reissued"
|
|
168
169
|
CARD_RENEWED = :"card.renewed"
|
|
169
170
|
CARD_SHIPPED = :"card.shipped"
|
|
171
|
+
CARD_UPDATED = :"card.updated"
|
|
170
172
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
171
173
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
172
174
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -39,6 +39,7 @@ module Lithic
|
|
|
39
39
|
CARD_REISSUED = :"card.reissued"
|
|
40
40
|
CARD_RENEWED = :"card.renewed"
|
|
41
41
|
CARD_SHIPPED = :"card.shipped"
|
|
42
|
+
CARD_UPDATED = :"card.updated"
|
|
42
43
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
43
44
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
44
45
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -73,6 +73,7 @@ module Lithic
|
|
|
73
73
|
# - card.reissued: Occurs when a card is reissued.
|
|
74
74
|
# - card.renewed: Occurs when a card is renewed.
|
|
75
75
|
# - card.shipped: Occurs when a card is shipped.
|
|
76
|
+
# - card.updated: Occurs when a card is updated.
|
|
76
77
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
77
78
|
# approval request is made. This event will be deprecated in the future. We
|
|
78
79
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -167,6 +168,7 @@ module Lithic
|
|
|
167
168
|
CARD_REISSUED = :"card.reissued"
|
|
168
169
|
CARD_RENEWED = :"card.renewed"
|
|
169
170
|
CARD_SHIPPED = :"card.shipped"
|
|
171
|
+
CARD_UPDATED = :"card.updated"
|
|
170
172
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
171
173
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
172
174
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -33,6 +33,8 @@ module Lithic
|
|
|
33
33
|
required :payment_type, enum: -> { Lithic::ExternalPaymentCreateParams::PaymentType }
|
|
34
34
|
|
|
35
35
|
# @!attribute token
|
|
36
|
+
# Customer-provided token that will serve as an idempotency token. This token will
|
|
37
|
+
# become the transaction token.
|
|
36
38
|
#
|
|
37
39
|
# @return [String, nil]
|
|
38
40
|
optional :token, String
|
|
@@ -53,15 +55,27 @@ module Lithic
|
|
|
53
55
|
optional :user_defined_id, String
|
|
54
56
|
|
|
55
57
|
# @!method initialize(amount:, category:, effective_date:, financial_account_token:, payment_type:, token: nil, memo: nil, progress_to: nil, user_defined_id: nil, request_options: {})
|
|
58
|
+
# Some parameter documentations has been truncated, see
|
|
59
|
+
# {Lithic::Models::ExternalPaymentCreateParams} for more details.
|
|
60
|
+
#
|
|
56
61
|
# @param amount [Integer]
|
|
62
|
+
#
|
|
57
63
|
# @param category [Symbol, Lithic::Models::ExternalPaymentCreateParams::Category]
|
|
64
|
+
#
|
|
58
65
|
# @param effective_date [Date]
|
|
66
|
+
#
|
|
59
67
|
# @param financial_account_token [String]
|
|
68
|
+
#
|
|
60
69
|
# @param payment_type [Symbol, Lithic::Models::ExternalPaymentCreateParams::PaymentType]
|
|
61
|
-
#
|
|
70
|
+
#
|
|
71
|
+
# @param token [String] Customer-provided token that will serve as an idempotency token. This token will
|
|
72
|
+
#
|
|
62
73
|
# @param memo [String]
|
|
74
|
+
#
|
|
63
75
|
# @param progress_to [Symbol, Lithic::Models::ExternalPaymentCreateParams::ProgressTo]
|
|
76
|
+
#
|
|
64
77
|
# @param user_defined_id [String]
|
|
78
|
+
#
|
|
65
79
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
66
80
|
|
|
67
81
|
module Category
|
|
@@ -42,6 +42,12 @@ module Lithic
|
|
|
42
42
|
# @return [Symbol, Lithic::Models::FinancialAccount::Status]
|
|
43
43
|
required :status, enum: -> { Lithic::FinancialAccount::Status }
|
|
44
44
|
|
|
45
|
+
# @!attribute substatus
|
|
46
|
+
# Substatus for the financial account
|
|
47
|
+
#
|
|
48
|
+
# @return [Symbol, Lithic::Models::FinancialAccount::Substatus, nil]
|
|
49
|
+
required :substatus, enum: -> { Lithic::FinancialAccount::Substatus }, nil?: true
|
|
50
|
+
|
|
45
51
|
# @!attribute type
|
|
46
52
|
#
|
|
47
53
|
# @return [Symbol, Lithic::Models::FinancialAccount::Type]
|
|
@@ -52,6 +58,12 @@ module Lithic
|
|
|
52
58
|
# @return [Time]
|
|
53
59
|
required :updated, Time
|
|
54
60
|
|
|
61
|
+
# @!attribute user_defined_status
|
|
62
|
+
# User-defined status for the financial account
|
|
63
|
+
#
|
|
64
|
+
# @return [String, nil]
|
|
65
|
+
required :user_defined_status, String, nil?: true
|
|
66
|
+
|
|
55
67
|
# @!attribute account_number
|
|
56
68
|
#
|
|
57
69
|
# @return [String, nil]
|
|
@@ -62,13 +74,7 @@ module Lithic
|
|
|
62
74
|
# @return [String, nil]
|
|
63
75
|
optional :routing_number, String, nil?: true
|
|
64
76
|
|
|
65
|
-
# @!
|
|
66
|
-
# Substatus for the financial account
|
|
67
|
-
#
|
|
68
|
-
# @return [Symbol, Lithic::Models::FinancialAccount::Substatus, nil]
|
|
69
|
-
optional :substatus, enum: -> { Lithic::FinancialAccount::Substatus }, nil?: true
|
|
70
|
-
|
|
71
|
-
# @!method initialize(token:, account_token:, created:, credit_configuration:, is_for_benefit_of:, nickname:, status:, type:, updated:, account_number: nil, routing_number: nil, substatus: nil)
|
|
77
|
+
# @!method initialize(token:, account_token:, created:, credit_configuration:, is_for_benefit_of:, nickname:, status:, substatus:, type:, updated:, user_defined_status:, account_number: nil, routing_number: nil)
|
|
72
78
|
# @param token [String] Globally unique identifier for the account
|
|
73
79
|
#
|
|
74
80
|
# @param account_token [String, nil]
|
|
@@ -83,15 +89,17 @@ module Lithic
|
|
|
83
89
|
#
|
|
84
90
|
# @param status [Symbol, Lithic::Models::FinancialAccount::Status] Status of the financial account
|
|
85
91
|
#
|
|
92
|
+
# @param substatus [Symbol, Lithic::Models::FinancialAccount::Substatus, nil] Substatus for the financial account
|
|
93
|
+
#
|
|
86
94
|
# @param type [Symbol, Lithic::Models::FinancialAccount::Type]
|
|
87
95
|
#
|
|
88
96
|
# @param updated [Time]
|
|
89
97
|
#
|
|
98
|
+
# @param user_defined_status [String, nil] User-defined status for the financial account
|
|
99
|
+
#
|
|
90
100
|
# @param account_number [String, nil]
|
|
91
101
|
#
|
|
92
102
|
# @param routing_number [String, nil]
|
|
93
|
-
#
|
|
94
|
-
# @param substatus [Symbol, Lithic::Models::FinancialAccount::Substatus, nil] Substatus for the financial account
|
|
95
103
|
|
|
96
104
|
# @see Lithic::Models::FinancialAccount#credit_configuration
|
|
97
105
|
class CreditConfiguration < Lithic::Internal::Type::BaseModel
|
|
@@ -163,6 +171,22 @@ module Lithic
|
|
|
163
171
|
# @return [Array<Symbol>]
|
|
164
172
|
end
|
|
165
173
|
|
|
174
|
+
# Substatus for the financial account
|
|
175
|
+
#
|
|
176
|
+
# @see Lithic::Models::FinancialAccount#substatus
|
|
177
|
+
module Substatus
|
|
178
|
+
extend Lithic::Internal::Type::Enum
|
|
179
|
+
|
|
180
|
+
CHARGED_OFF_DELINQUENT = :CHARGED_OFF_DELINQUENT
|
|
181
|
+
CHARGED_OFF_FRAUD = :CHARGED_OFF_FRAUD
|
|
182
|
+
END_USER_REQUEST = :END_USER_REQUEST
|
|
183
|
+
BANK_REQUEST = :BANK_REQUEST
|
|
184
|
+
DELINQUENT = :DELINQUENT
|
|
185
|
+
|
|
186
|
+
# @!method self.values
|
|
187
|
+
# @return [Array<Symbol>]
|
|
188
|
+
end
|
|
189
|
+
|
|
166
190
|
# @see Lithic::Models::FinancialAccount#type
|
|
167
191
|
module Type
|
|
168
192
|
extend Lithic::Internal::Type::Enum
|
|
@@ -181,22 +205,6 @@ module Lithic
|
|
|
181
205
|
# @!method self.values
|
|
182
206
|
# @return [Array<Symbol>]
|
|
183
207
|
end
|
|
184
|
-
|
|
185
|
-
# Substatus for the financial account
|
|
186
|
-
#
|
|
187
|
-
# @see Lithic::Models::FinancialAccount#substatus
|
|
188
|
-
module Substatus
|
|
189
|
-
extend Lithic::Internal::Type::Enum
|
|
190
|
-
|
|
191
|
-
CHARGED_OFF_DELINQUENT = :CHARGED_OFF_DELINQUENT
|
|
192
|
-
CHARGED_OFF_FRAUD = :CHARGED_OFF_FRAUD
|
|
193
|
-
END_USER_REQUEST = :END_USER_REQUEST
|
|
194
|
-
BANK_REQUEST = :BANK_REQUEST
|
|
195
|
-
DELINQUENT = :DELINQUENT
|
|
196
|
-
|
|
197
|
-
# @!method self.values
|
|
198
|
-
# @return [Array<Symbol>]
|
|
199
|
-
end
|
|
200
208
|
end
|
|
201
209
|
end
|
|
202
210
|
end
|
|
@@ -19,11 +19,19 @@ module Lithic
|
|
|
19
19
|
# @return [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus, nil]
|
|
20
20
|
required :substatus, enum: -> { Lithic::FinancialAccountUpdateStatusParams::Substatus }, nil?: true
|
|
21
21
|
|
|
22
|
-
# @!
|
|
22
|
+
# @!attribute user_defined_status
|
|
23
|
+
# User-defined status for the financial account
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :user_defined_status, String
|
|
27
|
+
|
|
28
|
+
# @!method initialize(status:, substatus:, user_defined_status: nil, request_options: {})
|
|
23
29
|
# @param status [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Status] Status of the financial account
|
|
24
30
|
#
|
|
25
31
|
# @param substatus [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus, nil] Substatus for the financial account
|
|
26
32
|
#
|
|
33
|
+
# @param user_defined_status [String] User-defined status for the financial account
|
|
34
|
+
#
|
|
27
35
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
28
36
|
|
|
29
37
|
# Status of the financial account
|
|
@@ -90,8 +90,8 @@ module Lithic
|
|
|
90
90
|
|
|
91
91
|
# @!attribute payment_allocation
|
|
92
92
|
#
|
|
93
|
-
# @return [Lithic::Models::FinancialAccounts::
|
|
94
|
-
required :payment_allocation, -> { Lithic::FinancialAccounts::
|
|
93
|
+
# @return [Lithic::Models::FinancialAccounts::LoanTape::PaymentAllocation]
|
|
94
|
+
required :payment_allocation, -> { Lithic::FinancialAccounts::LoanTape::PaymentAllocation }
|
|
95
95
|
|
|
96
96
|
# @!attribute period_totals
|
|
97
97
|
#
|
|
@@ -164,7 +164,7 @@ module Lithic
|
|
|
164
164
|
#
|
|
165
165
|
# @param minimum_payment_balance [Lithic::Models::FinancialAccounts::LoanTape::MinimumPaymentBalance]
|
|
166
166
|
#
|
|
167
|
-
# @param payment_allocation [Lithic::Models::FinancialAccounts::
|
|
167
|
+
# @param payment_allocation [Lithic::Models::FinancialAccounts::LoanTape::PaymentAllocation]
|
|
168
168
|
#
|
|
169
169
|
# @param period_totals [Lithic::Models::StatementTotals]
|
|
170
170
|
#
|
|
@@ -436,6 +436,55 @@ module Lithic
|
|
|
436
436
|
# @param remaining [Integer]
|
|
437
437
|
end
|
|
438
438
|
|
|
439
|
+
# @see Lithic::Models::FinancialAccounts::LoanTape#payment_allocation
|
|
440
|
+
class PaymentAllocation < Lithic::Internal::Type::BaseModel
|
|
441
|
+
# @!attribute fee_details
|
|
442
|
+
#
|
|
443
|
+
# @return [Lithic::Models::CategoryDetails, nil]
|
|
444
|
+
required :fee_details, -> { Lithic::CategoryDetails }, nil?: true
|
|
445
|
+
|
|
446
|
+
# @!attribute fees
|
|
447
|
+
# Amount allocated to fees in cents
|
|
448
|
+
#
|
|
449
|
+
# @return [Integer]
|
|
450
|
+
required :fees, Integer
|
|
451
|
+
|
|
452
|
+
# @!attribute interest
|
|
453
|
+
# Amount allocated to interest in cents
|
|
454
|
+
#
|
|
455
|
+
# @return [Integer]
|
|
456
|
+
required :interest, Integer
|
|
457
|
+
|
|
458
|
+
# @!attribute interest_details
|
|
459
|
+
#
|
|
460
|
+
# @return [Lithic::Models::CategoryDetails, nil]
|
|
461
|
+
required :interest_details, -> { Lithic::CategoryDetails }, nil?: true
|
|
462
|
+
|
|
463
|
+
# @!attribute principal
|
|
464
|
+
# Amount allocated to principal in cents
|
|
465
|
+
#
|
|
466
|
+
# @return [Integer]
|
|
467
|
+
required :principal, Integer
|
|
468
|
+
|
|
469
|
+
# @!attribute principal_details
|
|
470
|
+
#
|
|
471
|
+
# @return [Lithic::Models::CategoryDetails, nil]
|
|
472
|
+
required :principal_details, -> { Lithic::CategoryDetails }, nil?: true
|
|
473
|
+
|
|
474
|
+
# @!method initialize(fee_details:, fees:, interest:, interest_details:, principal:, principal_details:)
|
|
475
|
+
# @param fee_details [Lithic::Models::CategoryDetails, nil]
|
|
476
|
+
#
|
|
477
|
+
# @param fees [Integer] Amount allocated to fees in cents
|
|
478
|
+
#
|
|
479
|
+
# @param interest [Integer] Amount allocated to interest in cents
|
|
480
|
+
#
|
|
481
|
+
# @param interest_details [Lithic::Models::CategoryDetails, nil]
|
|
482
|
+
#
|
|
483
|
+
# @param principal [Integer] Amount allocated to principal in cents
|
|
484
|
+
#
|
|
485
|
+
# @param principal_details [Lithic::Models::CategoryDetails, nil]
|
|
486
|
+
end
|
|
487
|
+
|
|
439
488
|
# @see Lithic::Models::FinancialAccounts::LoanTape#previous_statement_balance
|
|
440
489
|
class PreviousStatementBalance < Lithic::Internal::Type::BaseModel
|
|
441
490
|
# @!attribute amount
|
|
@@ -49,8 +49,10 @@ module Lithic
|
|
|
49
49
|
|
|
50
50
|
# @!attribute pending_amount
|
|
51
51
|
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
|
52
|
-
# including any acquirer fees.
|
|
53
|
-
#
|
|
52
|
+
# including any acquirer fees.
|
|
53
|
+
#
|
|
54
|
+
# The value of this field will go to zero over time once the financial transaction
|
|
55
|
+
# is settled.
|
|
54
56
|
#
|
|
55
57
|
# @return [Integer]
|
|
56
58
|
required :pending_amount, Integer
|
|
@@ -38,6 +38,8 @@ module Lithic
|
|
|
38
38
|
required :financial_account_token, String
|
|
39
39
|
|
|
40
40
|
# @!attribute token
|
|
41
|
+
# Customer-provided token that will serve as an idempotency token. This token will
|
|
42
|
+
# become the transaction token.
|
|
41
43
|
#
|
|
42
44
|
# @return [String, nil]
|
|
43
45
|
optional :token, String
|
|
@@ -64,6 +66,9 @@ module Lithic
|
|
|
64
66
|
optional :user_defined_id, String
|
|
65
67
|
|
|
66
68
|
# @!method initialize(amount:, category:, direction:, effective_date:, event_type:, financial_account_token:, token: nil, memo: nil, on_closed_account: nil, subtype: nil, user_defined_id: nil, request_options: {})
|
|
69
|
+
# Some parameter documentations has been truncated, see
|
|
70
|
+
# {Lithic::Models::ManagementOperationCreateParams} for more details.
|
|
71
|
+
#
|
|
67
72
|
# @param amount [Integer]
|
|
68
73
|
#
|
|
69
74
|
# @param category [Symbol, Lithic::Models::ManagementOperationCreateParams::Category]
|
|
@@ -76,7 +81,7 @@ module Lithic
|
|
|
76
81
|
#
|
|
77
82
|
# @param financial_account_token [String]
|
|
78
83
|
#
|
|
79
|
-
# @param token [String]
|
|
84
|
+
# @param token [String] Customer-provided token that will serve as an idempotency token. This token will
|
|
80
85
|
#
|
|
81
86
|
# @param memo [String]
|
|
82
87
|
#
|
|
@@ -97,11 +97,10 @@ module Lithic
|
|
|
97
97
|
# wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
|
|
98
98
|
# offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
|
|
99
99
|
# functionality. _ `SINGLE_USE` - Card is closed upon first successful
|
|
100
|
-
# authorization. _ `MERCHANT_LOCKED` -
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
#
|
|
104
|
-
# VIRTUAL instead.
|
|
100
|
+
# authorization. _ `MERCHANT_LOCKED` - Card is locked to the first merchant that
|
|
101
|
+
# successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_ Similar behavior
|
|
102
|
+
# to VIRTUAL cards, please use VIRTUAL instead. _ `DIGITAL_WALLET` -
|
|
103
|
+
# _[Deprecated]_ Similar behavior to VIRTUAL cards, please use VIRTUAL instead.
|
|
105
104
|
#
|
|
106
105
|
# @return [Symbol, Lithic::Models::NonPCICard::Type]
|
|
107
106
|
required :type, enum: -> { Lithic::NonPCICard::Type }
|
|
@@ -436,11 +435,10 @@ module Lithic
|
|
|
436
435
|
# wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
|
|
437
436
|
# offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
|
|
438
437
|
# functionality. _ `SINGLE_USE` - Card is closed upon first successful
|
|
439
|
-
# authorization. _ `MERCHANT_LOCKED` -
|
|
440
|
-
#
|
|
441
|
-
#
|
|
442
|
-
#
|
|
443
|
-
# VIRTUAL instead.
|
|
438
|
+
# authorization. _ `MERCHANT_LOCKED` - Card is locked to the first merchant that
|
|
439
|
+
# successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_ Similar behavior
|
|
440
|
+
# to VIRTUAL cards, please use VIRTUAL instead. _ `DIGITAL_WALLET` -
|
|
441
|
+
# _[Deprecated]_ Similar behavior to VIRTUAL cards, please use VIRTUAL instead.
|
|
444
442
|
#
|
|
445
443
|
# @see Lithic::Models::NonPCICard#type
|
|
446
444
|
module Type
|
|
@@ -21,8 +21,7 @@ module Lithic
|
|
|
21
21
|
|
|
22
22
|
variant -> { Lithic::AccountHolderDocumentUpdatedWebhookEvent }
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
variant -> { Lithic::AsaRequestWebhookEvent }
|
|
24
|
+
variant -> { Lithic::CardAuthorizationApprovalRequestWebhookEvent }
|
|
26
25
|
|
|
27
26
|
# A webhook for tokenization decisioning sent to the customer's responder endpoint
|
|
28
27
|
variant -> { Lithic::TokenizationDecisioningRequestWebhookEvent }
|
|
@@ -47,6 +46,8 @@ module Lithic
|
|
|
47
46
|
|
|
48
47
|
variant -> { Lithic::CardShippedWebhookEvent }
|
|
49
48
|
|
|
49
|
+
variant -> { Lithic::CardUpdatedWebhookEvent }
|
|
50
|
+
|
|
50
51
|
variant -> { Lithic::CardTransactionUpdatedWebhookEvent }
|
|
51
52
|
|
|
52
53
|
variant -> { Lithic::CardTransactionEnhancedDataCreatedWebhookEvent }
|
|
@@ -128,7 +129,7 @@ module Lithic
|
|
|
128
129
|
variant -> { Lithic::TokenizationUpdatedWebhookEvent }
|
|
129
130
|
|
|
130
131
|
# Represents a 3DS authentication
|
|
131
|
-
variant -> { Lithic::
|
|
132
|
+
variant -> { Lithic::ThreeDSAuthenticationApprovalRequestWebhookEvent }
|
|
132
133
|
|
|
133
134
|
# The Dispute object tracks the progression of a dispute throughout its lifecycle.
|
|
134
135
|
variant -> { Lithic::DisputeTransactionCreatedWebhookEvent }
|
|
@@ -812,7 +813,7 @@ module Lithic
|
|
|
812
813
|
end
|
|
813
814
|
|
|
814
815
|
# @!method self.variants
|
|
815
|
-
# @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::
|
|
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::TokenizationDecisioningRequestWebhookEvent, 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
817
|
end
|
|
817
818
|
end
|
|
818
819
|
end
|
|
@@ -289,7 +289,13 @@ module Lithic
|
|
|
289
289
|
optional :detailed_results,
|
|
290
290
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Payment::Event::DetailedResult] }
|
|
291
291
|
|
|
292
|
-
# @!
|
|
292
|
+
# @!attribute external_id
|
|
293
|
+
# Payment event external ID, for example, ACH trace number.
|
|
294
|
+
#
|
|
295
|
+
# @return [String, nil]
|
|
296
|
+
optional :external_id, String, nil?: true
|
|
297
|
+
|
|
298
|
+
# @!method initialize(token:, amount:, created:, result:, type:, detailed_results: nil, external_id: nil)
|
|
293
299
|
# Some parameter documentations has been truncated, see
|
|
294
300
|
# {Lithic::Models::Payment::Event} for more details.
|
|
295
301
|
#
|
|
@@ -306,6 +312,8 @@ module Lithic
|
|
|
306
312
|
# @param type [Symbol, Lithic::Models::Payment::Event::Type] Event types:
|
|
307
313
|
#
|
|
308
314
|
# @param detailed_results [Array<Symbol, Lithic::Models::Payment::Event::DetailedResult>] More detailed reasons for the event
|
|
315
|
+
#
|
|
316
|
+
# @param external_id [String, nil] Payment event external ID, for example, ACH trace number.
|
|
309
317
|
|
|
310
318
|
# APPROVED financial events were successful while DECLINED financial events were
|
|
311
319
|
# declined by user, Lithic, or the network.
|
|
@@ -642,6 +650,7 @@ module Lithic
|
|
|
642
650
|
WIRE_INBOUND_ADMIN = :WIRE_INBOUND_ADMIN
|
|
643
651
|
WIRE_OUTBOUND_PAYMENT = :WIRE_OUTBOUND_PAYMENT
|
|
644
652
|
WIRE_OUTBOUND_ADMIN = :WIRE_OUTBOUND_ADMIN
|
|
653
|
+
WIRE_INBOUND_DRAWDOWN_REQUEST = :WIRE_INBOUND_DRAWDOWN_REQUEST
|
|
645
654
|
|
|
646
655
|
# @!method self.values
|
|
647
656
|
# @return [Array<Symbol>]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ThreeDSAuthenticationApprovalRequestWebhookEvent < Lithic::Models::ThreeDSAuthentication
|
|
6
|
+
# @!attribute event_type
|
|
7
|
+
#
|
|
8
|
+
# @return [Symbol, :"three_ds_authentication.approval_request"]
|
|
9
|
+
required :event_type, const: :"three_ds_authentication.approval_request"
|
|
10
|
+
|
|
11
|
+
# @!method initialize(event_type: :"three_ds_authentication.approval_request")
|
|
12
|
+
# Represents a 3DS authentication
|
|
13
|
+
#
|
|
14
|
+
# @param event_type [Symbol, :"three_ds_authentication.approval_request"]
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|