lithic 0.1.0.pre.alpha.1
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 +7 -0
- data/README.md +168 -0
- data/lib/lithic/base_client.rb +457 -0
- data/lib/lithic/base_model.rb +1212 -0
- data/lib/lithic/base_page.rb +59 -0
- data/lib/lithic/client.rb +210 -0
- data/lib/lithic/cursor_page.rb +92 -0
- data/lib/lithic/errors.rb +183 -0
- data/lib/lithic/extern.rb +7 -0
- data/lib/lithic/models/account.rb +271 -0
- data/lib/lithic/models/account_financial_account_type.rb +19 -0
- data/lib/lithic/models/account_holder.rb +801 -0
- data/lib/lithic/models/account_holder_create_params.rb +615 -0
- data/lib/lithic/models/account_holder_create_response.rb +151 -0
- data/lib/lithic/models/account_holder_list_documents_params.rb +18 -0
- data/lib/lithic/models/account_holder_list_documents_response.rb +23 -0
- data/lib/lithic/models/account_holder_list_params.rb +163 -0
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +24 -0
- data/lib/lithic/models/account_holder_retrieve_params.rb +18 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +105 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +101 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +920 -0
- data/lib/lithic/models/account_holder_update_params.rb +777 -0
- data/lib/lithic/models/account_holder_update_response.rb +1104 -0
- data/lib/lithic/models/account_holder_upload_document_params.rb +63 -0
- data/lib/lithic/models/account_list_params.rb +77 -0
- data/lib/lithic/models/account_retrieve_params.rb +18 -0
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +18 -0
- data/lib/lithic/models/account_spend_limits.rb +168 -0
- data/lib/lithic/models/account_update_params.rb +182 -0
- data/lib/lithic/models/address.rb +64 -0
- data/lib/lithic/models/address_update.rb +82 -0
- data/lib/lithic/models/aggregate_balance.rb +118 -0
- data/lib/lithic/models/aggregate_balance_list_params.rb +45 -0
- data/lib/lithic/models/api_status.rb +23 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +141 -0
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +134 -0
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +81 -0
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +21 -0
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +44 -0
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +28 -0
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +304 -0
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +28 -0
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +52 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +205 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +120 -0
- data/lib/lithic/models/auth_rules/v2_create_response.rb +206 -0
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +40 -0
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +205 -0
- data/lib/lithic/models/auth_rules/v2_list_params.rb +87 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +205 -0
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +206 -0
- data/lib/lithic/models/auth_rules/v2_report_params.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_report_response.rb +25 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +209 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +114 -0
- data/lib/lithic/models/auth_rules/v2_update_response.rb +206 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +130 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +28 -0
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +18 -0
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +18 -0
- data/lib/lithic/models/auth_stream_secret.rb +24 -0
- data/lib/lithic/models/balance.rb +118 -0
- data/lib/lithic/models/balance_list_params.rb +87 -0
- data/lib/lithic/models/book_transfer_create_params.rb +162 -0
- data/lib/lithic/models/book_transfer_list_params.rb +205 -0
- data/lib/lithic/models/book_transfer_response.rb +267 -0
- data/lib/lithic/models/book_transfer_retrieve_params.rb +18 -0
- data/lib/lithic/models/book_transfer_reverse_params.rb +29 -0
- data/lib/lithic/models/card.rb +512 -0
- data/lib/lithic/models/card_convert_physical_params.rb +100 -0
- data/lib/lithic/models/card_create_params.rb +371 -0
- data/lib/lithic/models/card_embed_params.rb +32 -0
- data/lib/lithic/models/card_list_params.rb +128 -0
- data/lib/lithic/models/card_program.rb +82 -0
- data/lib/lithic/models/card_program_list_params.rb +53 -0
- data/lib/lithic/models/card_program_retrieve_params.rb +18 -0
- data/lib/lithic/models/card_provision_params.rb +121 -0
- data/lib/lithic/models/card_provision_response.rb +23 -0
- data/lib/lithic/models/card_reissue_params.rb +104 -0
- data/lib/lithic/models/card_renew_params.rb +135 -0
- data/lib/lithic/models/card_retrieve_params.rb +18 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +18 -0
- data/lib/lithic/models/card_search_by_pan_params.rb +25 -0
- data/lib/lithic/models/card_spend_limits.rb +168 -0
- data/lib/lithic/models/card_update_params.rb +171 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +42 -0
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +97 -0
- data/lib/lithic/models/cards/balance_list_params.rb +44 -0
- data/lib/lithic/models/cards/balance_list_response.rb +120 -0
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +159 -0
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +26 -0
- data/lib/lithic/models/carrier.rb +24 -0
- data/lib/lithic/models/client_api_status_params.rb +18 -0
- data/lib/lithic/models/credit_products/extended_credit.rb +21 -0
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +20 -0
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +34 -0
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +42 -0
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +51 -0
- data/lib/lithic/models/digital_card_art.rb +91 -0
- data/lib/lithic/models/digital_card_art_list_params.rb +53 -0
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +18 -0
- data/lib/lithic/models/dispute.rb +340 -0
- data/lib/lithic/models/dispute_create_params.rb +97 -0
- data/lib/lithic/models/dispute_delete_evidence_params.rb +24 -0
- data/lib/lithic/models/dispute_delete_params.rb +18 -0
- data/lib/lithic/models/dispute_evidence.rb +106 -0
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +29 -0
- data/lib/lithic/models/dispute_list_evidences_params.rb +77 -0
- data/lib/lithic/models/dispute_list_params.rb +131 -0
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +24 -0
- data/lib/lithic/models/dispute_retrieve_params.rb +18 -0
- data/lib/lithic/models/dispute_update_params.rb +88 -0
- data/lib/lithic/models/document.rb +230 -0
- data/lib/lithic/models/event.rb +156 -0
- data/lib/lithic/models/event_list_attempts_params.rb +113 -0
- data/lib/lithic/models/event_list_params.rb +166 -0
- data/lib/lithic/models/event_retrieve_params.rb +18 -0
- data/lib/lithic/models/event_subscription.rb +105 -0
- data/lib/lithic/models/events/subscription_create_params.rb +117 -0
- data/lib/lithic/models/events/subscription_delete_params.rb +20 -0
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +115 -0
- data/lib/lithic/models/events/subscription_list_params.rb +55 -0
- data/lib/lithic/models/events/subscription_recover_params.rb +44 -0
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +44 -0
- data/lib/lithic/models/events/subscription_retrieve_params.rb +20 -0
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +20 -0
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +26 -0
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +20 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +88 -0
- data/lib/lithic/models/events/subscription_update_params.rb +117 -0
- data/lib/lithic/models/external_bank_account_address.rb +53 -0
- data/lib/lithic/models/external_bank_account_create_params.rb +229 -0
- data/lib/lithic/models/external_bank_account_create_response.rb +317 -0
- data/lib/lithic/models/external_bank_account_list_params.rb +171 -0
- data/lib/lithic/models/external_bank_account_list_response.rb +317 -0
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +18 -0
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +317 -0
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +28 -0
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +318 -0
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +28 -0
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +286 -0
- data/lib/lithic/models/external_bank_account_update_params.rb +144 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +317 -0
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +26 -0
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +320 -0
- data/lib/lithic/models/external_payment.rb +282 -0
- data/lib/lithic/models/external_payment_cancel_params.rb +34 -0
- data/lib/lithic/models/external_payment_create_params.rb +143 -0
- data/lib/lithic/models/external_payment_list_params.rb +194 -0
- data/lib/lithic/models/external_payment_release_params.rb +34 -0
- data/lib/lithic/models/external_payment_retrieve_params.rb +18 -0
- data/lib/lithic/models/external_payment_reverse_params.rb +34 -0
- data/lib/lithic/models/external_payment_settle_params.rb +57 -0
- data/lib/lithic/models/financial_account.rb +256 -0
- data/lib/lithic/models/financial_account_create_params.rb +82 -0
- data/lib/lithic/models/financial_account_list_params.rb +66 -0
- data/lib/lithic/models/financial_account_retrieve_params.rb +18 -0
- data/lib/lithic/models/financial_account_update_params.rb +28 -0
- data/lib/lithic/models/financial_account_update_status_params.rb +66 -0
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +44 -0
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +120 -0
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +20 -0
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +71 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +115 -0
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +162 -0
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +26 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +900 -0
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +79 -0
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +27 -0
- data/lib/lithic/models/financial_accounts/statement.rb +654 -0
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +101 -0
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +27 -0
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +64 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +245 -0
- data/lib/lithic/models/financial_accounts/statements.rb +27 -0
- data/lib/lithic/models/financial_transaction.rb +342 -0
- data/lib/lithic/models/instance_financial_account_type.rb +23 -0
- data/lib/lithic/models/kyb.rb +443 -0
- data/lib/lithic/models/kyb_business_entity.rb +138 -0
- data/lib/lithic/models/kyc.rb +142 -0
- data/lib/lithic/models/kyc_exempt.rb +128 -0
- data/lib/lithic/models/management_operation_create_params.rb +163 -0
- data/lib/lithic/models/management_operation_list_params.rb +168 -0
- data/lib/lithic/models/management_operation_retrieve_params.rb +18 -0
- data/lib/lithic/models/management_operation_reverse_params.rb +34 -0
- data/lib/lithic/models/management_operation_transaction.rb +287 -0
- data/lib/lithic/models/message_attempt.rb +100 -0
- data/lib/lithic/models/owner_type.rb +18 -0
- data/lib/lithic/models/payment.rb +460 -0
- data/lib/lithic/models/payment_create_params.rb +154 -0
- data/lib/lithic/models/payment_create_response.rb +24 -0
- data/lib/lithic/models/payment_list_params.rb +193 -0
- data/lib/lithic/models/payment_retrieve_params.rb +18 -0
- data/lib/lithic/models/payment_retry_params.rb +18 -0
- data/lib/lithic/models/payment_retry_response.rb +24 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +82 -0
- data/lib/lithic/models/payment_simulate_action_response.rb +48 -0
- data/lib/lithic/models/payment_simulate_receipt_params.rb +71 -0
- data/lib/lithic/models/payment_simulate_receipt_response.rb +48 -0
- data/lib/lithic/models/payment_simulate_release_params.rb +25 -0
- data/lib/lithic/models/payment_simulate_release_response.rb +48 -0
- data/lib/lithic/models/payment_simulate_return_params.rb +36 -0
- data/lib/lithic/models/payment_simulate_return_response.rb +48 -0
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +180 -0
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +175 -0
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +22 -0
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +175 -0
- data/lib/lithic/models/reports/settlement_list_details_params.rb +55 -0
- data/lib/lithic/models/reports/settlement_summary_params.rb +20 -0
- data/lib/lithic/models/required_document.rb +36 -0
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +40 -0
- data/lib/lithic/models/responder_endpoint_create_params.rb +55 -0
- data/lib/lithic/models/responder_endpoint_create_response.rb +24 -0
- data/lib/lithic/models/responder_endpoint_delete_params.rb +40 -0
- data/lib/lithic/models/responder_endpoint_status.rb +31 -0
- data/lib/lithic/models/settlement_detail.rb +252 -0
- data/lib/lithic/models/settlement_report.rb +119 -0
- data/lib/lithic/models/settlement_summary_details.rb +133 -0
- data/lib/lithic/models/shipping_address.rb +130 -0
- data/lib/lithic/models/spend_limit_duration.rb +32 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +20 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +1102 -0
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +35 -0
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +131 -0
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +27 -0
- data/lib/lithic/models/three_ds/challenge_response.rb +32 -0
- data/lib/lithic/models/three_ds/challenge_result.rb +21 -0
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +20 -0
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +20 -0
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +26 -0
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +20 -0
- data/lib/lithic/models/tokenization.rb +282 -0
- data/lib/lithic/models/tokenization_activate_params.rb +18 -0
- data/lib/lithic/models/tokenization_deactivate_params.rb +18 -0
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +18 -0
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +18 -0
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +24 -0
- data/lib/lithic/models/tokenization_list_params.rb +138 -0
- data/lib/lithic/models/tokenization_pause_params.rb +18 -0
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +48 -0
- data/lib/lithic/models/tokenization_retrieve_params.rb +18 -0
- data/lib/lithic/models/tokenization_retrieve_response.rb +23 -0
- data/lib/lithic/models/tokenization_secret.rb +24 -0
- data/lib/lithic/models/tokenization_simulate_params.rb +138 -0
- data/lib/lithic/models/tokenization_simulate_response.rb +23 -0
- data/lib/lithic/models/tokenization_unpause_params.rb +18 -0
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +32 -0
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +23 -0
- data/lib/lithic/models/transaction.rb +1613 -0
- data/lib/lithic/models/transaction_expire_authorization_params.rb +18 -0
- data/lib/lithic/models/transaction_list_params.rb +168 -0
- data/lib/lithic/models/transaction_retrieve_params.rb +18 -0
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +33 -0
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +35 -0
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +188 -0
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +36 -0
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +44 -0
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +24 -0
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +65 -0
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +35 -0
- data/lib/lithic/models/transaction_simulate_return_params.rb +39 -0
- data/lib/lithic/models/transaction_simulate_return_response.rb +35 -0
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +25 -0
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +24 -0
- data/lib/lithic/models/transaction_simulate_void_params.rb +70 -0
- data/lib/lithic/models/transaction_simulate_void_response.rb +24 -0
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +20 -0
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +21 -0
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +22 -0
- data/lib/lithic/models/transactions/events/enhanced_data.rb +543 -0
- data/lib/lithic/models/transfer.rb +396 -0
- data/lib/lithic/models/transfer_create_params.rb +65 -0
- data/lib/lithic/models/verification_method.rb +21 -0
- data/lib/lithic/pooled_net_requester.rb +180 -0
- data/lib/lithic/request_options.rb +108 -0
- data/lib/lithic/resources/account_holders.rb +428 -0
- data/lib/lithic/resources/accounts.rb +128 -0
- data/lib/lithic/resources/aggregate_balances.rb +34 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +106 -0
- data/lib/lithic/resources/auth_rules/v2.rb +300 -0
- data/lib/lithic/resources/auth_rules.rb +16 -0
- data/lib/lithic/resources/auth_stream_enrollment.rb +52 -0
- data/lib/lithic/resources/balances.rb +40 -0
- data/lib/lithic/resources/book_transfers.rb +137 -0
- data/lib/lithic/resources/card_programs.rb +57 -0
- data/lib/lithic/resources/cards/aggregate_balances.rb +37 -0
- data/lib/lithic/resources/cards/balances.rb +41 -0
- data/lib/lithic/resources/cards/financial_transactions.rb +78 -0
- data/lib/lithic/resources/cards.rb +556 -0
- data/lib/lithic/resources/credit_products/extended_credit.rb +32 -0
- data/lib/lithic/resources/credit_products/prime_rates.rb +62 -0
- data/lib/lithic/resources/credit_products.rb +20 -0
- data/lib/lithic/resources/digital_card_art.rb +60 -0
- data/lib/lithic/resources/disputes.rb +253 -0
- data/lib/lithic/resources/events/subscriptions.rb +285 -0
- data/lib/lithic/resources/events.rb +108 -0
- data/lib/lithic/resources/external_bank_accounts/micro_deposits.rb +36 -0
- data/lib/lithic/resources/external_bank_accounts.rb +214 -0
- data/lib/lithic/resources/external_payments.rb +208 -0
- data/lib/lithic/resources/financial_accounts/balances.rb +41 -0
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +60 -0
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +83 -0
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +74 -0
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +56 -0
- data/lib/lithic/resources/financial_accounts/statements.rb +80 -0
- data/lib/lithic/resources/financial_accounts.rb +152 -0
- data/lib/lithic/resources/management_operations.rb +134 -0
- data/lib/lithic/resources/payments.rb +226 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +80 -0
- data/lib/lithic/resources/reports/settlement.rb +65 -0
- data/lib/lithic/resources/reports.rb +16 -0
- data/lib/lithic/resources/responder_endpoints.rb +74 -0
- data/lib/lithic/resources/three_ds/authentication.rb +88 -0
- data/lib/lithic/resources/three_ds/decisioning.rb +79 -0
- data/lib/lithic/resources/three_ds.rb +20 -0
- data/lib/lithic/resources/tokenization_decisioning.rb +51 -0
- data/lib/lithic/resources/tokenizations.rb +271 -0
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +33 -0
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +35 -0
- data/lib/lithic/resources/transactions/events.rb +19 -0
- data/lib/lithic/resources/transactions.rb +343 -0
- data/lib/lithic/resources/transfers.rb +45 -0
- data/lib/lithic/single_page.rb +86 -0
- data/lib/lithic/util.rb +728 -0
- data/lib/lithic/version.rb +5 -0
- data/lib/lithic.rb +363 -0
- data/manifest.yaml +14 -0
- data/rbi/lib/lithic/base_client.rbi +196 -0
- data/rbi/lib/lithic/base_model.rbi +640 -0
- data/rbi/lib/lithic/base_page.rbi +36 -0
- data/rbi/lib/lithic/client.rbi +143 -0
- data/rbi/lib/lithic/cursor_page.rbi +19 -0
- data/rbi/lib/lithic/errors.rbi +144 -0
- data/rbi/lib/lithic/extern.rbi +7 -0
- data/rbi/lib/lithic/models/account.rbi +273 -0
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +20 -0
- data/rbi/lib/lithic/models/account_holder.rbi +895 -0
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +656 -0
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +218 -0
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +25 -0
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +21 -0
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +150 -0
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +27 -0
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +197 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +191 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +1305 -0
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +741 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +1523 -0
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +115 -0
- data/rbi/lib/lithic/models/account_list_params.rbi +79 -0
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +25 -0
- data/rbi/lib/lithic/models/account_spend_limits.rbi +156 -0
- data/rbi/lib/lithic/models/account_update_params.rbi +185 -0
- data/rbi/lib/lithic/models/address.rbi +69 -0
- data/rbi/lib/lithic/models/address_update.rbi +82 -0
- data/rbi/lib/lithic/models/aggregate_balance.rbi +118 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +61 -0
- data/rbi/lib/lithic/models/api_status.rbi +21 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +135 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +137 -0
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +86 -0
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +23 -0
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +43 -0
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +26 -0
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +367 -0
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +31 -0
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +59 -0
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +269 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +147 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +270 -0
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +27 -0
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +72 -0
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +269 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +86 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +268 -0
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +27 -0
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +270 -0
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +27 -0
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +23 -0
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +27 -0
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +271 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +113 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +270 -0
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +140 -0
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +30 -0
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +25 -0
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +25 -0
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +22 -0
- data/rbi/lib/lithic/models/balance.rbi +117 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +90 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +173 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +196 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +277 -0
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +28 -0
- data/rbi/lib/lithic/models/card.rbi +497 -0
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +111 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +351 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +33 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +124 -0
- data/rbi/lib/lithic/models/card_program.rbi +82 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +59 -0
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +120 -0
- data/rbi/lib/lithic/models/card_provision_response.rbi +21 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +111 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +138 -0
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +25 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +25 -0
- data/rbi/lib/lithic/models/card_spend_limits.rbi +153 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +168 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +48 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +96 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +52 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +119 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +164 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +26 -0
- data/rbi/lib/lithic/models/carrier.rbi +22 -0
- data/rbi/lib/lithic/models/client_api_status_params.rbi +25 -0
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +20 -0
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +27 -0
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +37 -0
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +49 -0
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +54 -0
- data/rbi/lib/lithic/models/digital_card_art.rbi +85 -0
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +59 -0
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/dispute.rbi +345 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +100 -0
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +24 -0
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +25 -0
- data/rbi/lib/lithic/models/dispute_evidence.rbi +108 -0
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +28 -0
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +79 -0
- data/rbi/lib/lithic/models/dispute_list_params.rbi +127 -0
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +24 -0
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +100 -0
- data/rbi/lib/lithic/models/document.rbi +283 -0
- data/rbi/lib/lithic/models/event.rbi +196 -0
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +111 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +208 -0
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +161 -0
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +254 -0
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +115 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +61 -0
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +43 -0
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +43 -0
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +24 -0
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +272 -0
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +254 -0
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +58 -0
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +223 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +327 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +177 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +324 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +330 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +30 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +376 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +30 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +287 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +137 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +327 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +29 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +390 -0
- data/rbi/lib/lithic/models/external_payment.rbi +308 -0
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +34 -0
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +148 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +191 -0
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +34 -0
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +34 -0
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +66 -0
- data/rbi/lib/lithic/models/financial_account.rbi +301 -0
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +78 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +73 -0
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +27 -0
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +95 -0
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +52 -0
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +121 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +27 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +72 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +171 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +197 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +29 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +1111 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +81 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +30 -0
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +852 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +98 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +30 -0
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +69 -0
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +573 -0
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +29 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +403 -0
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +26 -0
- data/rbi/lib/lithic/models/kyb.rbi +464 -0
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +146 -0
- data/rbi/lib/lithic/models/kyc.rbi +158 -0
- data/rbi/lib/lithic/models/kyc_exempt.rbi +131 -0
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +190 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +167 -0
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +34 -0
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +330 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +92 -0
- data/rbi/lib/lithic/models/owner_type.rbi +19 -0
- data/rbi/lib/lithic/models/payment.rbi +486 -0
- data/rbi/lib/lithic/models/payment_create_params.rbi +166 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +22 -0
- data/rbi/lib/lithic/models/payment_list_params.rbi +183 -0
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/payment_retry_params.rbi +25 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +22 -0
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +113 -0
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +59 -0
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +81 -0
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +59 -0
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +25 -0
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +59 -0
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +43 -0
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +59 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +176 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +196 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +29 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +205 -0
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +61 -0
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +27 -0
- data/rbi/lib/lithic/models/required_document.rbi +39 -0
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +56 -0
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +68 -0
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +22 -0
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +53 -0
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_detail.rbi +246 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +117 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +128 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +124 -0
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +33 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +27 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +1743 -0
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +36 -0
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +153 -0
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +25 -0
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +31 -0
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +22 -0
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +27 -0
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +27 -0
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +24 -0
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +27 -0
- data/rbi/lib/lithic/models/tokenization.rbi +293 -0
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +25 -0
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +25 -0
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +25 -0
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +25 -0
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +22 -0
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +135 -0
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +25 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +78 -0
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +21 -0
- data/rbi/lib/lithic/models/tokenization_secret.rbi +22 -0
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +156 -0
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +24 -0
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +25 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +34 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +21 -0
- data/rbi/lib/lithic/models/transaction.rbi +2030 -0
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +25 -0
- data/rbi/lib/lithic/models/transaction_list_params.rbi +161 -0
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +25 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +34 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +29 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +194 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +30 -0
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +44 -0
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +22 -0
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +70 -0
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +29 -0
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +46 -0
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +29 -0
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +25 -0
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +22 -0
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +81 -0
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +22 -0
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +27 -0
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +23 -0
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +29 -0
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +1069 -0
- data/rbi/lib/lithic/models/transfer.rbi +422 -0
- data/rbi/lib/lithic/models/transfer_create_params.rbi +70 -0
- data/rbi/lib/lithic/models/verification_method.rbi +22 -0
- data/rbi/lib/lithic/pooled_net_requester.rbi +59 -0
- data/rbi/lib/lithic/request_options.rbi +63 -0
- data/rbi/lib/lithic/resources/account_holders.rbi +437 -0
- data/rbi/lib/lithic/resources/accounts.rbi +119 -0
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +27 -0
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +95 -0
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +291 -0
- data/rbi/lib/lithic/resources/auth_rules.rbi +14 -0
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +32 -0
- data/rbi/lib/lithic/resources/balances.rbi +36 -0
- data/rbi/lib/lithic/resources/book_transfers.rbi +133 -0
- data/rbi/lib/lithic/resources/card_programs.rbi +49 -0
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +31 -0
- data/rbi/lib/lithic/resources/cards/balances.rbi +35 -0
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +69 -0
- data/rbi/lib/lithic/resources/cards.rbi +532 -0
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +28 -0
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +55 -0
- data/rbi/lib/lithic/resources/credit_products.rbi +17 -0
- data/rbi/lib/lithic/resources/digital_card_art.rbi +52 -0
- data/rbi/lib/lithic/resources/disputes.rbi +202 -0
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +233 -0
- data/rbi/lib/lithic/resources/events.rbi +97 -0
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +25 -0
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +193 -0
- data/rbi/lib/lithic/resources/external_payments.rbi +180 -0
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +36 -0
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +53 -0
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +71 -0
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +65 -0
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +45 -0
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +71 -0
- data/rbi/lib/lithic/resources/financial_accounts.rbi +119 -0
- data/rbi/lib/lithic/resources/management_operations.rbi +120 -0
- data/rbi/lib/lithic/resources/payments.rbi +191 -0
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +85 -0
- data/rbi/lib/lithic/resources/reports/settlement.rbi +57 -0
- data/rbi/lib/lithic/resources/reports.rbi +14 -0
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +59 -0
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +76 -0
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +55 -0
- data/rbi/lib/lithic/resources/three_ds.rbi +17 -0
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +34 -0
- data/rbi/lib/lithic/resources/tokenizations.rbi +250 -0
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +29 -0
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +31 -0
- data/rbi/lib/lithic/resources/transactions/events.rbi +16 -0
- data/rbi/lib/lithic/resources/transactions.rbi +325 -0
- data/rbi/lib/lithic/resources/transfers.rbi +43 -0
- data/rbi/lib/lithic/single_page.rbi +19 -0
- data/rbi/lib/lithic/util.rbi +280 -0
- data/rbi/lib/lithic/version.rbi +5 -0
- data/sig/lithic/base_client.rbs +106 -0
- data/sig/lithic/base_model.rbs +260 -0
- data/sig/lithic/base_page.rbs +20 -0
- data/sig/lithic/client.rbs +84 -0
- data/sig/lithic/cursor_page.rbs +11 -0
- data/sig/lithic/errors.rbs +99 -0
- data/sig/lithic/extern.rbs +4 -0
- data/sig/lithic/models/account.rbs +152 -0
- data/sig/lithic/models/account_financial_account_type.rbs +14 -0
- data/sig/lithic/models/account_holder.rbs +512 -0
- data/sig/lithic/models/account_holder_create_params.rbs +325 -0
- data/sig/lithic/models/account_holder_create_response.rbs +126 -0
- data/sig/lithic/models/account_holder_list_documents_params.rbs +15 -0
- data/sig/lithic/models/account_holder_list_documents_response.rbs +18 -0
- data/sig/lithic/models/account_holder_list_params.rbs +85 -0
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +20 -0
- data/sig/lithic/models/account_holder_retrieve_params.rbs +14 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_document_review_params.rbs +85 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_params.rbs +95 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +608 -0
- data/sig/lithic/models/account_holder_update_params.rbs +404 -0
- data/sig/lithic/models/account_holder_update_response.rbs +716 -0
- data/sig/lithic/models/account_holder_upload_document_params.rbs +74 -0
- data/sig/lithic/models/account_list_params.rbs +49 -0
- data/sig/lithic/models/account_retrieve_params.rbs +14 -0
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +15 -0
- data/sig/lithic/models/account_spend_limits.rbs +108 -0
- data/sig/lithic/models/account_update_params.rbs +111 -0
- data/sig/lithic/models/address.rbs +40 -0
- data/sig/lithic/models/address_update.rbs +50 -0
- data/sig/lithic/models/aggregate_balance.rbs +66 -0
- data/sig/lithic/models/aggregate_balance_list_params.rbs +39 -0
- data/sig/lithic/models/api_status.rbs +15 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +79 -0
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +75 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +18 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +31 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_response.rbs +19 -0
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +198 -0
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +39 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +138 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +80 -0
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +138 -0
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +16 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +33 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +138 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +51 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +138 -0
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +16 -0
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +138 -0
- data/sig/lithic/models/auth_rules/v2_report_params.rbs +16 -0
- data/sig/lithic/models/auth_rules/v2_report_response.rbs +17 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +16 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +138 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +67 -0
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +138 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +84 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +17 -0
- data/sig/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbs +15 -0
- data/sig/lithic/models/auth_stream_enrollment_rotate_secret_params.rbs +15 -0
- data/sig/lithic/models/auth_stream_secret.rbs +15 -0
- data/sig/lithic/models/balance.rbs +66 -0
- data/sig/lithic/models/balance_list_params.rbs +57 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +151 -0
- data/sig/lithic/models/book_transfer_list_params.rbs +136 -0
- data/sig/lithic/models/book_transfer_response.rbs +173 -0
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +14 -0
- data/sig/lithic/models/book_transfer_reverse_params.rbs +22 -0
- data/sig/lithic/models/card.rbs +242 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +64 -0
- data/sig/lithic/models/card_create_params.rbs +180 -0
- data/sig/lithic/models/card_embed_params.rbs +23 -0
- data/sig/lithic/models/card_list_params.rbs +78 -0
- data/sig/lithic/models/card_program.rbs +46 -0
- data/sig/lithic/models/card_program_list_params.rbs +33 -0
- data/sig/lithic/models/card_program_retrieve_params.rbs +14 -0
- data/sig/lithic/models/card_provision_params.rbs +69 -0
- data/sig/lithic/models/card_provision_response.rbs +15 -0
- data/sig/lithic/models/card_reissue_params.rbs +68 -0
- data/sig/lithic/models/card_renew_params.rbs +76 -0
- data/sig/lithic/models/card_retrieve_params.rbs +14 -0
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +14 -0
- data/sig/lithic/models/card_search_by_pan_params.rbs +20 -0
- data/sig/lithic/models/card_spend_limits.rbs +109 -0
- data/sig/lithic/models/card_update_params.rbs +89 -0
- data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +30 -0
- data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +52 -0
- data/sig/lithic/models/cards/balance_list_params.rbs +30 -0
- data/sig/lithic/models/cards/balance_list_response.rbs +68 -0
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +107 -0
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +22 -0
- data/sig/lithic/models/carrier.rbs +15 -0
- data/sig/lithic/models/client_api_status_params.rbs +14 -0
- data/sig/lithic/models/credit_products/extended_credit.rbs +15 -0
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +16 -0
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +25 -0
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +30 -0
- data/sig/lithic/models/credit_products/prime_rate_retrieve_response.rbs +36 -0
- data/sig/lithic/models/digital_card_art.rbs +55 -0
- data/sig/lithic/models/digital_card_art_list_params.rbs +33 -0
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +14 -0
- data/sig/lithic/models/dispute.rbs +195 -0
- data/sig/lithic/models/dispute_create_params.rbs +80 -0
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +20 -0
- data/sig/lithic/models/dispute_delete_params.rbs +14 -0
- data/sig/lithic/models/dispute_evidence.rbs +62 -0
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +22 -0
- data/sig/lithic/models/dispute_list_evidences_params.rbs +49 -0
- data/sig/lithic/models/dispute_list_params.rbs +88 -0
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +20 -0
- data/sig/lithic/models/dispute_retrieve_params.rbs +14 -0
- data/sig/lithic/models/dispute_update_params.rbs +82 -0
- data/sig/lithic/models/document.rbs +189 -0
- data/sig/lithic/models/event.rbs +123 -0
- data/sig/lithic/models/event_list_attempts_params.rbs +70 -0
- data/sig/lithic/models/event_list_params.rbs +156 -0
- data/sig/lithic/models/event_retrieve_params.rbs +14 -0
- data/sig/lithic/models/event_subscription.rbs +127 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +138 -0
- data/sig/lithic/models/events/subscription_delete_params.rbs +16 -0
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +72 -0
- data/sig/lithic/models/events/subscription_list_params.rbs +35 -0
- data/sig/lithic/models/events/subscription_recover_params.rbs +29 -0
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +29 -0
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +16 -0
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +17 -0
- data/sig/lithic/models/events/subscription_retrieve_secret_response.rbs +17 -0
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +16 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +122 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +138 -0
- data/sig/lithic/models/external_bank_account_address.rbs +40 -0
- data/sig/lithic/models/external_bank_account_create_params.rbs +130 -0
- data/sig/lithic/models/external_bank_account_create_response.rbs +183 -0
- data/sig/lithic/models/external_bank_account_list_params.rbs +118 -0
- data/sig/lithic/models/external_bank_account_list_response.rbs +183 -0
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +183 -0
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +22 -0
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +183 -0
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +22 -0
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +159 -0
- data/sig/lithic/models/external_bank_account_update_params.rbs +90 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +183 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +22 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +185 -0
- data/sig/lithic/models/external_payment.rbs +231 -0
- data/sig/lithic/models/external_payment_cancel_params.rbs +25 -0
- data/sig/lithic/models/external_payment_create_params.rbs +101 -0
- data/sig/lithic/models/external_payment_list_params.rbs +124 -0
- data/sig/lithic/models/external_payment_release_params.rbs +25 -0
- data/sig/lithic/models/external_payment_retrieve_params.rbs +14 -0
- data/sig/lithic/models/external_payment_reverse_params.rbs +25 -0
- data/sig/lithic/models/external_payment_settle_params.rbs +48 -0
- data/sig/lithic/models/financial_account.rbs +179 -0
- data/sig/lithic/models/financial_account_create_params.rbs +55 -0
- data/sig/lithic/models/financial_account_list_params.rbs +51 -0
- data/sig/lithic/models/financial_account_retrieve_params.rbs +14 -0
- data/sig/lithic/models/financial_account_update_params.rbs +22 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +57 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +68 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +17 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +45 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +75 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +109 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +22 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +594 -0
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +51 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +22 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +431 -0
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +57 -0
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +22 -0
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +45 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +259 -0
- data/sig/lithic/models/financial_accounts/statements.rbs +24 -0
- data/sig/lithic/models/financial_transaction.rbs +291 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +24 -0
- data/sig/lithic/models/kyb.rbs +231 -0
- data/sig/lithic/models/kyb_business_entity.rbs +79 -0
- data/sig/lithic/models/kyc.rbs +88 -0
- data/sig/lithic/models/kyc_exempt.rbs +75 -0
- data/sig/lithic/models/management_operation_create_params.rbs +134 -0
- data/sig/lithic/models/management_operation_list_params.rbs +108 -0
- data/sig/lithic/models/management_operation_retrieve_params.rbs +15 -0
- data/sig/lithic/models/management_operation_reverse_params.rbs +25 -0
- data/sig/lithic/models/management_operation_transaction.rbs +230 -0
- data/sig/lithic/models/message_attempt.rbs +59 -0
- data/sig/lithic/models/owner_type.rbs +14 -0
- data/sig/lithic/models/payment.rbs +302 -0
- data/sig/lithic/models/payment_create_params.rbs +110 -0
- data/sig/lithic/models/payment_create_response.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +125 -0
- data/sig/lithic/models/payment_retrieve_params.rbs +14 -0
- data/sig/lithic/models/payment_retry_params.rbs +14 -0
- data/sig/lithic/models/payment_retry_response.rbs +15 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +77 -0
- data/sig/lithic/models/payment_simulate_action_response.rbs +37 -0
- data/sig/lithic/models/payment_simulate_receipt_params.rbs +52 -0
- data/sig/lithic/models/payment_simulate_receipt_response.rbs +37 -0
- data/sig/lithic/models/payment_simulate_release_params.rbs +20 -0
- data/sig/lithic/models/payment_simulate_release_response.rbs +37 -0
- data/sig/lithic/models/payment_simulate_return_params.rbs +26 -0
- data/sig/lithic/models/payment_simulate_return_response.rbs +37 -0
- data/sig/lithic/models/reports/settlement/network_total_list_params.rbs +104 -0
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +106 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +18 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +106 -0
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +35 -0
- data/sig/lithic/models/reports/settlement_summary_params.rbs +16 -0
- data/sig/lithic/models/required_document.rbs +26 -0
- data/sig/lithic/models/responder_endpoint_check_status_params.rbs +34 -0
- data/sig/lithic/models/responder_endpoint_create_params.rbs +46 -0
- data/sig/lithic/models/responder_endpoint_create_response.rbs +15 -0
- data/sig/lithic/models/responder_endpoint_delete_params.rbs +34 -0
- data/sig/lithic/models/responder_endpoint_status.rbs +17 -0
- data/sig/lithic/models/settlement_detail.rbs +153 -0
- data/sig/lithic/models/settlement_report.rbs +58 -0
- data/sig/lithic/models/settlement_summary_details.rbs +78 -0
- data/sig/lithic/models/shipping_address.rbs +66 -0
- data/sig/lithic/models/spend_limit_duration.rbs +16 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +16 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +715 -0
- data/sig/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbs +25 -0
- data/sig/lithic/models/three_ds/authentication_simulate_params.rbs +87 -0
- data/sig/lithic/models/three_ds/authentication_simulate_response.rbs +17 -0
- data/sig/lithic/models/three_ds/challenge_response.rbs +24 -0
- data/sig/lithic/models/three_ds/challenge_result.rbs +16 -0
- data/sig/lithic/models/three_ds/decisioning_challenge_response_params.rbs +17 -0
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_params.rbs +17 -0
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_response.rbs +17 -0
- data/sig/lithic/models/three_ds/decisioning_rotate_secret_params.rbs +16 -0
- data/sig/lithic/models/tokenization.rbs +226 -0
- data/sig/lithic/models/tokenization_activate_params.rbs +14 -0
- data/sig/lithic/models/tokenization_deactivate_params.rbs +14 -0
- data/sig/lithic/models/tokenization_decisioning_retrieve_secret_params.rbs +15 -0
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_params.rbs +15 -0
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_response.rbs +15 -0
- data/sig/lithic/models/tokenization_list_params.rbs +81 -0
- data/sig/lithic/models/tokenization_pause_params.rbs +14 -0
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +39 -0
- data/sig/lithic/models/tokenization_retrieve_params.rbs +14 -0
- data/sig/lithic/models/tokenization_retrieve_response.rbs +15 -0
- data/sig/lithic/models/tokenization_secret.rbs +15 -0
- data/sig/lithic/models/tokenization_simulate_params.rbs +87 -0
- data/sig/lithic/models/tokenization_simulate_response.rbs +18 -0
- data/sig/lithic/models/tokenization_unpause_params.rbs +14 -0
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +22 -0
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +16 -0
- data/sig/lithic/models/transaction.rbs +1333 -0
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +15 -0
- data/sig/lithic/models/transaction_list_params.rbs +102 -0
- data/sig/lithic/models/transaction_retrieve_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_authorization_advice_params.rbs +23 -0
- data/sig/lithic/models/transaction_simulate_authorization_advice_response.rbs +20 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +94 -0
- data/sig/lithic/models/transaction_simulate_authorization_response.rbs +20 -0
- data/sig/lithic/models/transaction_simulate_clearing_params.rbs +25 -0
- data/sig/lithic/models/transaction_simulate_clearing_response.rbs +16 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_params.rbs +43 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_response.rbs +20 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +27 -0
- data/sig/lithic/models/transaction_simulate_return_response.rbs +20 -0
- data/sig/lithic/models/transaction_simulate_return_reversal_params.rbs +20 -0
- data/sig/lithic/models/transaction_simulate_return_reversal_response.rbs +16 -0
- data/sig/lithic/models/transaction_simulate_void_params.rbs +48 -0
- data/sig/lithic/models/transaction_simulate_void_response.rbs +15 -0
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +17 -0
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbs +18 -0
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +19 -0
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +547 -0
- data/sig/lithic/models/transfer.rbs +332 -0
- data/sig/lithic/models/transfer_create_params.rbs +37 -0
- data/sig/lithic/models/verification_method.rbs +18 -0
- data/sig/lithic/pooled_net_requester.rbs +37 -0
- data/sig/lithic/request_options.rbs +44 -0
- data/sig/lithic/resources/account_holders.rbs +103 -0
- data/sig/lithic/resources/accounts.rbs +36 -0
- data/sig/lithic/resources/aggregate_balances.rbs +12 -0
- data/sig/lithic/resources/auth_rules/v2/backtests.rbs +24 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +77 -0
- data/sig/lithic/resources/auth_rules.rbs +9 -0
- data/sig/lithic/resources/auth_stream_enrollment.rbs +13 -0
- data/sig/lithic/resources/balances.rbs +15 -0
- data/sig/lithic/resources/book_transfers.rbs +45 -0
- data/sig/lithic/resources/card_programs.rbs +19 -0
- data/sig/lithic/resources/cards/aggregate_balances.rbs +15 -0
- data/sig/lithic/resources/cards/balances.rbs +16 -0
- data/sig/lithic/resources/cards/financial_transactions.rbs +27 -0
- data/sig/lithic/resources/cards.rbs +118 -0
- data/sig/lithic/resources/credit_products/extended_credit.rbs +14 -0
- data/sig/lithic/resources/credit_products/prime_rates.rbs +23 -0
- data/sig/lithic/resources/credit_products.rbs +11 -0
- data/sig/lithic/resources/digital_card_art.rbs +19 -0
- data/sig/lithic/resources/disputes.rbs +74 -0
- data/sig/lithic/resources/events/subscriptions.rbs +84 -0
- data/sig/lithic/resources/events.rbs +36 -0
- data/sig/lithic/resources/external_bank_accounts/micro_deposits.rbs +15 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +75 -0
- data/sig/lithic/resources/external_payments.rbs +68 -0
- data/sig/lithic/resources/financial_accounts/balances.rbs +16 -0
- data/sig/lithic/resources/financial_accounts/credit_configuration.rbs +23 -0
- data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +27 -0
- data/sig/lithic/resources/financial_accounts/loan_tapes.rbs +25 -0
- data/sig/lithic/resources/financial_accounts/statements/line_items.rbs +20 -0
- data/sig/lithic/resources/financial_accounts/statements.rbs +28 -0
- data/sig/lithic/resources/financial_accounts.rbs +51 -0
- data/sig/lithic/resources/management_operations.rbs +46 -0
- data/sig/lithic/resources/payments.rbs +73 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +31 -0
- data/sig/lithic/resources/reports/settlement.rbs +24 -0
- data/sig/lithic/resources/reports.rbs +9 -0
- data/sig/lithic/resources/responder_endpoints.rbs +23 -0
- data/sig/lithic/resources/three_ds/authentication.rbs +28 -0
- data/sig/lithic/resources/three_ds/decisioning.rbs +21 -0
- data/sig/lithic/resources/three_ds.rbs +11 -0
- data/sig/lithic/resources/tokenization_decisioning.rbs +15 -0
- data/sig/lithic/resources/tokenizations.rbs +68 -0
- data/sig/lithic/resources/transactions/enhanced_commercial_data.rbs +14 -0
- data/sig/lithic/resources/transactions/events/enhanced_commercial_data.rbs +16 -0
- data/sig/lithic/resources/transactions/events.rbs +11 -0
- data/sig/lithic/resources/transactions.rbs +88 -0
- data/sig/lithic/resources/transfers.rbs +16 -0
- data/sig/lithic/single_page.rbs +11 -0
- data/sig/lithic/util.rbs +132 -0
- data/sig/lithic/version.rbs +3 -0
- metadata +1043 -0
@@ -0,0 +1,1613 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Lithic
|
4
|
+
module Models
|
5
|
+
class Transaction < Lithic::BaseModel
|
6
|
+
# @!attribute token
|
7
|
+
# Globally unique identifier.
|
8
|
+
#
|
9
|
+
# @return [String]
|
10
|
+
required :token, String
|
11
|
+
|
12
|
+
# @!attribute account_token
|
13
|
+
# The token for the account associated with this transaction.
|
14
|
+
#
|
15
|
+
# @return [String]
|
16
|
+
required :account_token, String
|
17
|
+
|
18
|
+
# @!attribute acquirer_fee
|
19
|
+
# Fee assessed by the merchant and paid for by the cardholder in the smallest unit
|
20
|
+
# of the currency. Will be zero if no fee is assessed. Rebates may be transmitted
|
21
|
+
# as a negative value to indicate credited fees.
|
22
|
+
#
|
23
|
+
# @return [Integer, nil]
|
24
|
+
required :acquirer_fee, Integer, nil?: true
|
25
|
+
|
26
|
+
# @!attribute acquirer_reference_number
|
27
|
+
# Unique identifier assigned to a transaction by the acquirer that can be used in
|
28
|
+
# dispute and chargeback filing.
|
29
|
+
#
|
30
|
+
# @return [String, nil]
|
31
|
+
required :acquirer_reference_number, String, nil?: true
|
32
|
+
|
33
|
+
# @!attribute amount
|
34
|
+
# When the transaction is pending, this represents the authorization amount of the
|
35
|
+
# transaction in the anticipated settlement currency. Once the transaction has
|
36
|
+
# settled, this field represents the settled amount in the settlement currency.
|
37
|
+
#
|
38
|
+
# @return [Integer]
|
39
|
+
required :amount, Integer
|
40
|
+
|
41
|
+
# @!attribute amounts
|
42
|
+
#
|
43
|
+
# @return [Lithic::Models::Transaction::Amounts]
|
44
|
+
required :amounts, -> { Lithic::Models::Transaction::Amounts }
|
45
|
+
|
46
|
+
# @!attribute authorization_amount
|
47
|
+
# The authorization amount of the transaction in the anticipated settlement
|
48
|
+
# currency.
|
49
|
+
#
|
50
|
+
# @return [Integer, nil]
|
51
|
+
required :authorization_amount, Integer, nil?: true
|
52
|
+
|
53
|
+
# @!attribute authorization_code
|
54
|
+
# A fixed-width 6-digit numeric identifier that can be used to identify a
|
55
|
+
# transaction with networks.
|
56
|
+
#
|
57
|
+
# @return [String, nil]
|
58
|
+
required :authorization_code, String, nil?: true
|
59
|
+
|
60
|
+
# @!attribute avs
|
61
|
+
#
|
62
|
+
# @return [Lithic::Models::Transaction::Avs, nil]
|
63
|
+
required :avs, -> { Lithic::Models::Transaction::Avs }, nil?: true
|
64
|
+
|
65
|
+
# @!attribute card_token
|
66
|
+
# Token for the card used in this transaction.
|
67
|
+
#
|
68
|
+
# @return [String]
|
69
|
+
required :card_token, String
|
70
|
+
|
71
|
+
# @!attribute cardholder_authentication
|
72
|
+
#
|
73
|
+
# @return [Lithic::Models::Transaction::CardholderAuthentication, nil]
|
74
|
+
required :cardholder_authentication,
|
75
|
+
-> { Lithic::Models::Transaction::CardholderAuthentication },
|
76
|
+
nil?: true
|
77
|
+
|
78
|
+
# @!attribute created
|
79
|
+
# Date and time when the transaction first occurred. UTC time zone.
|
80
|
+
#
|
81
|
+
# @return [Time]
|
82
|
+
required :created, Time
|
83
|
+
|
84
|
+
# @!attribute merchant
|
85
|
+
#
|
86
|
+
# @return [Lithic::Models::Transaction::Merchant]
|
87
|
+
required :merchant, -> { Lithic::Models::Transaction::Merchant }
|
88
|
+
|
89
|
+
# @!attribute merchant_amount
|
90
|
+
# Analogous to the 'amount', but in the merchant currency.
|
91
|
+
#
|
92
|
+
# @return [Integer, nil]
|
93
|
+
required :merchant_amount, Integer, nil?: true
|
94
|
+
|
95
|
+
# @!attribute merchant_authorization_amount
|
96
|
+
# Analogous to the 'authorization_amount', but in the merchant currency.
|
97
|
+
#
|
98
|
+
# @return [Integer, nil]
|
99
|
+
required :merchant_authorization_amount, Integer, nil?: true
|
100
|
+
|
101
|
+
# @!attribute merchant_currency
|
102
|
+
# 3-character alphabetic ISO 4217 code for the local currency of the transaction.
|
103
|
+
#
|
104
|
+
# @return [String]
|
105
|
+
required :merchant_currency, String
|
106
|
+
|
107
|
+
# @!attribute network
|
108
|
+
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
109
|
+
# `VISA`, or `UNKNOWN`. Value is `UNKNOWN` when Lithic cannot determine the
|
110
|
+
# network code from the upstream provider.
|
111
|
+
#
|
112
|
+
# @return [Symbol, Lithic::Models::Transaction::Network, nil]
|
113
|
+
required :network, enum: -> { Lithic::Models::Transaction::Network }, nil?: true
|
114
|
+
|
115
|
+
# @!attribute network_risk_score
|
116
|
+
# Network-provided score assessing risk level associated with a given
|
117
|
+
# authorization. Scores are on a range of 0-999, with 0 representing the lowest
|
118
|
+
# risk and 999 representing the highest risk. For Visa transactions, where the raw
|
119
|
+
# score has a range of 0-99, Lithic will normalize the score by multiplying the
|
120
|
+
# raw score by 10x.
|
121
|
+
#
|
122
|
+
# @return [Integer, nil]
|
123
|
+
required :network_risk_score, Integer, nil?: true
|
124
|
+
|
125
|
+
# @!attribute pos
|
126
|
+
#
|
127
|
+
# @return [Lithic::Models::Transaction::Pos]
|
128
|
+
required :pos, -> { Lithic::Models::Transaction::Pos }
|
129
|
+
|
130
|
+
# @!attribute result
|
131
|
+
#
|
132
|
+
# @return [Symbol, Lithic::Models::Transaction::Result]
|
133
|
+
required :result, enum: -> { Lithic::Models::Transaction::Result }
|
134
|
+
|
135
|
+
# @!attribute settled_amount
|
136
|
+
# The settled amount of the transaction in the settlement currency.
|
137
|
+
#
|
138
|
+
# @return [Integer]
|
139
|
+
required :settled_amount, Integer
|
140
|
+
|
141
|
+
# @!attribute status
|
142
|
+
# Status of the transaction.
|
143
|
+
#
|
144
|
+
# @return [Symbol, Lithic::Models::Transaction::Status]
|
145
|
+
required :status, enum: -> { Lithic::Models::Transaction::Status }
|
146
|
+
|
147
|
+
# @!attribute token_info
|
148
|
+
#
|
149
|
+
# @return [Lithic::Models::Transaction::TokenInfo, nil]
|
150
|
+
required :token_info, -> { Lithic::Models::Transaction::TokenInfo }, nil?: true
|
151
|
+
|
152
|
+
# @!attribute updated
|
153
|
+
# Date and time when the transaction last updated. UTC time zone.
|
154
|
+
#
|
155
|
+
# @return [Time]
|
156
|
+
required :updated, Time
|
157
|
+
|
158
|
+
# @!attribute [r] events
|
159
|
+
#
|
160
|
+
# @return [Array<Lithic::Models::Transaction::Event>, nil]
|
161
|
+
optional :events, -> { Lithic::ArrayOf[Lithic::Models::Transaction::Event] }
|
162
|
+
|
163
|
+
# @!parse
|
164
|
+
# # @return [Array<Lithic::Models::Transaction::Event>]
|
165
|
+
# attr_writer :events
|
166
|
+
|
167
|
+
# @!parse
|
168
|
+
# # @param token [String]
|
169
|
+
# # @param account_token [String]
|
170
|
+
# # @param acquirer_fee [Integer, nil]
|
171
|
+
# # @param acquirer_reference_number [String, nil]
|
172
|
+
# # @param amount [Integer]
|
173
|
+
# # @param amounts [Lithic::Models::Transaction::Amounts]
|
174
|
+
# # @param authorization_amount [Integer, nil]
|
175
|
+
# # @param authorization_code [String, nil]
|
176
|
+
# # @param avs [Lithic::Models::Transaction::Avs, nil]
|
177
|
+
# # @param card_token [String]
|
178
|
+
# # @param cardholder_authentication [Lithic::Models::Transaction::CardholderAuthentication, nil]
|
179
|
+
# # @param created [Time]
|
180
|
+
# # @param merchant [Lithic::Models::Transaction::Merchant]
|
181
|
+
# # @param merchant_amount [Integer, nil]
|
182
|
+
# # @param merchant_authorization_amount [Integer, nil]
|
183
|
+
# # @param merchant_currency [String]
|
184
|
+
# # @param network [Symbol, Lithic::Models::Transaction::Network, nil]
|
185
|
+
# # @param network_risk_score [Integer, nil]
|
186
|
+
# # @param pos [Lithic::Models::Transaction::Pos]
|
187
|
+
# # @param result [Symbol, Lithic::Models::Transaction::Result]
|
188
|
+
# # @param settled_amount [Integer]
|
189
|
+
# # @param status [Symbol, Lithic::Models::Transaction::Status]
|
190
|
+
# # @param token_info [Lithic::Models::Transaction::TokenInfo, nil]
|
191
|
+
# # @param updated [Time]
|
192
|
+
# # @param events [Array<Lithic::Models::Transaction::Event>]
|
193
|
+
# #
|
194
|
+
# def initialize(
|
195
|
+
# token:,
|
196
|
+
# account_token:,
|
197
|
+
# acquirer_fee:,
|
198
|
+
# acquirer_reference_number:,
|
199
|
+
# amount:,
|
200
|
+
# amounts:,
|
201
|
+
# authorization_amount:,
|
202
|
+
# authorization_code:,
|
203
|
+
# avs:,
|
204
|
+
# card_token:,
|
205
|
+
# cardholder_authentication:,
|
206
|
+
# created:,
|
207
|
+
# merchant:,
|
208
|
+
# merchant_amount:,
|
209
|
+
# merchant_authorization_amount:,
|
210
|
+
# merchant_currency:,
|
211
|
+
# network:,
|
212
|
+
# network_risk_score:,
|
213
|
+
# pos:,
|
214
|
+
# result:,
|
215
|
+
# settled_amount:,
|
216
|
+
# status:,
|
217
|
+
# token_info:,
|
218
|
+
# updated:,
|
219
|
+
# events: nil,
|
220
|
+
# **
|
221
|
+
# )
|
222
|
+
# super
|
223
|
+
# end
|
224
|
+
|
225
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
226
|
+
|
227
|
+
class Amounts < Lithic::BaseModel
|
228
|
+
# @!attribute cardholder
|
229
|
+
#
|
230
|
+
# @return [Lithic::Models::Transaction::Amounts::Cardholder]
|
231
|
+
required :cardholder, -> { Lithic::Models::Transaction::Amounts::Cardholder }
|
232
|
+
|
233
|
+
# @!attribute hold
|
234
|
+
#
|
235
|
+
# @return [Lithic::Models::Transaction::Amounts::Hold]
|
236
|
+
required :hold, -> { Lithic::Models::Transaction::Amounts::Hold }
|
237
|
+
|
238
|
+
# @!attribute merchant
|
239
|
+
#
|
240
|
+
# @return [Lithic::Models::Transaction::Amounts::Merchant]
|
241
|
+
required :merchant, -> { Lithic::Models::Transaction::Amounts::Merchant }
|
242
|
+
|
243
|
+
# @!attribute settlement
|
244
|
+
#
|
245
|
+
# @return [Lithic::Models::Transaction::Amounts::Settlement]
|
246
|
+
required :settlement, -> { Lithic::Models::Transaction::Amounts::Settlement }
|
247
|
+
|
248
|
+
# @!parse
|
249
|
+
# # @param cardholder [Lithic::Models::Transaction::Amounts::Cardholder]
|
250
|
+
# # @param hold [Lithic::Models::Transaction::Amounts::Hold]
|
251
|
+
# # @param merchant [Lithic::Models::Transaction::Amounts::Merchant]
|
252
|
+
# # @param settlement [Lithic::Models::Transaction::Amounts::Settlement]
|
253
|
+
# #
|
254
|
+
# def initialize(cardholder:, hold:, merchant:, settlement:, **) = super
|
255
|
+
|
256
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
257
|
+
|
258
|
+
class Cardholder < Lithic::BaseModel
|
259
|
+
# @!attribute amount
|
260
|
+
# The estimated settled amount of the transaction in the cardholder billing
|
261
|
+
# currency.
|
262
|
+
#
|
263
|
+
# @return [Integer]
|
264
|
+
required :amount, Integer
|
265
|
+
|
266
|
+
# @!attribute conversion_rate
|
267
|
+
# The exchange rate used to convert the merchant amount to the cardholder billing
|
268
|
+
# amount.
|
269
|
+
#
|
270
|
+
# @return [String]
|
271
|
+
required :conversion_rate, String
|
272
|
+
|
273
|
+
# @!attribute currency
|
274
|
+
# 3-character alphabetic ISO 4217 currency
|
275
|
+
#
|
276
|
+
# @return [String]
|
277
|
+
required :currency, String
|
278
|
+
|
279
|
+
# @!parse
|
280
|
+
# # @param amount [Integer]
|
281
|
+
# # @param conversion_rate [String]
|
282
|
+
# # @param currency [String]
|
283
|
+
# #
|
284
|
+
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
285
|
+
|
286
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
287
|
+
end
|
288
|
+
|
289
|
+
class Hold < Lithic::BaseModel
|
290
|
+
# @!attribute amount
|
291
|
+
# The pending amount of the transaction in the anticipated settlement currency.
|
292
|
+
#
|
293
|
+
# @return [Integer]
|
294
|
+
required :amount, Integer
|
295
|
+
|
296
|
+
# @!attribute currency
|
297
|
+
# 3-character alphabetic ISO 4217 currency
|
298
|
+
#
|
299
|
+
# @return [String]
|
300
|
+
required :currency, String
|
301
|
+
|
302
|
+
# @!parse
|
303
|
+
# # @param amount [Integer]
|
304
|
+
# # @param currency [String]
|
305
|
+
# #
|
306
|
+
# def initialize(amount:, currency:, **) = super
|
307
|
+
|
308
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
309
|
+
end
|
310
|
+
|
311
|
+
class Merchant < Lithic::BaseModel
|
312
|
+
# @!attribute amount
|
313
|
+
# The settled amount of the transaction in the merchant currency.
|
314
|
+
#
|
315
|
+
# @return [Integer]
|
316
|
+
required :amount, Integer
|
317
|
+
|
318
|
+
# @!attribute currency
|
319
|
+
# 3-character alphabetic ISO 4217 currency
|
320
|
+
#
|
321
|
+
# @return [String]
|
322
|
+
required :currency, String
|
323
|
+
|
324
|
+
# @!parse
|
325
|
+
# # @param amount [Integer]
|
326
|
+
# # @param currency [String]
|
327
|
+
# #
|
328
|
+
# def initialize(amount:, currency:, **) = super
|
329
|
+
|
330
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
331
|
+
end
|
332
|
+
|
333
|
+
class Settlement < Lithic::BaseModel
|
334
|
+
# @!attribute amount
|
335
|
+
# The settled amount of the transaction in the settlement currency.
|
336
|
+
#
|
337
|
+
# @return [Integer]
|
338
|
+
required :amount, Integer
|
339
|
+
|
340
|
+
# @!attribute currency
|
341
|
+
# 3-character alphabetic ISO 4217 currency
|
342
|
+
#
|
343
|
+
# @return [String]
|
344
|
+
required :currency, String
|
345
|
+
|
346
|
+
# @!parse
|
347
|
+
# # @param amount [Integer]
|
348
|
+
# # @param currency [String]
|
349
|
+
# #
|
350
|
+
# def initialize(amount:, currency:, **) = super
|
351
|
+
|
352
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class Avs < Lithic::BaseModel
|
357
|
+
# @!attribute address
|
358
|
+
# Cardholder address
|
359
|
+
#
|
360
|
+
# @return [String]
|
361
|
+
required :address, String
|
362
|
+
|
363
|
+
# @!attribute zipcode
|
364
|
+
# Cardholder ZIP code
|
365
|
+
#
|
366
|
+
# @return [String]
|
367
|
+
required :zipcode, String
|
368
|
+
|
369
|
+
# @!parse
|
370
|
+
# # @param address [String]
|
371
|
+
# # @param zipcode [String]
|
372
|
+
# #
|
373
|
+
# def initialize(address:, zipcode:, **) = super
|
374
|
+
|
375
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
376
|
+
end
|
377
|
+
|
378
|
+
class CardholderAuthentication < Lithic::BaseModel
|
379
|
+
# @!attribute three_ds_version
|
380
|
+
# The 3DS version used for the authentication
|
381
|
+
#
|
382
|
+
# @return [String, nil]
|
383
|
+
required :three_ds_version, String, api_name: :"3ds_version", nil?: true
|
384
|
+
|
385
|
+
# @!attribute acquirer_exemption
|
386
|
+
# Whether an acquirer exemption applied to the transaction.
|
387
|
+
#
|
388
|
+
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption]
|
389
|
+
required :acquirer_exemption,
|
390
|
+
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption }
|
391
|
+
|
392
|
+
# @!attribute authentication_result
|
393
|
+
# Indicates what the outcome of the 3DS authentication process is.
|
394
|
+
#
|
395
|
+
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult]
|
396
|
+
required :authentication_result,
|
397
|
+
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult }
|
398
|
+
|
399
|
+
# @!attribute decision_made_by
|
400
|
+
# Indicates which party made the 3DS authentication decision.
|
401
|
+
#
|
402
|
+
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy]
|
403
|
+
required :decision_made_by,
|
404
|
+
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy }
|
405
|
+
|
406
|
+
# @!attribute liability_shift
|
407
|
+
# Indicates whether chargeback liability shift applies to the transaction.
|
408
|
+
# Possible enum values:
|
409
|
+
#
|
410
|
+
# * `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D Secure flow, chargeback liability shift applies.
|
411
|
+
#
|
412
|
+
# * `ACQUIRER_EXEMPTION`: The acquirer utilised an exemption to bypass Strong Customer Authentication (`transStatus = N`, or `transStatus = I`). Liability remains with the acquirer and in this case the `acquirer_exemption` field is expected to be not `NONE`.
|
413
|
+
#
|
414
|
+
# * `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the merchant is liable.
|
415
|
+
#
|
416
|
+
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
417
|
+
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
418
|
+
# applies.
|
419
|
+
#
|
420
|
+
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift]
|
421
|
+
required :liability_shift,
|
422
|
+
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift }
|
423
|
+
|
424
|
+
# @!attribute three_ds_authentication_token
|
425
|
+
# Unique identifier you can use to match a given 3DS authentication (available via
|
426
|
+
# the three_ds_authentication.created event webhook) and the transaction. Note
|
427
|
+
# that in cases where liability shift does not occur, this token is matched to the
|
428
|
+
# transaction on a best-effort basis.
|
429
|
+
#
|
430
|
+
# @return [String, nil]
|
431
|
+
required :three_ds_authentication_token, String, nil?: true
|
432
|
+
|
433
|
+
# @!attribute verification_attempted
|
434
|
+
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
435
|
+
# verification method was. (deprecated, use `authentication_result`)
|
436
|
+
#
|
437
|
+
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationAttempted]
|
438
|
+
required :verification_attempted,
|
439
|
+
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::VerificationAttempted }
|
440
|
+
|
441
|
+
# @!attribute verification_result
|
442
|
+
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
443
|
+
# use `authentication_result`)
|
444
|
+
#
|
445
|
+
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationResult]
|
446
|
+
required :verification_result,
|
447
|
+
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::VerificationResult }
|
448
|
+
|
449
|
+
# @!parse
|
450
|
+
# # @param three_ds_version [String, nil]
|
451
|
+
# # @param acquirer_exemption [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption]
|
452
|
+
# # @param authentication_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult]
|
453
|
+
# # @param decision_made_by [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy]
|
454
|
+
# # @param liability_shift [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift]
|
455
|
+
# # @param three_ds_authentication_token [String, nil]
|
456
|
+
# # @param verification_attempted [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationAttempted]
|
457
|
+
# # @param verification_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationResult]
|
458
|
+
# #
|
459
|
+
# def initialize(
|
460
|
+
# three_ds_version:,
|
461
|
+
# acquirer_exemption:,
|
462
|
+
# authentication_result:,
|
463
|
+
# decision_made_by:,
|
464
|
+
# liability_shift:,
|
465
|
+
# three_ds_authentication_token:,
|
466
|
+
# verification_attempted:,
|
467
|
+
# verification_result:,
|
468
|
+
# **
|
469
|
+
# )
|
470
|
+
# super
|
471
|
+
# end
|
472
|
+
|
473
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
474
|
+
|
475
|
+
# Whether an acquirer exemption applied to the transaction.
|
476
|
+
module AcquirerExemption
|
477
|
+
extend Lithic::Enum
|
478
|
+
|
479
|
+
AUTHENTICATION_OUTAGE_EXCEPTION = :AUTHENTICATION_OUTAGE_EXCEPTION
|
480
|
+
LOW_VALUE = :LOW_VALUE
|
481
|
+
MERCHANT_INITIATED_TRANSACTION = :MERCHANT_INITIATED_TRANSACTION
|
482
|
+
NONE = :NONE
|
483
|
+
RECURRING_PAYMENT = :RECURRING_PAYMENT
|
484
|
+
SECURE_CORPORATE_PAYMENT = :SECURE_CORPORATE_PAYMENT
|
485
|
+
STRONG_CUSTOMER_AUTHENTICATION_DELEGATION = :STRONG_CUSTOMER_AUTHENTICATION_DELEGATION
|
486
|
+
TRANSACTION_RISK_ANALYSIS = :TRANSACTION_RISK_ANALYSIS
|
487
|
+
|
488
|
+
finalize!
|
489
|
+
|
490
|
+
# @!parse
|
491
|
+
# # @return [Array<Symbol>]
|
492
|
+
# def self.values; end
|
493
|
+
end
|
494
|
+
|
495
|
+
# Indicates what the outcome of the 3DS authentication process is.
|
496
|
+
module AuthenticationResult
|
497
|
+
extend Lithic::Enum
|
498
|
+
|
499
|
+
ATTEMPTS = :ATTEMPTS
|
500
|
+
DECLINE = :DECLINE
|
501
|
+
NONE = :NONE
|
502
|
+
SUCCESS = :SUCCESS
|
503
|
+
|
504
|
+
finalize!
|
505
|
+
|
506
|
+
# @!parse
|
507
|
+
# # @return [Array<Symbol>]
|
508
|
+
# def self.values; end
|
509
|
+
end
|
510
|
+
|
511
|
+
# Indicates which party made the 3DS authentication decision.
|
512
|
+
module DecisionMadeBy
|
513
|
+
extend Lithic::Enum
|
514
|
+
|
515
|
+
CUSTOMER_ENDPOINT = :CUSTOMER_ENDPOINT
|
516
|
+
LITHIC_DEFAULT = :LITHIC_DEFAULT
|
517
|
+
LITHIC_RULES = :LITHIC_RULES
|
518
|
+
NETWORK = :NETWORK
|
519
|
+
UNKNOWN = :UNKNOWN
|
520
|
+
|
521
|
+
finalize!
|
522
|
+
|
523
|
+
# @!parse
|
524
|
+
# # @return [Array<Symbol>]
|
525
|
+
# def self.values; end
|
526
|
+
end
|
527
|
+
|
528
|
+
# Indicates whether chargeback liability shift applies to the transaction.
|
529
|
+
# Possible enum values:
|
530
|
+
#
|
531
|
+
# * `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D Secure flow, chargeback liability shift applies.
|
532
|
+
#
|
533
|
+
# * `ACQUIRER_EXEMPTION`: The acquirer utilised an exemption to bypass Strong Customer Authentication (`transStatus = N`, or `transStatus = I`). Liability remains with the acquirer and in this case the `acquirer_exemption` field is expected to be not `NONE`.
|
534
|
+
#
|
535
|
+
# * `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the merchant is liable.
|
536
|
+
#
|
537
|
+
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
538
|
+
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
539
|
+
# applies.
|
540
|
+
module LiabilityShift
|
541
|
+
extend Lithic::Enum
|
542
|
+
|
543
|
+
NUMBER_3DS_AUTHENTICATED = :"3DS_AUTHENTICATED"
|
544
|
+
ACQUIRER_EXEMPTION = :ACQUIRER_EXEMPTION
|
545
|
+
NONE = :NONE
|
546
|
+
TOKEN_AUTHENTICATED = :TOKEN_AUTHENTICATED
|
547
|
+
|
548
|
+
finalize!
|
549
|
+
|
550
|
+
# @!parse
|
551
|
+
# # @return [Array<Symbol>]
|
552
|
+
# def self.values; end
|
553
|
+
end
|
554
|
+
|
555
|
+
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
556
|
+
# verification method was. (deprecated, use `authentication_result`)
|
557
|
+
module VerificationAttempted
|
558
|
+
extend Lithic::Enum
|
559
|
+
|
560
|
+
NONE = :NONE
|
561
|
+
OTHER = :OTHER
|
562
|
+
|
563
|
+
finalize!
|
564
|
+
|
565
|
+
# @!parse
|
566
|
+
# # @return [Array<Symbol>]
|
567
|
+
# def self.values; end
|
568
|
+
end
|
569
|
+
|
570
|
+
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
571
|
+
# use `authentication_result`)
|
572
|
+
module VerificationResult
|
573
|
+
extend Lithic::Enum
|
574
|
+
|
575
|
+
CANCELLED = :CANCELLED
|
576
|
+
FAILED = :FAILED
|
577
|
+
FRICTIONLESS = :FRICTIONLESS
|
578
|
+
NOT_ATTEMPTED = :NOT_ATTEMPTED
|
579
|
+
REJECTED = :REJECTED
|
580
|
+
SUCCESS = :SUCCESS
|
581
|
+
|
582
|
+
finalize!
|
583
|
+
|
584
|
+
# @!parse
|
585
|
+
# # @return [Array<Symbol>]
|
586
|
+
# def self.values; end
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
class Merchant < Lithic::BaseModel
|
591
|
+
# @!attribute acceptor_id
|
592
|
+
# Unique alphanumeric identifier for the payment card acceptor (merchant).
|
593
|
+
#
|
594
|
+
# @return [String]
|
595
|
+
required :acceptor_id, String
|
596
|
+
|
597
|
+
# @!attribute acquiring_institution_id
|
598
|
+
# Unique numeric identifier of the acquiring institution.
|
599
|
+
#
|
600
|
+
# @return [String]
|
601
|
+
required :acquiring_institution_id, String
|
602
|
+
|
603
|
+
# @!attribute city
|
604
|
+
# City of card acceptor. Note that in many cases, particularly in card-not-present
|
605
|
+
# transactions, merchants may send through a phone number or URL in this field.
|
606
|
+
#
|
607
|
+
# @return [String]
|
608
|
+
required :city, String
|
609
|
+
|
610
|
+
# @!attribute country
|
611
|
+
# Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1
|
612
|
+
# alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
|
613
|
+
#
|
614
|
+
# @return [String]
|
615
|
+
required :country, String
|
616
|
+
|
617
|
+
# @!attribute descriptor
|
618
|
+
# Short description of card acceptor.
|
619
|
+
#
|
620
|
+
# @return [String]
|
621
|
+
required :descriptor, String
|
622
|
+
|
623
|
+
# @!attribute mcc
|
624
|
+
# Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is
|
625
|
+
# used to classify a business by the types of goods or services it provides.
|
626
|
+
#
|
627
|
+
# @return [String]
|
628
|
+
required :mcc, String
|
629
|
+
|
630
|
+
# @!attribute state
|
631
|
+
# Geographic state of card acceptor.
|
632
|
+
#
|
633
|
+
# @return [String]
|
634
|
+
required :state, String
|
635
|
+
|
636
|
+
# @!parse
|
637
|
+
# # @param acceptor_id [String]
|
638
|
+
# # @param acquiring_institution_id [String]
|
639
|
+
# # @param city [String]
|
640
|
+
# # @param country [String]
|
641
|
+
# # @param descriptor [String]
|
642
|
+
# # @param mcc [String]
|
643
|
+
# # @param state [String]
|
644
|
+
# #
|
645
|
+
# def initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:, **) = super
|
646
|
+
|
647
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
648
|
+
end
|
649
|
+
|
650
|
+
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
651
|
+
# `VISA`, or `UNKNOWN`. Value is `UNKNOWN` when Lithic cannot determine the
|
652
|
+
# network code from the upstream provider.
|
653
|
+
module Network
|
654
|
+
extend Lithic::Enum
|
655
|
+
|
656
|
+
INTERLINK = :INTERLINK
|
657
|
+
MAESTRO = :MAESTRO
|
658
|
+
MASTERCARD = :MASTERCARD
|
659
|
+
UNKNOWN = :UNKNOWN
|
660
|
+
VISA = :VISA
|
661
|
+
|
662
|
+
finalize!
|
663
|
+
|
664
|
+
# @!parse
|
665
|
+
# # @return [Array<Symbol>]
|
666
|
+
# def self.values; end
|
667
|
+
end
|
668
|
+
|
669
|
+
class Pos < Lithic::BaseModel
|
670
|
+
# @!attribute entry_mode
|
671
|
+
#
|
672
|
+
# @return [Lithic::Models::Transaction::Pos::EntryMode]
|
673
|
+
required :entry_mode, -> { Lithic::Models::Transaction::Pos::EntryMode }
|
674
|
+
|
675
|
+
# @!attribute terminal
|
676
|
+
#
|
677
|
+
# @return [Lithic::Models::Transaction::Pos::Terminal]
|
678
|
+
required :terminal, -> { Lithic::Models::Transaction::Pos::Terminal }
|
679
|
+
|
680
|
+
# @!parse
|
681
|
+
# # @param entry_mode [Lithic::Models::Transaction::Pos::EntryMode]
|
682
|
+
# # @param terminal [Lithic::Models::Transaction::Pos::Terminal]
|
683
|
+
# #
|
684
|
+
# def initialize(entry_mode:, terminal:, **) = super
|
685
|
+
|
686
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
687
|
+
|
688
|
+
class EntryMode < Lithic::BaseModel
|
689
|
+
# @!attribute card
|
690
|
+
# Card presence indicator
|
691
|
+
#
|
692
|
+
# @return [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Card]
|
693
|
+
required :card, enum: -> { Lithic::Models::Transaction::Pos::EntryMode::Card }
|
694
|
+
|
695
|
+
# @!attribute cardholder
|
696
|
+
# Cardholder presence indicator
|
697
|
+
#
|
698
|
+
# @return [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Cardholder]
|
699
|
+
required :cardholder, enum: -> { Lithic::Models::Transaction::Pos::EntryMode::Cardholder }
|
700
|
+
|
701
|
+
# @!attribute pan
|
702
|
+
# Method of entry for the PAN
|
703
|
+
#
|
704
|
+
# @return [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Pan]
|
705
|
+
required :pan, enum: -> { Lithic::Models::Transaction::Pos::EntryMode::Pan }
|
706
|
+
|
707
|
+
# @!attribute pin_entered
|
708
|
+
# Indicates whether the cardholder entered the PIN. True if the PIN was entered.
|
709
|
+
#
|
710
|
+
# @return [Boolean]
|
711
|
+
required :pin_entered, Lithic::BooleanModel
|
712
|
+
|
713
|
+
# @!parse
|
714
|
+
# # @param card [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Card]
|
715
|
+
# # @param cardholder [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Cardholder]
|
716
|
+
# # @param pan [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Pan]
|
717
|
+
# # @param pin_entered [Boolean]
|
718
|
+
# #
|
719
|
+
# def initialize(card:, cardholder:, pan:, pin_entered:, **) = super
|
720
|
+
|
721
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
722
|
+
|
723
|
+
# Card presence indicator
|
724
|
+
module Card
|
725
|
+
extend Lithic::Enum
|
726
|
+
|
727
|
+
NOT_PRESENT = :NOT_PRESENT
|
728
|
+
PREAUTHORIZED = :PREAUTHORIZED
|
729
|
+
PRESENT = :PRESENT
|
730
|
+
UNKNOWN = :UNKNOWN
|
731
|
+
|
732
|
+
finalize!
|
733
|
+
|
734
|
+
# @!parse
|
735
|
+
# # @return [Array<Symbol>]
|
736
|
+
# def self.values; end
|
737
|
+
end
|
738
|
+
|
739
|
+
# Cardholder presence indicator
|
740
|
+
module Cardholder
|
741
|
+
extend Lithic::Enum
|
742
|
+
|
743
|
+
DEFERRED_BILLING = :DEFERRED_BILLING
|
744
|
+
ELECTRONIC_ORDER = :ELECTRONIC_ORDER
|
745
|
+
INSTALLMENT = :INSTALLMENT
|
746
|
+
MAIL_ORDER = :MAIL_ORDER
|
747
|
+
NOT_PRESENT = :NOT_PRESENT
|
748
|
+
PREAUTHORIZED = :PREAUTHORIZED
|
749
|
+
PRESENT = :PRESENT
|
750
|
+
REOCCURRING = :REOCCURRING
|
751
|
+
TELEPHONE_ORDER = :TELEPHONE_ORDER
|
752
|
+
UNKNOWN = :UNKNOWN
|
753
|
+
|
754
|
+
finalize!
|
755
|
+
|
756
|
+
# @!parse
|
757
|
+
# # @return [Array<Symbol>]
|
758
|
+
# def self.values; end
|
759
|
+
end
|
760
|
+
|
761
|
+
# Method of entry for the PAN
|
762
|
+
module Pan
|
763
|
+
extend Lithic::Enum
|
764
|
+
|
765
|
+
AUTO_ENTRY = :AUTO_ENTRY
|
766
|
+
BAR_CODE = :BAR_CODE
|
767
|
+
CONTACTLESS = :CONTACTLESS
|
768
|
+
CREDENTIAL_ON_FILE = :CREDENTIAL_ON_FILE
|
769
|
+
ECOMMERCE = :ECOMMERCE
|
770
|
+
ERROR_KEYED = :ERROR_KEYED
|
771
|
+
ERROR_MAGNETIC_STRIPE = :ERROR_MAGNETIC_STRIPE
|
772
|
+
ICC = :ICC
|
773
|
+
KEY_ENTERED = :KEY_ENTERED
|
774
|
+
MAGNETIC_STRIPE = :MAGNETIC_STRIPE
|
775
|
+
MANUAL = :MANUAL
|
776
|
+
OCR = :OCR
|
777
|
+
SECURE_CARDLESS = :SECURE_CARDLESS
|
778
|
+
UNKNOWN = :UNKNOWN
|
779
|
+
UNSPECIFIED = :UNSPECIFIED
|
780
|
+
|
781
|
+
finalize!
|
782
|
+
|
783
|
+
# @!parse
|
784
|
+
# # @return [Array<Symbol>]
|
785
|
+
# def self.values; end
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
789
|
+
class Terminal < Lithic::BaseModel
|
790
|
+
# @!attribute attended
|
791
|
+
# True if a clerk is present at the sale.
|
792
|
+
#
|
793
|
+
# @return [Boolean]
|
794
|
+
required :attended, Lithic::BooleanModel
|
795
|
+
|
796
|
+
# @!attribute card_retention_capable
|
797
|
+
# True if the terminal is capable of retaining the card.
|
798
|
+
#
|
799
|
+
# @return [Boolean]
|
800
|
+
required :card_retention_capable, Lithic::BooleanModel
|
801
|
+
|
802
|
+
# @!attribute on_premise
|
803
|
+
# True if the sale was made at the place of business (vs. mobile).
|
804
|
+
#
|
805
|
+
# @return [Boolean]
|
806
|
+
required :on_premise, Lithic::BooleanModel
|
807
|
+
|
808
|
+
# @!attribute operator
|
809
|
+
# The person that is designated to swipe the card
|
810
|
+
#
|
811
|
+
# @return [Symbol, Lithic::Models::Transaction::Pos::Terminal::Operator]
|
812
|
+
required :operator, enum: -> { Lithic::Models::Transaction::Pos::Terminal::Operator }
|
813
|
+
|
814
|
+
# @!attribute partial_approval_capable
|
815
|
+
# True if the terminal is capable of partial approval. Partial approval is when
|
816
|
+
# part of a transaction is approved and another payment must be used for the
|
817
|
+
# remainder. Example scenario: A $40 transaction is attempted on a prepaid card
|
818
|
+
# with a $25 balance. If partial approval is enabled, $25 can be authorized, at
|
819
|
+
# which point the POS will prompt the user for an additional payment of $15.
|
820
|
+
#
|
821
|
+
# @return [Boolean]
|
822
|
+
required :partial_approval_capable, Lithic::BooleanModel
|
823
|
+
|
824
|
+
# @!attribute pin_capability
|
825
|
+
# Status of whether the POS is able to accept PINs
|
826
|
+
#
|
827
|
+
# @return [Symbol, Lithic::Models::Transaction::Pos::Terminal::PinCapability]
|
828
|
+
required :pin_capability, enum: -> { Lithic::Models::Transaction::Pos::Terminal::PinCapability }
|
829
|
+
|
830
|
+
# @!attribute type
|
831
|
+
# POS Type
|
832
|
+
#
|
833
|
+
# @return [Symbol, Lithic::Models::Transaction::Pos::Terminal::Type]
|
834
|
+
required :type, enum: -> { Lithic::Models::Transaction::Pos::Terminal::Type }
|
835
|
+
|
836
|
+
# @!parse
|
837
|
+
# # @param attended [Boolean]
|
838
|
+
# # @param card_retention_capable [Boolean]
|
839
|
+
# # @param on_premise [Boolean]
|
840
|
+
# # @param operator [Symbol, Lithic::Models::Transaction::Pos::Terminal::Operator]
|
841
|
+
# # @param partial_approval_capable [Boolean]
|
842
|
+
# # @param pin_capability [Symbol, Lithic::Models::Transaction::Pos::Terminal::PinCapability]
|
843
|
+
# # @param type [Symbol, Lithic::Models::Transaction::Pos::Terminal::Type]
|
844
|
+
# #
|
845
|
+
# def initialize(
|
846
|
+
# attended:,
|
847
|
+
# card_retention_capable:,
|
848
|
+
# on_premise:,
|
849
|
+
# operator:,
|
850
|
+
# partial_approval_capable:,
|
851
|
+
# pin_capability:,
|
852
|
+
# type:,
|
853
|
+
# **
|
854
|
+
# )
|
855
|
+
# super
|
856
|
+
# end
|
857
|
+
|
858
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
859
|
+
|
860
|
+
# The person that is designated to swipe the card
|
861
|
+
module Operator
|
862
|
+
extend Lithic::Enum
|
863
|
+
|
864
|
+
ADMINISTRATIVE = :ADMINISTRATIVE
|
865
|
+
CARDHOLDER = :CARDHOLDER
|
866
|
+
CARD_ACCEPTOR = :CARD_ACCEPTOR
|
867
|
+
UNKNOWN = :UNKNOWN
|
868
|
+
|
869
|
+
finalize!
|
870
|
+
|
871
|
+
# @!parse
|
872
|
+
# # @return [Array<Symbol>]
|
873
|
+
# def self.values; end
|
874
|
+
end
|
875
|
+
|
876
|
+
# Status of whether the POS is able to accept PINs
|
877
|
+
module PinCapability
|
878
|
+
extend Lithic::Enum
|
879
|
+
|
880
|
+
CAPABLE = :CAPABLE
|
881
|
+
INOPERATIVE = :INOPERATIVE
|
882
|
+
NOT_CAPABLE = :NOT_CAPABLE
|
883
|
+
UNSPECIFIED = :UNSPECIFIED
|
884
|
+
|
885
|
+
finalize!
|
886
|
+
|
887
|
+
# @!parse
|
888
|
+
# # @return [Array<Symbol>]
|
889
|
+
# def self.values; end
|
890
|
+
end
|
891
|
+
|
892
|
+
# POS Type
|
893
|
+
module Type
|
894
|
+
extend Lithic::Enum
|
895
|
+
|
896
|
+
ADMINISTRATIVE = :ADMINISTRATIVE
|
897
|
+
ATM = :ATM
|
898
|
+
AUTHORIZATION = :AUTHORIZATION
|
899
|
+
COUPON_MACHINE = :COUPON_MACHINE
|
900
|
+
DIAL_TERMINAL = :DIAL_TERMINAL
|
901
|
+
ECOMMERCE = :ECOMMERCE
|
902
|
+
ECR = :ECR
|
903
|
+
FUEL_MACHINE = :FUEL_MACHINE
|
904
|
+
HOME_TERMINAL = :HOME_TERMINAL
|
905
|
+
MICR = :MICR
|
906
|
+
OFF_PREMISE = :OFF_PREMISE
|
907
|
+
PAYMENT = :PAYMENT
|
908
|
+
PDA = :PDA
|
909
|
+
PHONE = :PHONE
|
910
|
+
POINT = :POINT
|
911
|
+
POS_TERMINAL = :POS_TERMINAL
|
912
|
+
PUBLIC_UTILITY = :PUBLIC_UTILITY
|
913
|
+
SELF_SERVICE = :SELF_SERVICE
|
914
|
+
TELEVISION = :TELEVISION
|
915
|
+
TELLER = :TELLER
|
916
|
+
TRAVELERS_CHECK_MACHINE = :TRAVELERS_CHECK_MACHINE
|
917
|
+
VENDING = :VENDING
|
918
|
+
VOICE = :VOICE
|
919
|
+
UNKNOWN = :UNKNOWN
|
920
|
+
|
921
|
+
finalize!
|
922
|
+
|
923
|
+
# @!parse
|
924
|
+
# # @return [Array<Symbol>]
|
925
|
+
# def self.values; end
|
926
|
+
end
|
927
|
+
end
|
928
|
+
end
|
929
|
+
|
930
|
+
module Result
|
931
|
+
extend Lithic::Enum
|
932
|
+
|
933
|
+
ACCOUNT_STATE_TRANSACTION_FAIL = :ACCOUNT_STATE_TRANSACTION_FAIL
|
934
|
+
APPROVED = :APPROVED
|
935
|
+
BANK_CONNECTION_ERROR = :BANK_CONNECTION_ERROR
|
936
|
+
BANK_NOT_VERIFIED = :BANK_NOT_VERIFIED
|
937
|
+
CARD_CLOSED = :CARD_CLOSED
|
938
|
+
CARD_PAUSED = :CARD_PAUSED
|
939
|
+
DECLINED = :DECLINED
|
940
|
+
FRAUD_ADVICE = :FRAUD_ADVICE
|
941
|
+
IGNORED_TTL_EXPIRY = :IGNORED_TTL_EXPIRY
|
942
|
+
INACTIVE_ACCOUNT = :INACTIVE_ACCOUNT
|
943
|
+
INCORRECT_PIN = :INCORRECT_PIN
|
944
|
+
INVALID_CARD_DETAILS = :INVALID_CARD_DETAILS
|
945
|
+
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
946
|
+
INSUFFICIENT_FUNDS_PRELOAD = :INSUFFICIENT_FUNDS_PRELOAD
|
947
|
+
INVALID_TRANSACTION = :INVALID_TRANSACTION
|
948
|
+
MERCHANT_BLACKLIST = :MERCHANT_BLACKLIST
|
949
|
+
ORIGINAL_NOT_FOUND = :ORIGINAL_NOT_FOUND
|
950
|
+
PREVIOUSLY_COMPLETED = :PREVIOUSLY_COMPLETED
|
951
|
+
SINGLE_USE_RECHARGED = :SINGLE_USE_RECHARGED
|
952
|
+
SWITCH_INOPERATIVE_ADVICE = :SWITCH_INOPERATIVE_ADVICE
|
953
|
+
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
954
|
+
UNKNOWN_HOST_TIMEOUT = :UNKNOWN_HOST_TIMEOUT
|
955
|
+
USER_TRANSACTION_LIMIT = :USER_TRANSACTION_LIMIT
|
956
|
+
|
957
|
+
finalize!
|
958
|
+
|
959
|
+
# @!parse
|
960
|
+
# # @return [Array<Symbol>]
|
961
|
+
# def self.values; end
|
962
|
+
end
|
963
|
+
|
964
|
+
# Status of the transaction.
|
965
|
+
module Status
|
966
|
+
extend Lithic::Enum
|
967
|
+
|
968
|
+
DECLINED = :DECLINED
|
969
|
+
EXPIRED = :EXPIRED
|
970
|
+
PENDING = :PENDING
|
971
|
+
SETTLED = :SETTLED
|
972
|
+
VOIDED = :VOIDED
|
973
|
+
|
974
|
+
finalize!
|
975
|
+
|
976
|
+
# @!parse
|
977
|
+
# # @return [Array<Symbol>]
|
978
|
+
# def self.values; end
|
979
|
+
end
|
980
|
+
|
981
|
+
class TokenInfo < Lithic::BaseModel
|
982
|
+
# @!attribute wallet_type
|
983
|
+
# The wallet_type field will indicate the source of the token. Possible token
|
984
|
+
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
985
|
+
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
986
|
+
# currently supported and is included for future use.
|
987
|
+
#
|
988
|
+
# @return [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
|
989
|
+
required :wallet_type, enum: -> { Lithic::Models::Transaction::TokenInfo::WalletType }
|
990
|
+
|
991
|
+
# @!parse
|
992
|
+
# # @param wallet_type [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
|
993
|
+
# #
|
994
|
+
# def initialize(wallet_type:, **) = super
|
995
|
+
|
996
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
997
|
+
|
998
|
+
# The wallet_type field will indicate the source of the token. Possible token
|
999
|
+
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
1000
|
+
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
1001
|
+
# currently supported and is included for future use.
|
1002
|
+
module WalletType
|
1003
|
+
extend Lithic::Enum
|
1004
|
+
|
1005
|
+
APPLE_PAY = :APPLE_PAY
|
1006
|
+
GOOGLE_PAY = :GOOGLE_PAY
|
1007
|
+
MASTERPASS = :MASTERPASS
|
1008
|
+
MERCHANT = :MERCHANT
|
1009
|
+
OTHER = :OTHER
|
1010
|
+
SAMSUNG_PAY = :SAMSUNG_PAY
|
1011
|
+
|
1012
|
+
finalize!
|
1013
|
+
|
1014
|
+
# @!parse
|
1015
|
+
# # @return [Array<Symbol>]
|
1016
|
+
# def self.values; end
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
class Event < Lithic::BaseModel
|
1021
|
+
# @!attribute token
|
1022
|
+
# Transaction event identifier.
|
1023
|
+
#
|
1024
|
+
# @return [String]
|
1025
|
+
required :token, String
|
1026
|
+
|
1027
|
+
# @!attribute amount
|
1028
|
+
# Amount of the event in the settlement currency.
|
1029
|
+
#
|
1030
|
+
# @return [Integer]
|
1031
|
+
required :amount, Integer
|
1032
|
+
|
1033
|
+
# @!attribute amounts
|
1034
|
+
#
|
1035
|
+
# @return [Lithic::Models::Transaction::Event::Amounts]
|
1036
|
+
required :amounts, -> { Lithic::Models::Transaction::Event::Amounts }
|
1037
|
+
|
1038
|
+
# @!attribute created
|
1039
|
+
# RFC 3339 date and time this event entered the system. UTC time zone.
|
1040
|
+
#
|
1041
|
+
# @return [Time]
|
1042
|
+
required :created, Time
|
1043
|
+
|
1044
|
+
# @!attribute detailed_results
|
1045
|
+
#
|
1046
|
+
# @return [Array<Symbol, Lithic::Models::Transaction::Event::DetailedResult>]
|
1047
|
+
required :detailed_results,
|
1048
|
+
-> { Lithic::ArrayOf[enum: Lithic::Models::Transaction::Event::DetailedResult] }
|
1049
|
+
|
1050
|
+
# @!attribute effective_polarity
|
1051
|
+
# Indicates whether the transaction event is a credit or debit to the account.
|
1052
|
+
#
|
1053
|
+
# @return [Symbol, Lithic::Models::Transaction::Event::EffectivePolarity]
|
1054
|
+
required :effective_polarity, enum: -> { Lithic::Models::Transaction::Event::EffectivePolarity }
|
1055
|
+
|
1056
|
+
# @!attribute network_info
|
1057
|
+
# Information provided by the card network in each event. This includes common
|
1058
|
+
# identifiers shared between you, Lithic, the card network and in some cases the
|
1059
|
+
# acquirer. These identifiers often link together events within the same
|
1060
|
+
# transaction lifecycle and can be used to locate a particular transaction, such
|
1061
|
+
# as during processing of disputes. Not all fields are available in all events,
|
1062
|
+
# and the presence of these fields is dependent on the card network and the event
|
1063
|
+
# type. If the field is populated by the network, we will pass it through as is
|
1064
|
+
# unless otherwise specified. Please consult the official network documentation
|
1065
|
+
# for more details about these fields and how to use them.
|
1066
|
+
#
|
1067
|
+
# @return [Lithic::Models::Transaction::Event::NetworkInfo, nil]
|
1068
|
+
required :network_info, -> { Lithic::Models::Transaction::Event::NetworkInfo }, nil?: true
|
1069
|
+
|
1070
|
+
# @!attribute result
|
1071
|
+
#
|
1072
|
+
# @return [Symbol, Lithic::Models::Transaction::Event::Result]
|
1073
|
+
required :result, enum: -> { Lithic::Models::Transaction::Event::Result }
|
1074
|
+
|
1075
|
+
# @!attribute rule_results
|
1076
|
+
#
|
1077
|
+
# @return [Array<Lithic::Models::Transaction::Event::RuleResult>]
|
1078
|
+
required :rule_results, -> { Lithic::ArrayOf[Lithic::Models::Transaction::Event::RuleResult] }
|
1079
|
+
|
1080
|
+
# @!attribute type
|
1081
|
+
# Type of transaction event
|
1082
|
+
#
|
1083
|
+
# @return [Symbol, Lithic::Models::Transaction::Event::Type]
|
1084
|
+
required :type, enum: -> { Lithic::Models::Transaction::Event::Type }
|
1085
|
+
|
1086
|
+
# @!parse
|
1087
|
+
# # @param token [String]
|
1088
|
+
# # @param amount [Integer]
|
1089
|
+
# # @param amounts [Lithic::Models::Transaction::Event::Amounts]
|
1090
|
+
# # @param created [Time]
|
1091
|
+
# # @param detailed_results [Array<Symbol, Lithic::Models::Transaction::Event::DetailedResult>]
|
1092
|
+
# # @param effective_polarity [Symbol, Lithic::Models::Transaction::Event::EffectivePolarity]
|
1093
|
+
# # @param network_info [Lithic::Models::Transaction::Event::NetworkInfo, nil]
|
1094
|
+
# # @param result [Symbol, Lithic::Models::Transaction::Event::Result]
|
1095
|
+
# # @param rule_results [Array<Lithic::Models::Transaction::Event::RuleResult>]
|
1096
|
+
# # @param type [Symbol, Lithic::Models::Transaction::Event::Type]
|
1097
|
+
# #
|
1098
|
+
# def initialize(
|
1099
|
+
# token:,
|
1100
|
+
# amount:,
|
1101
|
+
# amounts:,
|
1102
|
+
# created:,
|
1103
|
+
# detailed_results:,
|
1104
|
+
# effective_polarity:,
|
1105
|
+
# network_info:,
|
1106
|
+
# result:,
|
1107
|
+
# rule_results:,
|
1108
|
+
# type:,
|
1109
|
+
# **
|
1110
|
+
# )
|
1111
|
+
# super
|
1112
|
+
# end
|
1113
|
+
|
1114
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1115
|
+
|
1116
|
+
class Amounts < Lithic::BaseModel
|
1117
|
+
# @!attribute cardholder
|
1118
|
+
#
|
1119
|
+
# @return [Lithic::Models::Transaction::Event::Amounts::Cardholder]
|
1120
|
+
required :cardholder, -> { Lithic::Models::Transaction::Event::Amounts::Cardholder }
|
1121
|
+
|
1122
|
+
# @!attribute merchant
|
1123
|
+
#
|
1124
|
+
# @return [Lithic::Models::Transaction::Event::Amounts::Merchant]
|
1125
|
+
required :merchant, -> { Lithic::Models::Transaction::Event::Amounts::Merchant }
|
1126
|
+
|
1127
|
+
# @!attribute settlement
|
1128
|
+
#
|
1129
|
+
# @return [Lithic::Models::Transaction::Event::Amounts::Settlement, nil]
|
1130
|
+
required :settlement, -> { Lithic::Models::Transaction::Event::Amounts::Settlement }, nil?: true
|
1131
|
+
|
1132
|
+
# @!parse
|
1133
|
+
# # @param cardholder [Lithic::Models::Transaction::Event::Amounts::Cardholder]
|
1134
|
+
# # @param merchant [Lithic::Models::Transaction::Event::Amounts::Merchant]
|
1135
|
+
# # @param settlement [Lithic::Models::Transaction::Event::Amounts::Settlement, nil]
|
1136
|
+
# #
|
1137
|
+
# def initialize(cardholder:, merchant:, settlement:, **) = super
|
1138
|
+
|
1139
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1140
|
+
|
1141
|
+
class Cardholder < Lithic::BaseModel
|
1142
|
+
# @!attribute amount
|
1143
|
+
# Amount of the event in the cardholder billing currency.
|
1144
|
+
#
|
1145
|
+
# @return [Integer]
|
1146
|
+
required :amount, Integer
|
1147
|
+
|
1148
|
+
# @!attribute conversion_rate
|
1149
|
+
# Exchange rate used to convert the merchant amount to the cardholder billing
|
1150
|
+
# amount.
|
1151
|
+
#
|
1152
|
+
# @return [String]
|
1153
|
+
required :conversion_rate, String
|
1154
|
+
|
1155
|
+
# @!attribute currency
|
1156
|
+
# 3-character alphabetic ISO 4217 currency
|
1157
|
+
#
|
1158
|
+
# @return [String]
|
1159
|
+
required :currency, String
|
1160
|
+
|
1161
|
+
# @!parse
|
1162
|
+
# # @param amount [Integer]
|
1163
|
+
# # @param conversion_rate [String]
|
1164
|
+
# # @param currency [String]
|
1165
|
+
# #
|
1166
|
+
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
1167
|
+
|
1168
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
class Merchant < Lithic::BaseModel
|
1172
|
+
# @!attribute amount
|
1173
|
+
# Amount of the event in the merchant currency.
|
1174
|
+
#
|
1175
|
+
# @return [Integer]
|
1176
|
+
required :amount, Integer
|
1177
|
+
|
1178
|
+
# @!attribute currency
|
1179
|
+
# 3-character alphabetic ISO 4217 currency
|
1180
|
+
#
|
1181
|
+
# @return [String]
|
1182
|
+
required :currency, String
|
1183
|
+
|
1184
|
+
# @!parse
|
1185
|
+
# # @param amount [Integer]
|
1186
|
+
# # @param currency [String]
|
1187
|
+
# #
|
1188
|
+
# def initialize(amount:, currency:, **) = super
|
1189
|
+
|
1190
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
class Settlement < Lithic::BaseModel
|
1194
|
+
# @!attribute amount
|
1195
|
+
# Amount of the event, if it is financial, in the settlement currency.
|
1196
|
+
# Non-financial events do not contain this amount because they do not move funds.
|
1197
|
+
#
|
1198
|
+
# @return [Integer]
|
1199
|
+
required :amount, Integer
|
1200
|
+
|
1201
|
+
# @!attribute conversion_rate
|
1202
|
+
# Exchange rate used to convert the merchant amount to the settlement amount.
|
1203
|
+
#
|
1204
|
+
# @return [String]
|
1205
|
+
required :conversion_rate, String
|
1206
|
+
|
1207
|
+
# @!attribute currency
|
1208
|
+
# 3-character alphabetic ISO 4217 currency
|
1209
|
+
#
|
1210
|
+
# @return [String]
|
1211
|
+
required :currency, String
|
1212
|
+
|
1213
|
+
# @!parse
|
1214
|
+
# # @param amount [Integer]
|
1215
|
+
# # @param conversion_rate [String]
|
1216
|
+
# # @param currency [String]
|
1217
|
+
# #
|
1218
|
+
# def initialize(amount:, conversion_rate:, currency:, **) = super
|
1219
|
+
|
1220
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1221
|
+
end
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
module DetailedResult
|
1225
|
+
extend Lithic::Enum
|
1226
|
+
|
1227
|
+
ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED
|
1228
|
+
ACCOUNT_DELINQUENT = :ACCOUNT_DELINQUENT
|
1229
|
+
ACCOUNT_INACTIVE = :ACCOUNT_INACTIVE
|
1230
|
+
ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED = :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
|
1231
|
+
ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
|
1232
|
+
ACCOUNT_UNDER_REVIEW = :ACCOUNT_UNDER_REVIEW
|
1233
|
+
ADDRESS_INCORRECT = :ADDRESS_INCORRECT
|
1234
|
+
APPROVED = :APPROVED
|
1235
|
+
AUTH_RULE_ALLOWED_COUNTRY = :AUTH_RULE_ALLOWED_COUNTRY
|
1236
|
+
AUTH_RULE_ALLOWED_MCC = :AUTH_RULE_ALLOWED_MCC
|
1237
|
+
AUTH_RULE_BLOCKED_COUNTRY = :AUTH_RULE_BLOCKED_COUNTRY
|
1238
|
+
AUTH_RULE_BLOCKED_MCC = :AUTH_RULE_BLOCKED_MCC
|
1239
|
+
CARD_CLOSED = :CARD_CLOSED
|
1240
|
+
CARD_CRYPTOGRAM_VALIDATION_FAILURE = :CARD_CRYPTOGRAM_VALIDATION_FAILURE
|
1241
|
+
CARD_EXPIRED = :CARD_EXPIRED
|
1242
|
+
CARD_EXPIRY_DATE_INCORRECT = :CARD_EXPIRY_DATE_INCORRECT
|
1243
|
+
CARD_INVALID = :CARD_INVALID
|
1244
|
+
CARD_NOT_ACTIVATED = :CARD_NOT_ACTIVATED
|
1245
|
+
CARD_PAUSED = :CARD_PAUSED
|
1246
|
+
CARD_PIN_INCORRECT = :CARD_PIN_INCORRECT
|
1247
|
+
CARD_RESTRICTED = :CARD_RESTRICTED
|
1248
|
+
CARD_SECURITY_CODE_INCORRECT = :CARD_SECURITY_CODE_INCORRECT
|
1249
|
+
CARD_SPEND_LIMIT_EXCEEDED = :CARD_SPEND_LIMIT_EXCEEDED
|
1250
|
+
CONTACT_CARD_ISSUER = :CONTACT_CARD_ISSUER
|
1251
|
+
CUSTOMER_ASA_TIMEOUT = :CUSTOMER_ASA_TIMEOUT
|
1252
|
+
CUSTOM_ASA_RESULT = :CUSTOM_ASA_RESULT
|
1253
|
+
DECLINED = :DECLINED
|
1254
|
+
DO_NOT_HONOR = :DO_NOT_HONOR
|
1255
|
+
DRIVER_NUMBER_INVALID = :DRIVER_NUMBER_INVALID
|
1256
|
+
FORMAT_ERROR = :FORMAT_ERROR
|
1257
|
+
INSUFFICIENT_FUNDING_SOURCE_BALANCE = :INSUFFICIENT_FUNDING_SOURCE_BALANCE
|
1258
|
+
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
1259
|
+
LITHIC_SYSTEM_ERROR = :LITHIC_SYSTEM_ERROR
|
1260
|
+
LITHIC_SYSTEM_RATE_LIMIT = :LITHIC_SYSTEM_RATE_LIMIT
|
1261
|
+
MALFORMED_ASA_RESPONSE = :MALFORMED_ASA_RESPONSE
|
1262
|
+
MERCHANT_INVALID = :MERCHANT_INVALID
|
1263
|
+
MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE = :MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE
|
1264
|
+
MERCHANT_NOT_PERMITTED = :MERCHANT_NOT_PERMITTED
|
1265
|
+
OVER_REVERSAL_ATTEMPTED = :OVER_REVERSAL_ATTEMPTED
|
1266
|
+
PIN_BLOCKED = :PIN_BLOCKED
|
1267
|
+
PROGRAM_CARD_SPEND_LIMIT_EXCEEDED = :PROGRAM_CARD_SPEND_LIMIT_EXCEEDED
|
1268
|
+
PROGRAM_SUSPENDED = :PROGRAM_SUSPENDED
|
1269
|
+
PROGRAM_USAGE_RESTRICTION = :PROGRAM_USAGE_RESTRICTION
|
1270
|
+
REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
|
1271
|
+
SECURITY_VIOLATION = :SECURITY_VIOLATION
|
1272
|
+
SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
|
1273
|
+
TRANSACTION_INVALID = :TRANSACTION_INVALID
|
1274
|
+
TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL = :TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL
|
1275
|
+
TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER = :TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER
|
1276
|
+
TRANSACTION_PREVIOUSLY_COMPLETED = :TRANSACTION_PREVIOUSLY_COMPLETED
|
1277
|
+
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
1278
|
+
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
1279
|
+
|
1280
|
+
finalize!
|
1281
|
+
|
1282
|
+
# @!parse
|
1283
|
+
# # @return [Array<Symbol>]
|
1284
|
+
# def self.values; end
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Indicates whether the transaction event is a credit or debit to the account.
|
1288
|
+
module EffectivePolarity
|
1289
|
+
extend Lithic::Enum
|
1290
|
+
|
1291
|
+
CREDIT = :CREDIT
|
1292
|
+
DEBIT = :DEBIT
|
1293
|
+
|
1294
|
+
finalize!
|
1295
|
+
|
1296
|
+
# @!parse
|
1297
|
+
# # @return [Array<Symbol>]
|
1298
|
+
# def self.values; end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
class NetworkInfo < Lithic::BaseModel
|
1302
|
+
# @!attribute acquirer
|
1303
|
+
#
|
1304
|
+
# @return [Lithic::Models::Transaction::Event::NetworkInfo::Acquirer, nil]
|
1305
|
+
required :acquirer, -> { Lithic::Models::Transaction::Event::NetworkInfo::Acquirer }, nil?: true
|
1306
|
+
|
1307
|
+
# @!attribute mastercard
|
1308
|
+
#
|
1309
|
+
# @return [Lithic::Models::Transaction::Event::NetworkInfo::Mastercard, nil]
|
1310
|
+
required :mastercard, -> { Lithic::Models::Transaction::Event::NetworkInfo::Mastercard }, nil?: true
|
1311
|
+
|
1312
|
+
# @!attribute visa
|
1313
|
+
#
|
1314
|
+
# @return [Lithic::Models::Transaction::Event::NetworkInfo::Visa, nil]
|
1315
|
+
required :visa, -> { Lithic::Models::Transaction::Event::NetworkInfo::Visa }, nil?: true
|
1316
|
+
|
1317
|
+
# @!parse
|
1318
|
+
# # Information provided by the card network in each event. This includes common
|
1319
|
+
# # identifiers shared between you, Lithic, the card network and in some cases the
|
1320
|
+
# # acquirer. These identifiers often link together events within the same
|
1321
|
+
# # transaction lifecycle and can be used to locate a particular transaction, such
|
1322
|
+
# # as during processing of disputes. Not all fields are available in all events,
|
1323
|
+
# # and the presence of these fields is dependent on the card network and the event
|
1324
|
+
# # type. If the field is populated by the network, we will pass it through as is
|
1325
|
+
# # unless otherwise specified. Please consult the official network documentation
|
1326
|
+
# # for more details about these fields and how to use them.
|
1327
|
+
# #
|
1328
|
+
# # @param acquirer [Lithic::Models::Transaction::Event::NetworkInfo::Acquirer, nil]
|
1329
|
+
# # @param mastercard [Lithic::Models::Transaction::Event::NetworkInfo::Mastercard, nil]
|
1330
|
+
# # @param visa [Lithic::Models::Transaction::Event::NetworkInfo::Visa, nil]
|
1331
|
+
# #
|
1332
|
+
# def initialize(acquirer:, mastercard:, visa:, **) = super
|
1333
|
+
|
1334
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1335
|
+
|
1336
|
+
class Acquirer < Lithic::BaseModel
|
1337
|
+
# @!attribute acquirer_reference_number
|
1338
|
+
# Identifier assigned by the acquirer, applicable to dual-message transactions
|
1339
|
+
# only. The acquirer reference number (ARN) is only populated once a transaction
|
1340
|
+
# has been cleared, and it is not available in all transactions (such as automated
|
1341
|
+
# fuel dispenser transactions). A single transaction can contain multiple ARNs if
|
1342
|
+
# the merchant sends multiple clearings.
|
1343
|
+
#
|
1344
|
+
# @return [String, nil]
|
1345
|
+
required :acquirer_reference_number, String, nil?: true
|
1346
|
+
|
1347
|
+
# @!attribute retrieval_reference_number
|
1348
|
+
# Identifier assigned by the acquirer.
|
1349
|
+
#
|
1350
|
+
# @return [String, nil]
|
1351
|
+
required :retrieval_reference_number, String, nil?: true
|
1352
|
+
|
1353
|
+
# @!parse
|
1354
|
+
# # @param acquirer_reference_number [String, nil]
|
1355
|
+
# # @param retrieval_reference_number [String, nil]
|
1356
|
+
# #
|
1357
|
+
# def initialize(acquirer_reference_number:, retrieval_reference_number:, **) = super
|
1358
|
+
|
1359
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
class Mastercard < Lithic::BaseModel
|
1363
|
+
# @!attribute banknet_reference_number
|
1364
|
+
# Identifier assigned by Mastercard. Guaranteed by Mastercard to be unique for any
|
1365
|
+
# transaction within a specific financial network on any processing day.
|
1366
|
+
#
|
1367
|
+
# @return [String, nil]
|
1368
|
+
required :banknet_reference_number, String, nil?: true
|
1369
|
+
|
1370
|
+
# @!attribute original_banknet_reference_number
|
1371
|
+
# Identifier assigned by Mastercard. Matches the `banknet_reference_number` of a
|
1372
|
+
# prior related event. May be populated in authorization reversals, incremental
|
1373
|
+
# authorizations (authorization requests that augment a previously authorized
|
1374
|
+
# amount), automated fuel dispenser authorization advices and clearings, and
|
1375
|
+
# financial authorizations. If the original banknet reference number contains all
|
1376
|
+
# zeroes, then no actual reference number could be found by the network or
|
1377
|
+
# acquirer. If Mastercard converts a transaction from dual-message to
|
1378
|
+
# single-message, such as for certain ATM transactions, it will populate the
|
1379
|
+
# original banknet reference number in the resulting financial authorization with
|
1380
|
+
# the banknet reference number of the initial authorization, which Lithic does not
|
1381
|
+
# receive.
|
1382
|
+
#
|
1383
|
+
# @return [String, nil]
|
1384
|
+
required :original_banknet_reference_number, String, nil?: true
|
1385
|
+
|
1386
|
+
# @!attribute original_switch_serial_number
|
1387
|
+
# Identifier assigned by Mastercard. Matches the `switch_serial_number` of a prior
|
1388
|
+
# related event. May be populated in returns and return reversals. Applicable to
|
1389
|
+
# single-message transactions only.
|
1390
|
+
#
|
1391
|
+
# @return [String, nil]
|
1392
|
+
required :original_switch_serial_number, String, nil?: true
|
1393
|
+
|
1394
|
+
# @!attribute switch_serial_number
|
1395
|
+
# Identifier assigned by Mastercard, applicable to single-message transactions
|
1396
|
+
# only.
|
1397
|
+
#
|
1398
|
+
# @return [String, nil]
|
1399
|
+
required :switch_serial_number, String, nil?: true
|
1400
|
+
|
1401
|
+
# @!parse
|
1402
|
+
# # @param banknet_reference_number [String, nil]
|
1403
|
+
# # @param original_banknet_reference_number [String, nil]
|
1404
|
+
# # @param original_switch_serial_number [String, nil]
|
1405
|
+
# # @param switch_serial_number [String, nil]
|
1406
|
+
# #
|
1407
|
+
# def initialize(
|
1408
|
+
# banknet_reference_number:,
|
1409
|
+
# original_banknet_reference_number:,
|
1410
|
+
# original_switch_serial_number:,
|
1411
|
+
# switch_serial_number:,
|
1412
|
+
# **
|
1413
|
+
# )
|
1414
|
+
# super
|
1415
|
+
# end
|
1416
|
+
|
1417
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
class Visa < Lithic::BaseModel
|
1421
|
+
# @!attribute original_transaction_id
|
1422
|
+
# Identifier assigned by Visa. Matches the `transaction_id` of a prior related
|
1423
|
+
# event. May be populated in incremental authorizations (authorization requests
|
1424
|
+
# that augment a previously authorized amount), authorization advices, financial
|
1425
|
+
# authorizations, and clearings.
|
1426
|
+
#
|
1427
|
+
# @return [String, nil]
|
1428
|
+
required :original_transaction_id, String, nil?: true
|
1429
|
+
|
1430
|
+
# @!attribute transaction_id
|
1431
|
+
# Identifier assigned by Visa to link original messages to subsequent messages.
|
1432
|
+
# Guaranteed by Visa to be unique for each original authorization and financial
|
1433
|
+
# authorization.
|
1434
|
+
#
|
1435
|
+
# @return [String, nil]
|
1436
|
+
required :transaction_id, String, nil?: true
|
1437
|
+
|
1438
|
+
# @!parse
|
1439
|
+
# # @param original_transaction_id [String, nil]
|
1440
|
+
# # @param transaction_id [String, nil]
|
1441
|
+
# #
|
1442
|
+
# def initialize(original_transaction_id:, transaction_id:, **) = super
|
1443
|
+
|
1444
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
module Result
|
1449
|
+
extend Lithic::Enum
|
1450
|
+
|
1451
|
+
ACCOUNT_STATE_TRANSACTION_FAIL = :ACCOUNT_STATE_TRANSACTION_FAIL
|
1452
|
+
APPROVED = :APPROVED
|
1453
|
+
BANK_CONNECTION_ERROR = :BANK_CONNECTION_ERROR
|
1454
|
+
BANK_NOT_VERIFIED = :BANK_NOT_VERIFIED
|
1455
|
+
CARD_CLOSED = :CARD_CLOSED
|
1456
|
+
CARD_PAUSED = :CARD_PAUSED
|
1457
|
+
DECLINED = :DECLINED
|
1458
|
+
FRAUD_ADVICE = :FRAUD_ADVICE
|
1459
|
+
IGNORED_TTL_EXPIRY = :IGNORED_TTL_EXPIRY
|
1460
|
+
INACTIVE_ACCOUNT = :INACTIVE_ACCOUNT
|
1461
|
+
INCORRECT_PIN = :INCORRECT_PIN
|
1462
|
+
INVALID_CARD_DETAILS = :INVALID_CARD_DETAILS
|
1463
|
+
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
1464
|
+
INSUFFICIENT_FUNDS_PRELOAD = :INSUFFICIENT_FUNDS_PRELOAD
|
1465
|
+
INVALID_TRANSACTION = :INVALID_TRANSACTION
|
1466
|
+
MERCHANT_BLACKLIST = :MERCHANT_BLACKLIST
|
1467
|
+
ORIGINAL_NOT_FOUND = :ORIGINAL_NOT_FOUND
|
1468
|
+
PREVIOUSLY_COMPLETED = :PREVIOUSLY_COMPLETED
|
1469
|
+
SINGLE_USE_RECHARGED = :SINGLE_USE_RECHARGED
|
1470
|
+
SWITCH_INOPERATIVE_ADVICE = :SWITCH_INOPERATIVE_ADVICE
|
1471
|
+
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
1472
|
+
UNKNOWN_HOST_TIMEOUT = :UNKNOWN_HOST_TIMEOUT
|
1473
|
+
USER_TRANSACTION_LIMIT = :USER_TRANSACTION_LIMIT
|
1474
|
+
|
1475
|
+
finalize!
|
1476
|
+
|
1477
|
+
# @!parse
|
1478
|
+
# # @return [Array<Symbol>]
|
1479
|
+
# def self.values; end
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
class RuleResult < Lithic::BaseModel
|
1483
|
+
# @!attribute auth_rule_token
|
1484
|
+
# The Auth Rule Token associated with the rule from which the decline originated.
|
1485
|
+
# If this is set to null, then the decline was not associated with a
|
1486
|
+
# customer-configured Auth Rule. This may happen in cases where a transaction is
|
1487
|
+
# declined due to a Lithic-configured security or compliance rule, for example.
|
1488
|
+
#
|
1489
|
+
# @return [String, nil]
|
1490
|
+
required :auth_rule_token, String, nil?: true
|
1491
|
+
|
1492
|
+
# @!attribute explanation
|
1493
|
+
# A human-readable explanation outlining the motivation for the rule's decline.
|
1494
|
+
#
|
1495
|
+
# @return [String, nil]
|
1496
|
+
required :explanation, String, nil?: true
|
1497
|
+
|
1498
|
+
# @!attribute name
|
1499
|
+
# The name for the rule, if any was configured.
|
1500
|
+
#
|
1501
|
+
# @return [String, nil]
|
1502
|
+
required :name, String, nil?: true
|
1503
|
+
|
1504
|
+
# @!attribute result
|
1505
|
+
# The detailed_result associated with this rule's decline.
|
1506
|
+
#
|
1507
|
+
# @return [Symbol, Lithic::Models::Transaction::Event::RuleResult::Result]
|
1508
|
+
required :result, enum: -> { Lithic::Models::Transaction::Event::RuleResult::Result }
|
1509
|
+
|
1510
|
+
# @!parse
|
1511
|
+
# # @param auth_rule_token [String, nil]
|
1512
|
+
# # @param explanation [String, nil]
|
1513
|
+
# # @param name [String, nil]
|
1514
|
+
# # @param result [Symbol, Lithic::Models::Transaction::Event::RuleResult::Result]
|
1515
|
+
# #
|
1516
|
+
# def initialize(auth_rule_token:, explanation:, name:, result:, **) = super
|
1517
|
+
|
1518
|
+
# def initialize: (Hash | Lithic::BaseModel) -> void
|
1519
|
+
|
1520
|
+
# The detailed_result associated with this rule's decline.
|
1521
|
+
module Result
|
1522
|
+
extend Lithic::Enum
|
1523
|
+
|
1524
|
+
ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED
|
1525
|
+
ACCOUNT_DELINQUENT = :ACCOUNT_DELINQUENT
|
1526
|
+
ACCOUNT_INACTIVE = :ACCOUNT_INACTIVE
|
1527
|
+
ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED = :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
|
1528
|
+
ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
|
1529
|
+
ACCOUNT_UNDER_REVIEW = :ACCOUNT_UNDER_REVIEW
|
1530
|
+
ADDRESS_INCORRECT = :ADDRESS_INCORRECT
|
1531
|
+
APPROVED = :APPROVED
|
1532
|
+
AUTH_RULE_ALLOWED_COUNTRY = :AUTH_RULE_ALLOWED_COUNTRY
|
1533
|
+
AUTH_RULE_ALLOWED_MCC = :AUTH_RULE_ALLOWED_MCC
|
1534
|
+
AUTH_RULE_BLOCKED_COUNTRY = :AUTH_RULE_BLOCKED_COUNTRY
|
1535
|
+
AUTH_RULE_BLOCKED_MCC = :AUTH_RULE_BLOCKED_MCC
|
1536
|
+
CARD_CLOSED = :CARD_CLOSED
|
1537
|
+
CARD_CRYPTOGRAM_VALIDATION_FAILURE = :CARD_CRYPTOGRAM_VALIDATION_FAILURE
|
1538
|
+
CARD_EXPIRED = :CARD_EXPIRED
|
1539
|
+
CARD_EXPIRY_DATE_INCORRECT = :CARD_EXPIRY_DATE_INCORRECT
|
1540
|
+
CARD_INVALID = :CARD_INVALID
|
1541
|
+
CARD_NOT_ACTIVATED = :CARD_NOT_ACTIVATED
|
1542
|
+
CARD_PAUSED = :CARD_PAUSED
|
1543
|
+
CARD_PIN_INCORRECT = :CARD_PIN_INCORRECT
|
1544
|
+
CARD_RESTRICTED = :CARD_RESTRICTED
|
1545
|
+
CARD_SECURITY_CODE_INCORRECT = :CARD_SECURITY_CODE_INCORRECT
|
1546
|
+
CARD_SPEND_LIMIT_EXCEEDED = :CARD_SPEND_LIMIT_EXCEEDED
|
1547
|
+
CONTACT_CARD_ISSUER = :CONTACT_CARD_ISSUER
|
1548
|
+
CUSTOMER_ASA_TIMEOUT = :CUSTOMER_ASA_TIMEOUT
|
1549
|
+
CUSTOM_ASA_RESULT = :CUSTOM_ASA_RESULT
|
1550
|
+
DECLINED = :DECLINED
|
1551
|
+
DO_NOT_HONOR = :DO_NOT_HONOR
|
1552
|
+
DRIVER_NUMBER_INVALID = :DRIVER_NUMBER_INVALID
|
1553
|
+
FORMAT_ERROR = :FORMAT_ERROR
|
1554
|
+
INSUFFICIENT_FUNDING_SOURCE_BALANCE = :INSUFFICIENT_FUNDING_SOURCE_BALANCE
|
1555
|
+
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
1556
|
+
LITHIC_SYSTEM_ERROR = :LITHIC_SYSTEM_ERROR
|
1557
|
+
LITHIC_SYSTEM_RATE_LIMIT = :LITHIC_SYSTEM_RATE_LIMIT
|
1558
|
+
MALFORMED_ASA_RESPONSE = :MALFORMED_ASA_RESPONSE
|
1559
|
+
MERCHANT_INVALID = :MERCHANT_INVALID
|
1560
|
+
MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE = :MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE
|
1561
|
+
MERCHANT_NOT_PERMITTED = :MERCHANT_NOT_PERMITTED
|
1562
|
+
OVER_REVERSAL_ATTEMPTED = :OVER_REVERSAL_ATTEMPTED
|
1563
|
+
PIN_BLOCKED = :PIN_BLOCKED
|
1564
|
+
PROGRAM_CARD_SPEND_LIMIT_EXCEEDED = :PROGRAM_CARD_SPEND_LIMIT_EXCEEDED
|
1565
|
+
PROGRAM_SUSPENDED = :PROGRAM_SUSPENDED
|
1566
|
+
PROGRAM_USAGE_RESTRICTION = :PROGRAM_USAGE_RESTRICTION
|
1567
|
+
REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
|
1568
|
+
SECURITY_VIOLATION = :SECURITY_VIOLATION
|
1569
|
+
SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
|
1570
|
+
TRANSACTION_INVALID = :TRANSACTION_INVALID
|
1571
|
+
TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL = :TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL
|
1572
|
+
TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER = :TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER
|
1573
|
+
TRANSACTION_PREVIOUSLY_COMPLETED = :TRANSACTION_PREVIOUSLY_COMPLETED
|
1574
|
+
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
1575
|
+
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
1576
|
+
|
1577
|
+
finalize!
|
1578
|
+
|
1579
|
+
# @!parse
|
1580
|
+
# # @return [Array<Symbol>]
|
1581
|
+
# def self.values; end
|
1582
|
+
end
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
# Type of transaction event
|
1586
|
+
module Type
|
1587
|
+
extend Lithic::Enum
|
1588
|
+
|
1589
|
+
AUTHORIZATION = :AUTHORIZATION
|
1590
|
+
AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
|
1591
|
+
AUTHORIZATION_EXPIRY = :AUTHORIZATION_EXPIRY
|
1592
|
+
AUTHORIZATION_REVERSAL = :AUTHORIZATION_REVERSAL
|
1593
|
+
BALANCE_INQUIRY = :BALANCE_INQUIRY
|
1594
|
+
CLEARING = :CLEARING
|
1595
|
+
CORRECTION_CREDIT = :CORRECTION_CREDIT
|
1596
|
+
CORRECTION_DEBIT = :CORRECTION_DEBIT
|
1597
|
+
CREDIT_AUTHORIZATION = :CREDIT_AUTHORIZATION
|
1598
|
+
CREDIT_AUTHORIZATION_ADVICE = :CREDIT_AUTHORIZATION_ADVICE
|
1599
|
+
FINANCIAL_AUTHORIZATION = :FINANCIAL_AUTHORIZATION
|
1600
|
+
FINANCIAL_CREDIT_AUTHORIZATION = :FINANCIAL_CREDIT_AUTHORIZATION
|
1601
|
+
RETURN = :RETURN
|
1602
|
+
RETURN_REVERSAL = :RETURN_REVERSAL
|
1603
|
+
|
1604
|
+
finalize!
|
1605
|
+
|
1606
|
+
# @!parse
|
1607
|
+
# # @return [Array<Symbol>]
|
1608
|
+
# def self.values; end
|
1609
|
+
end
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
end
|
1613
|
+
end
|