lithic 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.7
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/README.md +29 -5
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/cursor_page.rb +5 -1
- data/lib/lithic/internal/single_page.rb +5 -1
- data/lib/lithic/internal/transport/base_client.rb +3 -3
- data/lib/lithic/internal/transport/pooled_net_requester.rb +2 -2
- data/lib/lithic/internal/type/array_of.rb +5 -3
- data/lib/lithic/internal/type/base_model.rb +19 -16
- data/lib/lithic/internal/type/base_page.rb +4 -1
- data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/lithic/internal/type/converter.rb +26 -23
- data/lib/lithic/internal/type/enum.rb +10 -8
- data/lib/lithic/internal/type/hash_of.rb +3 -1
- data/lib/lithic/internal/util.rb +29 -50
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -56
- data/lib/lithic/models/account_holder_create_params.rb +140 -144
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +7 -7
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +12 -12
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_update_params.rb +7 -7
- data/lib/lithic/models/auth_rules/v2_update_response.rb +3 -3
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +25 -25
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +25 -25
- data/lib/lithic/models/card_renew_params.rb +27 -27
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +1 -1
- data/lib/lithic/models/digital_card_art.rb +2 -2
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +7 -7
- data/lib/lithic/models/event_subscription.rb +1 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -2
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_params.rb +5 -5
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account.rb +11 -13
- data/lib/lithic/models/financial_account_create_params.rb +2 -2
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +24 -24
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +17 -17
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +7 -7
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_accounts/statements.rb +1 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +128 -132
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_status.rb +1 -1
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +16 -16
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +100 -100
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +100 -100
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +39 -39
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +54 -54
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +37 -37
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +64 -61
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +6 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +6 -6
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +1 -1
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +10 -18
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/{boolean_model.rbi → boolean.rbi} +5 -9
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +40 -72
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -100
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +154 -171
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_renew_params.rbi +30 -34
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +26 -39
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +18 -37
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +67 -107
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +46 -72
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +139 -153
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +121 -156
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +219 -237
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +24 -0
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +15 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +10 -19
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -2
- data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +5 -5
- data/sig/lithic/models/account_holder_create_params.rbs +47 -43
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
- data/sig/lithic/models/financial_account.rbs +6 -6
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/kyb.rbs +47 -43
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
- data/sig/lithic/resources/events.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +11 -5
@@ -22,17 +22,15 @@ module Lithic
|
|
22
22
|
# Date of the settlement report to retrieve. Not available in sandbox.
|
23
23
|
report_date,
|
24
24
|
# A cursor representing an item's token before which a page of results should end.
|
25
|
-
#
|
25
|
+
# Used to retrieve the previous page of results before this item.
|
26
26
|
ending_before: nil,
|
27
27
|
# Page size (for pagination).
|
28
28
|
page_size: nil,
|
29
29
|
# A cursor representing an item's token after which a page of results should
|
30
|
-
#
|
30
|
+
# begin. Used to retrieve the next page of results after this item.
|
31
31
|
starting_after: nil,
|
32
32
|
request_options: {}
|
33
|
-
)
|
34
|
-
end
|
35
|
-
|
33
|
+
); end
|
36
34
|
# Get the settlement report for a specified report date. Not available in sandbox.
|
37
35
|
sig do
|
38
36
|
params(
|
@@ -45,13 +43,10 @@ module Lithic
|
|
45
43
|
# Date of the settlement report to retrieve.
|
46
44
|
report_date,
|
47
45
|
request_options: {}
|
48
|
-
)
|
49
|
-
end
|
50
|
-
|
46
|
+
); end
|
51
47
|
# @api private
|
52
48
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
53
|
-
def self.new(client:)
|
54
|
-
end
|
49
|
+
def self.new(client:); end
|
55
50
|
end
|
56
51
|
end
|
57
52
|
end
|
@@ -18,9 +18,7 @@ module Lithic
|
|
18
18
|
# The URL for the responder endpoint (must be http(s)).
|
19
19
|
url: nil,
|
20
20
|
request_options: {}
|
21
|
-
)
|
22
|
-
end
|
23
|
-
|
21
|
+
); end
|
24
22
|
# Disenroll a responder endpoint
|
25
23
|
sig do
|
26
24
|
params(
|
@@ -33,9 +31,7 @@ module Lithic
|
|
33
31
|
# The type of the endpoint.
|
34
32
|
type:,
|
35
33
|
request_options: {}
|
36
|
-
)
|
37
|
-
end
|
38
|
-
|
34
|
+
); end
|
39
35
|
# Check the status of a responder endpoint
|
40
36
|
sig do
|
41
37
|
params(
|
@@ -48,13 +44,10 @@ module Lithic
|
|
48
44
|
# The type of the endpoint.
|
49
45
|
type:,
|
50
46
|
request_options: {}
|
51
|
-
)
|
52
|
-
end
|
53
|
-
|
47
|
+
); end
|
54
48
|
# @api private
|
55
49
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
56
|
-
def self.new(client:)
|
57
|
-
end
|
50
|
+
def self.new(client:); end
|
58
51
|
end
|
59
52
|
end
|
60
53
|
end
|
@@ -16,13 +16,11 @@ module Lithic
|
|
16
16
|
# 3DS Authentication Token
|
17
17
|
three_ds_authentication_token,
|
18
18
|
request_options: {}
|
19
|
-
)
|
20
|
-
end
|
21
|
-
|
19
|
+
); end
|
22
20
|
# Simulates a 3DS authentication request from the payment network as if it came
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
21
|
+
# from an ACS. If you're configured for 3DS Customer Decisioning, simulating
|
22
|
+
# authentications requires your customer decisioning endpoint to be set up
|
23
|
+
# properly (respond with a valid JSON).
|
26
24
|
sig do
|
27
25
|
params(
|
28
26
|
merchant: T.any(Lithic::Models::ThreeDS::AuthenticationSimulateParams::Merchant, Lithic::Internal::AnyHash),
|
@@ -39,16 +37,14 @@ module Lithic
|
|
39
37
|
pan:,
|
40
38
|
transaction:,
|
41
39
|
# When set will use the following values as part of the Simulated Authentication.
|
42
|
-
#
|
40
|
+
# When not set defaults to MATCH
|
43
41
|
card_expiry_check: nil,
|
44
42
|
request_options: {}
|
45
|
-
)
|
46
|
-
end
|
47
|
-
|
43
|
+
); end
|
48
44
|
# Endpoint for simulating entering OTP into 3DS Challenge UI. A call to
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
45
|
+
# /v1/three_ds_authentication/simulate that resulted in triggered SMS-OTP
|
46
|
+
# challenge must precede. Only a single attempt is supported; upon entering OTP,
|
47
|
+
# the challenge is either approved or declined.
|
52
48
|
sig do
|
53
49
|
params(
|
54
50
|
token: String,
|
@@ -59,18 +55,15 @@ module Lithic
|
|
59
55
|
end
|
60
56
|
def simulate_otp_entry(
|
61
57
|
# A unique token returned as part of a /v1/three_ds_authentication/simulate call
|
62
|
-
#
|
58
|
+
# that resulted in PENDING_CHALLENGE authentication result.
|
63
59
|
token:,
|
64
60
|
# The OTP entered by the cardholder
|
65
61
|
otp:,
|
66
62
|
request_options: {}
|
67
|
-
)
|
68
|
-
end
|
69
|
-
|
63
|
+
); end
|
70
64
|
# @api private
|
71
65
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
72
|
-
def self.new(client:)
|
73
|
-
end
|
66
|
+
def self.new(client:); end
|
74
67
|
end
|
75
68
|
end
|
76
69
|
end
|
@@ -15,43 +15,38 @@ module Lithic
|
|
15
15
|
end
|
16
16
|
def challenge_response(
|
17
17
|
# Globally unique identifier for the 3DS authentication. This token is sent as
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
18
|
+
# part of the initial 3DS Decisioning Request and as part of the 3DS Challenge
|
19
|
+
# Event in the [ThreeDSAuthentication](#/components/schemas/ThreeDSAuthentication)
|
20
|
+
# object
|
21
21
|
token:,
|
22
22
|
# Whether the Cardholder has Approved or Declined the issued Challenge
|
23
23
|
challenge_response:,
|
24
24
|
request_options: {}
|
25
|
-
)
|
26
|
-
end
|
27
|
-
|
25
|
+
); end
|
28
26
|
# Retrieve the 3DS Decisioning HMAC secret key. If one does not exist for your
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
27
|
+
# program yet, calling this endpoint will create one for you. The headers (which
|
28
|
+
# you can use to verify 3DS Decisioning requests) will begin appearing shortly
|
29
|
+
# after calling this endpoint for the first time. See
|
30
|
+
# [this page](https://docs.lithic.com/docs/3ds-decisioning#3ds-decisioning-hmac-secrets)
|
31
|
+
# for more detail about verifying 3DS Decisioning requests.
|
34
32
|
sig do
|
35
33
|
params(request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash)))
|
36
34
|
.returns(Lithic::Models::ThreeDS::DecisioningRetrieveSecretResponse)
|
37
35
|
end
|
38
|
-
def retrieve_secret(request_options: {})
|
39
|
-
end
|
36
|
+
def retrieve_secret(request_options: {}); end
|
40
37
|
|
41
38
|
# Generate a new 3DS Decisioning HMAC secret key. The old secret key will be
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
39
|
+
# deactivated 24 hours after a successful request to this endpoint. Make a
|
40
|
+
# [`GET /three_ds_decisioning/secret`](https://docs.lithic.com/reference/getthreedsdecisioningsecret)
|
41
|
+
# request to retrieve the new secret key.
|
45
42
|
sig do
|
46
43
|
params(request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))).void
|
47
44
|
end
|
48
|
-
def rotate_secret(request_options: {})
|
49
|
-
end
|
45
|
+
def rotate_secret(request_options: {}); end
|
50
46
|
|
51
47
|
# @api private
|
52
48
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
53
|
-
def self.new(client:)
|
54
|
-
end
|
49
|
+
def self.new(client:); end
|
55
50
|
end
|
56
51
|
end
|
57
52
|
end
|
@@ -4,32 +4,29 @@ module Lithic
|
|
4
4
|
module Resources
|
5
5
|
class TokenizationDecisioning
|
6
6
|
# Retrieve the Tokenization Decisioning secret key. If one does not exist your
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
7
|
+
# program yet, calling this endpoint will create one for you. The headers of the
|
8
|
+
# Tokenization Decisioning request will contain a hmac signature which you can use
|
9
|
+
# to verify requests originate from Lithic. See
|
10
|
+
# [this page](https://docs.lithic.com/docs/events-api#verifying-webhooks) for more
|
11
|
+
# detail about verifying Tokenization Decisioning requests.
|
12
12
|
sig do
|
13
13
|
params(request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash)))
|
14
14
|
.returns(Lithic::Models::TokenizationSecret)
|
15
15
|
end
|
16
|
-
def retrieve_secret(request_options: {})
|
17
|
-
end
|
16
|
+
def retrieve_secret(request_options: {}); end
|
18
17
|
|
19
18
|
# Generate a new Tokenization Decisioning secret key. The old Tokenization
|
20
|
-
#
|
21
|
-
#
|
19
|
+
# Decisioning secret key will be deactivated 24 hours after a successful request
|
20
|
+
# to this endpoint.
|
22
21
|
sig do
|
23
22
|
params(request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash)))
|
24
23
|
.returns(Lithic::Models::TokenizationDecisioningRotateSecretResponse)
|
25
24
|
end
|
26
|
-
def rotate_secret(request_options: {})
|
27
|
-
end
|
25
|
+
def rotate_secret(request_options: {}); end
|
28
26
|
|
29
27
|
# @api private
|
30
28
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
31
|
-
def self.new(client:)
|
32
|
-
end
|
29
|
+
def self.new(client:); end
|
33
30
|
end
|
34
31
|
end
|
35
32
|
end
|
@@ -15,9 +15,7 @@ module Lithic
|
|
15
15
|
# Tokenization token
|
16
16
|
tokenization_token,
|
17
17
|
request_options: {}
|
18
|
-
)
|
19
|
-
end
|
20
|
-
|
18
|
+
); end
|
21
19
|
# List card tokenizations
|
22
20
|
sig do
|
23
21
|
params(
|
@@ -43,28 +41,26 @@ module Lithic
|
|
43
41
|
# Filter for tokenizations created before this date.
|
44
42
|
end_: nil,
|
45
43
|
# A cursor representing an item's token before which a page of results should end.
|
46
|
-
#
|
44
|
+
# Used to retrieve the previous page of results before this item.
|
47
45
|
ending_before: nil,
|
48
46
|
# Page size (for pagination).
|
49
47
|
page_size: nil,
|
50
48
|
# A cursor representing an item's token after which a page of results should
|
51
|
-
#
|
49
|
+
# begin. Used to retrieve the next page of results after this item.
|
52
50
|
starting_after: nil,
|
53
51
|
# Filter for tokenizations by tokenization channel. If this is not specified, only
|
54
|
-
#
|
52
|
+
# DIGITAL_WALLET tokenizations will be returned.
|
55
53
|
tokenization_channel: nil,
|
56
54
|
request_options: {}
|
57
|
-
)
|
58
|
-
end
|
59
|
-
|
55
|
+
); end
|
60
56
|
# This endpoint is used to ask the card network to activate a tokenization. A
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
57
|
+
# successful response indicates that the request was successfully delivered to the
|
58
|
+
# card network. When the card network activates the tokenization, the state will
|
59
|
+
# be updated and a tokenization.updated event will be sent. The endpoint may only
|
60
|
+
# be used on digital wallet tokenizations with status `INACTIVE`,
|
61
|
+
# `PENDING_ACTIVATION`, or `PENDING_2FA`. This will put the tokenization in an
|
62
|
+
# active state, and transactions will be allowed. Reach out at
|
63
|
+
# [lithic.com/contact](https://lithic.com/contact) for more information.
|
68
64
|
sig do
|
69
65
|
params(
|
70
66
|
tokenization_token: String,
|
@@ -76,18 +72,16 @@ module Lithic
|
|
76
72
|
# Tokenization token
|
77
73
|
tokenization_token,
|
78
74
|
request_options: {}
|
79
|
-
)
|
80
|
-
end
|
81
|
-
|
75
|
+
); end
|
82
76
|
# This endpoint is used to ask the card network to deactivate a tokenization. A
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
77
|
+
# successful response indicates that the request was successfully delivered to the
|
78
|
+
# card network. When the card network deactivates the tokenization, the state will
|
79
|
+
# be updated and a tokenization.updated event will be sent. Authorizations
|
80
|
+
# attempted with a deactivated tokenization will be blocked and will not be
|
81
|
+
# forwarded to Lithic from the network. Deactivating the token is a permanent
|
82
|
+
# operation. If the target is a digital wallet tokenization, it will be removed
|
83
|
+
# from its device. Reach out at [lithic.com/contact](https://lithic.com/contact)
|
84
|
+
# for more information.
|
91
85
|
sig do
|
92
86
|
params(
|
93
87
|
tokenization_token: String,
|
@@ -99,17 +93,15 @@ module Lithic
|
|
99
93
|
# Tokenization token
|
100
94
|
tokenization_token,
|
101
95
|
request_options: {}
|
102
|
-
)
|
103
|
-
end
|
104
|
-
|
96
|
+
); end
|
105
97
|
# This endpoint is used to ask the card network to pause a tokenization. A
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
98
|
+
# successful response indicates that the request was successfully delivered to the
|
99
|
+
# card network. When the card network pauses the tokenization, the state will be
|
100
|
+
# updated and a tokenization.updated event will be sent. The endpoint may only be
|
101
|
+
# used on tokenizations with status `ACTIVE`. A paused token will prevent
|
102
|
+
# merchants from sending authorizations, and is a temporary status that can be
|
103
|
+
# changed. Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
104
|
+
# information.
|
113
105
|
sig do
|
114
106
|
params(
|
115
107
|
tokenization_token: String,
|
@@ -121,19 +113,17 @@ module Lithic
|
|
121
113
|
# Tokenization token
|
122
114
|
tokenization_token,
|
123
115
|
request_options: {}
|
124
|
-
)
|
125
|
-
end
|
126
|
-
|
116
|
+
); end
|
127
117
|
# This endpoint is used to ask the card network to send another activation code to
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
118
|
+
# a cardholder that has already tried tokenizing a card. A successful response
|
119
|
+
# indicates that the request was successfully delivered to the card network. The
|
120
|
+
# endpoint may only be used on Mastercard digital wallet tokenizations with status
|
121
|
+
# `INACTIVE`, `PENDING_ACTIVATION`, or `PENDING_2FA`. The network will send a new
|
122
|
+
# activation code to the one of the contact methods provided in the initial
|
123
|
+
# tokenization flow. If a user fails to enter the code correctly 3 times, the
|
124
|
+
# contact method will not be eligible for resending the activation code, and the
|
125
|
+
# cardholder must restart the provision process. Reach out at
|
126
|
+
# [lithic.com/contact](https://lithic.com/contact) for more information.
|
137
127
|
sig do
|
138
128
|
params(
|
139
129
|
tokenization_token: String,
|
@@ -146,15 +136,13 @@ module Lithic
|
|
146
136
|
# Tokenization token
|
147
137
|
tokenization_token,
|
148
138
|
# The communication method that the user has selected to use to receive the
|
149
|
-
#
|
150
|
-
#
|
139
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
140
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
151
141
|
activation_method_type: nil,
|
152
142
|
request_options: {}
|
153
|
-
)
|
154
|
-
end
|
155
|
-
|
143
|
+
); end
|
156
144
|
# This endpoint is used to simulate a card's tokenization in the Digital Wallet
|
157
|
-
#
|
145
|
+
# and merchant tokenization ecosystem.
|
158
146
|
sig do
|
159
147
|
params(
|
160
148
|
cvv: String,
|
@@ -179,27 +167,25 @@ module Lithic
|
|
179
167
|
# The source of the tokenization request.
|
180
168
|
tokenization_source:,
|
181
169
|
# The account score (1-5) that represents how the Digital Wallet's view on how
|
182
|
-
#
|
170
|
+
# reputable an end user's account is.
|
183
171
|
account_score: nil,
|
184
172
|
# The device score (1-5) that represents how the Digital Wallet's view on how
|
185
|
-
#
|
173
|
+
# reputable an end user's device is.
|
186
174
|
device_score: nil,
|
187
175
|
# Optional field to specify the token requestor name for a merchant token
|
188
|
-
#
|
176
|
+
# simulation. Ignored when tokenization_source is not MERCHANT.
|
189
177
|
entity: nil,
|
190
178
|
# The decision that the Digital Wallet's recommend
|
191
179
|
wallet_recommended_decision: nil,
|
192
180
|
request_options: {}
|
193
|
-
)
|
194
|
-
end
|
195
|
-
|
181
|
+
); end
|
196
182
|
# This endpoint is used to ask the card network to unpause a tokenization. A
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
183
|
+
# successful response indicates that the request was successfully delivered to the
|
184
|
+
# card network. When the card network unpauses the tokenization, the state will be
|
185
|
+
# updated and a tokenization.updated event will be sent. The endpoint may only be
|
186
|
+
# used on tokenizations with status `PAUSED`. This will put the tokenization in an
|
187
|
+
# active state, and transactions may resume. Reach out at
|
188
|
+
# [lithic.com/contact](https://lithic.com/contact) for more information.
|
203
189
|
sig do
|
204
190
|
params(
|
205
191
|
tokenization_token: String,
|
@@ -211,17 +197,15 @@ module Lithic
|
|
211
197
|
# Tokenization token
|
212
198
|
tokenization_token,
|
213
199
|
request_options: {}
|
214
|
-
)
|
215
|
-
end
|
216
|
-
|
200
|
+
); end
|
217
201
|
# This endpoint is used update the digital card art for a digital wallet
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
202
|
+
# tokenization. A successful response indicates that the card network has updated
|
203
|
+
# the tokenization's art, and the tokenization's `digital_cart_art_token` field
|
204
|
+
# was updated. The endpoint may not be used on tokenizations with status
|
205
|
+
# `DEACTIVATED`. Note that this updates the art for one specific tokenization, not
|
206
|
+
# all tokenizations for a card. New tokenizations for a card will be created with
|
207
|
+
# the art referenced in the card object's `digital_card_art_token` field. Reach
|
208
|
+
# out at [lithic.com/contact](https://lithic.com/contact) for more information.
|
225
209
|
sig do
|
226
210
|
params(
|
227
211
|
tokenization_token: String,
|
@@ -234,18 +218,15 @@ module Lithic
|
|
234
218
|
# Tokenization token
|
235
219
|
tokenization_token,
|
236
220
|
# Specifies the digital card art to be displayed in the user’s digital wallet for
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
221
|
+
# a tokenization. This artwork must be approved by the network and configured by
|
222
|
+
# Lithic to use. See
|
223
|
+
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
240
224
|
digital_card_art_token: nil,
|
241
225
|
request_options: {}
|
242
|
-
)
|
243
|
-
end
|
244
|
-
|
226
|
+
); end
|
245
227
|
# @api private
|
246
228
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
247
|
-
def self.new(client:)
|
248
|
-
end
|
229
|
+
def self.new(client:); end
|
249
230
|
end
|
250
231
|
end
|
251
232
|
end
|
@@ -5,7 +5,7 @@ module Lithic
|
|
5
5
|
class Transactions
|
6
6
|
class EnhancedCommercialData
|
7
7
|
# Get all L2/L3 enhanced commercial data associated with a transaction. Not
|
8
|
-
#
|
8
|
+
# available in sandbox.
|
9
9
|
sig do
|
10
10
|
params(
|
11
11
|
transaction_token: String,
|
@@ -17,13 +17,10 @@ module Lithic
|
|
17
17
|
# The token of the transaction that the enhanced data is associated with.
|
18
18
|
transaction_token,
|
19
19
|
request_options: {}
|
20
|
-
)
|
21
|
-
end
|
22
|
-
|
20
|
+
); end
|
23
21
|
# @api private
|
24
22
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
25
|
-
def self.new(client:)
|
26
|
-
end
|
23
|
+
def self.new(client:); end
|
27
24
|
end
|
28
25
|
end
|
29
26
|
end
|
@@ -6,7 +6,7 @@ module Lithic
|
|
6
6
|
class Events
|
7
7
|
class EnhancedCommercialData
|
8
8
|
# Get L2/L3 enhanced commercial data associated with a transaction event. Not
|
9
|
-
#
|
9
|
+
# available in sandbox.
|
10
10
|
sig do
|
11
11
|
params(
|
12
12
|
event_token: String,
|
@@ -18,13 +18,10 @@ module Lithic
|
|
18
18
|
# The token of the transaction event that the enhanced data is associated with.
|
19
19
|
event_token,
|
20
20
|
request_options: {}
|
21
|
-
)
|
22
|
-
end
|
23
|
-
|
21
|
+
); end
|
24
22
|
# @api private
|
25
23
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
26
|
-
def self.new(client:)
|
27
|
-
end
|
24
|
+
def self.new(client:); end
|
28
25
|
end
|
29
26
|
end
|
30
27
|
end
|