lithic 0.6.0 → 0.8.0
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 +52 -0
- data/README.md +3 -3
- data/lib/lithic/client.rb +11 -0
- data/lib/lithic/internal/util.rb +31 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +8 -2
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +7 -1
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +8 -2
- data/lib/lithic/models/account_holder.rb +1 -79
- data/lib/lithic/models/account_holder_create_params.rb +338 -549
- data/lib/lithic/models/account_holder_list_documents_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +1 -9
- data/lib/lithic/models/account_holder_update_params.rb +501 -509
- data/lib/lithic/models/account_holder_update_response.rb +1 -9
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +1 -11
- data/lib/lithic/models/account_holder_upload_document_params.rb +8 -1
- data/lib/lithic/models/account_holders/entity_create_params.rb +8 -1
- data/lib/lithic/models/account_holders/entity_delete_params.rb +7 -1
- data/lib/lithic/models/account_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/account_update_params.rb +8 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +84 -8
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +92 -0
- data/lib/lithic/models/auth_rules/{rule_stats.rb → backtest_stats.rb} +16 -24
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +9 -9
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +13 -13
- data/lib/lithic/models/auth_rules/report_stats.rb +552 -0
- data/lib/lithic/models/auth_rules/rule_feature.rb +231 -0
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +33 -0
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +15 -23
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +378 -113
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +14 -4
- data/lib/lithic/models/auth_rules/v2_list_results_params.rb +19 -1
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +163 -47
- data/lib/lithic/models/auth_rules/v2_list_versions_params.rb +22 -0
- data/lib/lithic/models/auth_rules/v2_list_versions_response.rb +18 -0
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_features_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +3 -83
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +531 -7
- data/lib/lithic/models/auth_rules/v2_update_params.rb +199 -66
- data/lib/lithic/models/auth_rules/velocity_limit_filters.rb +87 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -84
- data/lib/lithic/models/book_transfer_retrieve_params.rb +7 -1
- data/lib/lithic/models/book_transfer_retry_params.rb +8 -1
- data/lib/lithic/models/book_transfer_reverse_params.rb +8 -1
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_bulk_order_update_params.rb +8 -1
- data/lib/lithic/models/card_convert_physical_params.rb +8 -1
- data/lib/lithic/models/card_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_provision_params.rb +8 -1
- data/lib/lithic/models/card_reissue_params.rb +8 -1
- data/lib/lithic/models/card_renew_params.rb +8 -1
- data/lib/lithic/models/card_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/card_update_params.rb +8 -1
- data/lib/lithic/models/card_web_provision_params.rb +8 -1
- data/lib/lithic/models/cards/balance_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +9 -1
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +9 -1
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +7 -1
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +69 -59
- data/lib/lithic/models/dispute_create_params.rb +11 -11
- data/lib/lithic/models/dispute_delete_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_delete_params.rb +7 -1
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +8 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +8 -1
- data/lib/lithic/models/dispute_list_params.rb +3 -3
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_retrieve_params.rb +7 -1
- data/lib/lithic/models/dispute_update_params.rb +17 -10
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/event.rb +0 -7
- data/lib/lithic/models/event_list_attempts_params.rb +8 -1
- data/lib/lithic/models/event_list_params.rb +0 -4
- data/lib/lithic/models/event_retrieve_params.rb +7 -1
- data/lib/lithic/models/event_subscription.rb +0 -4
- data/lib/lithic/models/events/event_subscription_resend_params.rb +7 -1
- data/lib/lithic/models/events/subscription_create_params.rb +0 -4
- data/lib/lithic/models/events/subscription_delete_params.rb +7 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +8 -1
- data/lib/lithic/models/events/subscription_recover_params.rb +8 -1
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +8 -1
- data/lib/lithic/models/events/subscription_retrieve_params.rb +7 -1
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +8 -2
- data/lib/lithic/models/events/subscription_update_params.rb +8 -5
- data/lib/lithic/models/external_bank_account_create_params.rb +446 -140
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_unpause_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_update_params.rb +8 -1
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +7 -1
- data/lib/lithic/models/external_payment_cancel_params.rb +7 -1
- data/lib/lithic/models/external_payment_release_params.rb +7 -1
- data/lib/lithic/models/external_payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_payment_reverse_params.rb +7 -1
- data/lib/lithic/models/external_payment_settle_params.rb +7 -1
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_list_params.rb +1 -0
- data/lib/lithic/models/financial_account_register_account_number_params.rb +7 -1
- data/lib/lithic/models/financial_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_status_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +9 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +16 -1
- data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +27 -2
- data/lib/lithic/models/fraud/transaction_report_params.rb +8 -1
- data/lib/lithic/models/fraud/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_details_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_params.rb +7 -1
- data/lib/lithic/models/hold.rb +147 -0
- data/lib/lithic/models/hold_create_params.rb +61 -0
- data/lib/lithic/models/hold_event.rb +110 -0
- data/lib/lithic/models/hold_list_params.rb +89 -0
- data/lib/lithic/models/hold_retrieve_params.rb +20 -0
- data/lib/lithic/models/hold_void_params.rb +29 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/kyb.rb +1 -71
- data/lib/lithic/models/management_operation_retrieve_params.rb +7 -1
- data/lib/lithic/models/management_operation_reverse_params.rb +7 -1
- data/lib/lithic/models/network_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/parsed_webhook_event.rb +3 -15
- data/lib/lithic/models/payment.rb +76 -12
- data/lib/lithic/models/payment_create_params.rb +22 -1
- data/lib/lithic/models/payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/payment_retry_params.rb +7 -1
- data/lib/lithic/models/payment_return_params.rb +8 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +9 -1
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +7 -1
- data/lib/lithic/models/reports/settlement_list_details_params.rb +8 -1
- data/lib/lithic/models/reports/settlement_summary_params.rb +7 -1
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +7 -1
- data/lib/lithic/models/tokenization_activate_params.rb +7 -1
- data/lib/lithic/models/tokenization_deactivate_params.rb +7 -1
- data/lib/lithic/models/tokenization_pause_params.rb +7 -1
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +8 -1
- data/lib/lithic/models/tokenization_retrieve_params.rb +7 -1
- data/lib/lithic/models/tokenization_unpause_params.rb +7 -1
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +8 -1
- data/lib/lithic/models/transaction_expire_authorization_params.rb +7 -1
- data/lib/lithic/models/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models.rb +12 -2
- data/lib/lithic/resources/account_activity.rb +4 -3
- data/lib/lithic/resources/account_holders/entities.rb +4 -4
- data/lib/lithic/resources/account_holders.rb +9 -83
- data/lib/lithic/resources/accounts.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2.rb +44 -53
- data/lib/lithic/resources/balances.rb +2 -1
- data/lib/lithic/resources/book_transfers.rb +2 -1
- data/lib/lithic/resources/card_bulk_orders.rb +2 -1
- data/lib/lithic/resources/card_programs.rb +2 -1
- data/lib/lithic/resources/cards/balances.rb +2 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +2 -1
- data/lib/lithic/resources/cards.rb +4 -2
- data/lib/lithic/resources/credit_products/prime_rates.rb +2 -1
- data/lib/lithic/resources/digital_card_art.rb +2 -1
- data/lib/lithic/resources/disputes.rb +25 -23
- data/lib/lithic/resources/disputes_v2.rb +2 -1
- data/lib/lithic/resources/events/subscriptions.rb +8 -4
- data/lib/lithic/resources/events.rb +4 -2
- data/lib/lithic/resources/external_bank_accounts.rb +5 -40
- data/lib/lithic/resources/external_payments.rb +2 -1
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +2 -1
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +8 -3
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +2 -1
- data/lib/lithic/resources/financial_accounts.rb +2 -1
- data/lib/lithic/resources/funding_events.rb +2 -1
- data/lib/lithic/resources/holds.rb +132 -0
- data/lib/lithic/resources/management_operations.rb +2 -1
- data/lib/lithic/resources/network_programs.rb +2 -1
- data/lib/lithic/resources/payments.rb +5 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +2 -1
- data/lib/lithic/resources/reports/settlement.rb +2 -1
- data/lib/lithic/resources/responder_endpoints.rb +4 -2
- data/lib/lithic/resources/tokenizations.rb +2 -1
- data/lib/lithic/resources/transactions.rb +2 -1
- data/lib/lithic/resources/transfer_limits.rb +2 -1
- data/lib/lithic/resources/webhooks.rb +2 -3
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -2
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/internal/util.rbi +20 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +14 -2
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +13 -5
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +14 -2
- data/rbi/lithic/models/account_holder.rbi +0 -121
- data/rbi/lithic/models/account_holder_create_params.rbi +567 -837
- data/rbi/lithic/models/account_holder_list_documents_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +6 -1
- data/rbi/lithic/models/account_holder_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +0 -16
- data/rbi/lithic/models/account_holder_update_params.rbi +860 -831
- data/rbi/lithic/models/account_holder_update_response.rbi +0 -17
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +0 -17
- data/rbi/lithic/models/account_holder_upload_document_params.rbi +6 -0
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +6 -0
- data/rbi/lithic/models/account_holders/entity_delete_params.rbi +6 -1
- data/rbi/lithic/models/account_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/account_update_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +128 -4
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +142 -0
- data/rbi/lithic/models/auth_rules/{rule_stats.rbi → backtest_stats.rbi} +29 -33
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +12 -12
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +31 -31
- data/rbi/lithic/models/auth_rules/report_stats.rbi +1754 -0
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +414 -0
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +94 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +23 -43
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +744 -181
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +14 -4
- data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +26 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +520 -97
- data/rbi/lithic/models/auth_rules/v2_list_versions_params.rbi +40 -0
- data/rbi/lithic/models/auth_rules/v2_list_versions_response.rbi +36 -0
- data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_params.rbi +11 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +4 -209
- data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +1698 -9
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +415 -101
- data/rbi/lithic/models/auth_rules/velocity_limit_filters.rbi +205 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +4 -206
- data/rbi/lithic/models/book_transfer_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/book_transfer_retry_params.rbi +10 -1
- data/rbi/lithic/models/book_transfer_reverse_params.rbi +10 -1
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +6 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +6 -0
- data/rbi/lithic/models/card_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/card_provision_params.rbi +6 -0
- data/rbi/lithic/models/card_reissue_params.rbi +6 -0
- data/rbi/lithic/models/card_renew_params.rbi +6 -0
- data/rbi/lithic/models/card_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/card_update_params.rbi +6 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +6 -0
- data/rbi/lithic/models/cards/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +14 -2
- data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +8 -0
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +154 -142
- data/rbi/lithic/models/dispute_create_params.rbi +11 -11
- data/rbi/lithic/models/dispute_delete_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_delete_params.rbi +13 -5
- data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +10 -1
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +6 -0
- data/rbi/lithic/models/dispute_list_params.rbi +3 -3
- data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/dispute_update_params.rbi +15 -9
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event.rbi +0 -14
- data/rbi/lithic/models/event_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/event_list_params.rbi +0 -8
- data/rbi/lithic/models/event_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event_subscription.rbi +0 -8
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +14 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +0 -8
- data/rbi/lithic/models/events/subscription_delete_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_recover_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +6 -5
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -8
- data/rbi/lithic/models/external_bank_account_create_params.rbi +693 -211
- data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_update_params.rbi +6 -0
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +10 -1
- data/rbi/lithic/models/external_payment_cancel_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_release_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_payment_reverse_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_settle_params.rbi +6 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account_register_account_number_params.rbi +14 -2
- data/rbi/lithic/models/financial_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_account_update_params.rbi +10 -2
- data/rbi/lithic/models/financial_account_update_status_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +16 -5
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +17 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +21 -5
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +38 -3
- data/rbi/lithic/models/fraud/transaction_report_params.rbi +6 -0
- data/rbi/lithic/models/fraud/transaction_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_details_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/hold.rbi +183 -0
- data/rbi/lithic/models/hold_create_params.rbi +90 -0
- data/rbi/lithic/models/hold_event.rbi +148 -0
- data/rbi/lithic/models/hold_list_params.rbi +137 -0
- data/rbi/lithic/models/hold_retrieve_params.rbi +35 -0
- data/rbi/lithic/models/hold_void_params.rbi +49 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/kyb.rbi +0 -109
- data/rbi/lithic/models/management_operation_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/management_operation_reverse_params.rbi +11 -1
- data/rbi/lithic/models/network_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/parsed_webhook_event.rbi +0 -18
- data/rbi/lithic/models/payment.rbi +139 -13
- data/rbi/lithic/models/payment_create_params.rbi +34 -0
- data/rbi/lithic/models/payment_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/payment_retry_params.rbi +13 -5
- data/rbi/lithic/models/payment_return_params.rbi +6 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +11 -0
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +6 -0
- data/rbi/lithic/models/reports/settlement_summary_params.rbi +13 -5
- data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_activate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_pause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +6 -0
- data/rbi/lithic/models/tokenization_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_unpause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +6 -0
- data/rbi/lithic/models/transaction_expire_authorization_params.rbi +13 -5
- data/rbi/lithic/models/transaction_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +13 -5
- data/rbi/lithic/models.rbi +12 -3
- data/rbi/lithic/resources/account_holders/entities.rbi +4 -4
- data/rbi/lithic/resources/account_holders.rbi +16 -177
- data/rbi/lithic/resources/auth_rules/v2.rbi +36 -80
- data/rbi/lithic/resources/disputes.rbi +21 -21
- data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -0
- data/rbi/lithic/resources/holds.rbi +111 -0
- data/rbi/lithic/resources/payments.rbi +3 -0
- data/rbi/lithic/resources/webhooks.rbi +8 -2
- data/sig/lithic/client.rbs +5 -0
- data/sig/lithic/internal/util.rbs +10 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +5 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +11 -3
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +5 -0
- data/sig/lithic/models/account_holder.rbs +0 -58
- data/sig/lithic/models/account_holder_create_params.rbs +217 -353
- data/sig/lithic/models/account_holder_list_documents_params.rbs +12 -3
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +5 -1
- data/sig/lithic/models/account_holder_retrieve_params.rbs +12 -3
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +0 -9
- data/sig/lithic/models/account_holder_update_params.rbs +326 -330
- data/sig/lithic/models/account_holder_update_response.rbs +0 -9
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +0 -9
- data/sig/lithic/models/account_holder_upload_document_params.rbs +5 -0
- data/sig/lithic/models/account_holders/entity_create_params.rbs +5 -0
- data/sig/lithic/models/account_holders/entity_delete_params.rbs +5 -1
- data/sig/lithic/models/account_retrieve_params.rbs +11 -3
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/account_update_params.rbs +5 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +42 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +67 -0
- data/sig/lithic/models/auth_rules/{rule_stats.rbs → backtest_stats.rbs} +15 -22
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +8 -8
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +15 -15
- data/sig/lithic/models/auth_rules/report_stats.rbs +696 -0
- data/sig/lithic/models/auth_rules/rule_feature.rbs +173 -0
- data/sig/lithic/models/auth_rules/typescript_code_parameters.rbs +27 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +13 -26
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +261 -74
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +14 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +220 -49
- data/sig/lithic/models/auth_rules/v2_list_versions_params.rbs +25 -0
- data/sig/lithic/models/auth_rules/v2_list_versions_response.rbs +18 -0
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_features_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -80
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_report_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +663 -8
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +168 -47
- data/sig/lithic/models/auth_rules/velocity_limit_filters.rbs +81 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +6 -82
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +12 -3
- data/sig/lithic/models/book_transfer_retry_params.rbs +6 -1
- data/sig/lithic/models/book_transfer_reverse_params.rbs +10 -2
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_bulk_order_update_params.rbs +8 -1
- data/sig/lithic/models/card_convert_physical_params.rbs +5 -0
- data/sig/lithic/models/card_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/card_provision_params.rbs +5 -0
- data/sig/lithic/models/card_reissue_params.rbs +5 -0
- data/sig/lithic/models/card_renew_params.rbs +5 -0
- data/sig/lithic/models/card_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/card_update_params.rbs +5 -0
- data/sig/lithic/models/card_web_provision_params.rbs +5 -0
- data/sig/lithic/models/cards/balance_list_params.rbs +9 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +6 -1
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +12 -3
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +5 -1
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +9 -1
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +12 -3
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +38 -38
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_delete_params.rbs +11 -3
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +6 -1
- data/sig/lithic/models/dispute_list_evidences_params.rbs +5 -0
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_retrieve_params.rbs +11 -3
- data/sig/lithic/models/dispute_update_params.rbs +5 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/event.rbs +0 -2
- data/sig/lithic/models/event_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/event_list_params.rbs +0 -2
- data/sig/lithic/models/event_retrieve_params.rbs +11 -3
- data/sig/lithic/models/event_subscription.rbs +0 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +6 -1
- data/sig/lithic/models/events/subscription_create_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_delete_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_recover_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +5 -2
- data/sig/lithic/models/events/subscription_update_params.rbs +5 -2
- data/sig/lithic/models/external_bank_account_create_params.rbs +342 -98
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_update_params.rbs +5 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_cancel_params.rbs +5 -1
- data/sig/lithic/models/external_payment_release_params.rbs +5 -1
- data/sig/lithic/models/external_payment_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_payment_reverse_params.rbs +5 -1
- data/sig/lithic/models/external_payment_settle_params.rbs +5 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_list_params.rbs +7 -1
- data/sig/lithic/models/financial_account_register_account_number_params.rbs +6 -1
- data/sig/lithic/models/financial_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_account_update_params.rbs +6 -1
- data/sig/lithic/models/financial_account_update_status_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +9 -1
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +7 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +14 -3
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +10 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +17 -1
- data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +17 -3
- data/sig/lithic/models/fraud/transaction_report_params.rbs +5 -0
- data/sig/lithic/models/fraud/transaction_retrieve_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_details_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_params.rbs +12 -3
- data/sig/lithic/models/hold.rbs +137 -0
- data/sig/lithic/models/hold_create_params.rbs +57 -0
- data/sig/lithic/models/hold_event.rbs +91 -0
- data/sig/lithic/models/hold_list_params.rbs +83 -0
- data/sig/lithic/models/hold_retrieve_params.rbs +23 -0
- data/sig/lithic/models/hold_void_params.rbs +28 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/kyb.rbs +0 -55
- data/sig/lithic/models/management_operation_retrieve_params.rbs +12 -3
- data/sig/lithic/models/management_operation_reverse_params.rbs +5 -1
- data/sig/lithic/models/network_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/parsed_webhook_event.rbs +0 -10
- data/sig/lithic/models/payment.rbs +23 -8
- data/sig/lithic/models/payment_create_params.rbs +19 -0
- data/sig/lithic/models/payment_retrieve_params.rbs +11 -3
- data/sig/lithic/models/payment_retry_params.rbs +11 -3
- data/sig/lithic/models/payment_return_params.rbs +5 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +7 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +11 -3
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +10 -1
- data/sig/lithic/models/reports/settlement_summary_params.rbs +11 -3
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +12 -3
- data/sig/lithic/models/tokenization_activate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_deactivate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_pause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +5 -0
- data/sig/lithic/models/tokenization_retrieve_params.rbs +12 -3
- data/sig/lithic/models/tokenization_unpause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +5 -1
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +11 -3
- data/sig/lithic/models/transaction_retrieve_params.rbs +11 -3
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +12 -3
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +11 -3
- data/sig/lithic/models.rbs +12 -2
- data/sig/lithic/resources/account_holders.rbs +2 -36
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -16
- data/sig/lithic/resources/external_bank_accounts.rbs +1 -17
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +2 -0
- data/sig/lithic/resources/holds.rbs +39 -0
- data/sig/lithic/resources/payments.rbs +1 -0
- data/sig/lithic/resources/webhooks.rbs +0 -1
- metadata +47 -8
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +0 -159
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +0 -331
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +0 -130
|
@@ -7,170 +7,476 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!attribute
|
|
11
|
-
# Account Number
|
|
10
|
+
# @!attribute body
|
|
12
11
|
#
|
|
13
|
-
# @return [
|
|
14
|
-
required :
|
|
12
|
+
# @return [Lithic::Models::ExternalBankAccountCreateParams::Body::ExternallyVerified, Lithic::Models::ExternalBankAccountCreateParams::Body::Unverified, Lithic::Models::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest]
|
|
13
|
+
required :body, union: -> { Lithic::ExternalBankAccountCreateParams::Body }
|
|
15
14
|
|
|
16
|
-
# @!
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
# @return [String]
|
|
21
|
-
required :country, String
|
|
15
|
+
# @!method initialize(body:, request_options: {})
|
|
16
|
+
# @param body [Lithic::Models::ExternalBankAccountCreateParams::Body::ExternallyVerified, Lithic::Models::ExternalBankAccountCreateParams::Body::Unverified, Lithic::Models::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest]
|
|
17
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
#
|
|
26
|
-
# @return [String]
|
|
27
|
-
required :currency, String
|
|
19
|
+
module Body
|
|
20
|
+
extend Lithic::Internal::Type::Union
|
|
28
21
|
|
|
29
|
-
|
|
30
|
-
# The financial account token of the operating account to fund the micro deposits
|
|
31
|
-
#
|
|
32
|
-
# @return [String]
|
|
33
|
-
required :financial_account_token, String
|
|
22
|
+
discriminator :verification_method
|
|
34
23
|
|
|
35
|
-
|
|
36
|
-
# Legal Name of the business or individual who owns the external account. This
|
|
37
|
-
# will appear in statements
|
|
38
|
-
#
|
|
39
|
-
# @return [String]
|
|
40
|
-
required :owner, String
|
|
24
|
+
variant :EXTERNALLY_VERIFIED, -> { Lithic::ExternalBankAccountCreateParams::Body::ExternallyVerified }
|
|
41
25
|
|
|
42
|
-
|
|
43
|
-
# Owner Type
|
|
44
|
-
#
|
|
45
|
-
# @return [Symbol, Lithic::Models::OwnerType]
|
|
46
|
-
required :owner_type, enum: -> { Lithic::OwnerType }
|
|
26
|
+
variant :UNVERIFIED, -> { Lithic::ExternalBankAccountCreateParams::Body::Unverified }
|
|
47
27
|
|
|
48
|
-
|
|
49
|
-
# Routing Number
|
|
50
|
-
#
|
|
51
|
-
# @return [String]
|
|
52
|
-
required :routing_number, String
|
|
28
|
+
variant -> { Lithic::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest }
|
|
53
29
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
30
|
+
class BankVerifiedCreateBankAccountAPIRequest < Lithic::Internal::Type::BaseModel
|
|
31
|
+
# @!attribute account_number
|
|
32
|
+
# Account Number
|
|
33
|
+
#
|
|
34
|
+
# @return [String]
|
|
35
|
+
required :account_number, String
|
|
59
36
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
37
|
+
# @!attribute country
|
|
38
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
|
39
|
+
# accept USA bank accounts e.g., USA
|
|
40
|
+
#
|
|
41
|
+
# @return [String]
|
|
42
|
+
required :country, String
|
|
65
43
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
# @return [String, nil]
|
|
72
|
-
optional :account_token, String
|
|
44
|
+
# @!attribute currency
|
|
45
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
|
46
|
+
#
|
|
47
|
+
# @return [String]
|
|
48
|
+
required :currency, String
|
|
73
49
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
50
|
+
# @!attribute financial_account_token
|
|
51
|
+
# The financial account token of the operating account to fund the micro deposits
|
|
52
|
+
#
|
|
53
|
+
# @return [String]
|
|
54
|
+
required :financial_account_token, String
|
|
79
55
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
56
|
+
# @!attribute owner
|
|
57
|
+
# Legal Name of the business or individual who owns the external account. This
|
|
58
|
+
# will appear in statements
|
|
59
|
+
#
|
|
60
|
+
# @return [String]
|
|
61
|
+
required :owner, String
|
|
85
62
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
63
|
+
# @!attribute owner_type
|
|
64
|
+
# Owner Type
|
|
65
|
+
#
|
|
66
|
+
# @return [Symbol, Lithic::Models::OwnerType]
|
|
67
|
+
required :owner_type, enum: -> { Lithic::OwnerType }
|
|
91
68
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
69
|
+
# @!attribute routing_number
|
|
70
|
+
# Routing Number
|
|
71
|
+
#
|
|
72
|
+
# @return [String]
|
|
73
|
+
required :routing_number, String
|
|
97
74
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
75
|
+
# @!attribute type
|
|
76
|
+
# Account Type
|
|
77
|
+
#
|
|
78
|
+
# @return [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest::Type]
|
|
79
|
+
required :type,
|
|
80
|
+
enum: -> { Lithic::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest::Type }
|
|
103
81
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
82
|
+
# @!attribute verification_method
|
|
83
|
+
# Verification Method
|
|
84
|
+
#
|
|
85
|
+
# @return [Symbol, Lithic::Models::VerificationMethod]
|
|
86
|
+
required :verification_method, enum: -> { Lithic::VerificationMethod }
|
|
109
87
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
88
|
+
# @!attribute account_token
|
|
89
|
+
# Indicates which Lithic account the external account is associated with. For
|
|
90
|
+
# external accounts that are associated with the program, account_token field
|
|
91
|
+
# returned will be null
|
|
92
|
+
#
|
|
93
|
+
# @return [String, nil]
|
|
94
|
+
optional :account_token, String
|
|
114
95
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
#
|
|
121
|
-
# @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
|
|
122
|
-
#
|
|
123
|
-
# @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
|
|
124
|
-
#
|
|
125
|
-
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
|
126
|
-
#
|
|
127
|
-
# @param owner [String] Legal Name of the business or individual who owns the external account. This wil
|
|
128
|
-
#
|
|
129
|
-
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
|
130
|
-
#
|
|
131
|
-
# @param routing_number [String] Routing Number
|
|
132
|
-
#
|
|
133
|
-
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Type] Account Type
|
|
134
|
-
#
|
|
135
|
-
# @param verification_method [Symbol, Lithic::Models::ExternalBankAccountCreateParams::VerificationMethod] Verification Method
|
|
136
|
-
#
|
|
137
|
-
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
138
|
-
#
|
|
139
|
-
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
140
|
-
#
|
|
141
|
-
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
142
|
-
#
|
|
143
|
-
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
144
|
-
#
|
|
145
|
-
# @param doing_business_as [String] Doing Business As
|
|
146
|
-
#
|
|
147
|
-
# @param name [String] The nickname for this External Bank Account
|
|
148
|
-
#
|
|
149
|
-
# @param user_defined_id [String] User Defined ID
|
|
150
|
-
#
|
|
151
|
-
# @param verification_enforcement [Boolean]
|
|
152
|
-
#
|
|
153
|
-
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
96
|
+
# @!attribute address
|
|
97
|
+
# Address
|
|
98
|
+
#
|
|
99
|
+
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
100
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }
|
|
154
101
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
102
|
+
# @!attribute company_id
|
|
103
|
+
# Optional field that helps identify bank accounts in receipts
|
|
104
|
+
#
|
|
105
|
+
# @return [String, nil]
|
|
106
|
+
optional :company_id, String
|
|
158
107
|
|
|
159
|
-
|
|
160
|
-
|
|
108
|
+
# @!attribute dob
|
|
109
|
+
# Date of Birth of the Individual that owns the external bank account
|
|
110
|
+
#
|
|
111
|
+
# @return [Date, nil]
|
|
112
|
+
optional :dob, Date
|
|
161
113
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
114
|
+
# @!attribute doing_business_as
|
|
115
|
+
# Doing Business As
|
|
116
|
+
#
|
|
117
|
+
# @return [String, nil]
|
|
118
|
+
optional :doing_business_as, String
|
|
119
|
+
|
|
120
|
+
# @!attribute name
|
|
121
|
+
# The nickname for this External Bank Account
|
|
122
|
+
#
|
|
123
|
+
# @return [String, nil]
|
|
124
|
+
optional :name, String
|
|
125
|
+
|
|
126
|
+
# @!attribute user_defined_id
|
|
127
|
+
# User Defined ID
|
|
128
|
+
#
|
|
129
|
+
# @return [String, nil]
|
|
130
|
+
optional :user_defined_id, String
|
|
131
|
+
|
|
132
|
+
# @!attribute verification_enforcement
|
|
133
|
+
#
|
|
134
|
+
# @return [Boolean, nil]
|
|
135
|
+
optional :verification_enforcement, Lithic::Internal::Type::Boolean
|
|
136
|
+
|
|
137
|
+
# @!method initialize(account_number:, country:, currency:, financial_account_token:, owner:, owner_type:, routing_number:, type:, verification_method:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, name: nil, user_defined_id: nil, verification_enforcement: nil)
|
|
138
|
+
# Some parameter documentations has been truncated, see
|
|
139
|
+
# {Lithic::Models::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest}
|
|
140
|
+
# for more details.
|
|
141
|
+
#
|
|
142
|
+
# @param account_number [String] Account Number
|
|
143
|
+
#
|
|
144
|
+
# @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
|
|
145
|
+
#
|
|
146
|
+
# @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
|
|
147
|
+
#
|
|
148
|
+
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
|
149
|
+
#
|
|
150
|
+
# @param owner [String] Legal Name of the business or individual who owns the external account. This wil
|
|
151
|
+
#
|
|
152
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
|
153
|
+
#
|
|
154
|
+
# @param routing_number [String] Routing Number
|
|
155
|
+
#
|
|
156
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest::Type] Account Type
|
|
157
|
+
#
|
|
158
|
+
# @param verification_method [Symbol, Lithic::Models::VerificationMethod] Verification Method
|
|
159
|
+
#
|
|
160
|
+
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
161
|
+
#
|
|
162
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
163
|
+
#
|
|
164
|
+
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
165
|
+
#
|
|
166
|
+
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
167
|
+
#
|
|
168
|
+
# @param doing_business_as [String] Doing Business As
|
|
169
|
+
#
|
|
170
|
+
# @param name [String] The nickname for this External Bank Account
|
|
171
|
+
#
|
|
172
|
+
# @param user_defined_id [String] User Defined ID
|
|
173
|
+
#
|
|
174
|
+
# @param verification_enforcement [Boolean]
|
|
175
|
+
|
|
176
|
+
# Account Type
|
|
177
|
+
#
|
|
178
|
+
# @see Lithic::Models::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest#type
|
|
179
|
+
module Type
|
|
180
|
+
extend Lithic::Internal::Type::Enum
|
|
181
|
+
|
|
182
|
+
CHECKING = :CHECKING
|
|
183
|
+
SAVINGS = :SAVINGS
|
|
184
|
+
|
|
185
|
+
# @!method self.values
|
|
186
|
+
# @return [Array<Symbol>]
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
class ExternallyVerified < Lithic::Internal::Type::BaseModel
|
|
191
|
+
# @!attribute account_number
|
|
192
|
+
# Account Number
|
|
193
|
+
#
|
|
194
|
+
# @return [String]
|
|
195
|
+
required :account_number, String
|
|
196
|
+
|
|
197
|
+
# @!attribute country
|
|
198
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
|
199
|
+
# accept USA bank accounts e.g., USA
|
|
200
|
+
#
|
|
201
|
+
# @return [String]
|
|
202
|
+
required :country, String
|
|
203
|
+
|
|
204
|
+
# @!attribute currency
|
|
205
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
|
206
|
+
#
|
|
207
|
+
# @return [String]
|
|
208
|
+
required :currency, String
|
|
209
|
+
|
|
210
|
+
# @!attribute owner
|
|
211
|
+
# Legal Name of the business or individual who owns the external account. This
|
|
212
|
+
# will appear in statements
|
|
213
|
+
#
|
|
214
|
+
# @return [String]
|
|
215
|
+
required :owner, String
|
|
216
|
+
|
|
217
|
+
# @!attribute owner_type
|
|
218
|
+
# Owner Type
|
|
219
|
+
#
|
|
220
|
+
# @return [Symbol, Lithic::Models::OwnerType]
|
|
221
|
+
required :owner_type, enum: -> { Lithic::OwnerType }
|
|
222
|
+
|
|
223
|
+
# @!attribute routing_number
|
|
224
|
+
# Routing Number
|
|
225
|
+
#
|
|
226
|
+
# @return [String]
|
|
227
|
+
required :routing_number, String
|
|
228
|
+
|
|
229
|
+
# @!attribute type
|
|
230
|
+
# Account Type
|
|
231
|
+
#
|
|
232
|
+
# @return [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Body::ExternallyVerified::Type]
|
|
233
|
+
required :type, enum: -> { Lithic::ExternalBankAccountCreateParams::Body::ExternallyVerified::Type }
|
|
234
|
+
|
|
235
|
+
# @!attribute verification_method
|
|
236
|
+
# Verification Method
|
|
237
|
+
#
|
|
238
|
+
# @return [Symbol, :EXTERNALLY_VERIFIED]
|
|
239
|
+
required :verification_method, const: :EXTERNALLY_VERIFIED
|
|
240
|
+
|
|
241
|
+
# @!attribute account_token
|
|
242
|
+
# Indicates which Lithic account the external account is associated with. For
|
|
243
|
+
# external accounts that are associated with the program, account_token field
|
|
244
|
+
# returned will be null
|
|
245
|
+
#
|
|
246
|
+
# @return [String, nil]
|
|
247
|
+
optional :account_token, String
|
|
248
|
+
|
|
249
|
+
# @!attribute address
|
|
250
|
+
# Address
|
|
251
|
+
#
|
|
252
|
+
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
253
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }
|
|
254
|
+
|
|
255
|
+
# @!attribute company_id
|
|
256
|
+
# Optional field that helps identify bank accounts in receipts
|
|
257
|
+
#
|
|
258
|
+
# @return [String, nil]
|
|
259
|
+
optional :company_id, String
|
|
260
|
+
|
|
261
|
+
# @!attribute dob
|
|
262
|
+
# Date of Birth of the Individual that owns the external bank account
|
|
263
|
+
#
|
|
264
|
+
# @return [Date, nil]
|
|
265
|
+
optional :dob, Date
|
|
266
|
+
|
|
267
|
+
# @!attribute doing_business_as
|
|
268
|
+
# Doing Business As
|
|
269
|
+
#
|
|
270
|
+
# @return [String, nil]
|
|
271
|
+
optional :doing_business_as, String
|
|
272
|
+
|
|
273
|
+
# @!attribute name
|
|
274
|
+
# The nickname for this External Bank Account
|
|
275
|
+
#
|
|
276
|
+
# @return [String, nil]
|
|
277
|
+
optional :name, String
|
|
278
|
+
|
|
279
|
+
# @!attribute user_defined_id
|
|
280
|
+
# User Defined ID
|
|
281
|
+
#
|
|
282
|
+
# @return [String, nil]
|
|
283
|
+
optional :user_defined_id, String
|
|
284
|
+
|
|
285
|
+
# @!method initialize(account_number:, country:, currency:, owner:, owner_type:, routing_number:, type:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, name: nil, user_defined_id: nil, verification_method: :EXTERNALLY_VERIFIED)
|
|
286
|
+
# Some parameter documentations has been truncated, see
|
|
287
|
+
# {Lithic::Models::ExternalBankAccountCreateParams::Body::ExternallyVerified} for
|
|
288
|
+
# more details.
|
|
289
|
+
#
|
|
290
|
+
# @param account_number [String] Account Number
|
|
291
|
+
#
|
|
292
|
+
# @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
|
|
293
|
+
#
|
|
294
|
+
# @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
|
|
295
|
+
#
|
|
296
|
+
# @param owner [String] Legal Name of the business or individual who owns the external account. This wil
|
|
297
|
+
#
|
|
298
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
|
299
|
+
#
|
|
300
|
+
# @param routing_number [String] Routing Number
|
|
301
|
+
#
|
|
302
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Body::ExternallyVerified::Type] Account Type
|
|
303
|
+
#
|
|
304
|
+
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
305
|
+
#
|
|
306
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
307
|
+
#
|
|
308
|
+
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
309
|
+
#
|
|
310
|
+
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
311
|
+
#
|
|
312
|
+
# @param doing_business_as [String] Doing Business As
|
|
313
|
+
#
|
|
314
|
+
# @param name [String] The nickname for this External Bank Account
|
|
315
|
+
#
|
|
316
|
+
# @param user_defined_id [String] User Defined ID
|
|
317
|
+
#
|
|
318
|
+
# @param verification_method [Symbol, :EXTERNALLY_VERIFIED] Verification Method
|
|
319
|
+
|
|
320
|
+
# Account Type
|
|
321
|
+
#
|
|
322
|
+
# @see Lithic::Models::ExternalBankAccountCreateParams::Body::ExternallyVerified#type
|
|
323
|
+
module Type
|
|
324
|
+
extend Lithic::Internal::Type::Enum
|
|
325
|
+
|
|
326
|
+
CHECKING = :CHECKING
|
|
327
|
+
SAVINGS = :SAVINGS
|
|
328
|
+
|
|
329
|
+
# @!method self.values
|
|
330
|
+
# @return [Array<Symbol>]
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
class Unverified < Lithic::Internal::Type::BaseModel
|
|
335
|
+
# @!attribute account_number
|
|
336
|
+
# Account Number
|
|
337
|
+
#
|
|
338
|
+
# @return [String]
|
|
339
|
+
required :account_number, String
|
|
340
|
+
|
|
341
|
+
# @!attribute country
|
|
342
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
|
343
|
+
# accept USA bank accounts e.g., USA
|
|
344
|
+
#
|
|
345
|
+
# @return [String]
|
|
346
|
+
required :country, String
|
|
347
|
+
|
|
348
|
+
# @!attribute currency
|
|
349
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
|
350
|
+
#
|
|
351
|
+
# @return [String]
|
|
352
|
+
required :currency, String
|
|
353
|
+
|
|
354
|
+
# @!attribute owner
|
|
355
|
+
# Legal Name of the business or individual who owns the external account. This
|
|
356
|
+
# will appear in statements
|
|
357
|
+
#
|
|
358
|
+
# @return [String]
|
|
359
|
+
required :owner, String
|
|
360
|
+
|
|
361
|
+
# @!attribute owner_type
|
|
362
|
+
# Owner Type
|
|
363
|
+
#
|
|
364
|
+
# @return [Symbol, Lithic::Models::OwnerType]
|
|
365
|
+
required :owner_type, enum: -> { Lithic::OwnerType }
|
|
366
|
+
|
|
367
|
+
# @!attribute routing_number
|
|
368
|
+
# Routing Number
|
|
369
|
+
#
|
|
370
|
+
# @return [String]
|
|
371
|
+
required :routing_number, String
|
|
372
|
+
|
|
373
|
+
# @!attribute type
|
|
374
|
+
# Account Type
|
|
375
|
+
#
|
|
376
|
+
# @return [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Body::Unverified::Type]
|
|
377
|
+
required :type, enum: -> { Lithic::ExternalBankAccountCreateParams::Body::Unverified::Type }
|
|
378
|
+
|
|
379
|
+
# @!attribute verification_method
|
|
380
|
+
# Verification Method
|
|
381
|
+
#
|
|
382
|
+
# @return [Symbol, :UNVERIFIED]
|
|
383
|
+
required :verification_method, const: :UNVERIFIED
|
|
384
|
+
|
|
385
|
+
# @!attribute account_token
|
|
386
|
+
# Indicates which Lithic account the external account is associated with. For
|
|
387
|
+
# external accounts that are associated with the program, account_token field
|
|
388
|
+
# returned will be null
|
|
389
|
+
#
|
|
390
|
+
# @return [String, nil]
|
|
391
|
+
optional :account_token, String
|
|
392
|
+
|
|
393
|
+
# @!attribute address
|
|
394
|
+
# Address
|
|
395
|
+
#
|
|
396
|
+
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
|
397
|
+
optional :address, -> { Lithic::ExternalBankAccountAddress }
|
|
398
|
+
|
|
399
|
+
# @!attribute company_id
|
|
400
|
+
# Optional field that helps identify bank accounts in receipts
|
|
401
|
+
#
|
|
402
|
+
# @return [String, nil]
|
|
403
|
+
optional :company_id, String
|
|
404
|
+
|
|
405
|
+
# @!attribute dob
|
|
406
|
+
# Date of Birth of the Individual that owns the external bank account
|
|
407
|
+
#
|
|
408
|
+
# @return [Date, nil]
|
|
409
|
+
optional :dob, Date
|
|
410
|
+
|
|
411
|
+
# @!attribute doing_business_as
|
|
412
|
+
# Doing Business As
|
|
413
|
+
#
|
|
414
|
+
# @return [String, nil]
|
|
415
|
+
optional :doing_business_as, String
|
|
416
|
+
|
|
417
|
+
# @!attribute name
|
|
418
|
+
# The nickname for this External Bank Account
|
|
419
|
+
#
|
|
420
|
+
# @return [String, nil]
|
|
421
|
+
optional :name, String
|
|
422
|
+
|
|
423
|
+
# @!attribute user_defined_id
|
|
424
|
+
# User Defined ID
|
|
425
|
+
#
|
|
426
|
+
# @return [String, nil]
|
|
427
|
+
optional :user_defined_id, String
|
|
428
|
+
|
|
429
|
+
# @!method initialize(account_number:, country:, currency:, owner:, owner_type:, routing_number:, type:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, name: nil, user_defined_id: nil, verification_method: :UNVERIFIED)
|
|
430
|
+
# Some parameter documentations has been truncated, see
|
|
431
|
+
# {Lithic::Models::ExternalBankAccountCreateParams::Body::Unverified} for more
|
|
432
|
+
# details.
|
|
433
|
+
#
|
|
434
|
+
# @param account_number [String] Account Number
|
|
435
|
+
#
|
|
436
|
+
# @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
|
|
437
|
+
#
|
|
438
|
+
# @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
|
|
439
|
+
#
|
|
440
|
+
# @param owner [String] Legal Name of the business or individual who owns the external account. This wil
|
|
441
|
+
#
|
|
442
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
|
443
|
+
#
|
|
444
|
+
# @param routing_number [String] Routing Number
|
|
445
|
+
#
|
|
446
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Body::Unverified::Type] Account Type
|
|
447
|
+
#
|
|
448
|
+
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
|
449
|
+
#
|
|
450
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
|
451
|
+
#
|
|
452
|
+
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
|
453
|
+
#
|
|
454
|
+
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
|
455
|
+
#
|
|
456
|
+
# @param doing_business_as [String] Doing Business As
|
|
457
|
+
#
|
|
458
|
+
# @param name [String] The nickname for this External Bank Account
|
|
459
|
+
#
|
|
460
|
+
# @param user_defined_id [String] User Defined ID
|
|
461
|
+
#
|
|
462
|
+
# @param verification_method [Symbol, :UNVERIFIED] Verification Method
|
|
463
|
+
|
|
464
|
+
# Account Type
|
|
465
|
+
#
|
|
466
|
+
# @see Lithic::Models::ExternalBankAccountCreateParams::Body::Unverified#type
|
|
467
|
+
module Type
|
|
468
|
+
extend Lithic::Internal::Type::Enum
|
|
165
469
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
extend Lithic::Internal::Type::Enum
|
|
470
|
+
CHECKING = :CHECKING
|
|
471
|
+
SAVINGS = :SAVINGS
|
|
169
472
|
|
|
170
|
-
|
|
473
|
+
# @!method self.values
|
|
474
|
+
# @return [Array<Symbol>]
|
|
475
|
+
end
|
|
476
|
+
end
|
|
171
477
|
|
|
172
|
-
# @!method self.
|
|
173
|
-
# @return [Array
|
|
478
|
+
# @!method self.variants
|
|
479
|
+
# @return [Array(Lithic::Models::ExternalBankAccountCreateParams::Body::ExternallyVerified, Lithic::Models::ExternalBankAccountCreateParams::Body::Unverified, Lithic::Models::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest)]
|
|
174
480
|
end
|
|
175
481
|
end
|
|
176
482
|
end
|
|
@@ -7,7 +7,13 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute external_bank_account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :external_bank_account_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(external_bank_account_token:, request_options: {})
|
|
16
|
+
# @param external_bank_account_token [String]
|
|
11
17
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,12 +7,18 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute external_bank_account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :external_bank_account_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute financial_account_token
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
13
18
|
optional :financial_account_token, String
|
|
14
19
|
|
|
15
|
-
# @!method initialize(financial_account_token: nil, request_options: {})
|
|
20
|
+
# @!method initialize(external_bank_account_token:, financial_account_token: nil, request_options: {})
|
|
21
|
+
# @param external_bank_account_token [String]
|
|
16
22
|
# @param financial_account_token [String]
|
|
17
23
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
end
|
|
@@ -7,12 +7,18 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute external_bank_account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :external_bank_account_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute financial_account_token
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
13
18
|
optional :financial_account_token, String
|
|
14
19
|
|
|
15
|
-
# @!method initialize(financial_account_token: nil, request_options: {})
|
|
20
|
+
# @!method initialize(external_bank_account_token:, financial_account_token: nil, request_options: {})
|
|
21
|
+
# @param external_bank_account_token [String]
|
|
16
22
|
# @param financial_account_token [String]
|
|
17
23
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
18
24
|
end
|