lithic 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +29 -5
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/cursor_page.rb +5 -1
- data/lib/lithic/internal/single_page.rb +5 -1
- data/lib/lithic/internal/transport/base_client.rb +3 -3
- data/lib/lithic/internal/transport/pooled_net_requester.rb +2 -2
- data/lib/lithic/internal/type/array_of.rb +5 -3
- data/lib/lithic/internal/type/base_model.rb +19 -16
- data/lib/lithic/internal/type/base_page.rb +4 -1
- data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/lithic/internal/type/converter.rb +26 -23
- data/lib/lithic/internal/type/enum.rb +10 -8
- data/lib/lithic/internal/type/hash_of.rb +3 -1
- data/lib/lithic/internal/util.rb +29 -50
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -56
- data/lib/lithic/models/account_holder_create_params.rb +140 -144
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +7 -7
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +12 -12
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_update_params.rb +7 -7
- data/lib/lithic/models/auth_rules/v2_update_response.rb +3 -3
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +25 -25
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +25 -25
- data/lib/lithic/models/card_renew_params.rb +27 -27
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +1 -1
- data/lib/lithic/models/digital_card_art.rb +2 -2
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +7 -7
- data/lib/lithic/models/event_subscription.rb +1 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -2
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_params.rb +5 -5
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account.rb +11 -13
- data/lib/lithic/models/financial_account_create_params.rb +2 -2
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +24 -24
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +17 -17
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +7 -7
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_accounts/statements.rb +1 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +128 -132
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_status.rb +1 -1
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +16 -16
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +100 -100
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +100 -100
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +39 -39
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +54 -54
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +37 -37
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +64 -61
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +6 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +6 -6
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +1 -1
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +10 -18
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/{boolean_model.rbi → boolean.rbi} +5 -9
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +40 -72
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -100
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +154 -171
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +27 -29
- data/rbi/lib/lithic/models/card_renew_params.rbi +30 -34
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +27 -0
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +26 -39
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +18 -37
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +67 -107
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +46 -72
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +139 -153
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +121 -156
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +219 -237
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +24 -0
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +15 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +10 -19
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -2
- data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +5 -5
- data/sig/lithic/models/account_holder_create_params.rbs +47 -43
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
- data/sig/lithic/models/financial_account.rbs +6 -6
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/kyb.rbs +47 -43
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
- data/sig/lithic/resources/events.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +11 -5
@@ -6,23 +6,23 @@ module Lithic
|
|
6
6
|
class ExternalBankAccountRetrieveResponse < Lithic::Internal::Type::BaseModel
|
7
7
|
# @!attribute token
|
8
8
|
# A globally unique identifier for this record of an external bank account
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
9
|
+
# association. If a program links an external bank account to more than one
|
10
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
11
|
+
# record of the association
|
12
12
|
#
|
13
13
|
# @return [String]
|
14
14
|
required :token, String
|
15
15
|
|
16
16
|
# @!attribute country
|
17
17
|
# The country that the bank account is located in using ISO 3166-1. We will only
|
18
|
-
#
|
18
|
+
# accept USA bank accounts e.g., USA
|
19
19
|
#
|
20
20
|
# @return [String]
|
21
21
|
required :country, String
|
22
22
|
|
23
23
|
# @!attribute created
|
24
24
|
# An ISO 8601 string representing when this funding source was added to the Lithic
|
25
|
-
#
|
25
|
+
# account.
|
26
26
|
#
|
27
27
|
# @return [Time]
|
28
28
|
required :created, Time
|
@@ -35,14 +35,14 @@ module Lithic
|
|
35
35
|
|
36
36
|
# @!attribute last_four
|
37
37
|
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
38
|
-
#
|
38
|
+
# passed
|
39
39
|
#
|
40
40
|
# @return [String]
|
41
41
|
required :last_four, String
|
42
42
|
|
43
43
|
# @!attribute owner
|
44
44
|
# Legal Name of the business or individual who owns the external account. This
|
45
|
-
#
|
45
|
+
# will appear in statements
|
46
46
|
#
|
47
47
|
# @return [String]
|
48
48
|
required :owner, String
|
@@ -93,8 +93,8 @@ module Lithic
|
|
93
93
|
|
94
94
|
# @!attribute [r] account_token
|
95
95
|
# Indicates which Lithic account the external account is associated with. For
|
96
|
-
#
|
97
|
-
#
|
96
|
+
# external accounts that are associated with the program, account_token field
|
97
|
+
# returned will be null
|
98
98
|
#
|
99
99
|
# @return [String, nil]
|
100
100
|
optional :account_token, String
|
@@ -175,8 +175,8 @@ module Lithic
|
|
175
175
|
|
176
176
|
# @!attribute [r] verification_failed_reason
|
177
177
|
# Optional free text description of the reason for the failed verification. For
|
178
|
-
#
|
179
|
-
#
|
178
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
179
|
+
# by the ACH network
|
180
180
|
#
|
181
181
|
# @return [String, nil]
|
182
182
|
optional :verification_failed_reason, String
|
@@ -6,23 +6,23 @@ module Lithic
|
|
6
6
|
class ExternalBankAccountRetryMicroDepositsResponse < Lithic::Internal::Type::BaseModel
|
7
7
|
# @!attribute token
|
8
8
|
# A globally unique identifier for this record of an external bank account
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
9
|
+
# association. If a program links an external bank account to more than one
|
10
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
11
|
+
# record of the association
|
12
12
|
#
|
13
13
|
# @return [String]
|
14
14
|
required :token, String
|
15
15
|
|
16
16
|
# @!attribute country
|
17
17
|
# The country that the bank account is located in using ISO 3166-1. We will only
|
18
|
-
#
|
18
|
+
# accept USA bank accounts e.g., USA
|
19
19
|
#
|
20
20
|
# @return [String]
|
21
21
|
required :country, String
|
22
22
|
|
23
23
|
# @!attribute created
|
24
24
|
# An ISO 8601 string representing when this funding source was added to the Lithic
|
25
|
-
#
|
25
|
+
# account.
|
26
26
|
#
|
27
27
|
# @return [Time]
|
28
28
|
required :created, Time
|
@@ -35,14 +35,14 @@ module Lithic
|
|
35
35
|
|
36
36
|
# @!attribute last_four
|
37
37
|
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
38
|
-
#
|
38
|
+
# passed
|
39
39
|
#
|
40
40
|
# @return [String]
|
41
41
|
required :last_four, String
|
42
42
|
|
43
43
|
# @!attribute owner
|
44
44
|
# Legal Name of the business or individual who owns the external account. This
|
45
|
-
#
|
45
|
+
# will appear in statements
|
46
46
|
#
|
47
47
|
# @return [String]
|
48
48
|
required :owner, String
|
@@ -94,8 +94,8 @@ module Lithic
|
|
94
94
|
|
95
95
|
# @!attribute [r] account_token
|
96
96
|
# Indicates which Lithic account the external account is associated with. For
|
97
|
-
#
|
98
|
-
#
|
97
|
+
# external accounts that are associated with the program, account_token field
|
98
|
+
# returned will be null
|
99
99
|
#
|
100
100
|
# @return [String, nil]
|
101
101
|
optional :account_token, String
|
@@ -176,8 +176,8 @@ module Lithic
|
|
176
176
|
|
177
177
|
# @!attribute [r] verification_failed_reason
|
178
178
|
# Optional free text description of the reason for the failed verification. For
|
179
|
-
#
|
180
|
-
#
|
179
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
180
|
+
# by the ACH network
|
181
181
|
#
|
182
182
|
# @return [String, nil]
|
183
183
|
optional :verification_failed_reason, String
|
@@ -6,23 +6,23 @@ module Lithic
|
|
6
6
|
class ExternalBankAccountRetryPrenoteResponse < Lithic::Internal::Type::BaseModel
|
7
7
|
# @!attribute token
|
8
8
|
# A globally unique identifier for this record of an external bank account
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
9
|
+
# association. If a program links an external bank account to more than one
|
10
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
11
|
+
# record of the association
|
12
12
|
#
|
13
13
|
# @return [String]
|
14
14
|
required :token, String
|
15
15
|
|
16
16
|
# @!attribute country
|
17
17
|
# The country that the bank account is located in using ISO 3166-1. We will only
|
18
|
-
#
|
18
|
+
# accept USA bank accounts e.g., USA
|
19
19
|
#
|
20
20
|
# @return [String]
|
21
21
|
required :country, String
|
22
22
|
|
23
23
|
# @!attribute created
|
24
24
|
# An ISO 8601 string representing when this funding source was added to the Lithic
|
25
|
-
#
|
25
|
+
# account.
|
26
26
|
#
|
27
27
|
# @return [Time]
|
28
28
|
required :created, Time
|
@@ -35,14 +35,14 @@ module Lithic
|
|
35
35
|
|
36
36
|
# @!attribute last_four
|
37
37
|
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
38
|
-
#
|
38
|
+
# passed
|
39
39
|
#
|
40
40
|
# @return [String]
|
41
41
|
required :last_four, String
|
42
42
|
|
43
43
|
# @!attribute owner
|
44
44
|
# Legal Name of the business or individual who owns the external account. This
|
45
|
-
#
|
45
|
+
# will appear in statements
|
46
46
|
#
|
47
47
|
# @return [String]
|
48
48
|
required :owner, String
|
@@ -92,8 +92,8 @@ module Lithic
|
|
92
92
|
|
93
93
|
# @!attribute [r] account_token
|
94
94
|
# Indicates which Lithic account the external account is associated with. For
|
95
|
-
#
|
96
|
-
#
|
95
|
+
# external accounts that are associated with the program, account_token field
|
96
|
+
# returned will be null
|
97
97
|
#
|
98
98
|
# @return [String, nil]
|
99
99
|
optional :account_token, String
|
@@ -174,8 +174,8 @@ module Lithic
|
|
174
174
|
|
175
175
|
# @!attribute [r] verification_failed_reason
|
176
176
|
# Optional free text description of the reason for the failed verification. For
|
177
|
-
#
|
178
|
-
#
|
177
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
178
|
+
# by the ACH network
|
179
179
|
#
|
180
180
|
# @return [String, nil]
|
181
181
|
optional :verification_failed_reason, String
|
@@ -6,23 +6,23 @@ module Lithic
|
|
6
6
|
class ExternalBankAccountUpdateResponse < Lithic::Internal::Type::BaseModel
|
7
7
|
# @!attribute token
|
8
8
|
# A globally unique identifier for this record of an external bank account
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
9
|
+
# association. If a program links an external bank account to more than one
|
10
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
11
|
+
# record of the association
|
12
12
|
#
|
13
13
|
# @return [String]
|
14
14
|
required :token, String
|
15
15
|
|
16
16
|
# @!attribute country
|
17
17
|
# The country that the bank account is located in using ISO 3166-1. We will only
|
18
|
-
#
|
18
|
+
# accept USA bank accounts e.g., USA
|
19
19
|
#
|
20
20
|
# @return [String]
|
21
21
|
required :country, String
|
22
22
|
|
23
23
|
# @!attribute created
|
24
24
|
# An ISO 8601 string representing when this funding source was added to the Lithic
|
25
|
-
#
|
25
|
+
# account.
|
26
26
|
#
|
27
27
|
# @return [Time]
|
28
28
|
required :created, Time
|
@@ -35,14 +35,14 @@ module Lithic
|
|
35
35
|
|
36
36
|
# @!attribute last_four
|
37
37
|
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
38
|
-
#
|
38
|
+
# passed
|
39
39
|
#
|
40
40
|
# @return [String]
|
41
41
|
required :last_four, String
|
42
42
|
|
43
43
|
# @!attribute owner
|
44
44
|
# Legal Name of the business or individual who owns the external account. This
|
45
|
-
#
|
45
|
+
# will appear in statements
|
46
46
|
#
|
47
47
|
# @return [String]
|
48
48
|
required :owner, String
|
@@ -93,8 +93,8 @@ module Lithic
|
|
93
93
|
|
94
94
|
# @!attribute [r] account_token
|
95
95
|
# Indicates which Lithic account the external account is associated with. For
|
96
|
-
#
|
97
|
-
#
|
96
|
+
# external accounts that are associated with the program, account_token field
|
97
|
+
# returned will be null
|
98
98
|
#
|
99
99
|
# @return [String, nil]
|
100
100
|
optional :account_token, String
|
@@ -175,8 +175,8 @@ module Lithic
|
|
175
175
|
|
176
176
|
# @!attribute [r] verification_failed_reason
|
177
177
|
# Optional free text description of the reason for the failed verification. For
|
178
|
-
#
|
179
|
-
#
|
178
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
179
|
+
# by the ACH network
|
180
180
|
#
|
181
181
|
# @return [String, nil]
|
182
182
|
optional :verification_failed_reason, String
|
@@ -7,23 +7,23 @@ module Lithic
|
|
7
7
|
class MicroDepositCreateResponse < Lithic::Internal::Type::BaseModel
|
8
8
|
# @!attribute token
|
9
9
|
# A globally unique identifier for this record of an external bank account
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
10
|
+
# association. If a program links an external bank account to more than one
|
11
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
12
|
+
# record of the association
|
13
13
|
#
|
14
14
|
# @return [String]
|
15
15
|
required :token, String
|
16
16
|
|
17
17
|
# @!attribute country
|
18
18
|
# The country that the bank account is located in using ISO 3166-1. We will only
|
19
|
-
#
|
19
|
+
# accept USA bank accounts e.g., USA
|
20
20
|
#
|
21
21
|
# @return [String]
|
22
22
|
required :country, String
|
23
23
|
|
24
24
|
# @!attribute created
|
25
25
|
# An ISO 8601 string representing when this funding source was added to the Lithic
|
26
|
-
#
|
26
|
+
# account.
|
27
27
|
#
|
28
28
|
# @return [Time]
|
29
29
|
required :created, Time
|
@@ -36,14 +36,14 @@ module Lithic
|
|
36
36
|
|
37
37
|
# @!attribute last_four
|
38
38
|
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
39
|
-
#
|
39
|
+
# passed
|
40
40
|
#
|
41
41
|
# @return [String]
|
42
42
|
required :last_four, String
|
43
43
|
|
44
44
|
# @!attribute owner
|
45
45
|
# Legal Name of the business or individual who owns the external account. This
|
46
|
-
#
|
46
|
+
# will appear in statements
|
47
47
|
#
|
48
48
|
# @return [String]
|
49
49
|
required :owner, String
|
@@ -95,8 +95,8 @@ module Lithic
|
|
95
95
|
|
96
96
|
# @!attribute [r] account_token
|
97
97
|
# Indicates which Lithic account the external account is associated with. For
|
98
|
-
#
|
99
|
-
#
|
98
|
+
# external accounts that are associated with the program, account_token field
|
99
|
+
# returned will be null
|
100
100
|
#
|
101
101
|
# @return [String, nil]
|
102
102
|
optional :account_token, String
|
@@ -177,8 +177,8 @@ module Lithic
|
|
177
177
|
|
178
178
|
# @!attribute [r] verification_failed_reason
|
179
179
|
# Optional free text description of the reason for the failed verification. For
|
180
|
-
#
|
181
|
-
#
|
180
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
181
|
+
# by the ACH network
|
182
182
|
#
|
183
183
|
# @return [String, nil]
|
184
184
|
optional :verification_failed_reason, String
|
@@ -10,10 +10,10 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] begin_
|
12
12
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
13
|
-
#
|
13
|
+
# will be included. UTC time zone.
|
14
14
|
#
|
15
15
|
# @return [Time, nil]
|
16
|
-
optional :begin_, Time
|
16
|
+
optional :begin_, Time
|
17
17
|
|
18
18
|
# @!parse
|
19
19
|
# # @return [Time]
|
@@ -40,10 +40,10 @@ module Lithic
|
|
40
40
|
|
41
41
|
# @!attribute [r] end_
|
42
42
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
43
|
-
#
|
43
|
+
# will be included. UTC time zone.
|
44
44
|
#
|
45
45
|
# @return [Time, nil]
|
46
|
-
optional :end_, Time
|
46
|
+
optional :end_, Time
|
47
47
|
|
48
48
|
# @!parse
|
49
49
|
# # @return [Time]
|
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
|
52
52
|
# @!attribute [r] ending_before
|
53
53
|
# A cursor representing an item's token before which a page of results should end.
|
54
|
-
#
|
54
|
+
# Used to retrieve the previous page of results before this item.
|
55
55
|
#
|
56
56
|
# @return [String, nil]
|
57
57
|
optional :ending_before, String
|
@@ -62,7 +62,7 @@ module Lithic
|
|
62
62
|
|
63
63
|
# @!attribute [r] financial_account_token
|
64
64
|
# Globally unique identifier for the financial account or card that will send the
|
65
|
-
#
|
65
|
+
# funds. Accepted type dependent on the program's use case.
|
66
66
|
#
|
67
67
|
# @return [String, nil]
|
68
68
|
optional :financial_account_token, String
|
@@ -93,7 +93,7 @@ module Lithic
|
|
93
93
|
|
94
94
|
# @!attribute [r] starting_after
|
95
95
|
# A cursor representing an item's token after which a page of results should
|
96
|
-
#
|
96
|
+
# begin. Used to retrieve the next page of results after this item.
|
97
97
|
#
|
98
98
|
# @return [String, nil]
|
99
99
|
optional :starting_after, String
|
@@ -29,7 +29,7 @@ module Lithic
|
|
29
29
|
# Whether financial account is for the benefit of another entity
|
30
30
|
#
|
31
31
|
# @return [Boolean]
|
32
|
-
required :is_for_benefit_of, Lithic::Internal::Type::
|
32
|
+
required :is_for_benefit_of, Lithic::Internal::Type::Boolean
|
33
33
|
|
34
34
|
# @!attribute nickname
|
35
35
|
#
|
@@ -62,13 +62,11 @@ module Lithic
|
|
62
62
|
# @return [String, nil]
|
63
63
|
optional :routing_number, String, nil?: true
|
64
64
|
|
65
|
-
# @!attribute
|
66
|
-
#
|
65
|
+
# @!attribute substatus
|
66
|
+
# Substatus for the financial account
|
67
67
|
#
|
68
|
-
# @return [Symbol, Lithic::Models::FinancialAccount::
|
69
|
-
optional :
|
70
|
-
enum: -> { Lithic::Models::FinancialAccount::StatusChangeReason },
|
71
|
-
nil?: true
|
68
|
+
# @return [Symbol, Lithic::Models::FinancialAccount::Substatus, nil]
|
69
|
+
optional :substatus, enum: -> { Lithic::Models::FinancialAccount::Substatus }, nil?: true
|
72
70
|
|
73
71
|
# @!parse
|
74
72
|
# # @param token [String]
|
@@ -82,7 +80,7 @@ module Lithic
|
|
82
80
|
# # @param updated [Time]
|
83
81
|
# # @param account_number [String, nil]
|
84
82
|
# # @param routing_number [String, nil]
|
85
|
-
# # @param
|
83
|
+
# # @param substatus [Symbol, Lithic::Models::FinancialAccount::Substatus, nil]
|
86
84
|
# #
|
87
85
|
# def initialize(
|
88
86
|
# token:,
|
@@ -96,7 +94,7 @@ module Lithic
|
|
96
94
|
# updated:,
|
97
95
|
# account_number: nil,
|
98
96
|
# routing_number: nil,
|
99
|
-
#
|
97
|
+
# substatus: nil,
|
100
98
|
# **
|
101
99
|
# )
|
102
100
|
# super
|
@@ -141,7 +139,7 @@ module Lithic
|
|
141
139
|
# @!attribute is_spend_blocked
|
142
140
|
#
|
143
141
|
# @return [Boolean]
|
144
|
-
required :is_spend_blocked, Lithic::Internal::Type::
|
142
|
+
required :is_spend_blocked, Lithic::Internal::Type::Boolean
|
145
143
|
|
146
144
|
# @!attribute tier
|
147
145
|
# Tier assigned to the financial account
|
@@ -244,10 +242,10 @@ module Lithic
|
|
244
242
|
# def self.values; end
|
245
243
|
end
|
246
244
|
|
247
|
-
#
|
245
|
+
# Substatus for the financial account
|
248
246
|
#
|
249
|
-
# @see Lithic::Models::FinancialAccount#
|
250
|
-
module
|
247
|
+
# @see Lithic::Models::FinancialAccount#substatus
|
248
|
+
module Substatus
|
251
249
|
extend Lithic::Internal::Type::Enum
|
252
250
|
|
253
251
|
CHARGED_OFF_DELINQUENT = :CHARGED_OFF_DELINQUENT
|
@@ -30,7 +30,7 @@ module Lithic
|
|
30
30
|
# @!attribute [r] is_for_benefit_of
|
31
31
|
#
|
32
32
|
# @return [Boolean, nil]
|
33
|
-
optional :is_for_benefit_of, Lithic::Internal::Type::
|
33
|
+
optional :is_for_benefit_of, Lithic::Internal::Type::Boolean
|
34
34
|
|
35
35
|
# @!parse
|
36
36
|
# # @return [Boolean]
|
@@ -39,7 +39,7 @@ module Lithic
|
|
39
39
|
# @!attribute [r] idempotency_key
|
40
40
|
#
|
41
41
|
# @return [String, nil]
|
42
|
-
optional :idempotency_key, String
|
42
|
+
optional :idempotency_key, String
|
43
43
|
|
44
44
|
# @!parse
|
45
45
|
# # @return [String]
|
@@ -14,20 +14,20 @@ module Lithic
|
|
14
14
|
# @return [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Status]
|
15
15
|
required :status, enum: -> { Lithic::Models::FinancialAccountUpdateStatusParams::Status }
|
16
16
|
|
17
|
-
# @!attribute
|
18
|
-
#
|
17
|
+
# @!attribute substatus
|
18
|
+
# Substatus for the financial account
|
19
19
|
#
|
20
|
-
# @return [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::
|
21
|
-
required :
|
22
|
-
enum: -> { Lithic::Models::FinancialAccountUpdateStatusParams::
|
20
|
+
# @return [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus, nil]
|
21
|
+
required :substatus,
|
22
|
+
enum: -> { Lithic::Models::FinancialAccountUpdateStatusParams::Substatus },
|
23
23
|
nil?: true
|
24
24
|
|
25
25
|
# @!parse
|
26
26
|
# # @param status [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Status]
|
27
|
-
# # @param
|
27
|
+
# # @param substatus [Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus, nil]
|
28
28
|
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
29
29
|
# #
|
30
|
-
# def initialize(status:,
|
30
|
+
# def initialize(status:, substatus:, request_options: {}, **) = super
|
31
31
|
|
32
32
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
33
33
|
|
@@ -47,8 +47,8 @@ module Lithic
|
|
47
47
|
# def self.values; end
|
48
48
|
end
|
49
49
|
|
50
|
-
#
|
51
|
-
module
|
50
|
+
# Substatus for the financial account
|
51
|
+
module Substatus
|
52
52
|
extend Lithic::Internal::Type::Enum
|
53
53
|
|
54
54
|
CHARGED_OFF_FRAUD = :CHARGED_OFF_FRAUD
|
@@ -21,8 +21,8 @@ module Lithic
|
|
21
21
|
|
22
22
|
# @!attribute [r] last_transaction_event_token
|
23
23
|
# Balance after a given financial event occured. For example, passing the
|
24
|
-
#
|
25
|
-
#
|
24
|
+
# event_token of a $5 CARD_CLEARING financial event will return a balance
|
25
|
+
# decreased by $5
|
26
26
|
#
|
27
27
|
# @return [String, nil]
|
28
28
|
optional :last_transaction_event_token, String
|
@@ -31,28 +31,28 @@ module Lithic
|
|
31
31
|
|
32
32
|
# @!attribute last_transaction_event_token
|
33
33
|
# Globally unique identifier for the last financial transaction event that
|
34
|
-
#
|
34
|
+
# impacted this balance.
|
35
35
|
#
|
36
36
|
# @return [String]
|
37
37
|
required :last_transaction_event_token, String
|
38
38
|
|
39
39
|
# @!attribute last_transaction_token
|
40
40
|
# Globally unique identifier for the last financial transaction that impacted this
|
41
|
-
#
|
41
|
+
# balance.
|
42
42
|
#
|
43
43
|
# @return [String]
|
44
44
|
required :last_transaction_token, String
|
45
45
|
|
46
46
|
# @!attribute pending_amount
|
47
47
|
# Funds not available for spend due to card authorizations or pending ACH release.
|
48
|
-
#
|
48
|
+
# Shown in the currency's smallest unit (e.g., cents for USD).
|
49
49
|
#
|
50
50
|
# @return [Integer]
|
51
51
|
required :pending_amount, Integer
|
52
52
|
|
53
53
|
# @!attribute total_amount
|
54
54
|
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
55
|
-
#
|
55
|
+
# cents for USD).
|
56
56
|
#
|
57
57
|
# @return [Integer]
|
58
58
|
required :total_amount, Integer
|
@@ -45,7 +45,7 @@ module Lithic
|
|
45
45
|
# @!attribute is_spend_blocked
|
46
46
|
#
|
47
47
|
# @return [Boolean]
|
48
|
-
required :is_spend_blocked, Lithic::Internal::Type::
|
48
|
+
required :is_spend_blocked, Lithic::Internal::Type::Boolean
|
49
49
|
|
50
50
|
# @!attribute tier
|
51
51
|
# Tier assigned to the financial account
|
@@ -11,10 +11,10 @@ module Lithic
|
|
11
11
|
|
12
12
|
# @!attribute [r] begin_
|
13
13
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
14
|
-
#
|
14
|
+
# will be included. UTC time zone.
|
15
15
|
#
|
16
16
|
# @return [Time, nil]
|
17
|
-
optional :begin_, Time
|
17
|
+
optional :begin_, Time
|
18
18
|
|
19
19
|
# @!parse
|
20
20
|
# # @return [Time]
|
@@ -33,10 +33,10 @@ module Lithic
|
|
33
33
|
|
34
34
|
# @!attribute [r] end_
|
35
35
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
36
|
-
#
|
36
|
+
# will be included. UTC time zone.
|
37
37
|
#
|
38
38
|
# @return [Time, nil]
|
39
|
-
optional :end_, Time
|
39
|
+
optional :end_, Time
|
40
40
|
|
41
41
|
# @!parse
|
42
42
|
# # @return [Time]
|
@@ -44,7 +44,7 @@ module Lithic
|
|
44
44
|
|
45
45
|
# @!attribute [r] ending_before
|
46
46
|
# A cursor representing an item's token before which a page of results should end.
|
47
|
-
#
|
47
|
+
# Used to retrieve the previous page of results before this item.
|
48
48
|
#
|
49
49
|
# @return [String, nil]
|
50
50
|
optional :ending_before, String
|
@@ -65,7 +65,7 @@ module Lithic
|
|
65
65
|
|
66
66
|
# @!attribute [r] starting_after
|
67
67
|
# A cursor representing an item's token after which a page of results should
|
68
|
-
#
|
68
|
+
# begin. Used to retrieve the next page of results after this item.
|
69
69
|
#
|
70
70
|
# @return [String, nil]
|
71
71
|
optional :starting_after, String
|