lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +4 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +30 -15
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +7 -2
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/non_pci_card.rb +73 -28
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +161 -53
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -1
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +8 -2
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/non_pci_card.rbi +78 -2
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- metadata +8 -5
@@ -176,30 +176,64 @@ module Lithic
|
|
176
176
|
optional :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::Transaction::Event] }
|
177
177
|
|
178
178
|
# @!method initialize(token:, account_token:, acquirer_fee:, acquirer_reference_number:, amount:, amounts:, authorization_amount:, authorization_code:, avs:, card_token:, cardholder_authentication:, created:, merchant:, merchant_amount:, merchant_authorization_amount:, merchant_currency:, network:, network_risk_score:, pos:, result:, settled_amount:, status:, token_info:, updated:, events: nil)
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
# @param
|
183
|
-
#
|
179
|
+
# Some parameter documentations has been truncated, see
|
180
|
+
# {Lithic::Models::Transaction} for more details.
|
181
|
+
#
|
182
|
+
# @param token [String] Globally unique identifier.
|
183
|
+
#
|
184
|
+
# @param account_token [String] The token for the account associated with this transaction.
|
185
|
+
#
|
186
|
+
# @param acquirer_fee [Integer, nil] Fee assessed by the merchant and paid for by the cardholder in the smallest unit
|
187
|
+
# ...
|
188
|
+
#
|
189
|
+
# @param acquirer_reference_number [String, nil] Unique identifier assigned to a transaction by the acquirer that can be used in
|
190
|
+
# ...
|
191
|
+
#
|
192
|
+
# @param amount [Integer] When the transaction is pending, this represents the authorization amount of the
|
193
|
+
# ...
|
194
|
+
#
|
184
195
|
# @param amounts [Lithic::Models::Transaction::Amounts]
|
185
|
-
#
|
186
|
-
# @param
|
196
|
+
#
|
197
|
+
# @param authorization_amount [Integer, nil] The authorization amount of the transaction in the anticipated settlement curren
|
198
|
+
# ...
|
199
|
+
#
|
200
|
+
# @param authorization_code [String, nil] A fixed-width 6-digit numeric identifier that can be used to identify a transact
|
201
|
+
# ...
|
202
|
+
#
|
187
203
|
# @param avs [Lithic::Models::Transaction::Avs, nil]
|
188
|
-
#
|
204
|
+
#
|
205
|
+
# @param card_token [String] Token for the card used in this transaction.
|
206
|
+
#
|
189
207
|
# @param cardholder_authentication [Lithic::Models::Transaction::CardholderAuthentication, nil]
|
190
|
-
#
|
208
|
+
#
|
209
|
+
# @param created [Time] Date and time when the transaction first occurred. UTC time zone.
|
210
|
+
#
|
191
211
|
# @param merchant [Lithic::Models::Transaction::Merchant]
|
192
|
-
#
|
193
|
-
# @param
|
194
|
-
#
|
195
|
-
# @param
|
196
|
-
#
|
212
|
+
#
|
213
|
+
# @param merchant_amount [Integer, nil] Analogous to the 'amount', but in the merchant currency.
|
214
|
+
#
|
215
|
+
# @param merchant_authorization_amount [Integer, nil] Analogous to the 'authorization_amount', but in the merchant currency.
|
216
|
+
#
|
217
|
+
# @param merchant_currency [String] 3-character alphabetic ISO 4217 code for the local currency of the transaction.
|
218
|
+
#
|
219
|
+
# @param network [Symbol, Lithic::Models::Transaction::Network, nil] Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
220
|
+
# ...
|
221
|
+
#
|
222
|
+
# @param network_risk_score [Integer, nil] Network-provided score assessing risk level associated with a given authorizatio
|
223
|
+
# ...
|
224
|
+
#
|
197
225
|
# @param pos [Lithic::Models::Transaction::Pos]
|
226
|
+
#
|
198
227
|
# @param result [Symbol, Lithic::Models::Transaction::Result]
|
199
|
-
#
|
200
|
-
# @param
|
228
|
+
#
|
229
|
+
# @param settled_amount [Integer] The settled amount of the transaction in the settlement currency.
|
230
|
+
#
|
231
|
+
# @param status [Symbol, Lithic::Models::Transaction::Status] Status of the transaction.
|
232
|
+
#
|
201
233
|
# @param token_info [Lithic::Models::Transaction::TokenInfo, nil]
|
202
|
-
#
|
234
|
+
#
|
235
|
+
# @param updated [Time] Date and time when the transaction last updated. UTC time zone.
|
236
|
+
#
|
203
237
|
# @param events [Array<Lithic::Models::Transaction::Event>]
|
204
238
|
|
205
239
|
# @see Lithic::Models::Transaction#amounts
|
@@ -253,9 +287,16 @@ module Lithic
|
|
253
287
|
required :currency, String
|
254
288
|
|
255
289
|
# @!method initialize(amount:, conversion_rate:, currency:)
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
290
|
+
# Some parameter documentations has been truncated, see
|
291
|
+
# {Lithic::Models::Transaction::Amounts::Cardholder} for more details.
|
292
|
+
#
|
293
|
+
# @param amount [Integer] The estimated settled amount of the transaction in the cardholder billing curren
|
294
|
+
# ...
|
295
|
+
#
|
296
|
+
# @param conversion_rate [String] The exchange rate used to convert the merchant amount to the cardholder billing
|
297
|
+
# ...
|
298
|
+
#
|
299
|
+
# @param currency [String] 3-character alphabetic ISO 4217 currency
|
259
300
|
end
|
260
301
|
|
261
302
|
# @see Lithic::Models::Transaction::Amounts#hold
|
@@ -273,8 +314,9 @@ module Lithic
|
|
273
314
|
required :currency, String
|
274
315
|
|
275
316
|
# @!method initialize(amount:, currency:)
|
276
|
-
# @param amount [Integer]
|
277
|
-
#
|
317
|
+
# @param amount [Integer] The pending amount of the transaction in the anticipated settlement currency.
|
318
|
+
#
|
319
|
+
# @param currency [String] 3-character alphabetic ISO 4217 currency
|
278
320
|
end
|
279
321
|
|
280
322
|
# @see Lithic::Models::Transaction::Amounts#merchant
|
@@ -292,8 +334,9 @@ module Lithic
|
|
292
334
|
required :currency, String
|
293
335
|
|
294
336
|
# @!method initialize(amount:, currency:)
|
295
|
-
# @param amount [Integer]
|
296
|
-
#
|
337
|
+
# @param amount [Integer] The settled amount of the transaction in the merchant currency.
|
338
|
+
#
|
339
|
+
# @param currency [String] 3-character alphabetic ISO 4217 currency
|
297
340
|
end
|
298
341
|
|
299
342
|
# @see Lithic::Models::Transaction::Amounts#settlement
|
@@ -311,8 +354,9 @@ module Lithic
|
|
311
354
|
required :currency, String
|
312
355
|
|
313
356
|
# @!method initialize(amount:, currency:)
|
314
|
-
# @param amount [Integer]
|
315
|
-
#
|
357
|
+
# @param amount [Integer] The settled amount of the transaction in the settlement currency.
|
358
|
+
#
|
359
|
+
# @param currency [String] 3-character alphabetic ISO 4217 currency
|
316
360
|
end
|
317
361
|
end
|
318
362
|
|
@@ -331,8 +375,9 @@ module Lithic
|
|
331
375
|
required :zipcode, String
|
332
376
|
|
333
377
|
# @!method initialize(address:, zipcode:)
|
334
|
-
# @param address [String]
|
335
|
-
#
|
378
|
+
# @param address [String] Cardholder address
|
379
|
+
#
|
380
|
+
# @param zipcode [String] Cardholder ZIP code
|
336
381
|
end
|
337
382
|
|
338
383
|
# @see Lithic::Models::Transaction#cardholder_authentication
|
@@ -408,14 +453,28 @@ module Lithic
|
|
408
453
|
enum: -> { Lithic::Models::Transaction::CardholderAuthentication::VerificationResult }
|
409
454
|
|
410
455
|
# @!method initialize(three_ds_version:, acquirer_exemption:, authentication_result:, decision_made_by:, liability_shift:, three_ds_authentication_token:, verification_attempted:, verification_result:)
|
411
|
-
#
|
412
|
-
#
|
413
|
-
#
|
414
|
-
# @param
|
415
|
-
#
|
416
|
-
# @param
|
417
|
-
#
|
418
|
-
# @param
|
456
|
+
# Some parameter documentations has been truncated, see
|
457
|
+
# {Lithic::Models::Transaction::CardholderAuthentication} for more details.
|
458
|
+
#
|
459
|
+
# @param three_ds_version [String, nil] The 3DS version used for the authentication
|
460
|
+
#
|
461
|
+
# @param acquirer_exemption [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption] Whether an acquirer exemption applied to the transaction.
|
462
|
+
#
|
463
|
+
# @param authentication_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult] Indicates what the outcome of the 3DS authentication process is.
|
464
|
+
#
|
465
|
+
# @param decision_made_by [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy] Indicates which party made the 3DS authentication decision.
|
466
|
+
#
|
467
|
+
# @param liability_shift [Symbol, Lithic::Models::Transaction::CardholderAuthentication::LiabilityShift] Indicates whether chargeback liability shift applies to the transaction. Possibl
|
468
|
+
# ...
|
469
|
+
#
|
470
|
+
# @param three_ds_authentication_token [String, nil] Unique identifier you can use to match a given 3DS authentication (available via
|
471
|
+
# ...
|
472
|
+
#
|
473
|
+
# @param verification_attempted [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationAttempted] Indicates whether a 3DS challenge flow was used, and if so, what the verificatio
|
474
|
+
# ...
|
475
|
+
#
|
476
|
+
# @param verification_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::VerificationResult] Indicates whether a transaction is considered 3DS authenticated. (deprecated, us
|
477
|
+
# ...
|
419
478
|
|
420
479
|
# Whether an acquirer exemption applied to the transaction.
|
421
480
|
#
|
@@ -574,13 +633,25 @@ module Lithic
|
|
574
633
|
required :state, String
|
575
634
|
|
576
635
|
# @!method initialize(acceptor_id:, acquiring_institution_id:, city:, country:, descriptor:, mcc:, state:)
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
580
|
-
# @param
|
581
|
-
#
|
582
|
-
# @param
|
583
|
-
#
|
636
|
+
# Some parameter documentations has been truncated, see
|
637
|
+
# {Lithic::Models::Transaction::Merchant} for more details.
|
638
|
+
#
|
639
|
+
# @param acceptor_id [String] Unique alphanumeric identifier for the payment card acceptor (merchant).
|
640
|
+
#
|
641
|
+
# @param acquiring_institution_id [String] Unique numeric identifier of the acquiring institution.
|
642
|
+
#
|
643
|
+
# @param city [String] City of card acceptor. Note that in many cases, particularly in card-not-present
|
644
|
+
# ...
|
645
|
+
#
|
646
|
+
# @param country [String] Country or entity of card acceptor. Possible values are: (1) all ISO 3166-1 alph
|
647
|
+
# ...
|
648
|
+
#
|
649
|
+
# @param descriptor [String] Short description of card acceptor.
|
650
|
+
#
|
651
|
+
# @param mcc [String] Merchant category code (MCC). A four-digit number listed in ISO 18245. An MCC is
|
652
|
+
# ...
|
653
|
+
#
|
654
|
+
# @param state [String] Geographic state of card acceptor.
|
584
655
|
end
|
585
656
|
|
586
657
|
# Card network of the authorization. Can be `INTERLINK`, `MAESTRO`, `MASTERCARD`,
|
@@ -644,10 +715,13 @@ module Lithic
|
|
644
715
|
required :pin_entered, Lithic::Internal::Type::Boolean
|
645
716
|
|
646
717
|
# @!method initialize(card:, cardholder:, pan:, pin_entered:)
|
647
|
-
# @param card [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Card]
|
648
|
-
#
|
649
|
-
# @param
|
650
|
-
#
|
718
|
+
# @param card [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Card] Card presence indicator
|
719
|
+
#
|
720
|
+
# @param cardholder [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Cardholder] Cardholder presence indicator
|
721
|
+
#
|
722
|
+
# @param pan [Symbol, Lithic::Models::Transaction::Pos::EntryMode::Pan] Method of entry for the PAN
|
723
|
+
#
|
724
|
+
# @param pin_entered [Boolean] Indicates whether the cardholder entered the PIN. True if the PIN was entered.
|
651
725
|
|
652
726
|
# Card presence indicator
|
653
727
|
#
|
@@ -768,14 +842,26 @@ module Lithic
|
|
768
842
|
optional :acceptor_terminal_id, String, nil?: true
|
769
843
|
|
770
844
|
# @!method initialize(attended:, card_retention_capable:, on_premise:, operator:, partial_approval_capable:, pin_capability:, type:, acceptor_terminal_id: nil)
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
# @param
|
775
|
-
#
|
776
|
-
# @param
|
777
|
-
#
|
778
|
-
# @param
|
845
|
+
# Some parameter documentations has been truncated, see
|
846
|
+
# {Lithic::Models::Transaction::Pos::Terminal} for more details.
|
847
|
+
#
|
848
|
+
# @param attended [Boolean] True if a clerk is present at the sale.
|
849
|
+
#
|
850
|
+
# @param card_retention_capable [Boolean] True if the terminal is capable of retaining the card.
|
851
|
+
#
|
852
|
+
# @param on_premise [Boolean] True if the sale was made at the place of business (vs. mobile).
|
853
|
+
#
|
854
|
+
# @param operator [Symbol, Lithic::Models::Transaction::Pos::Terminal::Operator] The person that is designated to swipe the card
|
855
|
+
#
|
856
|
+
# @param partial_approval_capable [Boolean] True if the terminal is capable of partial approval. Partial approval is when pa
|
857
|
+
# ...
|
858
|
+
#
|
859
|
+
# @param pin_capability [Symbol, Lithic::Models::Transaction::Pos::Terminal::PinCapability] Status of whether the POS is able to accept PINs
|
860
|
+
#
|
861
|
+
# @param type [Symbol, Lithic::Models::Transaction::Pos::Terminal::Type] POS Type
|
862
|
+
#
|
863
|
+
# @param acceptor_terminal_id [String, nil] Uniquely identifies a terminal at the card acceptor location of acquiring instit
|
864
|
+
# ...
|
779
865
|
|
780
866
|
# The person that is designated to swipe the card
|
781
867
|
#
|
@@ -904,7 +990,11 @@ module Lithic
|
|
904
990
|
required :wallet_type, enum: -> { Lithic::Models::Transaction::TokenInfo::WalletType }
|
905
991
|
|
906
992
|
# @!method initialize(wallet_type:)
|
907
|
-
#
|
993
|
+
# Some parameter documentations has been truncated, see
|
994
|
+
# {Lithic::Models::Transaction::TokenInfo} for more details.
|
995
|
+
#
|
996
|
+
# @param wallet_type [Symbol, Lithic::Models::Transaction::TokenInfo::WalletType] The wallet_type field will indicate the source of the token. Possible token sour
|
997
|
+
# ...
|
908
998
|
|
909
999
|
# The wallet_type field will indicate the source of the token. Possible token
|
910
1000
|
# sources include digital wallets (Apple, Google, or Samsung Pay), merchant
|
@@ -1002,16 +1092,30 @@ module Lithic
|
|
1002
1092
|
optional :network_specific_data, -> { Lithic::Models::Transaction::Event::NetworkSpecificData }
|
1003
1093
|
|
1004
1094
|
# @!method initialize(token:, amount:, amounts:, created:, detailed_results:, effective_polarity:, network_info:, result:, rule_results:, type:, network_specific_data: nil)
|
1005
|
-
#
|
1006
|
-
#
|
1095
|
+
# Some parameter documentations has been truncated, see
|
1096
|
+
# {Lithic::Models::Transaction::Event} for more details.
|
1097
|
+
#
|
1098
|
+
# @param token [String] Transaction event identifier.
|
1099
|
+
#
|
1100
|
+
# @param amount [Integer] Amount of the event in the settlement currency.
|
1101
|
+
#
|
1007
1102
|
# @param amounts [Lithic::Models::Transaction::Event::Amounts]
|
1008
|
-
#
|
1103
|
+
#
|
1104
|
+
# @param created [Time] RFC 3339 date and time this event entered the system. UTC time zone.
|
1105
|
+
#
|
1009
1106
|
# @param detailed_results [Array<Symbol, Lithic::Models::Transaction::Event::DetailedResult>]
|
1010
|
-
#
|
1011
|
-
# @param
|
1107
|
+
#
|
1108
|
+
# @param effective_polarity [Symbol, Lithic::Models::Transaction::Event::EffectivePolarity] Indicates whether the transaction event is a credit or debit to the account.
|
1109
|
+
#
|
1110
|
+
# @param network_info [Lithic::Models::Transaction::Event::NetworkInfo, nil] Information provided by the card network in each event. This includes common ide
|
1111
|
+
# ...
|
1112
|
+
#
|
1012
1113
|
# @param result [Symbol, Lithic::Models::Transaction::Event::Result]
|
1114
|
+
#
|
1013
1115
|
# @param rule_results [Array<Lithic::Models::Transaction::Event::RuleResult>]
|
1014
|
-
#
|
1116
|
+
#
|
1117
|
+
# @param type [Symbol, Lithic::Models::Transaction::Event::Type] Type of transaction event
|
1118
|
+
#
|
1015
1119
|
# @param network_specific_data [Lithic::Models::Transaction::Event::NetworkSpecificData]
|
1016
1120
|
|
1017
1121
|
# @see Lithic::Models::Transaction::Event#amounts
|
@@ -1058,9 +1162,15 @@ module Lithic
|
|
1058
1162
|
required :currency, String
|
1059
1163
|
|
1060
1164
|
# @!method initialize(amount:, conversion_rate:, currency:)
|
1061
|
-
#
|
1062
|
-
#
|
1063
|
-
#
|
1165
|
+
# Some parameter documentations has been truncated, see
|
1166
|
+
# {Lithic::Models::Transaction::Event::Amounts::Cardholder} for more details.
|
1167
|
+
#
|
1168
|
+
# @param amount [Integer] Amount of the event in the cardholder billing currency.
|
1169
|
+
#
|
1170
|
+
# @param conversion_rate [String] Exchange rate used to convert the merchant amount to the cardholder billing amou
|
1171
|
+
# ...
|
1172
|
+
#
|
1173
|
+
# @param currency [String] 3-character alphabetic ISO 4217 currency
|
1064
1174
|
end
|
1065
1175
|
|
1066
1176
|
# @see Lithic::Models::Transaction::Event::Amounts#merchant
|
@@ -1078,8 +1188,9 @@ module Lithic
|
|
1078
1188
|
required :currency, String
|
1079
1189
|
|
1080
1190
|
# @!method initialize(amount:, currency:)
|
1081
|
-
# @param amount [Integer]
|
1082
|
-
#
|
1191
|
+
# @param amount [Integer] Amount of the event in the merchant currency.
|
1192
|
+
#
|
1193
|
+
# @param currency [String] 3-character alphabetic ISO 4217 currency
|
1083
1194
|
end
|
1084
1195
|
|
1085
1196
|
# @see Lithic::Models::Transaction::Event::Amounts#settlement
|
@@ -1104,9 +1215,15 @@ module Lithic
|
|
1104
1215
|
required :currency, String
|
1105
1216
|
|
1106
1217
|
# @!method initialize(amount:, conversion_rate:, currency:)
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1218
|
+
# Some parameter documentations has been truncated, see
|
1219
|
+
# {Lithic::Models::Transaction::Event::Amounts::Settlement} for more details.
|
1220
|
+
#
|
1221
|
+
# @param amount [Integer] Amount of the event, if it is financial, in the settlement currency. Non-financi
|
1222
|
+
# ...
|
1223
|
+
#
|
1224
|
+
# @param conversion_rate [String] Exchange rate used to convert the merchant amount to the settlement amount.
|
1225
|
+
#
|
1226
|
+
# @param currency [String] 3-character alphabetic ISO 4217 currency
|
1110
1227
|
end
|
1111
1228
|
end
|
1112
1229
|
|
@@ -1234,8 +1351,13 @@ module Lithic
|
|
1234
1351
|
required :retrieval_reference_number, String, nil?: true
|
1235
1352
|
|
1236
1353
|
# @!method initialize(acquirer_reference_number:, retrieval_reference_number:)
|
1237
|
-
#
|
1238
|
-
#
|
1354
|
+
# Some parameter documentations has been truncated, see
|
1355
|
+
# {Lithic::Models::Transaction::Event::NetworkInfo::Acquirer} for more details.
|
1356
|
+
#
|
1357
|
+
# @param acquirer_reference_number [String, nil] Identifier assigned by the acquirer, applicable to dual-message transactions onl
|
1358
|
+
# ...
|
1359
|
+
#
|
1360
|
+
# @param retrieval_reference_number [String, nil] Identifier assigned by the acquirer.
|
1239
1361
|
end
|
1240
1362
|
|
1241
1363
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#mastercard
|
@@ -1279,10 +1401,20 @@ module Lithic
|
|
1279
1401
|
required :switch_serial_number, String, nil?: true
|
1280
1402
|
|
1281
1403
|
# @!method initialize(banknet_reference_number:, original_banknet_reference_number:, original_switch_serial_number:, switch_serial_number:)
|
1282
|
-
#
|
1283
|
-
#
|
1284
|
-
#
|
1285
|
-
# @param
|
1404
|
+
# Some parameter documentations has been truncated, see
|
1405
|
+
# {Lithic::Models::Transaction::Event::NetworkInfo::Mastercard} for more details.
|
1406
|
+
#
|
1407
|
+
# @param banknet_reference_number [String, nil] Identifier assigned by Mastercard. Guaranteed by Mastercard to be unique for any
|
1408
|
+
# ...
|
1409
|
+
#
|
1410
|
+
# @param original_banknet_reference_number [String, nil] Identifier assigned by Mastercard. Matches the `banknet_reference_number` of a p
|
1411
|
+
# ...
|
1412
|
+
#
|
1413
|
+
# @param original_switch_serial_number [String, nil] Identifier assigned by Mastercard. Matches the `switch_serial_number` of a prior
|
1414
|
+
# ...
|
1415
|
+
#
|
1416
|
+
# @param switch_serial_number [String, nil] Identifier assigned by Mastercard, applicable to single-message transactions onl
|
1417
|
+
# ...
|
1286
1418
|
end
|
1287
1419
|
|
1288
1420
|
# @see Lithic::Models::Transaction::Event::NetworkInfo#visa
|
@@ -1305,8 +1437,14 @@ module Lithic
|
|
1305
1437
|
required :transaction_id, String, nil?: true
|
1306
1438
|
|
1307
1439
|
# @!method initialize(original_transaction_id:, transaction_id:)
|
1308
|
-
#
|
1309
|
-
#
|
1440
|
+
# Some parameter documentations has been truncated, see
|
1441
|
+
# {Lithic::Models::Transaction::Event::NetworkInfo::Visa} for more details.
|
1442
|
+
#
|
1443
|
+
# @param original_transaction_id [String, nil] Identifier assigned by Visa. Matches the `transaction_id` of a prior related eve
|
1444
|
+
# ...
|
1445
|
+
#
|
1446
|
+
# @param transaction_id [String, nil] Identifier assigned by Visa to link original messages to subsequent messages. Gu
|
1447
|
+
# ...
|
1310
1448
|
end
|
1311
1449
|
end
|
1312
1450
|
|
@@ -1371,10 +1509,17 @@ module Lithic
|
|
1371
1509
|
required :result, enum: -> { Lithic::Models::Transaction::Event::RuleResult::Result }
|
1372
1510
|
|
1373
1511
|
# @!method initialize(auth_rule_token:, explanation:, name:, result:)
|
1374
|
-
#
|
1375
|
-
#
|
1376
|
-
#
|
1377
|
-
# @param
|
1512
|
+
# Some parameter documentations has been truncated, see
|
1513
|
+
# {Lithic::Models::Transaction::Event::RuleResult} for more details.
|
1514
|
+
#
|
1515
|
+
# @param auth_rule_token [String, nil] The Auth Rule Token associated with the rule from which the decline originated.
|
1516
|
+
# ...
|
1517
|
+
#
|
1518
|
+
# @param explanation [String, nil] A human-readable explanation outlining the motivation for the rule's decline.
|
1519
|
+
#
|
1520
|
+
# @param name [String, nil] The name for the rule, if any was configured.
|
1521
|
+
#
|
1522
|
+
# @param result [Symbol, Lithic::Models::Transaction::Event::RuleResult::Result] The detailed_result associated with this rule's decline.
|
1378
1523
|
|
1379
1524
|
# The detailed_result associated with this rule's decline.
|
1380
1525
|
#
|
@@ -1506,9 +1651,16 @@ module Lithic
|
|
1506
1651
|
required :transaction_type_identifier, String, nil?: true
|
1507
1652
|
|
1508
1653
|
# @!method initialize(ecommerce_security_level_indicator:, on_behalf_service_result:, transaction_type_identifier:)
|
1509
|
-
#
|
1510
|
-
#
|
1511
|
-
#
|
1654
|
+
# Some parameter documentations has been truncated, see
|
1655
|
+
# {Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard} for more
|
1656
|
+
# details.
|
1657
|
+
#
|
1658
|
+
# @param ecommerce_security_level_indicator [String, nil] Indicates the electronic commerce security level and UCAF collection.
|
1659
|
+
#
|
1660
|
+
# @param on_behalf_service_result [Array<Lithic::Models::Transaction::Event::NetworkSpecificData::Mastercard::OnBehalfServiceResult>, nil] The On-behalf Service performed on the transaction and the results. Contains all
|
1661
|
+
# ...
|
1662
|
+
#
|
1663
|
+
# @param transaction_type_identifier [String, nil] Indicates the type of additional transaction purpose.
|
1512
1664
|
|
1513
1665
|
class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
|
1514
1666
|
# @!attribute result_1
|
@@ -1530,9 +1682,11 @@ module Lithic
|
|
1530
1682
|
required :service, String
|
1531
1683
|
|
1532
1684
|
# @!method initialize(result_1:, result_2:, service:)
|
1533
|
-
# @param result_1 [String]
|
1534
|
-
#
|
1535
|
-
# @param
|
1685
|
+
# @param result_1 [String] Indicates the results of the service processing.
|
1686
|
+
#
|
1687
|
+
# @param result_2 [String] Identifies the results of the service processing.
|
1688
|
+
#
|
1689
|
+
# @param service [String] Indicates the service performed on the transaction.
|
1536
1690
|
end
|
1537
1691
|
end
|
1538
1692
|
|
@@ -1546,7 +1700,12 @@ module Lithic
|
|
1546
1700
|
required :business_application_identifier, String, nil?: true
|
1547
1701
|
|
1548
1702
|
# @!method initialize(business_application_identifier:)
|
1549
|
-
#
|
1703
|
+
# Some parameter documentations has been truncated, see
|
1704
|
+
# {Lithic::Models::Transaction::Event::NetworkSpecificData::Visa} for more
|
1705
|
+
# details.
|
1706
|
+
#
|
1707
|
+
# @param business_application_identifier [String, nil] Identifies the purpose or category of a transaction, used to classify and proces
|
1708
|
+
# ...
|
1550
1709
|
end
|
1551
1710
|
end
|
1552
1711
|
end
|
@@ -67,15 +67,32 @@ module Lithic
|
|
67
67
|
optional :status, enum: -> { Lithic::Models::TransactionListParams::Status }
|
68
68
|
|
69
69
|
# @!method initialize(account_token: nil, begin_: nil, card_token: nil, end_: nil, ending_before: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
# @param
|
74
|
-
#
|
75
|
-
# @param
|
76
|
-
#
|
77
|
-
#
|
78
|
-
# @param
|
70
|
+
# Some parameter documentations has been truncated, see
|
71
|
+
# {Lithic::Models::TransactionListParams} for more details.
|
72
|
+
#
|
73
|
+
# @param account_token [String] Filters for transactions associated with a specific account. ...
|
74
|
+
#
|
75
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
76
|
+
# ...
|
77
|
+
#
|
78
|
+
# @param card_token [String] Filters for transactions associated with a specific card.
|
79
|
+
#
|
80
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
81
|
+
# ...
|
82
|
+
#
|
83
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
84
|
+
# ...
|
85
|
+
#
|
86
|
+
# @param page_size [Integer] Page size (for pagination).
|
87
|
+
#
|
88
|
+
# @param result [Symbol, Lithic::Models::TransactionListParams::Result] Filters for transactions using transaction result field. Can filter by `APPROVED
|
89
|
+
# ...
|
90
|
+
#
|
91
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
92
|
+
# ...
|
93
|
+
#
|
94
|
+
# @param status [Symbol, Lithic::Models::TransactionListParams::Status] Filters for transactions using transaction status field.
|
95
|
+
#
|
79
96
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
80
97
|
|
81
98
|
# Filters for transactions using transaction result field. Can filter by
|
@@ -21,8 +21,14 @@ module Lithic
|
|
21
21
|
required :amount, Integer
|
22
22
|
|
23
23
|
# @!method initialize(token:, amount:, request_options: {})
|
24
|
-
#
|
25
|
-
#
|
24
|
+
# Some parameter documentations has been truncated, see
|
25
|
+
# {Lithic::Models::TransactionSimulateAuthorizationAdviceParams} for more details.
|
26
|
+
#
|
27
|
+
# @param token [String] The transaction token returned from the /v1/simulate/authorize. response.
|
28
|
+
#
|
29
|
+
# @param amount [Integer] Amount (in cents) to authorize. This amount will override the transaction's amou
|
30
|
+
# ...
|
31
|
+
#
|
26
32
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
27
33
|
end
|
28
34
|
end
|
@@ -17,8 +17,9 @@ module Lithic
|
|
17
17
|
optional :debugging_request_id, String
|
18
18
|
|
19
19
|
# @!method initialize(token: nil, debugging_request_id: nil)
|
20
|
-
# @param token [String]
|
21
|
-
#
|
20
|
+
# @param token [String] A unique token to reference this transaction.
|
21
|
+
#
|
22
|
+
# @param debugging_request_id [String] Debugging request ID to share with Lithic Support team.
|
22
23
|
end
|
23
24
|
end
|
24
25
|
end
|
@@ -93,16 +93,33 @@ module Lithic
|
|
93
93
|
optional :status, enum: -> { Lithic::Models::TransactionSimulateAuthorizationParams::Status }
|
94
94
|
|
95
95
|
# @!method initialize(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_id: nil, merchant_amount: nil, merchant_currency: nil, partial_approval_capable: nil, pin: nil, status: nil, request_options: {})
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
# @param
|
100
|
-
#
|
101
|
-
#
|
102
|
-
# @param
|
103
|
-
#
|
104
|
-
# @param
|
105
|
-
#
|
96
|
+
# Some parameter documentations has been truncated, see
|
97
|
+
# {Lithic::Models::TransactionSimulateAuthorizationParams} for more details.
|
98
|
+
#
|
99
|
+
# @param amount [Integer] Amount (in cents) to authorize. For credit authorizations and financial credit a
|
100
|
+
# ...
|
101
|
+
#
|
102
|
+
# @param descriptor [String] Merchant descriptor.
|
103
|
+
#
|
104
|
+
# @param pan [String] Sixteen digit card number.
|
105
|
+
#
|
106
|
+
# @param mcc [String] Merchant category code for the transaction to be simulated. A four-digit number
|
107
|
+
# ...
|
108
|
+
#
|
109
|
+
# @param merchant_acceptor_id [String] Unique identifier to identify the payment card acceptor.
|
110
|
+
#
|
111
|
+
# @param merchant_amount [Integer] Amount of the transaction to be simulated in currency specified in merchant_curr
|
112
|
+
# ...
|
113
|
+
#
|
114
|
+
# @param merchant_currency [String] 3-character alphabetic ISO 4217 currency code. Note: Simulator only accepts USD,
|
115
|
+
# ...
|
116
|
+
#
|
117
|
+
# @param partial_approval_capable [Boolean] Set to true if the terminal is capable of partial approval otherwise false. ...
|
118
|
+
#
|
119
|
+
# @param pin [String] Simulate entering a PIN. If omitted, PIN check will not be performed.
|
120
|
+
#
|
121
|
+
# @param status [Symbol, Lithic::Models::TransactionSimulateAuthorizationParams::Status] Type of event to simulate. ...
|
122
|
+
#
|
106
123
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
107
124
|
|
108
125
|
# Type of event to simulate.
|
@@ -18,8 +18,13 @@ module Lithic
|
|
18
18
|
optional :debugging_request_id, String
|
19
19
|
|
20
20
|
# @!method initialize(token: nil, debugging_request_id: nil)
|
21
|
-
#
|
22
|
-
#
|
21
|
+
# Some parameter documentations has been truncated, see
|
22
|
+
# {Lithic::Models::TransactionSimulateAuthorizationResponse} for more details.
|
23
|
+
#
|
24
|
+
# @param token [String] A unique token to reference this transaction with later calls to void or clear t
|
25
|
+
# ...
|
26
|
+
#
|
27
|
+
# @param debugging_request_id [String] Debugging request ID to share with Lithic Support team.
|
23
28
|
end
|
24
29
|
end
|
25
30
|
end
|
@@ -28,8 +28,14 @@ module Lithic
|
|
28
28
|
optional :amount, Integer
|
29
29
|
|
30
30
|
# @!method initialize(token:, amount: nil, request_options: {})
|
31
|
-
#
|
32
|
-
#
|
31
|
+
# Some parameter documentations has been truncated, see
|
32
|
+
# {Lithic::Models::TransactionSimulateClearingParams} for more details.
|
33
|
+
#
|
34
|
+
# @param token [String] The transaction token returned from the /v1/simulate/authorize response.
|
35
|
+
#
|
36
|
+
# @param amount [Integer] Amount (in cents) to clear. Typically this will match the amount in the original
|
37
|
+
# ...
|
38
|
+
#
|
33
39
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
34
40
|
end
|
35
41
|
end
|