lithic 0.1.0.pre.alpha.56 → 0.2.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 +46 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +12 -0
- data/lib/lithic/errors.rb +15 -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/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/asa_request_webhook_event.rb +1010 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_operation.rb +5 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +19 -2
- data/lib/lithic/models/auth_rules/conditional_value.rb +4 -1
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +3 -17
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -19
- 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_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_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_converted_webhook_event.rb +24 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_created_webhook_event.rb +32 -0
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_reissued_webhook_event.rb +24 -0
- data/lib/lithic/models/card_renew_params.rb +3 -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/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -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_unpause_response.rb → external_bank_account.rb} +15 -16
- 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.rb +12 -0
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_list_params.rb +2 -0
- data/lib/lithic/models/external_payment_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_accounts/statement.rb +9 -9
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +16 -0
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/funding_event_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction.rb +166 -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 -0
- data/lib/lithic/models/management_operation_created_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_transaction.rb +6 -0
- data/lib/lithic/models/management_operation_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total.rb +169 -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/non_pci_card.rb +10 -1
- data/lib/lithic/models/parsed_webhook_event.rb +818 -0
- data/lib/lithic/models/payment.rb +11 -1
- data/lib/lithic/models/payment_create_params.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.rb +1259 -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/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- 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_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_result_webhook_event.rb +141 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -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 +6 -174
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +158 -0
- data/lib/lithic/resources/auth_rules/v2.rb +17 -15
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/external_bank_accounts.rb +4 -4
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/resources/webhooks.rb +87 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +92 -29
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +9 -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/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/asa_request_webhook_event.rbi +2229 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +25 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +29 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +2 -1
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +4 -60
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -59
- 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_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_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_converted_webhook_event.rbi +35 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_created_webhook_event.rbi +53 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_reissued_webhook_event.rbi +38 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -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/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- 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_unpause_response.rbi → external_bank_account.rbi} +26 -75
- 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.rbi +57 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +9 -9
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +60 -0
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/funding_event_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction.rbi +282 -0
- 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 +30 -0
- data/rbi/lithic/models/management_operation_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +30 -0
- data/rbi/lithic/models/management_operation_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total.rbi +226 -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/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1310 -0
- data/rbi/lithic/models/payment.rbi +12 -0
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- 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.rbi +2432 -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/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- 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_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -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 +8 -410
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +193 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +15 -15
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/external_bank_accounts.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/rbi/lithic/resources/webhooks.rbi +158 -0
- data/sig/lithic/client.rbs +6 -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/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/asa_request_webhook_event.rbs +881 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -25
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -25
- 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_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_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_converted_webhook_event.rbs +19 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_created_webhook_event.rbs +30 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_reissued_webhook_event.rbs +21 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -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/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -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_unpause_response.rbs → external_bank_account.rbs} +17 -17
- 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.rbs +28 -1
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_list_params.rbs +8 -1
- data/sig/lithic/models/external_payment_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +12 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +32 -0
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/funding_event_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/internal_transaction.rbs +165 -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_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/management_operation_transaction.rbs +12 -0
- data/sig/lithic/models/management_operation_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/network_total.rbs +125 -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/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +641 -0
- data/sig/lithic/models/payment.rbs +9 -0
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- 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.rbs +911 -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/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- 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_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -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 +8 -140
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +150 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/external_bank_accounts.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- data/sig/lithic/resources/webhooks.rbs +135 -0
- metadata +241 -55
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -284
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -280
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +0 -242
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -518
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -525
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -528
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -522
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +0 -375
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -205
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -162
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
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
|
|
@@ -56,8 +68,13 @@ module Lithic
|
|
|
56
68
|
|
|
57
69
|
APIStatus = Lithic::Models::APIStatus
|
|
58
70
|
|
|
71
|
+
AsaRequestWebhookEvent = Lithic::Models::AsaRequestWebhookEvent
|
|
72
|
+
|
|
59
73
|
AuthRules = Lithic::Models::AuthRules
|
|
60
74
|
|
|
75
|
+
AuthRulesBacktestReportCreatedWebhookEvent =
|
|
76
|
+
Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent
|
|
77
|
+
|
|
61
78
|
AuthStreamEnrollmentRetrieveSecretParams =
|
|
62
79
|
Lithic::Models::AuthStreamEnrollmentRetrieveSecretParams
|
|
63
80
|
|
|
@@ -70,6 +87,8 @@ module Lithic
|
|
|
70
87
|
|
|
71
88
|
BalanceListParams = Lithic::Models::BalanceListParams
|
|
72
89
|
|
|
90
|
+
BalanceUpdatedWebhookEvent = Lithic::Models::BalanceUpdatedWebhookEvent
|
|
91
|
+
|
|
73
92
|
BookTransferCreateParams = Lithic::Models::BookTransferCreateParams
|
|
74
93
|
|
|
75
94
|
BookTransferListParams = Lithic::Models::BookTransferListParams
|
|
@@ -80,14 +99,36 @@ module Lithic
|
|
|
80
99
|
|
|
81
100
|
BookTransferReverseParams = Lithic::Models::BookTransferReverseParams
|
|
82
101
|
|
|
102
|
+
BookTransferTransactionCreatedWebhookEvent =
|
|
103
|
+
Lithic::Models::BookTransferTransactionCreatedWebhookEvent
|
|
104
|
+
|
|
105
|
+
BookTransferTransactionUpdatedWebhookEvent =
|
|
106
|
+
Lithic::Models::BookTransferTransactionUpdatedWebhookEvent
|
|
107
|
+
|
|
83
108
|
Card = Lithic::Models::Card
|
|
84
109
|
|
|
110
|
+
CardBulkOrder = Lithic::Models::CardBulkOrder
|
|
111
|
+
|
|
112
|
+
CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
|
|
113
|
+
|
|
114
|
+
CardBulkOrderListParams = Lithic::Models::CardBulkOrderListParams
|
|
115
|
+
|
|
116
|
+
CardBulkOrderRetrieveParams = Lithic::Models::CardBulkOrderRetrieveParams
|
|
117
|
+
|
|
118
|
+
CardBulkOrderUpdateParams = Lithic::Models::CardBulkOrderUpdateParams
|
|
119
|
+
|
|
120
|
+
CardConvertedWebhookEvent = Lithic::Models::CardConvertedWebhookEvent
|
|
121
|
+
|
|
85
122
|
CardConvertPhysicalParams = Lithic::Models::CardConvertPhysicalParams
|
|
86
123
|
|
|
124
|
+
CardCreatedWebhookEvent = Lithic::Models::CardCreatedWebhookEvent
|
|
125
|
+
|
|
87
126
|
CardCreateParams = Lithic::Models::CardCreateParams
|
|
88
127
|
|
|
89
128
|
CardEmbedParams = Lithic::Models::CardEmbedParams
|
|
90
129
|
|
|
130
|
+
CardholderAuthentication = Lithic::Models::CardholderAuthentication
|
|
131
|
+
|
|
91
132
|
CardListParams = Lithic::Models::CardListParams
|
|
92
133
|
|
|
93
134
|
CardProgram = Lithic::Models::CardProgram
|
|
@@ -98,8 +139,12 @@ module Lithic
|
|
|
98
139
|
|
|
99
140
|
CardProvisionParams = Lithic::Models::CardProvisionParams
|
|
100
141
|
|
|
142
|
+
CardReissuedWebhookEvent = Lithic::Models::CardReissuedWebhookEvent
|
|
143
|
+
|
|
101
144
|
CardReissueParams = Lithic::Models::CardReissueParams
|
|
102
145
|
|
|
146
|
+
CardRenewedWebhookEvent = Lithic::Models::CardRenewedWebhookEvent
|
|
147
|
+
|
|
103
148
|
CardRenewParams = Lithic::Models::CardRenewParams
|
|
104
149
|
|
|
105
150
|
CardRetrieveParams = Lithic::Models::CardRetrieveParams
|
|
@@ -110,8 +155,19 @@ module Lithic
|
|
|
110
155
|
|
|
111
156
|
CardSearchByPanParams = Lithic::Models::CardSearchByPanParams
|
|
112
157
|
|
|
158
|
+
CardShippedWebhookEvent = Lithic::Models::CardShippedWebhookEvent
|
|
159
|
+
|
|
113
160
|
CardSpendLimits = Lithic::Models::CardSpendLimits
|
|
114
161
|
|
|
162
|
+
CardTransactionEnhancedDataCreatedWebhookEvent =
|
|
163
|
+
Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent
|
|
164
|
+
|
|
165
|
+
CardTransactionEnhancedDataUpdatedWebhookEvent =
|
|
166
|
+
Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent
|
|
167
|
+
|
|
168
|
+
CardTransactionUpdatedWebhookEvent =
|
|
169
|
+
Lithic::Models::CardTransactionUpdatedWebhookEvent
|
|
170
|
+
|
|
115
171
|
CardUpdateParams = Lithic::Models::CardUpdateParams
|
|
116
172
|
|
|
117
173
|
CardWebProvisionParams = Lithic::Models::CardWebProvisionParams
|
|
@@ -126,12 +182,31 @@ module Lithic
|
|
|
126
182
|
|
|
127
183
|
Currency = Lithic::Models::Currency
|
|
128
184
|
|
|
185
|
+
Device = Lithic::Models::Device
|
|
186
|
+
|
|
129
187
|
DigitalCardArtAPI = Lithic::Models::DigitalCardArtAPI
|
|
130
188
|
|
|
131
189
|
DigitalCardArtListParams = Lithic::Models::DigitalCardArtListParams
|
|
132
190
|
|
|
133
191
|
DigitalCardArtRetrieveParams = Lithic::Models::DigitalCardArtRetrieveParams
|
|
134
192
|
|
|
193
|
+
DigitalWalletTokenizationApprovalRequestWebhookEvent =
|
|
194
|
+
Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent
|
|
195
|
+
|
|
196
|
+
DigitalWalletTokenizationResultWebhookEvent =
|
|
197
|
+
Lithic::Models::DigitalWalletTokenizationResultWebhookEvent
|
|
198
|
+
|
|
199
|
+
DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent =
|
|
200
|
+
Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
201
|
+
|
|
202
|
+
DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent =
|
|
203
|
+
Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
204
|
+
|
|
205
|
+
DigitalWalletTokenizationUpdatedWebhookEvent =
|
|
206
|
+
Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent
|
|
207
|
+
|
|
208
|
+
DigitalWalletTokenMetadata = Lithic::Models::DigitalWalletTokenMetadata
|
|
209
|
+
|
|
135
210
|
Dispute = Lithic::Models::Dispute
|
|
136
211
|
|
|
137
212
|
DisputeCreateParams = Lithic::Models::DisputeCreateParams
|
|
@@ -142,6 +217,9 @@ module Lithic
|
|
|
142
217
|
|
|
143
218
|
DisputeEvidence = Lithic::Models::DisputeEvidence
|
|
144
219
|
|
|
220
|
+
DisputeEvidenceUploadFailedWebhookEvent =
|
|
221
|
+
Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent
|
|
222
|
+
|
|
145
223
|
DisputeInitiateEvidenceUploadParams =
|
|
146
224
|
Lithic::Models::DisputeInitiateEvidenceUploadParams
|
|
147
225
|
|
|
@@ -157,6 +235,14 @@ module Lithic
|
|
|
157
235
|
|
|
158
236
|
DisputesV2RetrieveParams = Lithic::Models::DisputesV2RetrieveParams
|
|
159
237
|
|
|
238
|
+
DisputeTransactionCreatedWebhookEvent =
|
|
239
|
+
Lithic::Models::DisputeTransactionCreatedWebhookEvent
|
|
240
|
+
|
|
241
|
+
DisputeTransactionUpdatedWebhookEvent =
|
|
242
|
+
Lithic::Models::DisputeTransactionUpdatedWebhookEvent
|
|
243
|
+
|
|
244
|
+
DisputeUpdatedWebhookEvent = Lithic::Models::DisputeUpdatedWebhookEvent
|
|
245
|
+
|
|
160
246
|
DisputeUpdateParams = Lithic::Models::DisputeUpdateParams
|
|
161
247
|
|
|
162
248
|
DisputeV2 = Lithic::Models::DisputeV2
|
|
@@ -175,8 +261,13 @@ module Lithic
|
|
|
175
261
|
|
|
176
262
|
EventSubscription = Lithic::Models::EventSubscription
|
|
177
263
|
|
|
264
|
+
ExternalBankAccount = Lithic::Models::ExternalBankAccount
|
|
265
|
+
|
|
178
266
|
ExternalBankAccountAddress = Lithic::Models::ExternalBankAccountAddress
|
|
179
267
|
|
|
268
|
+
ExternalBankAccountCreatedWebhookEvent =
|
|
269
|
+
Lithic::Models::ExternalBankAccountCreatedWebhookEvent
|
|
270
|
+
|
|
180
271
|
ExternalBankAccountCreateParams =
|
|
181
272
|
Lithic::Models::ExternalBankAccountCreateParams
|
|
182
273
|
|
|
@@ -196,6 +287,9 @@ module Lithic
|
|
|
196
287
|
ExternalBankAccountUnpauseParams =
|
|
197
288
|
Lithic::Models::ExternalBankAccountUnpauseParams
|
|
198
289
|
|
|
290
|
+
ExternalBankAccountUpdatedWebhookEvent =
|
|
291
|
+
Lithic::Models::ExternalBankAccountUpdatedWebhookEvent
|
|
292
|
+
|
|
199
293
|
ExternalBankAccountUpdateParams =
|
|
200
294
|
Lithic::Models::ExternalBankAccountUpdateParams
|
|
201
295
|
|
|
@@ -203,6 +297,9 @@ module Lithic
|
|
|
203
297
|
|
|
204
298
|
ExternalPaymentCancelParams = Lithic::Models::ExternalPaymentCancelParams
|
|
205
299
|
|
|
300
|
+
ExternalPaymentCreatedWebhookEvent =
|
|
301
|
+
Lithic::Models::ExternalPaymentCreatedWebhookEvent
|
|
302
|
+
|
|
206
303
|
ExternalPaymentCreateParams = Lithic::Models::ExternalPaymentCreateParams
|
|
207
304
|
|
|
208
305
|
ExternalPaymentListParams = Lithic::Models::ExternalPaymentListParams
|
|
@@ -215,12 +312,20 @@ module Lithic
|
|
|
215
312
|
|
|
216
313
|
ExternalPaymentSettleParams = Lithic::Models::ExternalPaymentSettleParams
|
|
217
314
|
|
|
315
|
+
ExternalPaymentUpdatedWebhookEvent =
|
|
316
|
+
Lithic::Models::ExternalPaymentUpdatedWebhookEvent
|
|
317
|
+
|
|
218
318
|
ExternalResource = Lithic::Models::ExternalResource
|
|
219
319
|
|
|
220
320
|
ExternalResourceType = Lithic::Models::ExternalResourceType
|
|
221
321
|
|
|
222
322
|
FinancialAccount = Lithic::Models::FinancialAccount
|
|
223
323
|
|
|
324
|
+
FinancialAccountBalance = Lithic::Models::FinancialAccountBalance
|
|
325
|
+
|
|
326
|
+
FinancialAccountCreatedWebhookEvent =
|
|
327
|
+
Lithic::Models::FinancialAccountCreatedWebhookEvent
|
|
328
|
+
|
|
224
329
|
FinancialAccountCreateParams = Lithic::Models::FinancialAccountCreateParams
|
|
225
330
|
|
|
226
331
|
FinancialAccountListParams = Lithic::Models::FinancialAccountListParams
|
|
@@ -233,6 +338,9 @@ module Lithic
|
|
|
233
338
|
|
|
234
339
|
FinancialAccounts = Lithic::Models::FinancialAccounts
|
|
235
340
|
|
|
341
|
+
FinancialAccountUpdatedWebhookEvent =
|
|
342
|
+
Lithic::Models::FinancialAccountUpdatedWebhookEvent
|
|
343
|
+
|
|
236
344
|
FinancialAccountUpdateParams = Lithic::Models::FinancialAccountUpdateParams
|
|
237
345
|
|
|
238
346
|
FinancialAccountUpdateStatusParams =
|
|
@@ -244,6 +352,11 @@ module Lithic
|
|
|
244
352
|
|
|
245
353
|
Fraud = Lithic::Models::Fraud
|
|
246
354
|
|
|
355
|
+
FundingEvent = Lithic::Models::FundingEvent
|
|
356
|
+
|
|
357
|
+
FundingEventCreatedWebhookEvent =
|
|
358
|
+
Lithic::Models::FundingEventCreatedWebhookEvent
|
|
359
|
+
|
|
247
360
|
FundingEventListParams = Lithic::Models::FundingEventListParams
|
|
248
361
|
|
|
249
362
|
FundingEventRetrieveDetailsParams =
|
|
@@ -253,6 +366,14 @@ module Lithic
|
|
|
253
366
|
|
|
254
367
|
InstanceFinancialAccountType = Lithic::Models::InstanceFinancialAccountType
|
|
255
368
|
|
|
369
|
+
InternalTransactionAPI = Lithic::Models::InternalTransactionAPI
|
|
370
|
+
|
|
371
|
+
InternalTransactionCreatedWebhookEvent =
|
|
372
|
+
Lithic::Models::InternalTransactionCreatedWebhookEvent
|
|
373
|
+
|
|
374
|
+
InternalTransactionUpdatedWebhookEvent =
|
|
375
|
+
Lithic::Models::InternalTransactionUpdatedWebhookEvent
|
|
376
|
+
|
|
256
377
|
KYB = Lithic::Models::KYB
|
|
257
378
|
|
|
258
379
|
KYBBusinessEntity = Lithic::Models::KYBBusinessEntity
|
|
@@ -261,6 +382,13 @@ module Lithic
|
|
|
261
382
|
|
|
262
383
|
KYCExempt = Lithic::Models::KYCExempt
|
|
263
384
|
|
|
385
|
+
LoanTapeCreatedWebhookEvent = Lithic::Models::LoanTapeCreatedWebhookEvent
|
|
386
|
+
|
|
387
|
+
LoanTapeUpdatedWebhookEvent = Lithic::Models::LoanTapeUpdatedWebhookEvent
|
|
388
|
+
|
|
389
|
+
ManagementOperationCreatedWebhookEvent =
|
|
390
|
+
Lithic::Models::ManagementOperationCreatedWebhookEvent
|
|
391
|
+
|
|
264
392
|
ManagementOperationCreateParams =
|
|
265
393
|
Lithic::Models::ManagementOperationCreateParams
|
|
266
394
|
|
|
@@ -275,6 +403,9 @@ module Lithic
|
|
|
275
403
|
ManagementOperationTransaction =
|
|
276
404
|
Lithic::Models::ManagementOperationTransaction
|
|
277
405
|
|
|
406
|
+
ManagementOperationUpdatedWebhookEvent =
|
|
407
|
+
Lithic::Models::ManagementOperationUpdatedWebhookEvent
|
|
408
|
+
|
|
278
409
|
Merchant = Lithic::Models::Merchant
|
|
279
410
|
|
|
280
411
|
MessageAttempt = Lithic::Models::MessageAttempt
|
|
@@ -285,10 +416,20 @@ module Lithic
|
|
|
285
416
|
|
|
286
417
|
NetworkProgramRetrieveParams = Lithic::Models::NetworkProgramRetrieveParams
|
|
287
418
|
|
|
419
|
+
NetworkTotal = Lithic::Models::NetworkTotal
|
|
420
|
+
|
|
421
|
+
NetworkTotalCreatedWebhookEvent =
|
|
422
|
+
Lithic::Models::NetworkTotalCreatedWebhookEvent
|
|
423
|
+
|
|
424
|
+
NetworkTotalUpdatedWebhookEvent =
|
|
425
|
+
Lithic::Models::NetworkTotalUpdatedWebhookEvent
|
|
426
|
+
|
|
288
427
|
NonPCICard = Lithic::Models::NonPCICard
|
|
289
428
|
|
|
290
429
|
OwnerType = Lithic::Models::OwnerType
|
|
291
430
|
|
|
431
|
+
ParsedWebhookEvent = Lithic::Models::ParsedWebhookEvent
|
|
432
|
+
|
|
292
433
|
Payment = Lithic::Models::Payment
|
|
293
434
|
|
|
294
435
|
PaymentCreateParams = Lithic::Models::PaymentCreateParams
|
|
@@ -309,6 +450,12 @@ module Lithic
|
|
|
309
450
|
|
|
310
451
|
PaymentSimulateReturnParams = Lithic::Models::PaymentSimulateReturnParams
|
|
311
452
|
|
|
453
|
+
PaymentTransactionCreatedWebhookEvent =
|
|
454
|
+
Lithic::Models::PaymentTransactionCreatedWebhookEvent
|
|
455
|
+
|
|
456
|
+
PaymentTransactionUpdatedWebhookEvent =
|
|
457
|
+
Lithic::Models::PaymentTransactionUpdatedWebhookEvent
|
|
458
|
+
|
|
312
459
|
ProvisionResponse = Lithic::Models::ProvisionResponse
|
|
313
460
|
|
|
314
461
|
Reports = Lithic::Models::Reports
|
|
@@ -328,28 +475,54 @@ module Lithic
|
|
|
328
475
|
|
|
329
476
|
SettlementReport = Lithic::Models::SettlementReport
|
|
330
477
|
|
|
478
|
+
SettlementReportUpdatedWebhookEvent =
|
|
479
|
+
Lithic::Models::SettlementReportUpdatedWebhookEvent
|
|
480
|
+
|
|
331
481
|
SettlementSummaryDetails = Lithic::Models::SettlementSummaryDetails
|
|
332
482
|
|
|
333
483
|
ShippingAddress = Lithic::Models::ShippingAddress
|
|
334
484
|
|
|
335
485
|
SpendLimitDuration = Lithic::Models::SpendLimitDuration
|
|
336
486
|
|
|
487
|
+
StatementsCreatedWebhookEvent = Lithic::Models::StatementsCreatedWebhookEvent
|
|
488
|
+
|
|
337
489
|
StatementTotals = Lithic::Models::StatementTotals
|
|
338
490
|
|
|
339
491
|
ThreeDS = Lithic::Models::ThreeDS
|
|
340
492
|
|
|
493
|
+
ThreeDSAuthentication = Lithic::Models::ThreeDSAuthentication
|
|
494
|
+
|
|
495
|
+
ThreeDSAuthenticationChallengeWebhookEvent =
|
|
496
|
+
Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent
|
|
497
|
+
|
|
498
|
+
ThreeDSAuthenticationCreatedWebhookEvent =
|
|
499
|
+
Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent
|
|
500
|
+
|
|
501
|
+
ThreeDSAuthenticationUpdatedWebhookEvent =
|
|
502
|
+
Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent
|
|
503
|
+
|
|
504
|
+
TokenInfo = Lithic::Models::TokenInfo
|
|
505
|
+
|
|
341
506
|
Tokenization = Lithic::Models::Tokenization
|
|
342
507
|
|
|
343
508
|
TokenizationActivateParams = Lithic::Models::TokenizationActivateParams
|
|
344
509
|
|
|
510
|
+
TokenizationApprovalRequestWebhookEvent =
|
|
511
|
+
Lithic::Models::TokenizationApprovalRequestWebhookEvent
|
|
512
|
+
|
|
345
513
|
TokenizationDeactivateParams = Lithic::Models::TokenizationDeactivateParams
|
|
346
514
|
|
|
515
|
+
TokenizationDecisioningRequestWebhookEvent =
|
|
516
|
+
Lithic::Models::TokenizationDecisioningRequestWebhookEvent
|
|
517
|
+
|
|
347
518
|
TokenizationDecisioningRetrieveSecretParams =
|
|
348
519
|
Lithic::Models::TokenizationDecisioningRetrieveSecretParams
|
|
349
520
|
|
|
350
521
|
TokenizationDecisioningRotateSecretParams =
|
|
351
522
|
Lithic::Models::TokenizationDecisioningRotateSecretParams
|
|
352
523
|
|
|
524
|
+
TokenizationDeclineReason = Lithic::Models::TokenizationDeclineReason
|
|
525
|
+
|
|
353
526
|
TokenizationListParams = Lithic::Models::TokenizationListParams
|
|
354
527
|
|
|
355
528
|
TokenizationPauseParams = Lithic::Models::TokenizationPauseParams
|
|
@@ -357,17 +530,33 @@ module Lithic
|
|
|
357
530
|
TokenizationResendActivationCodeParams =
|
|
358
531
|
Lithic::Models::TokenizationResendActivationCodeParams
|
|
359
532
|
|
|
533
|
+
TokenizationResultWebhookEvent =
|
|
534
|
+
Lithic::Models::TokenizationResultWebhookEvent
|
|
535
|
+
|
|
360
536
|
TokenizationRetrieveParams = Lithic::Models::TokenizationRetrieveParams
|
|
361
537
|
|
|
538
|
+
TokenizationRuleResult = Lithic::Models::TokenizationRuleResult
|
|
539
|
+
|
|
362
540
|
TokenizationSecret = Lithic::Models::TokenizationSecret
|
|
363
541
|
|
|
364
542
|
TokenizationSimulateParams = Lithic::Models::TokenizationSimulateParams
|
|
365
543
|
|
|
544
|
+
TokenizationTfaReason = Lithic::Models::TokenizationTfaReason
|
|
545
|
+
|
|
546
|
+
TokenizationTwoFactorAuthenticationCodeSentWebhookEvent =
|
|
547
|
+
Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
|
|
548
|
+
|
|
549
|
+
TokenizationTwoFactorAuthenticationCodeWebhookEvent =
|
|
550
|
+
Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent
|
|
551
|
+
|
|
366
552
|
TokenizationUnpauseParams = Lithic::Models::TokenizationUnpauseParams
|
|
367
553
|
|
|
368
554
|
TokenizationUpdateDigitalCardArtParams =
|
|
369
555
|
Lithic::Models::TokenizationUpdateDigitalCardArtParams
|
|
370
556
|
|
|
557
|
+
TokenizationUpdatedWebhookEvent =
|
|
558
|
+
Lithic::Models::TokenizationUpdatedWebhookEvent
|
|
559
|
+
|
|
371
560
|
Transaction = Lithic::Models::Transaction
|
|
372
561
|
|
|
373
562
|
TransactionExpireAuthorizationParams =
|
|
@@ -405,5 +594,9 @@ module Lithic
|
|
|
405
594
|
|
|
406
595
|
VerificationMethod = Lithic::Models::VerificationMethod
|
|
407
596
|
|
|
597
|
+
WalletDecisioningInfo = Lithic::Models::WalletDecisioningInfo
|
|
598
|
+
|
|
599
|
+
WebhookParsedParams = Lithic::Models::WebhookParsedParams
|
|
600
|
+
|
|
408
601
|
WirePartyDetails = Lithic::Models::WirePartyDetails
|
|
409
602
|
end
|
|
@@ -25,12 +25,11 @@ module Lithic
|
|
|
25
25
|
program_level: T::Boolean,
|
|
26
26
|
account_tokens: T::Array[String],
|
|
27
27
|
business_account_tokens: T::Array[String],
|
|
28
|
-
event_stream:
|
|
29
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
28
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
30
29
|
name: T.nilable(String),
|
|
31
30
|
excluded_card_tokens: T::Array[String],
|
|
32
31
|
request_options: Lithic::RequestOptions::OrHash
|
|
33
|
-
).returns(Lithic::
|
|
32
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
34
33
|
end
|
|
35
34
|
def create(
|
|
36
35
|
# Parameters for the Auth Rule
|
|
@@ -69,7 +68,7 @@ module Lithic
|
|
|
69
68
|
params(
|
|
70
69
|
auth_rule_token: String,
|
|
71
70
|
request_options: Lithic::RequestOptions::OrHash
|
|
72
|
-
).returns(Lithic::
|
|
71
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
73
72
|
end
|
|
74
73
|
def retrieve(auth_rule_token, request_options: {})
|
|
75
74
|
end
|
|
@@ -90,7 +89,7 @@ module Lithic
|
|
|
90
89
|
excluded_card_tokens: T::Array[String],
|
|
91
90
|
program_level: T::Boolean,
|
|
92
91
|
request_options: Lithic::RequestOptions::OrHash
|
|
93
|
-
).returns(Lithic::
|
|
92
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
94
93
|
end
|
|
95
94
|
def update(
|
|
96
95
|
auth_rule_token,
|
|
@@ -123,17 +122,13 @@ module Lithic
|
|
|
123
122
|
business_account_token: String,
|
|
124
123
|
card_token: String,
|
|
125
124
|
ending_before: String,
|
|
126
|
-
event_stream:
|
|
127
|
-
|
|
125
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
126
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol],
|
|
128
127
|
page_size: Integer,
|
|
129
128
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
|
130
129
|
starting_after: String,
|
|
131
130
|
request_options: Lithic::RequestOptions::OrHash
|
|
132
|
-
).returns(
|
|
133
|
-
Lithic::Internal::CursorPage[
|
|
134
|
-
Lithic::Models::AuthRules::V2ListResponse
|
|
135
|
-
]
|
|
136
|
-
)
|
|
131
|
+
).returns(Lithic::Internal::CursorPage[Lithic::AuthRules::AuthRule])
|
|
137
132
|
end
|
|
138
133
|
def list(
|
|
139
134
|
# Only return Auth Rules that are bound to the provided account token.
|
|
@@ -145,8 +140,13 @@ module Lithic
|
|
|
145
140
|
# A cursor representing an item's token before which a page of results should end.
|
|
146
141
|
# Used to retrieve the previous page of results before this item.
|
|
147
142
|
ending_before: nil,
|
|
148
|
-
# Only return Auth rules that are executed
|
|
143
|
+
# Deprecated: Use event_streams instead. Only return Auth rules that are executed
|
|
144
|
+
# during the provided event stream.
|
|
149
145
|
event_stream: nil,
|
|
146
|
+
# Only return Auth rules that are executed during any of the provided event
|
|
147
|
+
# streams. If event_streams and event_stream are specified, the values will be
|
|
148
|
+
# combined.
|
|
149
|
+
event_streams: nil,
|
|
150
150
|
# Page size (for pagination).
|
|
151
151
|
page_size: nil,
|
|
152
152
|
# Only return Auth Rules that are bound to the provided scope.
|
|
@@ -188,7 +188,7 @@ module Lithic
|
|
|
188
188
|
)
|
|
189
189
|
),
|
|
190
190
|
request_options: Lithic::RequestOptions::OrHash
|
|
191
|
-
).returns(Lithic::
|
|
191
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
192
192
|
end
|
|
193
193
|
def draft(
|
|
194
194
|
auth_rule_token,
|
|
@@ -204,7 +204,7 @@ module Lithic
|
|
|
204
204
|
params(
|
|
205
205
|
auth_rule_token: String,
|
|
206
206
|
request_options: Lithic::RequestOptions::OrHash
|
|
207
|
-
).returns(Lithic::
|
|
207
|
+
).returns(Lithic::AuthRules::AuthRule)
|
|
208
208
|
end
|
|
209
209
|
def promote(auth_rule_token, request_options: {})
|
|
210
210
|
end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Resources
|
|
5
|
+
class CardBulkOrders
|
|
6
|
+
# Create a new bulk order for physical card shipments **[BETA]**. Cards can be
|
|
7
|
+
# added to the order via the POST /v1/cards endpoint by specifying the
|
|
8
|
+
# bulk_order_token. Lock the order via PATCH
|
|
9
|
+
# /v1/card_bulk_orders/{bulk_order_token} to prepare for shipment. Please work
|
|
10
|
+
# with your Customer Success Manager and card personalization bureau to ensure
|
|
11
|
+
# bulk shipping is supported for your program.
|
|
12
|
+
sig do
|
|
13
|
+
params(
|
|
14
|
+
customer_product_id: String,
|
|
15
|
+
shipping_address: T.anything,
|
|
16
|
+
shipping_method:
|
|
17
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol,
|
|
18
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
19
|
+
).returns(Lithic::CardBulkOrder)
|
|
20
|
+
end
|
|
21
|
+
def create(
|
|
22
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
23
|
+
# must be configured with Lithic before use
|
|
24
|
+
customer_product_id:,
|
|
25
|
+
# Shipping address for all cards in this bulk order
|
|
26
|
+
shipping_address:,
|
|
27
|
+
# Shipping method for all cards in this bulk order
|
|
28
|
+
shipping_method:,
|
|
29
|
+
request_options: {}
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Retrieve a specific bulk order by token **[BETA]**
|
|
34
|
+
sig do
|
|
35
|
+
params(
|
|
36
|
+
bulk_order_token: String,
|
|
37
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
38
|
+
).returns(Lithic::CardBulkOrder)
|
|
39
|
+
end
|
|
40
|
+
def retrieve(
|
|
41
|
+
# Globally unique identifier for the bulk order
|
|
42
|
+
bulk_order_token,
|
|
43
|
+
request_options: {}
|
|
44
|
+
)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Update a bulk order **[BETA]**. Primarily used to lock the order, preventing
|
|
48
|
+
# additional cards from being added
|
|
49
|
+
sig do
|
|
50
|
+
params(
|
|
51
|
+
bulk_order_token: String,
|
|
52
|
+
status: Lithic::CardBulkOrderUpdateParams::Status::OrSymbol,
|
|
53
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
54
|
+
).returns(Lithic::CardBulkOrder)
|
|
55
|
+
end
|
|
56
|
+
def update(
|
|
57
|
+
# Globally unique identifier for the bulk order
|
|
58
|
+
bulk_order_token,
|
|
59
|
+
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
60
|
+
status:,
|
|
61
|
+
request_options: {}
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# List bulk orders for physical card shipments **[BETA]**
|
|
66
|
+
sig do
|
|
67
|
+
params(
|
|
68
|
+
begin_: Time,
|
|
69
|
+
end_: Time,
|
|
70
|
+
ending_before: String,
|
|
71
|
+
page_size: Integer,
|
|
72
|
+
starting_after: String,
|
|
73
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
74
|
+
).returns(Lithic::Internal::CursorPage[Lithic::CardBulkOrder])
|
|
75
|
+
end
|
|
76
|
+
def list(
|
|
77
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
|
78
|
+
# will be included. UTC time zone.
|
|
79
|
+
begin_: nil,
|
|
80
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
81
|
+
# will be included. UTC time zone.
|
|
82
|
+
end_: nil,
|
|
83
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
84
|
+
# Used to retrieve the previous page of results before this item.
|
|
85
|
+
ending_before: nil,
|
|
86
|
+
# Page size (for pagination).
|
|
87
|
+
page_size: nil,
|
|
88
|
+
# A cursor representing an item's token after which a page of results should
|
|
89
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
90
|
+
starting_after: nil,
|
|
91
|
+
request_options: {}
|
|
92
|
+
)
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# @api private
|
|
96
|
+
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
|
97
|
+
def self.new(client:)
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
@@ -12,9 +12,7 @@ module Lithic
|
|
|
12
12
|
last_transaction_event_token: String,
|
|
13
13
|
request_options: Lithic::RequestOptions::OrHash
|
|
14
14
|
).returns(
|
|
15
|
-
Lithic::Internal::SinglePage[
|
|
16
|
-
Lithic::Models::Cards::BalanceListResponse
|
|
17
|
-
]
|
|
15
|
+
Lithic::Internal::SinglePage[Lithic::FinancialAccountBalance]
|
|
18
16
|
)
|
|
19
17
|
end
|
|
20
18
|
def list(
|
|
@@ -18,6 +18,7 @@ module Lithic
|
|
|
18
18
|
params(
|
|
19
19
|
type: Lithic::CardCreateParams::Type::OrSymbol,
|
|
20
20
|
account_token: String,
|
|
21
|
+
bulk_order_token: String,
|
|
21
22
|
card_program_token: String,
|
|
22
23
|
carrier: Lithic::Carrier::OrHash,
|
|
23
24
|
digital_card_art_token: String,
|
|
@@ -62,6 +63,10 @@ module Lithic
|
|
|
62
63
|
# [/account_holders endpoint](https://docs.lithic.com/docs/account-holders-kyc).
|
|
63
64
|
# See [Managing Your Program](doc:managing-your-program) for more information.
|
|
64
65
|
account_token: nil,
|
|
66
|
+
# Globally unique identifier for an existing bulk order to associate this card
|
|
67
|
+
# with. When specified, the card will be added to the bulk order for batch
|
|
68
|
+
# shipment. Only applicable to cards of type PHYSICAL
|
|
69
|
+
bulk_order_token: nil,
|
|
65
70
|
# For card programs with more than one BIN range. This must be configured with
|
|
66
71
|
# Lithic before use. Identifies the card program/BIN range under which to create
|
|
67
72
|
# the card. If omitted, will utilize the program's default `card_program_token`.
|
|
@@ -147,6 +152,7 @@ module Lithic
|
|
|
147
152
|
# tracking
|
|
148
153
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
149
154
|
# or similar international option, with tracking
|
|
155
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
150
156
|
shipping_method: nil,
|
|
151
157
|
# Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
|
|
152
158
|
# $1,000 limit). Transaction requests above the spend limit will be declined. Note
|
|
@@ -374,6 +380,7 @@ module Lithic
|
|
|
374
380
|
# tracking
|
|
375
381
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
376
382
|
# or similar international option, with tracking
|
|
383
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
377
384
|
shipping_method: nil,
|
|
378
385
|
request_options: {}
|
|
379
386
|
)
|
|
@@ -509,6 +516,7 @@ module Lithic
|
|
|
509
516
|
# tracking
|
|
510
517
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
511
518
|
# or similar international option, with tracking
|
|
519
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
512
520
|
shipping_method: nil,
|
|
513
521
|
request_options: {}
|
|
514
522
|
)
|
|
@@ -565,6 +573,7 @@ module Lithic
|
|
|
565
573
|
# tracking
|
|
566
574
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
567
575
|
# or similar international option, with tracking
|
|
576
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
568
577
|
shipping_method: nil,
|
|
569
578
|
request_options: {}
|
|
570
579
|
)
|
|
@@ -610,16 +619,28 @@ module Lithic
|
|
|
610
619
|
sig do
|
|
611
620
|
params(
|
|
612
621
|
card_token: String,
|
|
622
|
+
client_device_id: String,
|
|
623
|
+
client_wallet_account_id: String,
|
|
613
624
|
digital_wallet:
|
|
614
625
|
Lithic::CardWebProvisionParams::DigitalWallet::OrSymbol,
|
|
626
|
+
server_session_id: String,
|
|
615
627
|
request_options: Lithic::RequestOptions::OrHash
|
|
616
|
-
).returns(Lithic::Models::CardWebProvisionResponse)
|
|
628
|
+
).returns(Lithic::Models::CardWebProvisionResponse::Variants)
|
|
617
629
|
end
|
|
618
630
|
def web_provision(
|
|
619
631
|
# The unique token of the card to add to the device's digital wallet.
|
|
620
632
|
card_token,
|
|
633
|
+
# Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
|
|
634
|
+
# Provisioning device identifier required for the tokenization flow
|
|
635
|
+
client_device_id: nil,
|
|
636
|
+
# Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
|
|
637
|
+
# Provisioning wallet account identifier required for the tokenization flow
|
|
638
|
+
client_wallet_account_id: nil,
|
|
621
639
|
# Name of digital wallet provider.
|
|
622
640
|
digital_wallet: nil,
|
|
641
|
+
# Only applicable if `digital_wallet` is GOOGLE_PAY. Google Pay Web Push
|
|
642
|
+
# Provisioning session identifier required for the FPAN flow.
|
|
643
|
+
server_session_id: nil,
|
|
623
644
|
request_options: {}
|
|
624
645
|
)
|
|
625
646
|
end
|