lithic 0.18.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
- data/lib/lithic/models/auth_rules/ach_payment_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +2 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +24 -1
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +1 -1
- data/lib/lithic/models/blockchain_recipient.rb +148 -0
- data/lib/lithic/models/blockchain_recipient_create_params.rb +74 -0
- data/lib/lithic/models/book_transfer_create_params.rb +4 -0
- data/lib/lithic/models/book_transfer_list_params.rb +1 -0
- data/lib/lithic/models/book_transfer_response.rb +4 -0
- data/lib/lithic/models/card.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +10 -8
- data/lib/lithic/models/card_reassign_account_params.rb +29 -0
- data/lib/lithic/models/dispute_v2.rb +178 -130
- data/lib/lithic/models/disputes_v2_list_params.rb +10 -1
- data/lib/lithic/models/embed_session_generated_webhook_event.rb +83 -0
- data/lib/lithic/models/embed_viewed_webhook_event.rb +85 -0
- data/lib/lithic/models/event.rb +44 -12
- data/lib/lithic/models/event_list_params.rb +23 -6
- data/lib/lithic/models/event_subscription.rb +23 -6
- data/lib/lithic/models/events/subscription_create_params.rb +23 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
- data/lib/lithic/models/events/subscription_update_params.rb +23 -6
- data/lib/lithic/models/external_payment_list_params.rb +3 -3
- data/lib/lithic/models/financial_account.rb +14 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +4 -3
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_event.rb +8 -0
- data/lib/lithic/models/fraud/transaction_report_response.rb +8 -8
- data/lib/lithic/models/fraud/transaction_retrieve_response.rb +10 -8
- data/lib/lithic/models/parsed_webhook_event.rb +5 -1
- data/lib/lithic/models/payment.rb +91 -6
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/tokenization_simulate_params.rb +2 -2
- data/lib/lithic/models/transaction_monitoring/case_entity.rb +13 -4
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +4 -2
- data/lib/lithic/models/transaction_monitoring/case_update_params.rb +5 -11
- data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +5 -11
- data/lib/lithic/models/transaction_monitoring/queue.rb +10 -1
- data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +14 -1
- data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +15 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +4 -3
- data/lib/lithic/models.rb +10 -0
- data/lib/lithic/resources/blockchain_recipients.rb +57 -0
- data/lib/lithic/resources/card_authorizations.rb +1 -1
- data/lib/lithic/resources/cards.rb +34 -2
- data/lib/lithic/resources/disputes_v2.rb +3 -1
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +1 -1
- data/lib/lithic/resources/transaction_monitoring/cases.rb +2 -2
- data/lib/lithic/resources/transaction_monitoring/queues.rb +12 -2
- data/lib/lithic/resources/transactions.rb +4 -3
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +6 -1
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/ach_payment_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +8 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +30 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +2 -2
- data/rbi/lithic/models/blockchain_recipient.rbi +209 -0
- data/rbi/lithic/models/blockchain_recipient_create_params.rbi +102 -0
- data/rbi/lithic/models/book_transfer_create_params.rbi +20 -0
- data/rbi/lithic/models/book_transfer_list_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_response.rbi +20 -0
- data/rbi/lithic/models/card.rbi +2 -2
- data/rbi/lithic/models/card_provision_params.rbi +16 -12
- data/rbi/lithic/models/card_reassign_account_params.rbi +49 -0
- data/rbi/lithic/models/dispute_v2.rbi +285 -181
- data/rbi/lithic/models/disputes_v2_list_params.rbi +13 -0
- data/rbi/lithic/models/embed_session_generated_webhook_event.rbi +157 -0
- data/rbi/lithic/models/embed_viewed_webhook_event.rbi +146 -0
- data/rbi/lithic/models/event.rbi +70 -18
- data/rbi/lithic/models/event_list_params.rbi +31 -6
- data/rbi/lithic/models/event_subscription.rbi +31 -6
- data/rbi/lithic/models/events/subscription_create_params.rbi +31 -6
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +31 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +3 -3
- data/rbi/lithic/models/financial_account.rbi +12 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +8 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_event.rbi +34 -0
- data/rbi/lithic/models/fraud/transaction_report_response.rbi +16 -29
- data/rbi/lithic/models/fraud/transaction_retrieve_response.rbi +16 -29
- data/rbi/lithic/models/parsed_webhook_event.rbi +2 -0
- data/rbi/lithic/models/payment.rbi +147 -4
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/tokenization_simulate_params.rbi +2 -2
- data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +27 -5
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +6 -2
- data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +8 -33
- data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +7 -31
- data/rbi/lithic/models/transaction_monitoring/queue.rbi +10 -0
- data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +12 -0
- data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +14 -0
- data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +8 -6
- data/rbi/lithic/models.rbi +12 -0
- data/rbi/lithic/resources/blockchain_recipients.rbi +51 -0
- data/rbi/lithic/resources/card_authorizations.rbi +1 -1
- data/rbi/lithic/resources/cards.rbi +30 -6
- data/rbi/lithic/resources/disputes_v2.rbi +4 -0
- data/rbi/lithic/resources/external_payments.rbi +1 -1
- data/rbi/lithic/resources/financial_accounts/balances.rbi +4 -3
- data/rbi/lithic/resources/three_ds/decisioning.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +6 -11
- data/rbi/lithic/resources/transaction_monitoring/queues.rbi +11 -0
- data/rbi/lithic/resources/transactions.rbi +8 -6
- data/rbi/lithic/resources/webhooks.rbi +2 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +4 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/ach_payment_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +4 -2
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +10 -0
- data/sig/lithic/models/blockchain_recipient.rbs +106 -0
- data/sig/lithic/models/blockchain_recipient_create_params.rbs +60 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +8 -0
- data/sig/lithic/models/book_transfer_list_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_response.rbs +8 -0
- data/sig/lithic/models/card_reassign_account_params.rbs +28 -0
- data/sig/lithic/models/dispute_v2.rbs +145 -101
- data/sig/lithic/models/disputes_v2_list_params.rbs +7 -0
- data/sig/lithic/models/embed_session_generated_webhook_event.rbs +66 -0
- data/sig/lithic/models/embed_viewed_webhook_event.rbs +68 -0
- data/sig/lithic/models/event.rbs +4 -0
- data/sig/lithic/models/event_list_params.rbs +4 -0
- data/sig/lithic/models/event_subscription.rbs +4 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
- data/sig/lithic/models/financial_account.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_event.rbs +16 -0
- data/sig/lithic/models/fraud/transaction_report_response.rbs +16 -26
- data/sig/lithic/models/fraud/transaction_retrieve_response.rbs +16 -26
- data/sig/lithic/models/parsed_webhook_event.rbs +2 -0
- data/sig/lithic/models/payment.rbs +46 -1
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/transaction_monitoring/case_entity.rbs +7 -5
- data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +5 -7
- data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +4 -4
- data/sig/lithic/models/transaction_monitoring/queue.rbs +5 -0
- data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +9 -1
- data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +10 -1
- data/sig/lithic/models.rbs +10 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +18 -0
- data/sig/lithic/resources/cards.rbs +6 -0
- data/sig/lithic/resources/disputes_v2.rbs +1 -0
- data/sig/lithic/resources/transaction_monitoring/cases.rbs +1 -1
- data/sig/lithic/resources/transaction_monitoring/queues.rbs +2 -0
- data/sig/lithic/resources/webhooks.rbs +2 -0
- metadata +20 -5
- data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +0 -28
- data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +0 -61
- data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +0 -24
|
@@ -24,9 +24,10 @@ module Lithic
|
|
|
24
24
|
# example, entering 100 in this field will result in a -100 amount in the
|
|
25
25
|
# transaction, if the original authorization is a credit authorization.
|
|
26
26
|
#
|
|
27
|
-
# If `amount` is not set, the full amount of the transaction will be cleared.
|
|
28
|
-
#
|
|
29
|
-
#
|
|
27
|
+
# If `amount` is not set, the full amount of the transaction will be cleared. This
|
|
28
|
+
# endpoint may be called multiple times against the same authorization to simulate
|
|
29
|
+
# a multiple-completion scenario, with each call creating a separate clearing
|
|
30
|
+
# event.
|
|
30
31
|
sig { returns(T.nilable(Integer)) }
|
|
31
32
|
attr_reader :amount
|
|
32
33
|
|
|
@@ -49,9 +50,10 @@ module Lithic
|
|
|
49
50
|
# example, entering 100 in this field will result in a -100 amount in the
|
|
50
51
|
# transaction, if the original authorization is a credit authorization.
|
|
51
52
|
#
|
|
52
|
-
# If `amount` is not set, the full amount of the transaction will be cleared.
|
|
53
|
-
#
|
|
54
|
-
#
|
|
53
|
+
# If `amount` is not set, the full amount of the transaction will be cleared. This
|
|
54
|
+
# endpoint may be called multiple times against the same authorization to simulate
|
|
55
|
+
# a multiple-completion scenario, with each call creating a separate clearing
|
|
56
|
+
# event.
|
|
55
57
|
amount: nil,
|
|
56
58
|
request_options: {}
|
|
57
59
|
)
|
data/rbi/lithic/models.rbi
CHANGED
|
@@ -87,6 +87,11 @@ module Lithic
|
|
|
87
87
|
|
|
88
88
|
BalanceUpdatedWebhookEvent = Lithic::Models::BalanceUpdatedWebhookEvent
|
|
89
89
|
|
|
90
|
+
BlockchainRecipient = Lithic::Models::BlockchainRecipient
|
|
91
|
+
|
|
92
|
+
BlockchainRecipientCreateParams =
|
|
93
|
+
Lithic::Models::BlockchainRecipientCreateParams
|
|
94
|
+
|
|
90
95
|
BookTransferCreateParams = Lithic::Models::BookTransferCreateParams
|
|
91
96
|
|
|
92
97
|
BookTransferListParams = Lithic::Models::BookTransferListParams
|
|
@@ -153,6 +158,8 @@ module Lithic
|
|
|
153
158
|
|
|
154
159
|
CardProvisionParams = Lithic::Models::CardProvisionParams
|
|
155
160
|
|
|
161
|
+
CardReassignAccountParams = Lithic::Models::CardReassignAccountParams
|
|
162
|
+
|
|
156
163
|
CardReissuedWebhookEvent = Lithic::Models::CardReissuedWebhookEvent
|
|
157
164
|
|
|
158
165
|
CardReissueParams = Lithic::Models::CardReissueParams
|
|
@@ -278,6 +285,11 @@ module Lithic
|
|
|
278
285
|
|
|
279
286
|
Document = Lithic::Models::Document
|
|
280
287
|
|
|
288
|
+
EmbedSessionGeneratedWebhookEvent =
|
|
289
|
+
Lithic::Models::EmbedSessionGeneratedWebhookEvent
|
|
290
|
+
|
|
291
|
+
EmbedViewedWebhookEvent = Lithic::Models::EmbedViewedWebhookEvent
|
|
292
|
+
|
|
281
293
|
Event = Lithic::Models::Event
|
|
282
294
|
|
|
283
295
|
EventListAttemptsParams = Lithic::Models::EventListAttemptsParams
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Resources
|
|
5
|
+
class BlockchainRecipients
|
|
6
|
+
# Register a blockchain address as a withdrawal destination for a financial
|
|
7
|
+
# account
|
|
8
|
+
#
|
|
9
|
+
# The recipient is created with a `PENDING` verification state and cannot receive
|
|
10
|
+
# a payout until screening of the address completes. Registering an address that
|
|
11
|
+
# is already registered to the same financial account returns the existing
|
|
12
|
+
# recipient and its current verification state, rather than creating a second one
|
|
13
|
+
sig do
|
|
14
|
+
params(
|
|
15
|
+
account_token: String,
|
|
16
|
+
address: String,
|
|
17
|
+
chain: String,
|
|
18
|
+
owner: String,
|
|
19
|
+
owner_type: Lithic::OwnerType::OrSymbol,
|
|
20
|
+
address_tag: String,
|
|
21
|
+
name: String,
|
|
22
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
23
|
+
).returns(Lithic::BlockchainRecipient)
|
|
24
|
+
end
|
|
25
|
+
def create(
|
|
26
|
+
# The financial account the blockchain recipient belongs to
|
|
27
|
+
account_token:,
|
|
28
|
+
# The blockchain address funds will be withdrawn to
|
|
29
|
+
address:,
|
|
30
|
+
# The blockchain network that the address belongs to
|
|
31
|
+
chain:,
|
|
32
|
+
# Legal name of the business or individual who owns the blockchain address
|
|
33
|
+
owner:,
|
|
34
|
+
# Owner Type
|
|
35
|
+
owner_type:,
|
|
36
|
+
# An optional tag or memo used by some chains to identify the destination of a
|
|
37
|
+
# transfer within a shared address
|
|
38
|
+
address_tag: nil,
|
|
39
|
+
# The nickname for this blockchain recipient
|
|
40
|
+
name: nil,
|
|
41
|
+
request_options: {}
|
|
42
|
+
)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# @api private
|
|
46
|
+
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
47
|
+
def self.new(client:)
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -5,7 +5,7 @@ module Lithic
|
|
|
5
5
|
class CardAuthorizations
|
|
6
6
|
# Card program's response to Authorization Challenge. Programs that have
|
|
7
7
|
# Authorization Challenges configured as Out of Band receive a
|
|
8
|
-
# [card_authorization.challenge](https://docs.lithic.com/reference/
|
|
8
|
+
# [card_authorization.challenge](https://docs.lithic.com/reference/cardauthorizationchallengewebhook)
|
|
9
9
|
# webhook when an authorization attempt triggers a challenge. The card program
|
|
10
10
|
# should respond using this endpoint after the cardholder completes the challenge.
|
|
11
11
|
sig do
|
|
@@ -393,6 +393,9 @@ module Lithic
|
|
|
393
393
|
)
|
|
394
394
|
end
|
|
395
395
|
|
|
396
|
+
# **Deprecated.** Use the modern embedded card flow instead: create a session with
|
|
397
|
+
# `POST /v1/cards/{card_token}/embed` and render it via `GET /v1/embed`.
|
|
398
|
+
#
|
|
396
399
|
# Handling full card PANs and CVV codes requires that you comply with the Payment
|
|
397
400
|
# Card Industry Data Security Standards (PCI DSS). Some clients choose to reduce
|
|
398
401
|
# their compliance obligations by leveraging our embedded card UI solution
|
|
@@ -462,13 +465,15 @@ module Lithic
|
|
|
462
465
|
# encoded in PEM format with headers `(-----BEGIN CERTIFICATE-----)` and trailers
|
|
463
466
|
# omitted. Provided by the device's wallet.
|
|
464
467
|
certificate: nil,
|
|
465
|
-
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY
|
|
466
|
-
#
|
|
467
|
-
#
|
|
468
|
+
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY`. Stable
|
|
469
|
+
# device identification set by the wallet provider. Required for both wallets
|
|
470
|
+
# regardless of network, though the value is only used for cards on the Visa
|
|
471
|
+
# network and is ignored on Amex and Mastercard.
|
|
468
472
|
client_device_id: nil,
|
|
469
|
-
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY
|
|
470
|
-
#
|
|
471
|
-
#
|
|
473
|
+
# Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY`. Consumer
|
|
474
|
+
# ID that identifies the wallet account holder entity. Required for both wallets
|
|
475
|
+
# regardless of network, though the value is only used for cards on the Visa
|
|
476
|
+
# network and is ignored on Amex and Mastercard.
|
|
472
477
|
client_wallet_account_id: nil,
|
|
473
478
|
# Name of digital wallet provider.
|
|
474
479
|
digital_wallet: nil,
|
|
@@ -484,6 +489,25 @@ module Lithic
|
|
|
484
489
|
)
|
|
485
490
|
end
|
|
486
491
|
|
|
492
|
+
# Reassigns a card to another account. The card must be in an `OPEN` or `PAUSED`
|
|
493
|
+
# state, and the destination account must be in an `ACTIVE` state.
|
|
494
|
+
#
|
|
495
|
+
# Clients must contact their Lithic account manager for access to this endpoint.
|
|
496
|
+
sig do
|
|
497
|
+
params(
|
|
498
|
+
card_token: String,
|
|
499
|
+
new_account_token: String,
|
|
500
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
501
|
+
).returns(Lithic::Card)
|
|
502
|
+
end
|
|
503
|
+
def reassign_account(
|
|
504
|
+
card_token,
|
|
505
|
+
# Globally unique identifier for the account to associate with the card
|
|
506
|
+
new_account_token:,
|
|
507
|
+
request_options: {}
|
|
508
|
+
)
|
|
509
|
+
end
|
|
510
|
+
|
|
487
511
|
# Initiate print and shipment of a duplicate physical card (e.g. card is
|
|
488
512
|
# physically damaged). The PAN, expiry, and CVC2 will remain the same and the
|
|
489
513
|
# original card can continue to be used until the new card is activated. Only
|
|
@@ -23,6 +23,7 @@ module Lithic
|
|
|
23
23
|
account_token: String,
|
|
24
24
|
begin_: Time,
|
|
25
25
|
card_token: String,
|
|
26
|
+
claim_token: String,
|
|
26
27
|
disputed_transaction_token: String,
|
|
27
28
|
end_: Time,
|
|
28
29
|
ending_before: String,
|
|
@@ -38,6 +39,9 @@ module Lithic
|
|
|
38
39
|
begin_: nil,
|
|
39
40
|
# Filter by card token.
|
|
40
41
|
card_token: nil,
|
|
42
|
+
# Filter by the token of the claim the dispute was filed under. Returns the
|
|
43
|
+
# disputes created from that claim's disputed transaction events.
|
|
44
|
+
claim_token: nil,
|
|
41
45
|
# Filter by the token of the transaction being disputed. Corresponds with
|
|
42
46
|
# transaction_series.related_transaction_token in the Dispute.
|
|
43
47
|
disputed_transaction_token: nil,
|
|
@@ -71,7 +71,7 @@ module Lithic
|
|
|
71
71
|
# will be included. UTC time zone.
|
|
72
72
|
begin_: nil,
|
|
73
73
|
business_account_token: nil,
|
|
74
|
-
#
|
|
74
|
+
# The external rail the funds moved on
|
|
75
75
|
category: nil,
|
|
76
76
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
77
77
|
# will be included. UTC time zone.
|
|
@@ -20,9 +20,10 @@ module Lithic
|
|
|
20
20
|
financial_account_token,
|
|
21
21
|
# UTC date of the balance to retrieve. Defaults to latest available balance
|
|
22
22
|
balance_date: nil,
|
|
23
|
-
# Balance after a given financial event occured.
|
|
24
|
-
#
|
|
25
|
-
#
|
|
23
|
+
# Balance after a given financial event occured. Note: if an account receives
|
|
24
|
+
# multiple events around the same time whose financial impacts cancel out, a
|
|
25
|
+
# balance lookup by one of those event tokens may return 404, since their combined
|
|
26
|
+
# impact on the account is zero.
|
|
26
27
|
last_transaction_event_token: nil,
|
|
27
28
|
request_options: {}
|
|
28
29
|
)
|
|
@@ -6,7 +6,7 @@ module Lithic
|
|
|
6
6
|
class Decisioning
|
|
7
7
|
# Card program's response to a 3DS Challenge Request. Challenge Request is emitted
|
|
8
8
|
# as a webhook
|
|
9
|
-
# [three_ds_authentication.challenge](https://docs.lithic.com/reference/
|
|
9
|
+
# [three_ds_authentication.challenge](https://docs.lithic.com/reference/threedsauthenticationchallengewebhook)
|
|
10
10
|
# and your Card Program needs to be configured with Out of Band (OOB) Challenges
|
|
11
11
|
# in order to receive it (see https://docs.lithic.com/docs/3ds-challenge-flow for
|
|
12
12
|
# more information).
|
|
@@ -167,7 +167,7 @@ module Lithic
|
|
|
167
167
|
).returns(Lithic::Tokenization)
|
|
168
168
|
end
|
|
169
169
|
def simulate(
|
|
170
|
-
# The three digit
|
|
170
|
+
# The three or four digit CVV for the card. AMEX cards use four digit CVVs.
|
|
171
171
|
cvv:,
|
|
172
172
|
# The expiration date of the card in 'MM/YY' format.
|
|
173
173
|
expiration_date:,
|
|
@@ -33,8 +33,7 @@ module Lithic
|
|
|
33
33
|
actor_token: String,
|
|
34
34
|
assignee: T.nilable(String),
|
|
35
35
|
priority: Lithic::TransactionMonitoring::CasePriority::OrSymbol,
|
|
36
|
-
resolution:
|
|
37
|
-
Lithic::TransactionMonitoring::ResolutionOutcome::OrSymbol,
|
|
36
|
+
resolution: String,
|
|
38
37
|
resolution_notes: String,
|
|
39
38
|
sla_deadline: T.nilable(Time),
|
|
40
39
|
status: Lithic::TransactionMonitoring::CaseStatus::OrSymbol,
|
|
@@ -54,14 +53,8 @@ module Lithic
|
|
|
54
53
|
assignee: nil,
|
|
55
54
|
# Priority level of a case, controlling queue ordering and SLA urgency
|
|
56
55
|
priority: nil,
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
# - `CONFIRMED_FRAUD` - The reviewed activity was confirmed to be fraudulent
|
|
60
|
-
# - `SUSPICIOUS_ACTIVITY` - The activity is suspicious but not confirmed fraud
|
|
61
|
-
# - `FALSE_POSITIVE` - The activity was legitimate and the alert was a false
|
|
62
|
-
# positive
|
|
63
|
-
# - `NO_ACTION_REQUIRED` - No further action is required
|
|
64
|
-
# - `ESCALATED_EXTERNAL` - The case was escalated to an external party
|
|
56
|
+
# Resolution to record on the case. Must be one of the `allowed_resolutions`
|
|
57
|
+
# configured on the case's queue, otherwise the request is rejected with a `400`
|
|
65
58
|
resolution: nil,
|
|
66
59
|
# Notes describing the resolution
|
|
67
60
|
resolution_notes: nil,
|
|
@@ -127,7 +120,9 @@ module Lithic
|
|
|
127
120
|
# A cursor representing an item's token before which a page of results should end.
|
|
128
121
|
# Used to retrieve the previous page of results before this item.
|
|
129
122
|
ending_before: nil,
|
|
130
|
-
# Only return cases associated with the provided entity.
|
|
123
|
+
# Only return cases associated with the provided entity. Accepts a card, account,
|
|
124
|
+
# or financial account token. Cases with a `PROGRAM` entity have no entity token
|
|
125
|
+
# and are never returned by this filter.
|
|
131
126
|
entity_token: nil,
|
|
132
127
|
# Page size (for pagination).
|
|
133
128
|
page_size: nil,
|
|
@@ -8,6 +8,7 @@ module Lithic
|
|
|
8
8
|
sig do
|
|
9
9
|
params(
|
|
10
10
|
name: String,
|
|
11
|
+
allowed_resolutions: T.nilable(T::Array[String]),
|
|
11
12
|
description: T.nilable(String),
|
|
12
13
|
request_options: Lithic::RequestOptions::OrHash
|
|
13
14
|
).returns(Lithic::TransactionMonitoring::Queue)
|
|
@@ -15,6 +16,10 @@ module Lithic
|
|
|
15
16
|
def create(
|
|
16
17
|
# Human-readable name of the queue
|
|
17
18
|
name:,
|
|
19
|
+
# Resolutions that can be recorded on cases in this queue. Omit or send `null` to
|
|
20
|
+
# use the default list. Values are free-form labels and must be non-empty and
|
|
21
|
+
# unique
|
|
22
|
+
allowed_resolutions: nil,
|
|
18
23
|
# Optional description of the queue
|
|
19
24
|
description: nil,
|
|
20
25
|
request_options: {}
|
|
@@ -39,6 +44,7 @@ module Lithic
|
|
|
39
44
|
sig do
|
|
40
45
|
params(
|
|
41
46
|
queue_token: String,
|
|
47
|
+
allowed_resolutions: T.nilable(T::Array[String]),
|
|
42
48
|
description: T.nilable(String),
|
|
43
49
|
name: String,
|
|
44
50
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -47,6 +53,11 @@ module Lithic
|
|
|
47
53
|
def update(
|
|
48
54
|
# Globally unique identifier for the queue.
|
|
49
55
|
queue_token,
|
|
56
|
+
# New list of resolutions that can be recorded on cases in this queue, or `null`
|
|
57
|
+
# to revert to the default list. Values are free-form labels and must be non-empty
|
|
58
|
+
# and unique. Changing the list only affects what is selectable going forward; the
|
|
59
|
+
# `resolution` already stored on a case is preserved as-is
|
|
60
|
+
allowed_resolutions: nil,
|
|
50
61
|
# New description for the queue, or `null` to clear it
|
|
51
62
|
description: nil,
|
|
52
63
|
# New name for the queue
|
|
@@ -208,9 +208,10 @@ module Lithic
|
|
|
208
208
|
# Clears an existing authorization, either debit or credit. After this event, the
|
|
209
209
|
# transaction transitions from `PENDING` to `SETTLED` status.
|
|
210
210
|
#
|
|
211
|
-
# If `amount` is not set, the full amount of the transaction will be cleared.
|
|
212
|
-
#
|
|
213
|
-
#
|
|
211
|
+
# If `amount` is not set, the full amount of the transaction will be cleared. This
|
|
212
|
+
# endpoint may be called multiple times against the same authorization to simulate
|
|
213
|
+
# a multiple-completion scenario, with each call creating a separate clearing
|
|
214
|
+
# event.
|
|
214
215
|
sig do
|
|
215
216
|
params(
|
|
216
217
|
token: String,
|
|
@@ -227,9 +228,10 @@ module Lithic
|
|
|
227
228
|
# example, entering 100 in this field will result in a -100 amount in the
|
|
228
229
|
# transaction, if the original authorization is a credit authorization.
|
|
229
230
|
#
|
|
230
|
-
# If `amount` is not set, the full amount of the transaction will be cleared.
|
|
231
|
-
#
|
|
232
|
-
#
|
|
231
|
+
# If `amount` is not set, the full amount of the transaction will be cleared. This
|
|
232
|
+
# endpoint may be called multiple times against the same authorization to simulate
|
|
233
|
+
# a multiple-completion scenario, with each call creating a separate clearing
|
|
234
|
+
# event.
|
|
233
235
|
amount: nil,
|
|
234
236
|
request_options: {}
|
|
235
237
|
)
|
|
@@ -44,6 +44,8 @@ module Lithic
|
|
|
44
44
|
Lithic::DigitalWalletTokenizationUpdatedWebhookEvent,
|
|
45
45
|
Lithic::DisputeUpdatedWebhookEvent,
|
|
46
46
|
Lithic::DisputeEvidenceUploadFailedWebhookEvent,
|
|
47
|
+
Lithic::EmbedSessionGeneratedWebhookEvent,
|
|
48
|
+
Lithic::EmbedViewedWebhookEvent,
|
|
47
49
|
Lithic::ExternalBankAccountCreatedWebhookEvent,
|
|
48
50
|
Lithic::ExternalBankAccountUpdatedWebhookEvent,
|
|
49
51
|
Lithic::ExternalPaymentCreatedWebhookEvent,
|
data/sig/lithic/client.rbs
CHANGED
|
@@ -55,6 +55,8 @@ module Lithic
|
|
|
55
55
|
|
|
56
56
|
attr_reader external_bank_accounts: Lithic::Resources::ExternalBankAccounts
|
|
57
57
|
|
|
58
|
+
attr_reader blockchain_recipients: Lithic::Resources::BlockchainRecipients
|
|
59
|
+
|
|
58
60
|
attr_reader payments: Lithic::Resources::Payments
|
|
59
61
|
|
|
60
62
|
attr_reader three_ds: Lithic::Resources::ThreeDS
|
|
@@ -103,6 +103,7 @@ module Lithic
|
|
|
103
103
|
type category =
|
|
104
104
|
:ACH
|
|
105
105
|
| :WIRE
|
|
106
|
+
| :STABLECOIN
|
|
106
107
|
| :BALANCE_OR_FUNDING
|
|
107
108
|
| :FEE
|
|
108
109
|
| :REWARD
|
|
@@ -123,12 +124,14 @@ module Lithic
|
|
|
123
124
|
| :MANAGEMENT_DISBURSEMENT
|
|
124
125
|
| :HOLD
|
|
125
126
|
| :PROGRAM_FUNDING
|
|
127
|
+
| :PROGRAM_TRANSFER
|
|
126
128
|
|
|
127
129
|
module Category
|
|
128
130
|
extend Lithic::Internal::Type::Enum
|
|
129
131
|
|
|
130
132
|
ACH: :ACH
|
|
131
133
|
WIRE: :WIRE
|
|
134
|
+
STABLECOIN: :STABLECOIN
|
|
132
135
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
133
136
|
FEE: :FEE
|
|
134
137
|
REWARD: :REWARD
|
|
@@ -149,6 +152,7 @@ module Lithic
|
|
|
149
152
|
MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
|
|
150
153
|
HOLD: :HOLD
|
|
151
154
|
PROGRAM_FUNDING: :PROGRAM_FUNDING
|
|
155
|
+
PROGRAM_TRANSFER: :PROGRAM_TRANSFER
|
|
152
156
|
|
|
153
157
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityListParams::category]
|
|
154
158
|
end
|
|
@@ -91,6 +91,7 @@ module Lithic
|
|
|
91
91
|
type category =
|
|
92
92
|
:ACH
|
|
93
93
|
| :WIRE
|
|
94
|
+
| :STABLECOIN
|
|
94
95
|
| :BALANCE_OR_FUNDING
|
|
95
96
|
| :FEE
|
|
96
97
|
| :REWARD
|
|
@@ -111,12 +112,14 @@ module Lithic
|
|
|
111
112
|
| :MANAGEMENT_DISBURSEMENT
|
|
112
113
|
| :HOLD
|
|
113
114
|
| :PROGRAM_FUNDING
|
|
115
|
+
| :PROGRAM_TRANSFER
|
|
114
116
|
|
|
115
117
|
module Category
|
|
116
118
|
extend Lithic::Internal::Type::Enum
|
|
117
119
|
|
|
118
120
|
ACH: :ACH
|
|
119
121
|
WIRE: :WIRE
|
|
122
|
+
STABLECOIN: :STABLECOIN
|
|
120
123
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
121
124
|
FEE: :FEE
|
|
122
125
|
REWARD: :REWARD
|
|
@@ -137,6 +140,7 @@ module Lithic
|
|
|
137
140
|
MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
|
|
138
141
|
HOLD: :HOLD
|
|
139
142
|
PROGRAM_FUNDING: :PROGRAM_FUNDING
|
|
143
|
+
PROGRAM_TRANSFER: :PROGRAM_TRANSFER
|
|
140
144
|
|
|
141
145
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Internal::category]
|
|
142
146
|
end
|
|
@@ -91,6 +91,7 @@ module Lithic
|
|
|
91
91
|
type category =
|
|
92
92
|
:ACH
|
|
93
93
|
| :WIRE
|
|
94
|
+
| :STABLECOIN
|
|
94
95
|
| :BALANCE_OR_FUNDING
|
|
95
96
|
| :FEE
|
|
96
97
|
| :REWARD
|
|
@@ -111,12 +112,14 @@ module Lithic
|
|
|
111
112
|
| :MANAGEMENT_DISBURSEMENT
|
|
112
113
|
| :HOLD
|
|
113
114
|
| :PROGRAM_FUNDING
|
|
115
|
+
| :PROGRAM_TRANSFER
|
|
114
116
|
|
|
115
117
|
module Category
|
|
116
118
|
extend Lithic::Internal::Type::Enum
|
|
117
119
|
|
|
118
120
|
ACH: :ACH
|
|
119
121
|
WIRE: :WIRE
|
|
122
|
+
STABLECOIN: :STABLECOIN
|
|
120
123
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
121
124
|
FEE: :FEE
|
|
122
125
|
REWARD: :REWARD
|
|
@@ -137,6 +140,7 @@ module Lithic
|
|
|
137
140
|
MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
|
|
138
141
|
HOLD: :HOLD
|
|
139
142
|
PROGRAM_FUNDING: :PROGRAM_FUNDING
|
|
143
|
+
PROGRAM_TRANSFER: :PROGRAM_TRANSFER
|
|
140
144
|
|
|
141
145
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::category]
|
|
142
146
|
end
|
|
@@ -71,12 +71,13 @@ module Lithic
|
|
|
71
71
|
type: Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::type_
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
type scope = :FINANCIAL_ACCOUNT
|
|
74
|
+
type scope = :FINANCIAL_ACCOUNT | :PROGRAM
|
|
75
75
|
|
|
76
76
|
module Scope
|
|
77
77
|
extend Lithic::Internal::Type::Enum
|
|
78
78
|
|
|
79
79
|
FINANCIAL_ACCOUNT: :FINANCIAL_ACCOUNT
|
|
80
|
+
PROGRAM: :PROGRAM
|
|
80
81
|
|
|
81
82
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::scope]
|
|
82
83
|
end
|
|
@@ -71,13 +71,14 @@ module Lithic
|
|
|
71
71
|
type: Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::type_
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
type scope = :CARD | :ACCOUNT
|
|
74
|
+
type scope = :CARD | :ACCOUNT | :PROGRAM
|
|
75
75
|
|
|
76
76
|
module Scope
|
|
77
77
|
extend Lithic::Internal::Type::Enum
|
|
78
78
|
|
|
79
79
|
CARD: :CARD
|
|
80
80
|
ACCOUNT: :ACCOUNT
|
|
81
|
+
PROGRAM: :PROGRAM
|
|
81
82
|
|
|
82
83
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::CardTransactionUpdateAction::CreateCaseAction::scope]
|
|
83
84
|
end
|
|
@@ -273,6 +273,7 @@ module Lithic
|
|
|
273
273
|
| :TRANSACTION_AMOUNT
|
|
274
274
|
| :SEC_CODE
|
|
275
275
|
| :MEMO
|
|
276
|
+
| :RECIPIENT_NAME
|
|
276
277
|
|
|
277
278
|
module Attribute
|
|
278
279
|
extend Lithic::Internal::Type::Enum
|
|
@@ -283,6 +284,7 @@ module Lithic
|
|
|
283
284
|
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
|
284
285
|
SEC_CODE: :SEC_CODE
|
|
285
286
|
MEMO: :MEMO
|
|
287
|
+
RECIPIENT_NAME: :RECIPIENT_NAME
|
|
286
288
|
|
|
287
289
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition::attribute]
|
|
288
290
|
end
|
|
@@ -1078,13 +1078,14 @@ module Lithic
|
|
|
1078
1078
|
explanation: String
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
-
type scope = :CARD | :ACCOUNT
|
|
1081
|
+
type scope = :CARD | :ACCOUNT | :PROGRAM
|
|
1082
1082
|
|
|
1083
1083
|
module Scope
|
|
1084
1084
|
extend Lithic::Internal::Type::Enum
|
|
1085
1085
|
|
|
1086
1086
|
CARD: :CARD
|
|
1087
1087
|
ACCOUNT: :ACCOUNT
|
|
1088
|
+
PROGRAM: :PROGRAM
|
|
1088
1089
|
|
|
1089
1090
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListResultsResponse::CardTransactionUpdateResult::Action::CreateCaseAction::scope]
|
|
1090
1091
|
end
|
|
@@ -1255,12 +1256,13 @@ module Lithic
|
|
|
1255
1256
|
explanation: String
|
|
1256
1257
|
}
|
|
1257
1258
|
|
|
1258
|
-
type scope = :FINANCIAL_ACCOUNT
|
|
1259
|
+
type scope = :FINANCIAL_ACCOUNT | :PROGRAM
|
|
1259
1260
|
|
|
1260
1261
|
module Scope
|
|
1261
1262
|
extend Lithic::Internal::Type::Enum
|
|
1262
1263
|
|
|
1263
1264
|
FINANCIAL_ACCOUNT: :FINANCIAL_ACCOUNT
|
|
1265
|
+
PROGRAM: :PROGRAM
|
|
1264
1266
|
|
|
1265
1267
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListResultsResponse::ACHPaymentUpdateResult::Action::CreateCaseAction::scope]
|
|
1266
1268
|
end
|
|
@@ -7,6 +7,8 @@ module Lithic
|
|
|
7
7
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
|
8
8
|
filters: Lithic::AuthRules::VelocityLimitFilters,
|
|
9
9
|
limit_amount: Integer?,
|
|
10
|
+
limit_cash_amount: Integer?,
|
|
11
|
+
limit_cash_count: Integer?,
|
|
10
12
|
limit_count: Integer?
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -23,6 +25,10 @@ module Lithic
|
|
|
23
25
|
|
|
24
26
|
attr_accessor limit_amount: Integer?
|
|
25
27
|
|
|
28
|
+
attr_accessor limit_cash_amount: Integer?
|
|
29
|
+
|
|
30
|
+
attr_accessor limit_cash_count: Integer?
|
|
31
|
+
|
|
26
32
|
attr_accessor limit_count: Integer?
|
|
27
33
|
|
|
28
34
|
def initialize: (
|
|
@@ -30,6 +36,8 @@ module Lithic
|
|
|
30
36
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
|
31
37
|
?filters: Lithic::AuthRules::VelocityLimitFilters,
|
|
32
38
|
?limit_amount: Integer?,
|
|
39
|
+
?limit_cash_amount: Integer?,
|
|
40
|
+
?limit_cash_count: Integer?,
|
|
33
41
|
?limit_count: Integer?
|
|
34
42
|
) -> void
|
|
35
43
|
|
|
@@ -38,6 +46,8 @@ module Lithic
|
|
|
38
46
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
|
39
47
|
filters: Lithic::AuthRules::VelocityLimitFilters,
|
|
40
48
|
limit_amount: Integer?,
|
|
49
|
+
limit_cash_amount: Integer?,
|
|
50
|
+
limit_cash_count: Integer?,
|
|
41
51
|
limit_count: Integer?
|
|
42
52
|
}
|
|
43
53
|
|