lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +14 -17
- data/lib/lithic/internal/type/converter.rb +20 -22
- data/lib/lithic/internal/type/enum.rb +8 -8
- data/lib/lithic/internal/util.rb +1 -5
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +4 -8
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +34 -68
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +2 -2
@@ -7,7 +7,7 @@ module Lithic
|
|
7
7
|
class AuthenticationSimulateResponse < Lithic::Internal::Type::BaseModel
|
8
8
|
# @!attribute [r] token
|
9
9
|
# A unique token to reference this transaction with later calls to void or clear
|
10
|
-
#
|
10
|
+
# the authorization.
|
11
11
|
#
|
12
12
|
# @return [String, nil]
|
13
13
|
optional :token, String
|
@@ -6,9 +6,9 @@ module Lithic
|
|
6
6
|
class ChallengeResponse < Lithic::Internal::Type::BaseModel
|
7
7
|
# @!attribute token
|
8
8
|
# Globally unique identifier for the 3DS authentication. This token is sent as
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
9
|
+
# part of the initial 3DS Decisioning Request and as part of the 3DS Challenge
|
10
|
+
# Event in the [ThreeDSAuthentication](#/components/schemas/ThreeDSAuthentication)
|
11
|
+
# object
|
12
12
|
#
|
13
13
|
# @return [String]
|
14
14
|
required :token, String
|
@@ -42,7 +42,7 @@ module Lithic
|
|
42
42
|
|
43
43
|
# @!attribute token_requestor_name
|
44
44
|
# The entity that requested the tokenization. Represents a Digital Wallet or
|
45
|
-
#
|
45
|
+
# merchant.
|
46
46
|
#
|
47
47
|
# @return [Symbol, Lithic::Models::Tokenization::TokenRequestorName]
|
48
48
|
required :token_requestor_name, enum: -> { Lithic::Models::Tokenization::TokenRequestorName }
|
@@ -67,9 +67,9 @@ module Lithic
|
|
67
67
|
|
68
68
|
# @!attribute [r] digital_card_art_token
|
69
69
|
# Specifies the digital card art displayed in the user’s digital wallet after
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
70
|
+
# tokenization. This will be null if the tokenization was created without an
|
71
|
+
# associated digital card art. See
|
72
|
+
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
73
73
|
#
|
74
74
|
# @return [String, nil]
|
75
75
|
optional :digital_card_art_token, String
|
@@ -152,7 +152,7 @@ module Lithic
|
|
152
152
|
end
|
153
153
|
|
154
154
|
# The entity that requested the tokenization. Represents a Digital Wallet or
|
155
|
-
#
|
155
|
+
# merchant.
|
156
156
|
#
|
157
157
|
# @see Lithic::Models::Tokenization#token_requestor_name
|
158
158
|
module TokenRequestorName
|
@@ -22,7 +22,7 @@ module Lithic
|
|
22
22
|
# Filter for tokenizations created after this date.
|
23
23
|
#
|
24
24
|
# @return [Date, nil]
|
25
|
-
optional :begin_, Date
|
25
|
+
optional :begin_, Date
|
26
26
|
|
27
27
|
# @!parse
|
28
28
|
# # @return [Date]
|
@@ -42,7 +42,7 @@ module Lithic
|
|
42
42
|
# Filter for tokenizations created before this date.
|
43
43
|
#
|
44
44
|
# @return [Date, nil]
|
45
|
-
optional :end_, Date
|
45
|
+
optional :end_, Date
|
46
46
|
|
47
47
|
# @!parse
|
48
48
|
# # @return [Date]
|
@@ -50,7 +50,7 @@ module Lithic
|
|
50
50
|
|
51
51
|
# @!attribute [r] ending_before
|
52
52
|
# A cursor representing an item's token before which a page of results should end.
|
53
|
-
#
|
53
|
+
# Used to retrieve the previous page of results before this item.
|
54
54
|
#
|
55
55
|
# @return [String, nil]
|
56
56
|
optional :ending_before, String
|
@@ -71,7 +71,7 @@ module Lithic
|
|
71
71
|
|
72
72
|
# @!attribute [r] starting_after
|
73
73
|
# A cursor representing an item's token after which a page of results should
|
74
|
-
#
|
74
|
+
# begin. Used to retrieve the next page of results after this item.
|
75
75
|
#
|
76
76
|
# @return [String, nil]
|
77
77
|
optional :starting_after, String
|
@@ -82,7 +82,7 @@ module Lithic
|
|
82
82
|
|
83
83
|
# @!attribute [r] tokenization_channel
|
84
84
|
# Filter for tokenizations by tokenization channel. If this is not specified, only
|
85
|
-
#
|
85
|
+
# DIGITAL_WALLET tokenizations will be returned.
|
86
86
|
#
|
87
87
|
# @return [Symbol, Lithic::Models::TokenizationListParams::TokenizationChannel, nil]
|
88
88
|
optional :tokenization_channel, enum: -> { Lithic::Models::TokenizationListParams::TokenizationChannel }
|
@@ -120,7 +120,7 @@ module Lithic
|
|
120
120
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
121
121
|
|
122
122
|
# Filter for tokenizations by tokenization channel. If this is not specified, only
|
123
|
-
#
|
123
|
+
# DIGITAL_WALLET tokenizations will be returned.
|
124
124
|
module TokenizationChannel
|
125
125
|
extend Lithic::Internal::Type::Enum
|
126
126
|
|
@@ -10,8 +10,8 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] activation_method_type
|
12
12
|
# The communication method that the user has selected to use to receive the
|
13
|
-
#
|
14
|
-
#
|
13
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
14
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
15
15
|
#
|
16
16
|
# @return [Symbol, Lithic::Models::TokenizationResendActivationCodeParams::ActivationMethodType, nil]
|
17
17
|
optional :activation_method_type,
|
@@ -30,8 +30,8 @@ module Lithic
|
|
30
30
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
31
31
|
|
32
32
|
# The communication method that the user has selected to use to receive the
|
33
|
-
#
|
34
|
-
#
|
33
|
+
# authentication code. Supported Values: Sms = "TEXT_TO_CARDHOLDER_NUMBER". Email
|
34
|
+
# = "EMAIL_TO_CARDHOLDER_ADDRESS"
|
35
35
|
module ActivationMethodType
|
36
36
|
extend Lithic::Internal::Type::Enum
|
37
37
|
|
@@ -34,7 +34,7 @@ module Lithic
|
|
34
34
|
|
35
35
|
# @!attribute [r] account_score
|
36
36
|
# The account score (1-5) that represents how the Digital Wallet's view on how
|
37
|
-
#
|
37
|
+
# reputable an end user's account is.
|
38
38
|
#
|
39
39
|
# @return [Integer, nil]
|
40
40
|
optional :account_score, Integer
|
@@ -45,7 +45,7 @@ module Lithic
|
|
45
45
|
|
46
46
|
# @!attribute [r] device_score
|
47
47
|
# The device score (1-5) that represents how the Digital Wallet's view on how
|
48
|
-
#
|
48
|
+
# reputable an end user's device is.
|
49
49
|
#
|
50
50
|
# @return [Integer, nil]
|
51
51
|
optional :device_score, Integer
|
@@ -56,7 +56,7 @@ module Lithic
|
|
56
56
|
|
57
57
|
# @!attribute [r] entity
|
58
58
|
# Optional field to specify the token requestor name for a merchant token
|
59
|
-
#
|
59
|
+
# simulation. Ignored when tokenization_source is not MERCHANT.
|
60
60
|
#
|
61
61
|
# @return [String, nil]
|
62
62
|
optional :entity, String
|
@@ -10,9 +10,9 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] digital_card_art_token
|
12
12
|
# Specifies the digital card art to be displayed in the user’s digital wallet for
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
13
|
+
# a tokenization. This artwork must be approved by the network and configured by
|
14
|
+
# Lithic to use. See
|
15
|
+
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
16
16
|
#
|
17
17
|
# @return [String, nil]
|
18
18
|
optional :digital_card_art_token, String
|
@@ -18,23 +18,23 @@ module Lithic
|
|
18
18
|
|
19
19
|
# @!attribute acquirer_fee
|
20
20
|
# Fee assessed by the merchant and paid for by the cardholder in the smallest unit
|
21
|
-
#
|
22
|
-
#
|
21
|
+
# of the currency. Will be zero if no fee is assessed. Rebates may be transmitted
|
22
|
+
# as a negative value to indicate credited fees.
|
23
23
|
#
|
24
24
|
# @return [Integer, nil]
|
25
25
|
required :acquirer_fee, Integer, nil?: true
|
26
26
|
|
27
27
|
# @!attribute acquirer_reference_number
|
28
28
|
# Unique identifier assigned to a transaction by the acquirer that can be used in
|
29
|
-
#
|
29
|
+
# dispute and chargeback filing.
|
30
30
|
#
|
31
31
|
# @return [String, nil]
|
32
32
|
required :acquirer_reference_number, String, nil?: true
|
33
33
|
|
34
34
|
# @!attribute amount
|
35
35
|
# When the transaction is pending, this represents the authorization amount of the
|
36
|
-
#
|
37
|
-
#
|
36
|
+
# transaction in the anticipated settlement currency. Once the transaction has
|
37
|
+
# settled, this field represents the settled amount in the settlement currency.
|
38
38
|
#
|
39
39
|
# @return [Integer]
|
40
40
|
required :amount, Integer
|
@@ -46,14 +46,14 @@ module Lithic
|
|
46
46
|
|
47
47
|
# @!attribute authorization_amount
|
48
48
|
# The authorization amount of the transaction in the anticipated settlement
|
49
|
-
#
|
49
|
+
# currency.
|
50
50
|
#
|
51
51
|
# @return [Integer, nil]
|
52
52
|
required :authorization_amount, Integer, nil?: true
|
53
53
|
|
54
54
|
# @!attribute authorization_code
|
55
55
|
# A fixed-width 6-digit numeric identifier that can be used to identify a
|
56
|
-
#
|
56
|
+
# transaction with networks.
|
57
57
|
#
|
58
58
|
# @return [String, nil]
|
59
59
|
required :authorization_code, String, nil?: true
|
@@ -107,18 +107,18 @@ module Lithic
|
|
107
107
|
|
108
108
|
# @!attribute network
|
109
109
|
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
110
|
-
#
|
111
|
-
#
|
110
|
+
# `VISA`, or `UNKNOWN`. Value is `UNKNOWN` when Lithic cannot determine the
|
111
|
+
# network code from the upstream provider.
|
112
112
|
#
|
113
113
|
# @return [Symbol, Lithic::Models::Transaction::Network, nil]
|
114
114
|
required :network, enum: -> { Lithic::Models::Transaction::Network }, nil?: true
|
115
115
|
|
116
116
|
# @!attribute network_risk_score
|
117
117
|
# Network-provided score assessing risk level associated with a given
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
118
|
+
# authorization. Scores are on a range of 0-999, with 0 representing the lowest
|
119
|
+
# risk and 999 representing the highest risk. For Visa transactions, where the raw
|
120
|
+
# score has a range of 0-99, Lithic will normalize the score by multiplying the
|
121
|
+
# raw score by 10x.
|
122
122
|
#
|
123
123
|
# @return [Integer, nil]
|
124
124
|
required :network_risk_score, Integer, nil?: true
|
@@ -261,14 +261,14 @@ module Lithic
|
|
261
261
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
262
262
|
# @!attribute amount
|
263
263
|
# The estimated settled amount of the transaction in the cardholder billing
|
264
|
-
#
|
264
|
+
# currency.
|
265
265
|
#
|
266
266
|
# @return [Integer]
|
267
267
|
required :amount, Integer
|
268
268
|
|
269
269
|
# @!attribute conversion_rate
|
270
270
|
# The exchange rate used to convert the merchant amount to the cardholder billing
|
271
|
-
#
|
271
|
+
# amount.
|
272
272
|
#
|
273
273
|
# @return [String]
|
274
274
|
required :conversion_rate, String
|
@@ -413,17 +413,17 @@ module Lithic
|
|
413
413
|
|
414
414
|
# @!attribute liability_shift
|
415
415
|
# Indicates whether chargeback liability shift applies to the transaction.
|
416
|
-
#
|
416
|
+
# Possible enum values:
|
417
417
|
#
|
418
|
-
#
|
418
|
+
# * `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D Secure flow, chargeback liability shift applies.
|
419
419
|
#
|
420
|
-
#
|
420
|
+
# * `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`.
|
421
421
|
#
|
422
|
-
#
|
422
|
+
# * `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the merchant is liable.
|
423
423
|
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
424
|
+
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
425
|
+
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
426
|
+
# applies.
|
427
427
|
#
|
428
428
|
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift]
|
429
429
|
required :liability_shift,
|
@@ -431,16 +431,16 @@ module Lithic
|
|
431
431
|
|
432
432
|
# @!attribute three_ds_authentication_token
|
433
433
|
# Unique identifier you can use to match a given 3DS authentication (available via
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
434
|
+
# the three_ds_authentication.created event webhook) and the transaction. Note
|
435
|
+
# that in cases where liability shift does not occur, this token is matched to the
|
436
|
+
# transaction on a best-effort basis.
|
437
437
|
#
|
438
438
|
# @return [String, nil]
|
439
439
|
required :three_ds_authentication_token, String, nil?: true
|
440
440
|
|
441
441
|
# @!attribute verification_attempted
|
442
442
|
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
443
|
-
#
|
443
|
+
# verification method was. (deprecated, use `authentication_result`)
|
444
444
|
#
|
445
445
|
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationAttempted]
|
446
446
|
required :verification_attempted,
|
@@ -448,7 +448,7 @@ module Lithic
|
|
448
448
|
|
449
449
|
# @!attribute verification_result
|
450
450
|
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
451
|
-
#
|
451
|
+
# use `authentication_result`)
|
452
452
|
#
|
453
453
|
# @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationResult]
|
454
454
|
required :verification_result,
|
@@ -540,17 +540,17 @@ module Lithic
|
|
540
540
|
end
|
541
541
|
|
542
542
|
# Indicates whether chargeback liability shift applies to the transaction.
|
543
|
-
#
|
543
|
+
# Possible enum values:
|
544
544
|
#
|
545
|
-
#
|
545
|
+
# * `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D Secure flow, chargeback liability shift applies.
|
546
546
|
#
|
547
|
-
#
|
547
|
+
# * `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`.
|
548
548
|
#
|
549
|
-
#
|
549
|
+
# * `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the merchant is liable.
|
550
550
|
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
551
|
+
# - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
|
552
|
+
# cryptography, possibly recurring. Chargeback liability shift to the issuer
|
553
|
+
# applies.
|
554
554
|
#
|
555
555
|
# @see Lithic::Models::Transaction::CardholderAuthentication#liability_shift
|
556
556
|
module LiabilityShift
|
@@ -569,7 +569,7 @@ module Lithic
|
|
569
569
|
end
|
570
570
|
|
571
571
|
# Indicates whether a 3DS challenge flow was used, and if so, what the
|
572
|
-
#
|
572
|
+
# verification method was. (deprecated, use `authentication_result`)
|
573
573
|
#
|
574
574
|
# @see Lithic::Models::Transaction::CardholderAuthentication#verification_attempted
|
575
575
|
module VerificationAttempted
|
@@ -586,7 +586,7 @@ module Lithic
|
|
586
586
|
end
|
587
587
|
|
588
588
|
# Indicates whether a transaction is considered 3DS authenticated. (deprecated,
|
589
|
-
#
|
589
|
+
# use `authentication_result`)
|
590
590
|
#
|
591
591
|
# @see Lithic::Models::Transaction::CardholderAuthentication#verification_result
|
592
592
|
module VerificationResult
|
@@ -623,14 +623,14 @@ module Lithic
|
|
623
623
|
|
624
624
|
# @!attribute city
|
625
625
|
# City of card acceptor. Note that in many cases, particularly in card-not-present
|
626
|
-
#
|
626
|
+
# transactions, merchants may send through a phone number or URL in this field.
|
627
627
|
#
|
628
628
|
# @return [String]
|
629
629
|
required :city, String
|
630
630
|
|
631
631
|
# @!attribute country
|
632
632
|
# Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1
|
633
|
-
#
|
633
|
+
# alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for Netherlands Antilles.
|
634
634
|
#
|
635
635
|
# @return [String]
|
636
636
|
required :country, String
|
@@ -643,7 +643,7 @@ module Lithic
|
|
643
643
|
|
644
644
|
# @!attribute mcc
|
645
645
|
# Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is
|
646
|
-
#
|
646
|
+
# used to classify a business by the types of goods or services it provides.
|
647
647
|
#
|
648
648
|
# @return [String]
|
649
649
|
required :mcc, String
|
@@ -669,8 +669,8 @@ module Lithic
|
|
669
669
|
end
|
670
670
|
|
671
671
|
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
672
|
-
#
|
673
|
-
#
|
672
|
+
# `VISA`, or `UNKNOWN`. Value is `UNKNOWN` when Lithic cannot determine the
|
673
|
+
# network code from the upstream provider.
|
674
674
|
#
|
675
675
|
# @see Lithic::Models::Transaction#network
|
676
676
|
module Network
|
@@ -845,10 +845,10 @@ module Lithic
|
|
845
845
|
|
846
846
|
# @!attribute partial_approval_capable
|
847
847
|
# True if the terminal is capable of partial approval. Partial approval is when
|
848
|
-
#
|
849
|
-
#
|
850
|
-
#
|
851
|
-
#
|
848
|
+
# part of a transaction is approved and another payment must be used for the
|
849
|
+
# remainder. Example scenario: A $40 transaction is attempted on a prepaid card
|
850
|
+
# with a $25 balance. If partial approval is enabled, $25 can be authorized, at
|
851
|
+
# which point the POS will prompt the user for an additional payment of $15.
|
852
852
|
#
|
853
853
|
# @return [Boolean]
|
854
854
|
required :partial_approval_capable, Lithic::Internal::Type::Boolean
|
@@ -1023,9 +1023,9 @@ module Lithic
|
|
1023
1023
|
class TokenInfo < Lithic::Internal::Type::BaseModel
|
1024
1024
|
# @!attribute wallet_type
|
1025
1025
|
# The wallet_type field will indicate the source of the token. Possible token
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
#
|
1026
|
+
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
1027
|
+
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
1028
|
+
# currently supported and is included for future use.
|
1029
1029
|
#
|
1030
1030
|
# @return [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType]
|
1031
1031
|
required :wallet_type, enum: -> { Lithic::Models::Transaction::TokenInfo::WalletType }
|
@@ -1038,9 +1038,9 @@ module Lithic
|
|
1038
1038
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
1039
1039
|
|
1040
1040
|
# The wallet_type field will indicate the source of the token. Possible token
|
1041
|
-
#
|
1042
|
-
#
|
1043
|
-
#
|
1041
|
+
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
1042
|
+
# tokenization, and “other” sources like in-flight commerce. Masterpass is not
|
1043
|
+
# currently supported and is included for future use.
|
1044
1044
|
#
|
1045
1045
|
# @see Lithic::Models::Transaction::TokenInfo#wallet_type
|
1046
1046
|
module WalletType
|
@@ -1099,14 +1099,14 @@ module Lithic
|
|
1099
1099
|
|
1100
1100
|
# @!attribute network_info
|
1101
1101
|
# Information provided by the card network in each event. This includes common
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1105
|
-
#
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1102
|
+
# identifiers shared between you, Lithic, the card network and in some cases the
|
1103
|
+
# acquirer. These identifiers often link together events within the same
|
1104
|
+
# transaction lifecycle and can be used to locate a particular transaction, such
|
1105
|
+
# as during processing of disputes. Not all fields are available in all events,
|
1106
|
+
# and the presence of these fields is dependent on the card network and the event
|
1107
|
+
# type. If the field is populated by the network, we will pass it through as is
|
1108
|
+
# unless otherwise specified. Please consult the official network documentation
|
1109
|
+
# for more details about these fields and how to use them.
|
1110
1110
|
#
|
1111
1111
|
# @return [Lithic::Models::Transaction::Event::NetworkInfo, nil]
|
1112
1112
|
required :network_info, -> { Lithic::Models::Transaction::Event::NetworkInfo }, nil?: true
|
@@ -1194,7 +1194,7 @@ module Lithic
|
|
1194
1194
|
|
1195
1195
|
# @!attribute conversion_rate
|
1196
1196
|
# Exchange rate used to convert the merchant amount to the cardholder billing
|
1197
|
-
#
|
1197
|
+
# amount.
|
1198
1198
|
#
|
1199
1199
|
# @return [String]
|
1200
1200
|
required :conversion_rate, String
|
@@ -1242,7 +1242,7 @@ module Lithic
|
|
1242
1242
|
class Settlement < Lithic::Internal::Type::BaseModel
|
1243
1243
|
# @!attribute amount
|
1244
1244
|
# Amount of the event, if it is financial, in the settlement currency.
|
1245
|
-
#
|
1245
|
+
# Non-financial events do not contain this amount because they do not move funds.
|
1246
1246
|
#
|
1247
1247
|
# @return [Integer]
|
1248
1248
|
required :amount, Integer
|
@@ -1368,14 +1368,14 @@ module Lithic
|
|
1368
1368
|
|
1369
1369
|
# @!parse
|
1370
1370
|
# # Information provided by the card network in each event. This includes common
|
1371
|
-
# #
|
1372
|
-
# #
|
1373
|
-
# #
|
1374
|
-
# #
|
1375
|
-
# #
|
1376
|
-
# #
|
1377
|
-
# #
|
1378
|
-
# #
|
1371
|
+
# # identifiers shared between you, Lithic, the card network and in some cases the
|
1372
|
+
# # acquirer. These identifiers often link together events within the same
|
1373
|
+
# # transaction lifecycle and can be used to locate a particular transaction, such
|
1374
|
+
# # as during processing of disputes. Not all fields are available in all events,
|
1375
|
+
# # and the presence of these fields is dependent on the card network and the event
|
1376
|
+
# # type. If the field is populated by the network, we will pass it through as is
|
1377
|
+
# # unless otherwise specified. Please consult the official network documentation
|
1378
|
+
# # for more details about these fields and how to use them.
|
1379
1379
|
# #
|
1380
1380
|
# # @param acquirer [Lithic::Models::Transaction::Event::NetworkInfo::Acquirer, nil]
|
1381
1381
|
# # @param mastercard [Lithic::Models::Transaction::Event::NetworkInfo::Mastercard, nil]
|
@@ -1389,10 +1389,10 @@ module Lithic
|
|
1389
1389
|
class Acquirer < Lithic::Internal::Type::BaseModel
|
1390
1390
|
# @!attribute acquirer_reference_number
|
1391
1391
|
# Identifier assigned by the acquirer, applicable to dual-message transactions
|
1392
|
-
#
|
1393
|
-
#
|
1394
|
-
#
|
1395
|
-
#
|
1392
|
+
# only. The acquirer reference number (ARN) is only populated once a transaction
|
1393
|
+
# has been cleared, and it is not available in all transactions (such as automated
|
1394
|
+
# fuel dispenser transactions). A single transaction can contain multiple ARNs if
|
1395
|
+
# the merchant sends multiple clearings.
|
1396
1396
|
#
|
1397
1397
|
# @return [String, nil]
|
1398
1398
|
required :acquirer_reference_number, String, nil?: true
|
@@ -1416,38 +1416,38 @@ module Lithic
|
|
1416
1416
|
class Mastercard < Lithic::Internal::Type::BaseModel
|
1417
1417
|
# @!attribute banknet_reference_number
|
1418
1418
|
# Identifier assigned by Mastercard. Guaranteed by Mastercard to be unique for any
|
1419
|
-
#
|
1419
|
+
# transaction within a specific financial network on any processing day.
|
1420
1420
|
#
|
1421
1421
|
# @return [String, nil]
|
1422
1422
|
required :banknet_reference_number, String, nil?: true
|
1423
1423
|
|
1424
1424
|
# @!attribute original_banknet_reference_number
|
1425
1425
|
# Identifier assigned by Mastercard. Matches the `banknet_reference_number` of a
|
1426
|
-
#
|
1427
|
-
#
|
1428
|
-
#
|
1429
|
-
#
|
1430
|
-
#
|
1431
|
-
#
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
1426
|
+
# prior related event. May be populated in authorization reversals, incremental
|
1427
|
+
# authorizations (authorization requests that augment a previously authorized
|
1428
|
+
# amount), automated fuel dispenser authorization advices and clearings, and
|
1429
|
+
# financial authorizations. If the original banknet reference number contains all
|
1430
|
+
# zeroes, then no actual reference number could be found by the network or
|
1431
|
+
# acquirer. If Mastercard converts a transaction from dual-message to
|
1432
|
+
# single-message, such as for certain ATM transactions, it will populate the
|
1433
|
+
# original banknet reference number in the resulting financial authorization with
|
1434
|
+
# the banknet reference number of the initial authorization, which Lithic does not
|
1435
|
+
# receive.
|
1436
1436
|
#
|
1437
1437
|
# @return [String, nil]
|
1438
1438
|
required :original_banknet_reference_number, String, nil?: true
|
1439
1439
|
|
1440
1440
|
# @!attribute original_switch_serial_number
|
1441
1441
|
# Identifier assigned by Mastercard. Matches the `switch_serial_number` of a prior
|
1442
|
-
#
|
1443
|
-
#
|
1442
|
+
# related event. May be populated in returns and return reversals. Applicable to
|
1443
|
+
# single-message transactions only.
|
1444
1444
|
#
|
1445
1445
|
# @return [String, nil]
|
1446
1446
|
required :original_switch_serial_number, String, nil?: true
|
1447
1447
|
|
1448
1448
|
# @!attribute switch_serial_number
|
1449
1449
|
# Identifier assigned by Mastercard, applicable to single-message transactions
|
1450
|
-
#
|
1450
|
+
# only.
|
1451
1451
|
#
|
1452
1452
|
# @return [String, nil]
|
1453
1453
|
required :switch_serial_number, String, nil?: true
|
@@ -1475,17 +1475,17 @@ module Lithic
|
|
1475
1475
|
class Visa < Lithic::Internal::Type::BaseModel
|
1476
1476
|
# @!attribute original_transaction_id
|
1477
1477
|
# Identifier assigned by Visa. Matches the `transaction_id` of a prior related
|
1478
|
-
#
|
1479
|
-
#
|
1480
|
-
#
|
1478
|
+
# event. May be populated in incremental authorizations (authorization requests
|
1479
|
+
# that augment a previously authorized amount), authorization advices, financial
|
1480
|
+
# authorizations, and clearings.
|
1481
1481
|
#
|
1482
1482
|
# @return [String, nil]
|
1483
1483
|
required :original_transaction_id, String, nil?: true
|
1484
1484
|
|
1485
1485
|
# @!attribute transaction_id
|
1486
1486
|
# Identifier assigned by Visa to link original messages to subsequent messages.
|
1487
|
-
#
|
1488
|
-
#
|
1487
|
+
# Guaranteed by Visa to be unique for each original authorization and financial
|
1488
|
+
# authorization.
|
1489
1489
|
#
|
1490
1490
|
# @return [String, nil]
|
1491
1491
|
required :transaction_id, String, nil?: true
|
@@ -1538,9 +1538,9 @@ module Lithic
|
|
1538
1538
|
class RuleResult < Lithic::Internal::Type::BaseModel
|
1539
1539
|
# @!attribute auth_rule_token
|
1540
1540
|
# The Auth Rule Token associated with the rule from which the decline originated.
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
#
|
1541
|
+
# If this is set to null, then the decline was not associated with a
|
1542
|
+
# customer-configured Auth Rule. This may happen in cases where a transaction is
|
1543
|
+
# declined due to a Lithic-configured security or compliance rule, for example.
|
1544
1544
|
#
|
1545
1545
|
# @return [String, nil]
|
1546
1546
|
required :auth_rule_token, String, nil?: true
|