lithic 0.1.0 → 0.3.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 +51 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +9 -10
- data/lib/lithic/errors.rb +15 -0
- data/lib/lithic/internal/transport/pooled_net_requester.rb +12 -10
- data/lib/lithic/internal/util.rb +7 -2
- data/lib/lithic/models/account_holder_created_webhook_event.rb +75 -0
- data/lib/lithic/models/account_holder_document_updated_webhook_event.rb +191 -0
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +702 -0
- data/lib/lithic/models/account_holder_verification_webhook_event.rb +69 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +5 -0
- data/lib/lithic/models/auth_rules_backtest_report_created_webhook_event.rb +16 -0
- data/lib/lithic/models/balance_updated_webhook_event.rb +23 -0
- data/lib/lithic/models/book_transfer_retry_params.rb +26 -0
- data/lib/lithic/models/book_transfer_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/book_transfer_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +1032 -0
- data/lib/lithic/models/card_converted_webhook_event.rb +24 -0
- data/lib/lithic/models/card_created_webhook_event.rb +32 -0
- data/lib/lithic/models/card_reissued_webhook_event.rb +24 -0
- data/lib/lithic/models/card_renewed_webhook_event.rb +56 -0
- data/lib/lithic/models/card_shipped_webhook_event.rb +70 -0
- data/lib/lithic/models/card_transaction_enhanced_data_created_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +253 -0
- data/lib/lithic/models/digital_wallet_tokenization_result_webhook_event.rb +145 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/digital_wallet_tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/dispute_evidence_upload_failed_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/external_bank_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_bank_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_create_params.rb +15 -1
- data/lib/lithic/models/external_payment_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account.rb +33 -25
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +52 -3
- data/lib/lithic/models/funding_event_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_created_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -1
- data/lib/lithic/models/management_operation_created_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_created_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/parsed_webhook_event.rb +817 -0
- data/lib/lithic/models/payment.rb +10 -1
- data/lib/lithic/models/payment_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/payment_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/settlement_report_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/statements_created_webhook_event.rb +16 -0
- data/lib/lithic/models/three_ds_authentication_approval_request_webhook_event.rb +17 -0
- data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +89 -0
- data/lib/lithic/models/three_ds_authentication_created_webhook_event.rb +18 -0
- data/lib/lithic/models/three_ds_authentication_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +249 -0
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +159 -0
- data/lib/lithic/models/tokenization_result_webhook_event.rb +141 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/transaction.rb +2 -0
- 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/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +130 -4
- data/lib/lithic/resources/book_transfers.rb +27 -0
- data/lib/lithic/resources/cards.rb +1 -5
- data/lib/lithic/resources/external_payments.rb +13 -1
- data/lib/lithic/resources/financial_accounts.rb +3 -1
- data/lib/lithic/resources/management_operations.rb +4 -1
- data/lib/lithic/resources/transfer_limits.rb +37 -0
- data/lib/lithic/resources/webhooks.rb +88 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +79 -23
- data/rbi/lithic/client.rbi +6 -3
- data/rbi/lithic/models/account_holder_created_webhook_event.rbi +149 -0
- data/rbi/lithic/models/account_holder_document_updated_webhook_event.rbi +479 -0
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +1274 -0
- data/rbi/lithic/models/account_holder_verification_webhook_event.rbi +143 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +11 -0
- data/rbi/lithic/models/auth_rules_backtest_report_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/balance_updated_webhook_event.rbi +43 -0
- data/rbi/lithic/models/book_transfer_retry_params.rbi +42 -0
- data/rbi/lithic/models/book_transfer_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/book_transfer_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +2367 -0
- data/rbi/lithic/models/card_converted_webhook_event.rbi +35 -0
- data/rbi/lithic/models/card_created_webhook_event.rbi +53 -0
- data/rbi/lithic/models/card_reissued_webhook_event.rbi +38 -0
- data/rbi/lithic/models/card_renewed_webhook_event.rbi +92 -0
- data/rbi/lithic/models/card_shipped_webhook_event.rbi +150 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +2 -2
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/digital_wallet_tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/dispute_evidence_upload_failed_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_updated_webhook_event.rbi +28 -0
- data/rbi/lithic/models/external_bank_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +4 -0
- data/rbi/lithic/models/external_payment_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account.rbi +62 -54
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +93 -4
- data/rbi/lithic/models/funding_event_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction.rbi +15 -10
- data/rbi/lithic/models/internal_transaction_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/loan_tape_created_webhook_event.rbi +27 -0
- data/rbi/lithic/models/loan_tape_updated_webhook_event.rbi +27 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +4 -0
- data/rbi/lithic/models/management_operation_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/management_operation_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1310 -0
- data/rbi/lithic/models/payment.rbi +13 -3
- data/rbi/lithic/models/payment_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/payment_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/settlement_report_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/statements_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/three_ds_authentication_approval_request_webhook_event.rbi +27 -0
- data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +175 -0
- data/rbi/lithic/models/three_ds_authentication_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/three_ds_authentication_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +333 -0
- data/rbi/lithic/models/tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/transaction.rbi +10 -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/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +165 -4
- data/rbi/lithic/resources/book_transfers.rbi +18 -0
- data/rbi/lithic/resources/cards.rbi +1 -4
- data/rbi/lithic/resources/external_payments.rbi +2 -0
- data/rbi/lithic/resources/financial_accounts.rbi +3 -0
- data/rbi/lithic/resources/management_operations.rbi +2 -0
- data/rbi/lithic/resources/transfer_limits.rbi +28 -0
- data/rbi/lithic/resources/webhooks.rbi +36 -0
- data/sig/lithic/client.rbs +4 -2
- data/sig/lithic/models/account_holder_created_webhook_event.rbs +77 -0
- data/sig/lithic/models/account_holder_document_updated_webhook_event.rbs +219 -0
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +587 -0
- data/sig/lithic/models/account_holder_verification_webhook_event.rbs +69 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules_backtest_report_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/balance_updated_webhook_event.rbs +25 -0
- data/sig/lithic/models/book_transfer_retry_params.rbs +23 -0
- data/sig/lithic/models/book_transfer_transaction_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/book_transfer_transaction_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +886 -0
- data/sig/lithic/models/card_converted_webhook_event.rbs +19 -0
- data/sig/lithic/models/card_created_webhook_event.rbs +30 -0
- data/sig/lithic/models/card_reissued_webhook_event.rbs +21 -0
- data/sig/lithic/models/card_renewed_webhook_event.rbs +55 -0
- data/sig/lithic/models/card_shipped_webhook_event.rbs +71 -0
- data/sig/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/digital_wallet_tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/dispute_evidence_upload_failed_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/external_bank_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_bank_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account.rbs +32 -27
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +8 -1
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +46 -4
- data/sig/lithic/models/funding_event_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/internal_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/internal_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/loan_tape_created_webhook_event.rbs +15 -0
- data/sig/lithic/models/loan_tape_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/management_operation_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/management_operation_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/network_total_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/network_total_updated_webhook_event.rbs +16 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +641 -0
- data/sig/lithic/models/payment.rbs +10 -3
- data/sig/lithic/models/payment_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/payment_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/settlement_report_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/statements_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/three_ds_authentication_approval_request_webhook_event.rbs +22 -0
- data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +72 -0
- data/sig/lithic/models/three_ds_authentication_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/three_ds_authentication_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +134 -0
- data/sig/lithic/models/tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- 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/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +120 -4
- data/sig/lithic/resources/book_transfers.rbs +6 -0
- data/sig/lithic/resources/cards.rbs +0 -2
- data/sig/lithic/resources/financial_accounts.rbs +1 -0
- data/sig/lithic/resources/transfer_limits.rbs +12 -0
- data/sig/lithic/resources/webhooks.rbs +21 -0
- metadata +188 -20
- 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
data/rbi/lithic/models.rbi
CHANGED
|
@@ -12,8 +12,14 @@ module Lithic
|
|
|
12
12
|
|
|
13
13
|
AccountHolder = Lithic::Models::AccountHolder
|
|
14
14
|
|
|
15
|
+
AccountHolderCreatedWebhookEvent =
|
|
16
|
+
Lithic::Models::AccountHolderCreatedWebhookEvent
|
|
17
|
+
|
|
15
18
|
AccountHolderCreateParams = Lithic::Models::AccountHolderCreateParams
|
|
16
19
|
|
|
20
|
+
AccountHolderDocumentUpdatedWebhookEvent =
|
|
21
|
+
Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent
|
|
22
|
+
|
|
17
23
|
AccountHolderListDocumentsParams =
|
|
18
24
|
Lithic::Models::AccountHolderListDocumentsParams
|
|
19
25
|
|
|
@@ -30,11 +36,17 @@ module Lithic
|
|
|
30
36
|
AccountHolderSimulateEnrollmentReviewParams =
|
|
31
37
|
Lithic::Models::AccountHolderSimulateEnrollmentReviewParams
|
|
32
38
|
|
|
39
|
+
AccountHolderUpdatedWebhookEvent =
|
|
40
|
+
Lithic::Models::AccountHolderUpdatedWebhookEvent
|
|
41
|
+
|
|
33
42
|
AccountHolderUpdateParams = Lithic::Models::AccountHolderUpdateParams
|
|
34
43
|
|
|
35
44
|
AccountHolderUploadDocumentParams =
|
|
36
45
|
Lithic::Models::AccountHolderUploadDocumentParams
|
|
37
46
|
|
|
47
|
+
AccountHolderVerificationWebhookEvent =
|
|
48
|
+
Lithic::Models::AccountHolderVerificationWebhookEvent
|
|
49
|
+
|
|
38
50
|
AccountListParams = Lithic::Models::AccountListParams
|
|
39
51
|
|
|
40
52
|
AccountRetrieveParams = Lithic::Models::AccountRetrieveParams
|
|
@@ -50,14 +62,13 @@ module Lithic
|
|
|
50
62
|
|
|
51
63
|
AddressUpdate = Lithic::Models::AddressUpdate
|
|
52
64
|
|
|
53
|
-
AggregateBalance = Lithic::Models::AggregateBalance
|
|
54
|
-
|
|
55
|
-
AggregateBalanceListParams = Lithic::Models::AggregateBalanceListParams
|
|
56
|
-
|
|
57
65
|
APIStatus = Lithic::Models::APIStatus
|
|
58
66
|
|
|
59
67
|
AuthRules = Lithic::Models::AuthRules
|
|
60
68
|
|
|
69
|
+
AuthRulesBacktestReportCreatedWebhookEvent =
|
|
70
|
+
Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent
|
|
71
|
+
|
|
61
72
|
AuthStreamEnrollmentRetrieveSecretParams =
|
|
62
73
|
Lithic::Models::AuthStreamEnrollmentRetrieveSecretParams
|
|
63
74
|
|
|
@@ -70,6 +81,8 @@ module Lithic
|
|
|
70
81
|
|
|
71
82
|
BalanceListParams = Lithic::Models::BalanceListParams
|
|
72
83
|
|
|
84
|
+
BalanceUpdatedWebhookEvent = Lithic::Models::BalanceUpdatedWebhookEvent
|
|
85
|
+
|
|
73
86
|
BookTransferCreateParams = Lithic::Models::BookTransferCreateParams
|
|
74
87
|
|
|
75
88
|
BookTransferListParams = Lithic::Models::BookTransferListParams
|
|
@@ -78,10 +91,21 @@ module Lithic
|
|
|
78
91
|
|
|
79
92
|
BookTransferRetrieveParams = Lithic::Models::BookTransferRetrieveParams
|
|
80
93
|
|
|
94
|
+
BookTransferRetryParams = Lithic::Models::BookTransferRetryParams
|
|
95
|
+
|
|
81
96
|
BookTransferReverseParams = Lithic::Models::BookTransferReverseParams
|
|
82
97
|
|
|
98
|
+
BookTransferTransactionCreatedWebhookEvent =
|
|
99
|
+
Lithic::Models::BookTransferTransactionCreatedWebhookEvent
|
|
100
|
+
|
|
101
|
+
BookTransferTransactionUpdatedWebhookEvent =
|
|
102
|
+
Lithic::Models::BookTransferTransactionUpdatedWebhookEvent
|
|
103
|
+
|
|
83
104
|
Card = Lithic::Models::Card
|
|
84
105
|
|
|
106
|
+
CardAuthorizationApprovalRequestWebhookEvent =
|
|
107
|
+
Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent
|
|
108
|
+
|
|
85
109
|
CardBulkOrder = Lithic::Models::CardBulkOrder
|
|
86
110
|
|
|
87
111
|
CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
|
|
@@ -92,8 +116,12 @@ module Lithic
|
|
|
92
116
|
|
|
93
117
|
CardBulkOrderUpdateParams = Lithic::Models::CardBulkOrderUpdateParams
|
|
94
118
|
|
|
119
|
+
CardConvertedWebhookEvent = Lithic::Models::CardConvertedWebhookEvent
|
|
120
|
+
|
|
95
121
|
CardConvertPhysicalParams = Lithic::Models::CardConvertPhysicalParams
|
|
96
122
|
|
|
123
|
+
CardCreatedWebhookEvent = Lithic::Models::CardCreatedWebhookEvent
|
|
124
|
+
|
|
97
125
|
CardCreateParams = Lithic::Models::CardCreateParams
|
|
98
126
|
|
|
99
127
|
CardEmbedParams = Lithic::Models::CardEmbedParams
|
|
@@ -110,8 +138,12 @@ module Lithic
|
|
|
110
138
|
|
|
111
139
|
CardProvisionParams = Lithic::Models::CardProvisionParams
|
|
112
140
|
|
|
141
|
+
CardReissuedWebhookEvent = Lithic::Models::CardReissuedWebhookEvent
|
|
142
|
+
|
|
113
143
|
CardReissueParams = Lithic::Models::CardReissueParams
|
|
114
144
|
|
|
145
|
+
CardRenewedWebhookEvent = Lithic::Models::CardRenewedWebhookEvent
|
|
146
|
+
|
|
115
147
|
CardRenewParams = Lithic::Models::CardRenewParams
|
|
116
148
|
|
|
117
149
|
CardRetrieveParams = Lithic::Models::CardRetrieveParams
|
|
@@ -122,8 +154,19 @@ module Lithic
|
|
|
122
154
|
|
|
123
155
|
CardSearchByPanParams = Lithic::Models::CardSearchByPanParams
|
|
124
156
|
|
|
157
|
+
CardShippedWebhookEvent = Lithic::Models::CardShippedWebhookEvent
|
|
158
|
+
|
|
125
159
|
CardSpendLimits = Lithic::Models::CardSpendLimits
|
|
126
160
|
|
|
161
|
+
CardTransactionEnhancedDataCreatedWebhookEvent =
|
|
162
|
+
Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent
|
|
163
|
+
|
|
164
|
+
CardTransactionEnhancedDataUpdatedWebhookEvent =
|
|
165
|
+
Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent
|
|
166
|
+
|
|
167
|
+
CardTransactionUpdatedWebhookEvent =
|
|
168
|
+
Lithic::Models::CardTransactionUpdatedWebhookEvent
|
|
169
|
+
|
|
127
170
|
CardUpdateParams = Lithic::Models::CardUpdateParams
|
|
128
171
|
|
|
129
172
|
CardWebProvisionParams = Lithic::Models::CardWebProvisionParams
|
|
@@ -146,6 +189,21 @@ module Lithic
|
|
|
146
189
|
|
|
147
190
|
DigitalCardArtRetrieveParams = Lithic::Models::DigitalCardArtRetrieveParams
|
|
148
191
|
|
|
192
|
+
DigitalWalletTokenizationApprovalRequestWebhookEvent =
|
|
193
|
+
Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent
|
|
194
|
+
|
|
195
|
+
DigitalWalletTokenizationResultWebhookEvent =
|
|
196
|
+
Lithic::Models::DigitalWalletTokenizationResultWebhookEvent
|
|
197
|
+
|
|
198
|
+
DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent =
|
|
199
|
+
Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
200
|
+
|
|
201
|
+
DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent =
|
|
202
|
+
Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
203
|
+
|
|
204
|
+
DigitalWalletTokenizationUpdatedWebhookEvent =
|
|
205
|
+
Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent
|
|
206
|
+
|
|
149
207
|
DigitalWalletTokenMetadata = Lithic::Models::DigitalWalletTokenMetadata
|
|
150
208
|
|
|
151
209
|
Dispute = Lithic::Models::Dispute
|
|
@@ -158,6 +216,9 @@ module Lithic
|
|
|
158
216
|
|
|
159
217
|
DisputeEvidence = Lithic::Models::DisputeEvidence
|
|
160
218
|
|
|
219
|
+
DisputeEvidenceUploadFailedWebhookEvent =
|
|
220
|
+
Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent
|
|
221
|
+
|
|
161
222
|
DisputeInitiateEvidenceUploadParams =
|
|
162
223
|
Lithic::Models::DisputeInitiateEvidenceUploadParams
|
|
163
224
|
|
|
@@ -173,6 +234,14 @@ module Lithic
|
|
|
173
234
|
|
|
174
235
|
DisputesV2RetrieveParams = Lithic::Models::DisputesV2RetrieveParams
|
|
175
236
|
|
|
237
|
+
DisputeTransactionCreatedWebhookEvent =
|
|
238
|
+
Lithic::Models::DisputeTransactionCreatedWebhookEvent
|
|
239
|
+
|
|
240
|
+
DisputeTransactionUpdatedWebhookEvent =
|
|
241
|
+
Lithic::Models::DisputeTransactionUpdatedWebhookEvent
|
|
242
|
+
|
|
243
|
+
DisputeUpdatedWebhookEvent = Lithic::Models::DisputeUpdatedWebhookEvent
|
|
244
|
+
|
|
176
245
|
DisputeUpdateParams = Lithic::Models::DisputeUpdateParams
|
|
177
246
|
|
|
178
247
|
DisputeV2 = Lithic::Models::DisputeV2
|
|
@@ -195,6 +264,9 @@ module Lithic
|
|
|
195
264
|
|
|
196
265
|
ExternalBankAccountAddress = Lithic::Models::ExternalBankAccountAddress
|
|
197
266
|
|
|
267
|
+
ExternalBankAccountCreatedWebhookEvent =
|
|
268
|
+
Lithic::Models::ExternalBankAccountCreatedWebhookEvent
|
|
269
|
+
|
|
198
270
|
ExternalBankAccountCreateParams =
|
|
199
271
|
Lithic::Models::ExternalBankAccountCreateParams
|
|
200
272
|
|
|
@@ -214,6 +286,9 @@ module Lithic
|
|
|
214
286
|
ExternalBankAccountUnpauseParams =
|
|
215
287
|
Lithic::Models::ExternalBankAccountUnpauseParams
|
|
216
288
|
|
|
289
|
+
ExternalBankAccountUpdatedWebhookEvent =
|
|
290
|
+
Lithic::Models::ExternalBankAccountUpdatedWebhookEvent
|
|
291
|
+
|
|
217
292
|
ExternalBankAccountUpdateParams =
|
|
218
293
|
Lithic::Models::ExternalBankAccountUpdateParams
|
|
219
294
|
|
|
@@ -221,6 +296,9 @@ module Lithic
|
|
|
221
296
|
|
|
222
297
|
ExternalPaymentCancelParams = Lithic::Models::ExternalPaymentCancelParams
|
|
223
298
|
|
|
299
|
+
ExternalPaymentCreatedWebhookEvent =
|
|
300
|
+
Lithic::Models::ExternalPaymentCreatedWebhookEvent
|
|
301
|
+
|
|
224
302
|
ExternalPaymentCreateParams = Lithic::Models::ExternalPaymentCreateParams
|
|
225
303
|
|
|
226
304
|
ExternalPaymentListParams = Lithic::Models::ExternalPaymentListParams
|
|
@@ -233,6 +311,9 @@ module Lithic
|
|
|
233
311
|
|
|
234
312
|
ExternalPaymentSettleParams = Lithic::Models::ExternalPaymentSettleParams
|
|
235
313
|
|
|
314
|
+
ExternalPaymentUpdatedWebhookEvent =
|
|
315
|
+
Lithic::Models::ExternalPaymentUpdatedWebhookEvent
|
|
316
|
+
|
|
236
317
|
ExternalResource = Lithic::Models::ExternalResource
|
|
237
318
|
|
|
238
319
|
ExternalResourceType = Lithic::Models::ExternalResourceType
|
|
@@ -241,6 +322,9 @@ module Lithic
|
|
|
241
322
|
|
|
242
323
|
FinancialAccountBalance = Lithic::Models::FinancialAccountBalance
|
|
243
324
|
|
|
325
|
+
FinancialAccountCreatedWebhookEvent =
|
|
326
|
+
Lithic::Models::FinancialAccountCreatedWebhookEvent
|
|
327
|
+
|
|
244
328
|
FinancialAccountCreateParams = Lithic::Models::FinancialAccountCreateParams
|
|
245
329
|
|
|
246
330
|
FinancialAccountListParams = Lithic::Models::FinancialAccountListParams
|
|
@@ -253,6 +337,9 @@ module Lithic
|
|
|
253
337
|
|
|
254
338
|
FinancialAccounts = Lithic::Models::FinancialAccounts
|
|
255
339
|
|
|
340
|
+
FinancialAccountUpdatedWebhookEvent =
|
|
341
|
+
Lithic::Models::FinancialAccountUpdatedWebhookEvent
|
|
342
|
+
|
|
256
343
|
FinancialAccountUpdateParams = Lithic::Models::FinancialAccountUpdateParams
|
|
257
344
|
|
|
258
345
|
FinancialAccountUpdateStatusParams =
|
|
@@ -266,6 +353,9 @@ module Lithic
|
|
|
266
353
|
|
|
267
354
|
FundingEvent = Lithic::Models::FundingEvent
|
|
268
355
|
|
|
356
|
+
FundingEventCreatedWebhookEvent =
|
|
357
|
+
Lithic::Models::FundingEventCreatedWebhookEvent
|
|
358
|
+
|
|
269
359
|
FundingEventListParams = Lithic::Models::FundingEventListParams
|
|
270
360
|
|
|
271
361
|
FundingEventRetrieveDetailsParams =
|
|
@@ -277,6 +367,12 @@ module Lithic
|
|
|
277
367
|
|
|
278
368
|
InternalTransactionAPI = Lithic::Models::InternalTransactionAPI
|
|
279
369
|
|
|
370
|
+
InternalTransactionCreatedWebhookEvent =
|
|
371
|
+
Lithic::Models::InternalTransactionCreatedWebhookEvent
|
|
372
|
+
|
|
373
|
+
InternalTransactionUpdatedWebhookEvent =
|
|
374
|
+
Lithic::Models::InternalTransactionUpdatedWebhookEvent
|
|
375
|
+
|
|
280
376
|
KYB = Lithic::Models::KYB
|
|
281
377
|
|
|
282
378
|
KYBBusinessEntity = Lithic::Models::KYBBusinessEntity
|
|
@@ -285,6 +381,13 @@ module Lithic
|
|
|
285
381
|
|
|
286
382
|
KYCExempt = Lithic::Models::KYCExempt
|
|
287
383
|
|
|
384
|
+
LoanTapeCreatedWebhookEvent = Lithic::Models::LoanTapeCreatedWebhookEvent
|
|
385
|
+
|
|
386
|
+
LoanTapeUpdatedWebhookEvent = Lithic::Models::LoanTapeUpdatedWebhookEvent
|
|
387
|
+
|
|
388
|
+
ManagementOperationCreatedWebhookEvent =
|
|
389
|
+
Lithic::Models::ManagementOperationCreatedWebhookEvent
|
|
390
|
+
|
|
288
391
|
ManagementOperationCreateParams =
|
|
289
392
|
Lithic::Models::ManagementOperationCreateParams
|
|
290
393
|
|
|
@@ -299,6 +402,9 @@ module Lithic
|
|
|
299
402
|
ManagementOperationTransaction =
|
|
300
403
|
Lithic::Models::ManagementOperationTransaction
|
|
301
404
|
|
|
405
|
+
ManagementOperationUpdatedWebhookEvent =
|
|
406
|
+
Lithic::Models::ManagementOperationUpdatedWebhookEvent
|
|
407
|
+
|
|
302
408
|
Merchant = Lithic::Models::Merchant
|
|
303
409
|
|
|
304
410
|
MessageAttempt = Lithic::Models::MessageAttempt
|
|
@@ -311,10 +417,18 @@ module Lithic
|
|
|
311
417
|
|
|
312
418
|
NetworkTotal = Lithic::Models::NetworkTotal
|
|
313
419
|
|
|
420
|
+
NetworkTotalCreatedWebhookEvent =
|
|
421
|
+
Lithic::Models::NetworkTotalCreatedWebhookEvent
|
|
422
|
+
|
|
423
|
+
NetworkTotalUpdatedWebhookEvent =
|
|
424
|
+
Lithic::Models::NetworkTotalUpdatedWebhookEvent
|
|
425
|
+
|
|
314
426
|
NonPCICard = Lithic::Models::NonPCICard
|
|
315
427
|
|
|
316
428
|
OwnerType = Lithic::Models::OwnerType
|
|
317
429
|
|
|
430
|
+
ParsedWebhookEvent = Lithic::Models::ParsedWebhookEvent
|
|
431
|
+
|
|
318
432
|
Payment = Lithic::Models::Payment
|
|
319
433
|
|
|
320
434
|
PaymentCreateParams = Lithic::Models::PaymentCreateParams
|
|
@@ -335,6 +449,12 @@ module Lithic
|
|
|
335
449
|
|
|
336
450
|
PaymentSimulateReturnParams = Lithic::Models::PaymentSimulateReturnParams
|
|
337
451
|
|
|
452
|
+
PaymentTransactionCreatedWebhookEvent =
|
|
453
|
+
Lithic::Models::PaymentTransactionCreatedWebhookEvent
|
|
454
|
+
|
|
455
|
+
PaymentTransactionUpdatedWebhookEvent =
|
|
456
|
+
Lithic::Models::PaymentTransactionUpdatedWebhookEvent
|
|
457
|
+
|
|
338
458
|
ProvisionResponse = Lithic::Models::ProvisionResponse
|
|
339
459
|
|
|
340
460
|
Reports = Lithic::Models::Reports
|
|
@@ -354,26 +474,49 @@ module Lithic
|
|
|
354
474
|
|
|
355
475
|
SettlementReport = Lithic::Models::SettlementReport
|
|
356
476
|
|
|
477
|
+
SettlementReportUpdatedWebhookEvent =
|
|
478
|
+
Lithic::Models::SettlementReportUpdatedWebhookEvent
|
|
479
|
+
|
|
357
480
|
SettlementSummaryDetails = Lithic::Models::SettlementSummaryDetails
|
|
358
481
|
|
|
359
482
|
ShippingAddress = Lithic::Models::ShippingAddress
|
|
360
483
|
|
|
361
484
|
SpendLimitDuration = Lithic::Models::SpendLimitDuration
|
|
362
485
|
|
|
486
|
+
StatementsCreatedWebhookEvent = Lithic::Models::StatementsCreatedWebhookEvent
|
|
487
|
+
|
|
363
488
|
StatementTotals = Lithic::Models::StatementTotals
|
|
364
489
|
|
|
365
490
|
ThreeDS = Lithic::Models::ThreeDS
|
|
366
491
|
|
|
367
492
|
ThreeDSAuthentication = Lithic::Models::ThreeDSAuthentication
|
|
368
493
|
|
|
494
|
+
ThreeDSAuthenticationApprovalRequestWebhookEvent =
|
|
495
|
+
Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent
|
|
496
|
+
|
|
497
|
+
ThreeDSAuthenticationChallengeWebhookEvent =
|
|
498
|
+
Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent
|
|
499
|
+
|
|
500
|
+
ThreeDSAuthenticationCreatedWebhookEvent =
|
|
501
|
+
Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent
|
|
502
|
+
|
|
503
|
+
ThreeDSAuthenticationUpdatedWebhookEvent =
|
|
504
|
+
Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent
|
|
505
|
+
|
|
369
506
|
TokenInfo = Lithic::Models::TokenInfo
|
|
370
507
|
|
|
371
508
|
Tokenization = Lithic::Models::Tokenization
|
|
372
509
|
|
|
373
510
|
TokenizationActivateParams = Lithic::Models::TokenizationActivateParams
|
|
374
511
|
|
|
512
|
+
TokenizationApprovalRequestWebhookEvent =
|
|
513
|
+
Lithic::Models::TokenizationApprovalRequestWebhookEvent
|
|
514
|
+
|
|
375
515
|
TokenizationDeactivateParams = Lithic::Models::TokenizationDeactivateParams
|
|
376
516
|
|
|
517
|
+
TokenizationDecisioningRequestWebhookEvent =
|
|
518
|
+
Lithic::Models::TokenizationDecisioningRequestWebhookEvent
|
|
519
|
+
|
|
377
520
|
TokenizationDecisioningRetrieveSecretParams =
|
|
378
521
|
Lithic::Models::TokenizationDecisioningRetrieveSecretParams
|
|
379
522
|
|
|
@@ -389,6 +532,9 @@ module Lithic
|
|
|
389
532
|
TokenizationResendActivationCodeParams =
|
|
390
533
|
Lithic::Models::TokenizationResendActivationCodeParams
|
|
391
534
|
|
|
535
|
+
TokenizationResultWebhookEvent =
|
|
536
|
+
Lithic::Models::TokenizationResultWebhookEvent
|
|
537
|
+
|
|
392
538
|
TokenizationRetrieveParams = Lithic::Models::TokenizationRetrieveParams
|
|
393
539
|
|
|
394
540
|
TokenizationRuleResult = Lithic::Models::TokenizationRuleResult
|
|
@@ -399,11 +545,20 @@ module Lithic
|
|
|
399
545
|
|
|
400
546
|
TokenizationTfaReason = Lithic::Models::TokenizationTfaReason
|
|
401
547
|
|
|
548
|
+
TokenizationTwoFactorAuthenticationCodeSentWebhookEvent =
|
|
549
|
+
Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
550
|
+
|
|
551
|
+
TokenizationTwoFactorAuthenticationCodeWebhookEvent =
|
|
552
|
+
Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
553
|
+
|
|
402
554
|
TokenizationUnpauseParams = Lithic::Models::TokenizationUnpauseParams
|
|
403
555
|
|
|
404
556
|
TokenizationUpdateDigitalCardArtParams =
|
|
405
557
|
Lithic::Models::TokenizationUpdateDigitalCardArtParams
|
|
406
558
|
|
|
559
|
+
TokenizationUpdatedWebhookEvent =
|
|
560
|
+
Lithic::Models::TokenizationUpdatedWebhookEvent
|
|
561
|
+
|
|
407
562
|
Transaction = Lithic::Models::Transaction
|
|
408
563
|
|
|
409
564
|
TransactionExpireAuthorizationParams =
|
|
@@ -439,9 +594,15 @@ module Lithic
|
|
|
439
594
|
|
|
440
595
|
TransferCreateParams = Lithic::Models::TransferCreateParams
|
|
441
596
|
|
|
597
|
+
TransferLimitListParams = Lithic::Models::TransferLimitListParams
|
|
598
|
+
|
|
599
|
+
TransferLimitsResponse = Lithic::Models::TransferLimitsResponse
|
|
600
|
+
|
|
442
601
|
VerificationMethod = Lithic::Models::VerificationMethod
|
|
443
602
|
|
|
444
603
|
WalletDecisioningInfo = Lithic::Models::WalletDecisioningInfo
|
|
445
604
|
|
|
605
|
+
WebhookParsedParams = Lithic::Models::WebhookParsedParams
|
|
606
|
+
|
|
446
607
|
WirePartyDetails = Lithic::Models::WirePartyDetails
|
|
447
608
|
end
|
|
@@ -110,6 +110,24 @@ module Lithic
|
|
|
110
110
|
)
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
# Retry a book transfer that has been declined
|
|
114
|
+
sig do
|
|
115
|
+
params(
|
|
116
|
+
book_transfer_token: String,
|
|
117
|
+
retry_token: String,
|
|
118
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
119
|
+
).returns(Lithic::BookTransferResponse)
|
|
120
|
+
end
|
|
121
|
+
def retry_(
|
|
122
|
+
# Token of the book transfer to retry
|
|
123
|
+
book_transfer_token,
|
|
124
|
+
# Customer-provided token that will serve as an idempotency token. This token will
|
|
125
|
+
# become the transaction token.
|
|
126
|
+
retry_token:,
|
|
127
|
+
request_options: {}
|
|
128
|
+
)
|
|
129
|
+
end
|
|
130
|
+
|
|
113
131
|
# Reverse a book transfer
|
|
114
132
|
sig do
|
|
115
133
|
params(
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
module Lithic
|
|
4
4
|
module Resources
|
|
5
5
|
class Cards
|
|
6
|
-
sig { returns(Lithic::Resources::Cards::AggregateBalances) }
|
|
7
|
-
attr_reader :aggregate_balances
|
|
8
|
-
|
|
9
6
|
sig { returns(Lithic::Resources::Cards::Balances) }
|
|
10
7
|
attr_reader :balances
|
|
11
8
|
|
|
@@ -611,7 +608,7 @@ module Lithic
|
|
|
611
608
|
end
|
|
612
609
|
|
|
613
610
|
# Allow your cardholders to directly add payment cards to the device's digital
|
|
614
|
-
# wallet from a browser on the web.
|
|
611
|
+
# wallet from a browser on the web.
|
|
615
612
|
#
|
|
616
613
|
# This requires some additional setup and configuration. Please
|
|
617
614
|
# [Contact Us](https://lithic.com/contact) or your Customer Success representative
|
|
@@ -113,6 +113,7 @@ module Lithic
|
|
|
113
113
|
T.nilable(
|
|
114
114
|
Lithic::FinancialAccountUpdateStatusParams::Substatus::OrSymbol
|
|
115
115
|
),
|
|
116
|
+
user_defined_status: String,
|
|
116
117
|
request_options: Lithic::RequestOptions::OrHash
|
|
117
118
|
).returns(Lithic::FinancialAccount)
|
|
118
119
|
end
|
|
@@ -123,6 +124,8 @@ module Lithic
|
|
|
123
124
|
status:,
|
|
124
125
|
# Substatus for the financial account
|
|
125
126
|
substatus:,
|
|
127
|
+
# User-defined status for the financial account
|
|
128
|
+
user_defined_status: nil,
|
|
126
129
|
request_options: {}
|
|
127
130
|
)
|
|
128
131
|
end
|
|
@@ -30,6 +30,8 @@ module Lithic
|
|
|
30
30
|
effective_date:,
|
|
31
31
|
event_type:,
|
|
32
32
|
financial_account_token:,
|
|
33
|
+
# Customer-provided token that will serve as an idempotency token. This token will
|
|
34
|
+
# become the transaction token.
|
|
33
35
|
token: nil,
|
|
34
36
|
memo: nil,
|
|
35
37
|
# What to do if the financial account is closed when posting an operation
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Resources
|
|
5
|
+
class TransferLimits
|
|
6
|
+
# Get transfer limits for a specified date
|
|
7
|
+
sig do
|
|
8
|
+
params(
|
|
9
|
+
date: Date,
|
|
10
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
11
|
+
).returns(
|
|
12
|
+
Lithic::Internal::SinglePage[Lithic::TransferLimitsResponse::Data]
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
def list(
|
|
16
|
+
# Date for which to retrieve transfer limits (ISO 8601 format)
|
|
17
|
+
date: nil,
|
|
18
|
+
request_options: {}
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# @api private
|
|
23
|
+
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
24
|
+
def self.new(client:)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Resources
|
|
5
|
+
class Webhooks
|
|
6
|
+
sig do
|
|
7
|
+
params(
|
|
8
|
+
payload: String,
|
|
9
|
+
headers: T::Hash[String, String],
|
|
10
|
+
secret: T.nilable(String)
|
|
11
|
+
).returns(Lithic::ParsedWebhookEvent::Variants)
|
|
12
|
+
end
|
|
13
|
+
def parse(payload, headers:, secret: nil)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig { params(payload: String).returns(Lithic::ParsedWebhookEvent::Variants) }
|
|
17
|
+
def parse_unsafe(payload)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
sig do
|
|
21
|
+
params(
|
|
22
|
+
payload: String,
|
|
23
|
+
headers: T::Hash[String, String],
|
|
24
|
+
secret: T.nilable(String)
|
|
25
|
+
).returns(T::Hash[Symbol, T.untyped])
|
|
26
|
+
end
|
|
27
|
+
def verify_signature(payload:, headers:, secret: nil)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# @api private
|
|
31
|
+
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
32
|
+
def self.new(client:)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
data/sig/lithic/client.rbs
CHANGED
|
@@ -33,8 +33,6 @@ module Lithic
|
|
|
33
33
|
|
|
34
34
|
attr_reader balances: Lithic::Resources::Balances
|
|
35
35
|
|
|
36
|
-
attr_reader aggregate_balances: Lithic::Resources::AggregateBalances
|
|
37
|
-
|
|
38
36
|
attr_reader disputes: Lithic::Resources::Disputes
|
|
39
37
|
|
|
40
38
|
attr_reader disputes_v2: Lithic::Resources::DisputesV2
|
|
@@ -79,6 +77,10 @@ module Lithic
|
|
|
79
77
|
|
|
80
78
|
attr_reader account_activity: Lithic::Resources::AccountActivity
|
|
81
79
|
|
|
80
|
+
attr_reader transfer_limits: Lithic::Resources::TransferLimits
|
|
81
|
+
|
|
82
|
+
attr_reader webhooks: Lithic::Resources::Webhooks
|
|
83
|
+
|
|
82
84
|
def api_status: (
|
|
83
85
|
?request_options: Lithic::request_opts
|
|
84
86
|
) -> Lithic::APIStatus
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type account_holder_created_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
event_type: :"account_holder.created",
|
|
6
|
+
token: String,
|
|
7
|
+
account_token: String,
|
|
8
|
+
created: Time,
|
|
9
|
+
required_documents: ::Array[Lithic::RequiredDocument],
|
|
10
|
+
status: Lithic::Models::AccountHolderCreatedWebhookEvent::status,
|
|
11
|
+
status_reason: ::Array[String]
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class AccountHolderCreatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor event_type: :"account_holder.created"
|
|
16
|
+
|
|
17
|
+
attr_reader token: String?
|
|
18
|
+
|
|
19
|
+
def token=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader account_token: String?
|
|
22
|
+
|
|
23
|
+
def account_token=: (String) -> String
|
|
24
|
+
|
|
25
|
+
attr_reader created: Time?
|
|
26
|
+
|
|
27
|
+
def created=: (Time) -> Time
|
|
28
|
+
|
|
29
|
+
attr_reader required_documents: ::Array[Lithic::RequiredDocument]?
|
|
30
|
+
|
|
31
|
+
def required_documents=: (
|
|
32
|
+
::Array[Lithic::RequiredDocument]
|
|
33
|
+
) -> ::Array[Lithic::RequiredDocument]
|
|
34
|
+
|
|
35
|
+
attr_reader status: Lithic::Models::AccountHolderCreatedWebhookEvent::status?
|
|
36
|
+
|
|
37
|
+
def status=: (
|
|
38
|
+
Lithic::Models::AccountHolderCreatedWebhookEvent::status
|
|
39
|
+
) -> Lithic::Models::AccountHolderCreatedWebhookEvent::status
|
|
40
|
+
|
|
41
|
+
attr_reader status_reason: ::Array[String]?
|
|
42
|
+
|
|
43
|
+
def status_reason=: (::Array[String]) -> ::Array[String]
|
|
44
|
+
|
|
45
|
+
def initialize: (
|
|
46
|
+
?token: String,
|
|
47
|
+
?account_token: String,
|
|
48
|
+
?created: Time,
|
|
49
|
+
?required_documents: ::Array[Lithic::RequiredDocument],
|
|
50
|
+
?status: Lithic::Models::AccountHolderCreatedWebhookEvent::status,
|
|
51
|
+
?status_reason: ::Array[String],
|
|
52
|
+
?event_type: :"account_holder.created"
|
|
53
|
+
) -> void
|
|
54
|
+
|
|
55
|
+
def to_hash: -> {
|
|
56
|
+
event_type: :"account_holder.created",
|
|
57
|
+
token: String,
|
|
58
|
+
account_token: String,
|
|
59
|
+
created: Time,
|
|
60
|
+
required_documents: ::Array[Lithic::RequiredDocument],
|
|
61
|
+
status: Lithic::Models::AccountHolderCreatedWebhookEvent::status,
|
|
62
|
+
status_reason: ::Array[String]
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type status = :ACCEPTED | :PENDING_REVIEW
|
|
66
|
+
|
|
67
|
+
module Status
|
|
68
|
+
extend Lithic::Internal::Type::Enum
|
|
69
|
+
|
|
70
|
+
ACCEPTED: :ACCEPTED
|
|
71
|
+
PENDING_REVIEW: :PENDING_REVIEW
|
|
72
|
+
|
|
73
|
+
def self?.values: -> ::Array[Lithic::Models::AccountHolderCreatedWebhookEvent::status]
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|