lithic 0.5.0 → 0.7.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 +42 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +31 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +7 -1
- 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/account_holder_entity.rb +183 -0
- data/lib/lithic/models/account_holders/entity_create_params.rb +166 -0
- data/lib/lithic/models/account_holders/entity_create_response.rb +113 -0
- data/lib/lithic/models/account_holders/entity_delete_params.rb +28 -0
- 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 +6 -2
- 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_block_parameters.rb +3 -0
- 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/v2/backtest_create_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +6 -6
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +338 -110
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +9 -1
- 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_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_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 +6 -6
- data/lib/lithic/models/auth_rules/v2_update_params.rb +183 -66
- 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 +9 -9
- 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_retrieve_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_retrieve_params.rb +7 -1
- data/lib/lithic/models/dispute_update_params.rb +8 -1
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/event_list_attempts_params.rb +8 -1
- data/lib/lithic/models/event_retrieve_params.rb +7 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +7 -1
- 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 -1
- data/lib/lithic/models/events/subscription_update_params.rb +8 -1
- 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_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 +9 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/category_tier.rb +28 -0
- 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 +50 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +28 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +47 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +28 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +51 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +1 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration.rb +63 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +24 -0
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rb +36 -0
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement.rb +1 -0
- 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/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/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 +1 -11
- 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 +8 -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/{digital_wallet_token_metadata.rb → token_metadata.rb} +18 -19
- data/lib/lithic/models/tokenization_activate_params.rb +7 -1
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +9 -9
- data/lib/lithic/models/tokenization_deactivate_params.rb +7 -1
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +9 -9
- 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 +4 -2
- data/lib/lithic/resources/account_activity.rb +2 -1
- data/lib/lithic/resources/account_holders/entities.rb +89 -0
- data/lib/lithic/resources/account_holders.rb +13 -83
- data/lib/lithic/resources/accounts.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2.rb +20 -49
- 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 +4 -2
- 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 +206 -0
- data/lib/lithic/resources/financial_accounts/loan_tape_configuration.rb +36 -0
- 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 +11 -1
- data/lib/lithic/resources/funding_events.rb +2 -1
- 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/version.rb +1 -1
- data/lib/lithic.rb +20 -2
- data/rbi/lithic/internal/util.rbi +20 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +13 -5
- 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/account_holder_entity.rbi +296 -0
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +248 -0
- data/rbi/lithic/models/account_holders/entity_create_response.rbi +292 -0
- data/rbi/lithic/models/account_holders/entity_delete_params.rbi +48 -0
- 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 +6 -3
- 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_block_parameters.rbi +1 -0
- 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/v2/backtest_create_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +11 -8
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +675 -178
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +6 -0
- 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_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_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 +8 -8
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +391 -101
- 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 +15 -17
- 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_retrieve_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/dispute_update_params.rbi +6 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/event_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +14 -2
- 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 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -0
- 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_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 +11 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/category_tier.rbi +45 -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 +75 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +52 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +79 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +52 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +76 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration.rbi +99 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +48 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbi +65 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +5 -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/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/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 -17
- 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 +6 -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/{digital_wallet_token_metadata.rbi → token_metadata.rbi} +34 -41
- data/rbi/lithic/models/tokenization_activate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +11 -17
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +15 -17
- 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 +4 -2
- data/rbi/lithic/resources/account_holders/entities.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +19 -177
- data/rbi/lithic/resources/auth_rules/v2.rbi +20 -75
- data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +156 -0
- data/rbi/lithic/resources/financial_accounts/loan_tape_configuration.rbi +30 -0
- data/rbi/lithic/resources/financial_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +3 -0
- data/sig/lithic/internal/util.rbs +10 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +11 -3
- 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/account_holder_entity.rbs +137 -0
- data/sig/lithic/models/account_holders/entity_create_params.rbs +123 -0
- data/sig/lithic/models/account_holders/entity_create_response.rbs +117 -0
- data/sig/lithic/models/account_holders/entity_delete_params.rbs +30 -0
- 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/{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/v2/backtest_create_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +8 -8
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +236 -74
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +8 -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_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_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 +8 -8
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +152 -47
- 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 +5 -9
- 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_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/event_retrieve_params.rbs +11 -3
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +6 -1
- 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 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +5 -0
- 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_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 +7 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +9 -1
- data/sig/lithic/models/financial_accounts/category_tier.rbs +21 -0
- 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 +41 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +28 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +49 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +47 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +2 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration.rbs +60 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbs +32 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statement.rbs +2 -0
- 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/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/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 -9
- 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 +5 -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/{digital_wallet_token_metadata.rbs → token_metadata.rbs} +19 -17
- data/sig/lithic/models/tokenization_activate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/tokenization_deactivate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +5 -9
- 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 +4 -2
- data/sig/lithic/resources/account_holders/entities.rbs +28 -0
- data/sig/lithic/resources/account_holders.rbs +4 -36
- data/sig/lithic/resources/auth_rules/v2.rbs +4 -16
- data/sig/lithic/resources/external_bank_accounts.rbs +1 -17
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +46 -0
- data/sig/lithic/resources/financial_accounts/loan_tape_configuration.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +1 -0
- metadata +62 -8
|
@@ -23,12 +23,6 @@ module Lithic
|
|
|
23
23
|
# @return [String, nil]
|
|
24
24
|
optional :account_token, String
|
|
25
25
|
|
|
26
|
-
# @!attribute beneficial_owner_entities
|
|
27
|
-
# Deprecated.
|
|
28
|
-
#
|
|
29
|
-
# @return [Array<Lithic::Models::KYBBusinessEntity>, nil]
|
|
30
|
-
optional :beneficial_owner_entities, -> { Lithic::Internal::Type::ArrayOf[Lithic::KYBBusinessEntity] }
|
|
31
|
-
|
|
32
26
|
# @!attribute beneficial_owner_individuals
|
|
33
27
|
# Only present when user_type == "BUSINESS". You must submit a list of all direct
|
|
34
28
|
# and indirect individuals with 25% or more ownership in the company. A maximum of
|
|
@@ -181,7 +175,7 @@ module Lithic
|
|
|
181
175
|
# @return [String, nil]
|
|
182
176
|
optional :website_url, String
|
|
183
177
|
|
|
184
|
-
# @!method initialize(token: nil, account_token: nil,
|
|
178
|
+
# @!method initialize(token: nil, account_token: nil, beneficial_owner_individuals: nil, business_account_token: nil, business_entity: nil, control_person: nil, created: nil, email: nil, exemption_type: nil, external_id: nil, individual: nil, naics_code: nil, nature_of_business: nil, phone_number: nil, required_documents: nil, status: nil, status_reasons: nil, user_type: nil, verification_application: nil, website_url: nil)
|
|
185
179
|
# Some parameter documentations has been truncated, see
|
|
186
180
|
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse} for more
|
|
187
181
|
# details.
|
|
@@ -190,8 +184,6 @@ module Lithic
|
|
|
190
184
|
#
|
|
191
185
|
# @param account_token [String] Globally unique identifier for the account.
|
|
192
186
|
#
|
|
193
|
-
# @param beneficial_owner_entities [Array<Lithic::Models::KYBBusinessEntity>] Deprecated.
|
|
194
|
-
#
|
|
195
187
|
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>] Only present when user_type == "BUSINESS". You must submit a list of all direct
|
|
196
188
|
#
|
|
197
189
|
# @param business_account_token [String, nil] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
|
@@ -83,14 +83,6 @@ module Lithic
|
|
|
83
83
|
|
|
84
84
|
# @see Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload#update_request
|
|
85
85
|
class UpdateRequest < Lithic::Internal::Type::BaseModel
|
|
86
|
-
# @!attribute beneficial_owner_entities
|
|
87
|
-
# @deprecated
|
|
88
|
-
#
|
|
89
|
-
# Deprecated.
|
|
90
|
-
#
|
|
91
|
-
# @return [Array<Lithic::Models::KYBBusinessEntity>, nil]
|
|
92
|
-
optional :beneficial_owner_entities, -> { Lithic::Internal::Type::ArrayOf[Lithic::KYBBusinessEntity] }
|
|
93
|
-
|
|
94
86
|
# @!attribute beneficial_owner_individuals
|
|
95
87
|
# You must submit a list of all direct and indirect individuals with 25% or more
|
|
96
88
|
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
|
@@ -124,15 +116,13 @@ module Lithic
|
|
|
124
116
|
optional :control_person,
|
|
125
117
|
-> { Lithic::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::ControlPerson }
|
|
126
118
|
|
|
127
|
-
# @!method initialize(
|
|
119
|
+
# @!method initialize(beneficial_owner_individuals: nil, business_entity: nil, control_person: nil)
|
|
128
120
|
# Some parameter documentations has been truncated, see
|
|
129
121
|
# {Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest}
|
|
130
122
|
# for more details.
|
|
131
123
|
#
|
|
132
124
|
# Original request to update the account holder.
|
|
133
125
|
#
|
|
134
|
-
# @param beneficial_owner_entities [Array<Lithic::Models::KYBBusinessEntity>] Deprecated.
|
|
135
|
-
#
|
|
136
126
|
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual>] You must submit a list of all direct and indirect individuals with 25% or more o
|
|
137
127
|
#
|
|
138
128
|
# @param business_entity [Lithic::Models::KYBBusinessEntity] Information for business for which the account is being opened and KYB is being
|
|
@@ -7,6 +7,11 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute account_holder_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :account_holder_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute document_type
|
|
11
16
|
# The type of document to upload
|
|
12
17
|
#
|
|
@@ -19,7 +24,9 @@ module Lithic
|
|
|
19
24
|
# @return [String]
|
|
20
25
|
required :entity_token, String
|
|
21
26
|
|
|
22
|
-
# @!method initialize(document_type:, entity_token:, request_options: {})
|
|
27
|
+
# @!method initialize(account_holder_token:, document_type:, entity_token:, request_options: {})
|
|
28
|
+
# @param account_holder_token [String]
|
|
29
|
+
#
|
|
23
30
|
# @param document_type [Symbol, Lithic::Models::AccountHolderUploadDocumentParams::DocumentType] The type of document to upload
|
|
24
31
|
#
|
|
25
32
|
# @param entity_token [String] Globally unique identifier for the entity.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AccountHolders
|
|
6
|
+
# @see Lithic::Resources::AccountHolders::Entities#delete
|
|
7
|
+
class AccountHolderEntity < Lithic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute token
|
|
9
|
+
# Globally unique identifier for the entity
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :token, String
|
|
13
|
+
|
|
14
|
+
# @!attribute account_holder_token
|
|
15
|
+
# Globally unique identifier for the account holder
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
required :account_holder_token, String
|
|
19
|
+
|
|
20
|
+
# @!attribute address
|
|
21
|
+
# Individual's current address
|
|
22
|
+
#
|
|
23
|
+
# @return [Lithic::Models::AccountHolders::AccountHolderEntity::Address]
|
|
24
|
+
required :address, -> { Lithic::AccountHolders::AccountHolderEntity::Address }
|
|
25
|
+
|
|
26
|
+
# @!attribute dob
|
|
27
|
+
# Individual's date of birth, as an RFC 3339 date
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
required :dob, String, nil?: true
|
|
31
|
+
|
|
32
|
+
# @!attribute email
|
|
33
|
+
# Individual's email address
|
|
34
|
+
#
|
|
35
|
+
# @return [String, nil]
|
|
36
|
+
required :email, String, nil?: true
|
|
37
|
+
|
|
38
|
+
# @!attribute first_name
|
|
39
|
+
# Individual's first name, as it appears on government-issued identity documents
|
|
40
|
+
#
|
|
41
|
+
# @return [String, nil]
|
|
42
|
+
required :first_name, String, nil?: true
|
|
43
|
+
|
|
44
|
+
# @!attribute last_name
|
|
45
|
+
# Individual's last name, as it appears on government-issued identity documents
|
|
46
|
+
#
|
|
47
|
+
# @return [String, nil]
|
|
48
|
+
required :last_name, String, nil?: true
|
|
49
|
+
|
|
50
|
+
# @!attribute phone_number
|
|
51
|
+
# Individual's phone number, entered in E.164 format
|
|
52
|
+
#
|
|
53
|
+
# @return [String, nil]
|
|
54
|
+
required :phone_number, String, nil?: true
|
|
55
|
+
|
|
56
|
+
# @!attribute status
|
|
57
|
+
# The status of the entity
|
|
58
|
+
#
|
|
59
|
+
# @return [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Status]
|
|
60
|
+
required :status, enum: -> { Lithic::AccountHolders::AccountHolderEntity::Status }
|
|
61
|
+
|
|
62
|
+
# @!attribute type
|
|
63
|
+
# The type of entity
|
|
64
|
+
#
|
|
65
|
+
# @return [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Type]
|
|
66
|
+
required :type, enum: -> { Lithic::AccountHolders::AccountHolderEntity::Type }
|
|
67
|
+
|
|
68
|
+
# @!method initialize(token:, account_holder_token:, address:, dob:, email:, first_name:, last_name:, phone_number:, status:, type:)
|
|
69
|
+
# Information about an entity associated with an account holder
|
|
70
|
+
#
|
|
71
|
+
# @param token [String] Globally unique identifier for the entity
|
|
72
|
+
#
|
|
73
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder
|
|
74
|
+
#
|
|
75
|
+
# @param address [Lithic::Models::AccountHolders::AccountHolderEntity::Address] Individual's current address
|
|
76
|
+
#
|
|
77
|
+
# @param dob [String, nil] Individual's date of birth, as an RFC 3339 date
|
|
78
|
+
#
|
|
79
|
+
# @param email [String, nil] Individual's email address
|
|
80
|
+
#
|
|
81
|
+
# @param first_name [String, nil] Individual's first name, as it appears on government-issued identity documents
|
|
82
|
+
#
|
|
83
|
+
# @param last_name [String, nil] Individual's last name, as it appears on government-issued identity documents
|
|
84
|
+
#
|
|
85
|
+
# @param phone_number [String, nil] Individual's phone number, entered in E.164 format
|
|
86
|
+
#
|
|
87
|
+
# @param status [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Status] The status of the entity
|
|
88
|
+
#
|
|
89
|
+
# @param type [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Type] The type of entity
|
|
90
|
+
|
|
91
|
+
# @see Lithic::Models::AccountHolders::AccountHolderEntity#address
|
|
92
|
+
class Address < Lithic::Internal::Type::BaseModel
|
|
93
|
+
# @!attribute address1
|
|
94
|
+
# Valid deliverable address (no PO boxes).
|
|
95
|
+
#
|
|
96
|
+
# @return [String]
|
|
97
|
+
required :address1, String
|
|
98
|
+
|
|
99
|
+
# @!attribute city
|
|
100
|
+
# Name of city.
|
|
101
|
+
#
|
|
102
|
+
# @return [String]
|
|
103
|
+
required :city, String
|
|
104
|
+
|
|
105
|
+
# @!attribute country
|
|
106
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
|
107
|
+
# 3166-1 alpha-3 three-character format.
|
|
108
|
+
#
|
|
109
|
+
# @return [String]
|
|
110
|
+
required :country, String
|
|
111
|
+
|
|
112
|
+
# @!attribute postal_code
|
|
113
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
114
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
|
115
|
+
#
|
|
116
|
+
# @return [String]
|
|
117
|
+
required :postal_code, String
|
|
118
|
+
|
|
119
|
+
# @!attribute state
|
|
120
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
|
121
|
+
# uppercase ISO 3166-2 two-character format.
|
|
122
|
+
#
|
|
123
|
+
# @return [String]
|
|
124
|
+
required :state, String
|
|
125
|
+
|
|
126
|
+
# @!attribute address2
|
|
127
|
+
# Unit or apartment number (if applicable).
|
|
128
|
+
#
|
|
129
|
+
# @return [String, nil]
|
|
130
|
+
optional :address2, String
|
|
131
|
+
|
|
132
|
+
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
|
133
|
+
# Some parameter documentations has been truncated, see
|
|
134
|
+
# {Lithic::Models::AccountHolders::AccountHolderEntity::Address} for more details.
|
|
135
|
+
#
|
|
136
|
+
# Individual's current address
|
|
137
|
+
#
|
|
138
|
+
# @param address1 [String] Valid deliverable address (no PO boxes).
|
|
139
|
+
#
|
|
140
|
+
# @param city [String] Name of city.
|
|
141
|
+
#
|
|
142
|
+
# @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
|
|
143
|
+
#
|
|
144
|
+
# @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
|
|
145
|
+
#
|
|
146
|
+
# @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
|
|
147
|
+
#
|
|
148
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# The status of the entity
|
|
152
|
+
#
|
|
153
|
+
# @see Lithic::Models::AccountHolders::AccountHolderEntity#status
|
|
154
|
+
module Status
|
|
155
|
+
extend Lithic::Internal::Type::Enum
|
|
156
|
+
|
|
157
|
+
ACCEPTED = :ACCEPTED
|
|
158
|
+
INACTIVE = :INACTIVE
|
|
159
|
+
PENDING_REVIEW = :PENDING_REVIEW
|
|
160
|
+
REJECTED = :REJECTED
|
|
161
|
+
|
|
162
|
+
# @!method self.values
|
|
163
|
+
# @return [Array<Symbol>]
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# The type of entity
|
|
167
|
+
#
|
|
168
|
+
# @see Lithic::Models::AccountHolders::AccountHolderEntity#type
|
|
169
|
+
module Type
|
|
170
|
+
extend Lithic::Internal::Type::Enum
|
|
171
|
+
|
|
172
|
+
BENEFICIAL_OWNER_INDIVIDUAL = :BENEFICIAL_OWNER_INDIVIDUAL
|
|
173
|
+
CONTROL_PERSON = :CONTROL_PERSON
|
|
174
|
+
|
|
175
|
+
# @!method self.values
|
|
176
|
+
# @return [Array<Symbol>]
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
AccountHolderEntity = AccountHolders::AccountHolderEntity
|
|
182
|
+
end
|
|
183
|
+
end
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AccountHolders
|
|
6
|
+
# @see Lithic::Resources::AccountHolders::Entities#create
|
|
7
|
+
class EntityCreateParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute account_holder_token
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :account_holder_token, String
|
|
15
|
+
|
|
16
|
+
# @!attribute address
|
|
17
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
18
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
19
|
+
#
|
|
20
|
+
# @return [Lithic::Models::AccountHolders::EntityCreateParams::Address]
|
|
21
|
+
required :address, -> { Lithic::AccountHolders::EntityCreateParams::Address }
|
|
22
|
+
|
|
23
|
+
# @!attribute dob
|
|
24
|
+
# Individual's date of birth, as an RFC 3339 date.
|
|
25
|
+
#
|
|
26
|
+
# @return [String]
|
|
27
|
+
required :dob, String
|
|
28
|
+
|
|
29
|
+
# @!attribute email
|
|
30
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
31
|
+
# customer email address may be used to communicate dispute status and resolution.
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
required :email, String
|
|
35
|
+
|
|
36
|
+
# @!attribute first_name
|
|
37
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
38
|
+
#
|
|
39
|
+
# @return [String]
|
|
40
|
+
required :first_name, String
|
|
41
|
+
|
|
42
|
+
# @!attribute government_id
|
|
43
|
+
# Government-issued identification number (required for identity verification and
|
|
44
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
|
45
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
46
|
+
# entered as full nine-digits, with or without hyphens
|
|
47
|
+
#
|
|
48
|
+
# @return [String]
|
|
49
|
+
required :government_id, String
|
|
50
|
+
|
|
51
|
+
# @!attribute last_name
|
|
52
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
53
|
+
#
|
|
54
|
+
# @return [String]
|
|
55
|
+
required :last_name, String
|
|
56
|
+
|
|
57
|
+
# @!attribute phone_number
|
|
58
|
+
# Individual's phone number, entered in E.164 format.
|
|
59
|
+
#
|
|
60
|
+
# @return [String]
|
|
61
|
+
required :phone_number, String
|
|
62
|
+
|
|
63
|
+
# @!attribute type
|
|
64
|
+
# The type of entity to create on the account holder
|
|
65
|
+
#
|
|
66
|
+
# @return [Symbol, Lithic::Models::AccountHolders::EntityCreateParams::Type]
|
|
67
|
+
required :type, enum: -> { Lithic::AccountHolders::EntityCreateParams::Type }
|
|
68
|
+
|
|
69
|
+
# @!method initialize(account_holder_token:, address:, dob:, email:, first_name:, government_id:, last_name:, phone_number:, type:, request_options: {})
|
|
70
|
+
# Some parameter documentations has been truncated, see
|
|
71
|
+
# {Lithic::Models::AccountHolders::EntityCreateParams} for more details.
|
|
72
|
+
#
|
|
73
|
+
# @param account_holder_token [String]
|
|
74
|
+
#
|
|
75
|
+
# @param address [Lithic::Models::AccountHolders::EntityCreateParams::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
|
76
|
+
#
|
|
77
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
|
78
|
+
#
|
|
79
|
+
# @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
80
|
+
#
|
|
81
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
|
82
|
+
#
|
|
83
|
+
# @param government_id [String] Government-issued identification number (required for identity verification and
|
|
84
|
+
#
|
|
85
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
|
86
|
+
#
|
|
87
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
|
88
|
+
#
|
|
89
|
+
# @param type [Symbol, Lithic::Models::AccountHolders::EntityCreateParams::Type] The type of entity to create on the account holder
|
|
90
|
+
#
|
|
91
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
92
|
+
|
|
93
|
+
class Address < Lithic::Internal::Type::BaseModel
|
|
94
|
+
# @!attribute address1
|
|
95
|
+
# Valid deliverable address (no PO boxes).
|
|
96
|
+
#
|
|
97
|
+
# @return [String]
|
|
98
|
+
required :address1, String
|
|
99
|
+
|
|
100
|
+
# @!attribute city
|
|
101
|
+
# Name of city.
|
|
102
|
+
#
|
|
103
|
+
# @return [String]
|
|
104
|
+
required :city, String
|
|
105
|
+
|
|
106
|
+
# @!attribute country
|
|
107
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
|
108
|
+
# 3166-1 alpha-3 three-character format.
|
|
109
|
+
#
|
|
110
|
+
# @return [String]
|
|
111
|
+
required :country, String
|
|
112
|
+
|
|
113
|
+
# @!attribute postal_code
|
|
114
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
115
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
|
116
|
+
#
|
|
117
|
+
# @return [String]
|
|
118
|
+
required :postal_code, String
|
|
119
|
+
|
|
120
|
+
# @!attribute state
|
|
121
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
|
122
|
+
# uppercase ISO 3166-2 two-character format.
|
|
123
|
+
#
|
|
124
|
+
# @return [String]
|
|
125
|
+
required :state, String
|
|
126
|
+
|
|
127
|
+
# @!attribute address2
|
|
128
|
+
# Unit or apartment number (if applicable).
|
|
129
|
+
#
|
|
130
|
+
# @return [String, nil]
|
|
131
|
+
optional :address2, String
|
|
132
|
+
|
|
133
|
+
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
|
134
|
+
# Some parameter documentations has been truncated, see
|
|
135
|
+
# {Lithic::Models::AccountHolders::EntityCreateParams::Address} for more details.
|
|
136
|
+
#
|
|
137
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
138
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
139
|
+
#
|
|
140
|
+
# @param address1 [String] Valid deliverable address (no PO boxes).
|
|
141
|
+
#
|
|
142
|
+
# @param city [String] Name of city.
|
|
143
|
+
#
|
|
144
|
+
# @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
|
|
145
|
+
#
|
|
146
|
+
# @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
|
|
147
|
+
#
|
|
148
|
+
# @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
|
|
149
|
+
#
|
|
150
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# The type of entity to create on the account holder
|
|
154
|
+
module Type
|
|
155
|
+
extend Lithic::Internal::Type::Enum
|
|
156
|
+
|
|
157
|
+
BENEFICIAL_OWNER_INDIVIDUAL = :BENEFICIAL_OWNER_INDIVIDUAL
|
|
158
|
+
CONTROL_PERSON = :CONTROL_PERSON
|
|
159
|
+
|
|
160
|
+
# @!method self.values
|
|
161
|
+
# @return [Array<Symbol>]
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AccountHolders
|
|
6
|
+
# @see Lithic::Resources::AccountHolders::Entities#create
|
|
7
|
+
class EntityCreateResponse < Lithic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute token
|
|
9
|
+
# Globally unique identifier for the entity
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :token, String
|
|
13
|
+
|
|
14
|
+
# @!attribute account_holder_token
|
|
15
|
+
# Globally unique identifier for the account holder
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
required :account_holder_token, String
|
|
19
|
+
|
|
20
|
+
# @!attribute created
|
|
21
|
+
# Timestamp of when the entity was created
|
|
22
|
+
#
|
|
23
|
+
# @return [Time]
|
|
24
|
+
required :created, Time
|
|
25
|
+
|
|
26
|
+
# @!attribute required_documents
|
|
27
|
+
# A list of documents required for the entity to be approved
|
|
28
|
+
#
|
|
29
|
+
# @return [Array<Lithic::Models::RequiredDocument>]
|
|
30
|
+
required :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::RequiredDocument] }
|
|
31
|
+
|
|
32
|
+
# @!attribute status
|
|
33
|
+
# Entity verification status
|
|
34
|
+
#
|
|
35
|
+
# @return [Symbol, Lithic::Models::AccountHolders::EntityCreateResponse::Status]
|
|
36
|
+
required :status, enum: -> { Lithic::Models::AccountHolders::EntityCreateResponse::Status }
|
|
37
|
+
|
|
38
|
+
# @!attribute status_reasons
|
|
39
|
+
# Reason for the evaluation status
|
|
40
|
+
#
|
|
41
|
+
# @return [Array<Symbol, Lithic::Models::AccountHolders::EntityCreateResponse::StatusReason>]
|
|
42
|
+
required :status_reasons,
|
|
43
|
+
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::AccountHolders::EntityCreateResponse::StatusReason] }
|
|
44
|
+
|
|
45
|
+
# @!method initialize(token:, account_holder_token:, created:, required_documents:, status:, status_reasons:)
|
|
46
|
+
# Response body for creating a new beneficial owner or replacing the control
|
|
47
|
+
# person entity on an existing KYB account holder.
|
|
48
|
+
#
|
|
49
|
+
# @param token [String] Globally unique identifier for the entity
|
|
50
|
+
#
|
|
51
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder
|
|
52
|
+
#
|
|
53
|
+
# @param created [Time] Timestamp of when the entity was created
|
|
54
|
+
#
|
|
55
|
+
# @param required_documents [Array<Lithic::Models::RequiredDocument>] A list of documents required for the entity to be approved
|
|
56
|
+
#
|
|
57
|
+
# @param status [Symbol, Lithic::Models::AccountHolders::EntityCreateResponse::Status] Entity verification status
|
|
58
|
+
#
|
|
59
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolders::EntityCreateResponse::StatusReason>] Reason for the evaluation status
|
|
60
|
+
|
|
61
|
+
# Entity verification status
|
|
62
|
+
#
|
|
63
|
+
# @see Lithic::Models::AccountHolders::EntityCreateResponse#status
|
|
64
|
+
module Status
|
|
65
|
+
extend Lithic::Internal::Type::Enum
|
|
66
|
+
|
|
67
|
+
ACCEPTED = :ACCEPTED
|
|
68
|
+
INACTIVE = :INACTIVE
|
|
69
|
+
PENDING_REVIEW = :PENDING_REVIEW
|
|
70
|
+
REJECTED = :REJECTED
|
|
71
|
+
|
|
72
|
+
# @!method self.values
|
|
73
|
+
# @return [Array<Symbol>]
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Status Reasons for KYC/KYB enrollment states
|
|
77
|
+
module StatusReason
|
|
78
|
+
extend Lithic::Internal::Type::Enum
|
|
79
|
+
|
|
80
|
+
ADDRESS_VERIFICATION_FAILURE = :ADDRESS_VERIFICATION_FAILURE
|
|
81
|
+
AGE_THRESHOLD_FAILURE = :AGE_THRESHOLD_FAILURE
|
|
82
|
+
COMPLETE_VERIFICATION_FAILURE = :COMPLETE_VERIFICATION_FAILURE
|
|
83
|
+
DOB_VERIFICATION_FAILURE = :DOB_VERIFICATION_FAILURE
|
|
84
|
+
ID_VERIFICATION_FAILURE = :ID_VERIFICATION_FAILURE
|
|
85
|
+
MAX_DOCUMENT_ATTEMPTS = :MAX_DOCUMENT_ATTEMPTS
|
|
86
|
+
MAX_RESUBMISSION_ATTEMPTS = :MAX_RESUBMISSION_ATTEMPTS
|
|
87
|
+
NAME_VERIFICATION_FAILURE = :NAME_VERIFICATION_FAILURE
|
|
88
|
+
OTHER_VERIFICATION_FAILURE = :OTHER_VERIFICATION_FAILURE
|
|
89
|
+
RISK_THRESHOLD_FAILURE = :RISK_THRESHOLD_FAILURE
|
|
90
|
+
WATCHLIST_ALERT_FAILURE = :WATCHLIST_ALERT_FAILURE
|
|
91
|
+
PRIMARY_BUSINESS_ENTITY_ID_VERIFICATION_FAILURE = :PRIMARY_BUSINESS_ENTITY_ID_VERIFICATION_FAILURE
|
|
92
|
+
PRIMARY_BUSINESS_ENTITY_ADDRESS_VERIFICATION_FAILURE =
|
|
93
|
+
:PRIMARY_BUSINESS_ENTITY_ADDRESS_VERIFICATION_FAILURE
|
|
94
|
+
PRIMARY_BUSINESS_ENTITY_NAME_VERIFICATION_FAILURE = :PRIMARY_BUSINESS_ENTITY_NAME_VERIFICATION_FAILURE
|
|
95
|
+
PRIMARY_BUSINESS_ENTITY_BUSINESS_OFFICERS_NOT_MATCHED =
|
|
96
|
+
:PRIMARY_BUSINESS_ENTITY_BUSINESS_OFFICERS_NOT_MATCHED
|
|
97
|
+
PRIMARY_BUSINESS_ENTITY_SOS_FILING_INACTIVE = :PRIMARY_BUSINESS_ENTITY_SOS_FILING_INACTIVE
|
|
98
|
+
PRIMARY_BUSINESS_ENTITY_SOS_NOT_MATCHED = :PRIMARY_BUSINESS_ENTITY_SOS_NOT_MATCHED
|
|
99
|
+
PRIMARY_BUSINESS_ENTITY_CMRA_FAILURE = :PRIMARY_BUSINESS_ENTITY_CMRA_FAILURE
|
|
100
|
+
PRIMARY_BUSINESS_ENTITY_WATCHLIST_FAILURE = :PRIMARY_BUSINESS_ENTITY_WATCHLIST_FAILURE
|
|
101
|
+
PRIMARY_BUSINESS_ENTITY_REGISTERED_AGENT_FAILURE = :PRIMARY_BUSINESS_ENTITY_REGISTERED_AGENT_FAILURE
|
|
102
|
+
CONTROL_PERSON_BLOCKLIST_ALERT_FAILURE = :CONTROL_PERSON_BLOCKLIST_ALERT_FAILURE
|
|
103
|
+
CONTROL_PERSON_ID_VERIFICATION_FAILURE = :CONTROL_PERSON_ID_VERIFICATION_FAILURE
|
|
104
|
+
CONTROL_PERSON_DOB_VERIFICATION_FAILURE = :CONTROL_PERSON_DOB_VERIFICATION_FAILURE
|
|
105
|
+
CONTROL_PERSON_NAME_VERIFICATION_FAILURE = :CONTROL_PERSON_NAME_VERIFICATION_FAILURE
|
|
106
|
+
|
|
107
|
+
# @!method self.values
|
|
108
|
+
# @return [Array<Symbol>]
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AccountHolders
|
|
6
|
+
# @see Lithic::Resources::AccountHolders::Entities#delete
|
|
7
|
+
class EntityDeleteParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute account_holder_token
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :account_holder_token, String
|
|
15
|
+
|
|
16
|
+
# @!attribute entity_token
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :entity_token, String
|
|
20
|
+
|
|
21
|
+
# @!method initialize(account_holder_token:, entity_token:, request_options: {})
|
|
22
|
+
# @param account_holder_token [String]
|
|
23
|
+
# @param entity_token [String]
|
|
24
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
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 account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :account_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(account_token:, request_options: {})
|
|
16
|
+
# @param account_token [String]
|
|
11
17
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
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 account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :account_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(account_token:, request_options: {})
|
|
16
|
+
# @param account_token [String]
|
|
11
17
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :account_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute comment
|
|
11
16
|
# Additional context or information related to the account.
|
|
12
17
|
#
|
|
@@ -88,10 +93,12 @@ module Lithic
|
|
|
88
93
|
# @return [Lithic::Models::AccountUpdateParams::VerificationAddress, nil]
|
|
89
94
|
optional :verification_address, -> { Lithic::AccountUpdateParams::VerificationAddress }
|
|
90
95
|
|
|
91
|
-
# @!method initialize(comment: nil, daily_spend_limit: nil, lifetime_spend_limit: nil, monthly_spend_limit: nil, state: nil, substatus: nil, verification_address: nil, request_options: {})
|
|
96
|
+
# @!method initialize(account_token:, comment: nil, daily_spend_limit: nil, lifetime_spend_limit: nil, monthly_spend_limit: nil, state: nil, substatus: nil, verification_address: nil, request_options: {})
|
|
92
97
|
# Some parameter documentations has been truncated, see
|
|
93
98
|
# {Lithic::Models::AccountUpdateParams} for more details.
|
|
94
99
|
#
|
|
100
|
+
# @param account_token [String]
|
|
101
|
+
#
|
|
95
102
|
# @param comment [String] Additional context or information related to the account.
|
|
96
103
|
#
|
|
97
104
|
# @param daily_spend_limit [Integer] Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a $1
|
|
@@ -76,7 +76,8 @@ module Lithic
|
|
|
76
76
|
# several event streams, the effective one is defined by the separate
|
|
77
77
|
# `event_stream` field.
|
|
78
78
|
#
|
|
79
|
-
# - `CONDITIONAL_BLOCK`:
|
|
79
|
+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
80
|
+
# AUTHORIZATION event stream.
|
|
80
81
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
81
82
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
82
83
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -152,6 +153,7 @@ module Lithic
|
|
|
152
153
|
module Parameters
|
|
153
154
|
extend Lithic::Internal::Type::Union
|
|
154
155
|
|
|
156
|
+
# Deprecated: Use CONDITIONAL_ACTION instead.
|
|
155
157
|
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
|
|
156
158
|
|
|
157
159
|
variant -> { Lithic::AuthRules::VelocityLimitParams }
|
|
@@ -202,6 +204,7 @@ module Lithic
|
|
|
202
204
|
module Parameters
|
|
203
205
|
extend Lithic::Internal::Type::Union
|
|
204
206
|
|
|
207
|
+
# Deprecated: Use CONDITIONAL_ACTION instead.
|
|
205
208
|
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
|
|
206
209
|
|
|
207
210
|
variant -> { Lithic::AuthRules::VelocityLimitParams }
|
|
@@ -239,7 +242,8 @@ module Lithic
|
|
|
239
242
|
# several event streams, the effective one is defined by the separate
|
|
240
243
|
# `event_stream` field.
|
|
241
244
|
#
|
|
242
|
-
# - `CONDITIONAL_BLOCK`:
|
|
245
|
+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
246
|
+
# AUTHORIZATION event stream.
|
|
243
247
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
244
248
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
245
249
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|