lithic 0.1.0.pre.alpha.13 → 0.1.0.pre.alpha.15
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/.ignore +2 -0
- data/CHANGELOG.md +29 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +33 -15
- data/lib/lithic/internal/type/enum.rb +1 -6
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/models/account.rb +39 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +125 -312
- data/lib/lithic/models/account_holder_create_params.rb +97 -219
- data/lib/lithic/models/account_holder_create_response.rb +15 -48
- data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
- data/lib/lithic/models/account_holder_list_params.rb +25 -90
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
- data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
- data/lib/lithic/models/account_holder_update_params.rb +130 -424
- data/lib/lithic/models/account_holder_update_response.rb +180 -474
- data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
- data/lib/lithic/models/account_list_params.rb +13 -38
- data/lib/lithic/models/account_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/account_spend_limits.rb +27 -87
- data/lib/lithic/models/account_update_params.rb +33 -99
- data/lib/lithic/models/address.rb +8 -16
- data/lib/lithic/models/address_update.rb +13 -41
- data/lib/lithic/models/aggregate_balance.rb +15 -36
- data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
- data/lib/lithic/models/api_status.rb +3 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
- data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
- data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
- data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_secret.rb +3 -11
- data/lib/lithic/models/balance.rb +15 -36
- data/lib/lithic/models/balance_list_params.rb +13 -46
- data/lib/lithic/models/book_transfer_create_params.rb +17 -49
- data/lib/lithic/models/book_transfer_list_params.rb +31 -105
- data/lib/lithic/models/book_transfer_response.rb +32 -71
- data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
- data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
- data/lib/lithic/models/card_convert_physical_params.rb +12 -32
- data/lib/lithic/models/card_convert_physical_response.rb +391 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +390 -0
- data/lib/lithic/models/card_embed_params.rb +5 -10
- data/lib/lithic/models/card_list_params.rb +19 -67
- data/lib/lithic/models/card_list_response.rb +374 -0
- data/lib/lithic/models/card_program.rb +10 -33
- data/lib/lithic/models/card_program_list_params.rb +9 -26
- data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_provision_params.rb +17 -60
- data/lib/lithic/models/card_provision_response.rb +3 -11
- data/lib/lithic/models/card_reissue_params.rb +13 -37
- data/lib/lithic/models/card_reissue_response.rb +390 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +390 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +390 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
- data/lib/lithic/models/card_search_by_pan_response.rb +390 -0
- data/lib/lithic/models/card_spend_limits.rb +27 -87
- data/lib/lithic/models/card_update_params.rb +21 -72
- data/lib/lithic/models/card_update_response.rb +390 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
- data/lib/lithic/models/cards/balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/balance_list_response.rb +15 -36
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/carrier.rb +3 -11
- data/lib/lithic/models/client_api_status_params.rb +3 -8
- data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
- data/lib/lithic/models/digital_card_art.rb +11 -33
- data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute.rb +27 -70
- data/lib/lithic/models/dispute_create_params.rb +12 -38
- data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_delete_params.rb +3 -8
- data/lib/lithic/models/dispute_evidence.rb +15 -34
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
- data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
- data/lib/lithic/models/dispute_list_params.rb +19 -67
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute_update_params.rb +13 -37
- data/lib/lithic/models/document.rb +29 -62
- data/lib/lithic/models/event.rb +9 -16
- data/lib/lithic/models/event_list_attempts_params.rb +17 -60
- data/lib/lithic/models/event_list_params.rb +19 -67
- data/lib/lithic/models/event_retrieve_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +10 -17
- data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
- data/lib/lithic/models/events/subscription_create_params.rb +12 -32
- data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
- data/lib/lithic/models/events/subscription_list_params.rb +9 -26
- data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
- data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
- data/lib/lithic/models/events/subscription_update_params.rb +12 -32
- data/lib/lithic/models/external_bank_account_address.rb +8 -16
- data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
- data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
- data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
- data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
- data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
- data/lib/lithic/models/external_payment.rb +38 -88
- data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
- data/lib/lithic/models/external_payment_create_params.rb +22 -66
- data/lib/lithic/models/external_payment_list_params.rb +29 -98
- data/lib/lithic/models/external_payment_release_params.rb +6 -15
- data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
- data/lib/lithic/models/external_payment_settle_params.rb +10 -26
- data/lib/lithic/models/financial_account.rb +33 -81
- data/lib/lithic/models/financial_account_create_params.rb +13 -43
- data/lib/lithic/models/financial_account_list_params.rb +11 -31
- data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_account_update_params.rb +5 -14
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statement.rb +87 -198
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
- data/lib/lithic/models/financial_accounts/statements.rb +3 -7
- data/lib/lithic/models/financial_transaction.rb +34 -91
- data/lib/lithic/models/instance_financial_account_type.rb +4 -5
- data/lib/lithic/models/kyb.rb +71 -167
- data/lib/lithic/models/kyb_business_entity.rb +20 -50
- data/lib/lithic/models/kyc.rb +21 -40
- data/lib/lithic/models/kyc_exempt.rb +16 -47
- data/lib/lithic/models/management_operation_create_params.rb +34 -74
- data/lib/lithic/models/management_operation_list_params.rb +26 -86
- data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
- data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
- data/lib/lithic/models/management_operation_transaction.rb +56 -110
- data/lib/lithic/models/message_attempt.rb +13 -32
- data/lib/lithic/models/owner_type.rb +2 -5
- data/lib/lithic/models/payment.rb +56 -129
- data/lib/lithic/models/payment_create_params.rb +23 -67
- data/lib/lithic/models/payment_create_response.rb +3 -11
- data/lib/lithic/models/payment_list_params.rb +31 -105
- data/lib/lithic/models/payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/payment_retry_params.rb +3 -8
- data/lib/lithic/models/payment_retry_response.rb +3 -11
- data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
- data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
- data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
- data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
- data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
- data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
- data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
- data/lib/lithic/models/required_document.rb +4 -8
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
- data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
- data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_status.rb +4 -12
- data/lib/lithic/models/settlement_detail.rb +32 -79
- data/lib/lithic/models/settlement_report.rb +12 -31
- data/lib/lithic/models/settlement_summary_details.rb +19 -70
- data/lib/lithic/models/shipping_address.rb +16 -51
- data/lib/lithic/models/spend_limit_duration.rb +2 -5
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
- data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization.rb +35 -99
- data/lib/lithic/models/tokenization_activate_params.rb +3 -8
- data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
- data/lib/lithic/models/tokenization_list_params.rb +21 -74
- data/lib/lithic/models/tokenization_pause_params.rb +3 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
- data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
- data/lib/lithic/models/tokenization_secret.rb +3 -11
- data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
- data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
- data/lib/lithic/models/transaction.rb +279 -413
- data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
- data/lib/lithic/models/transaction_list_params.rb +25 -86
- data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
- data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
- data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
- data/lib/lithic/models/transfer.rb +49 -160
- data/lib/lithic/models/transfer_create_params.rb +10 -23
- data/lib/lithic/models/verification_method.rb +2 -5
- data/lib/lithic/request_options.rb +3 -4
- data/lib/lithic/resources/account_holders.rb +10 -8
- data/lib/lithic/resources/cards.rb +16 -16
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -1
- data/rbi/lib/lithic/internal/type/base_model.rbi +10 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +0 -6
- data/rbi/lib/lithic/models/account.rbi +2 -3
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
- data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
- data/rbi/lib/lithic/models/balance.rbi +1 -2
- data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
- data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
- data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
- data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
- data/rbi/lib/lithic/models/dispute.rbi +3 -11
- data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/document.rbi +4 -7
- data/rbi/lib/lithic/models/event.rbi +1 -1
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
- data/rbi/lib/lithic/models/external_payment.rbi +7 -12
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account.rbi +7 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
- data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
- data/rbi/lib/lithic/models/kyb.rbi +5 -4
- data/rbi/lib/lithic/models/kyc.rbi +1 -1
- data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
- data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
- data/rbi/lib/lithic/models/owner_type.rbi +1 -1
- data/rbi/lib/lithic/models/payment.rbi +10 -12
- data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
- data/rbi/lib/lithic/models/tokenization.rbi +5 -9
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +184 -68
- data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
- data/rbi/lib/lithic/models/transfer.rbi +7 -5
- data/rbi/lib/lithic/models/verification_method.rbi +1 -1
- data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/rbi/lib/lithic/resources/payments.rbi +1 -1
- data/sig/lithic/internal/type/base_model.rbs +6 -0
- data/sig/lithic/internal/type/enum.rbs +0 -2
- data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
- data/sig/lithic/models/card_create_response.rbs +257 -0
- data/sig/lithic/models/card_list_response.rbs +245 -0
- data/sig/lithic/models/card_reissue_response.rbs +257 -0
- data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
- data/sig/lithic/models/card_retrieve_response.rbs +257 -0
- data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
- data/sig/lithic/models/card_update_response.rbs +257 -0
- data/sig/lithic/models/dispute.rbs +0 -4
- data/sig/lithic/models/financial_account.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
- data/sig/lithic/models/management_operation_create_params.rbs +23 -13
- data/sig/lithic/models/management_operation_list_params.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/transaction.rbs +87 -4
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +27 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -11,41 +11,30 @@ module Lithic
|
|
11
11
|
variant -> { Lithic::Models::AccountHolderUpdateResponse::PatchResponse }
|
12
12
|
|
13
13
|
class KYBKYCPatchResponse < Lithic::Internal::Type::BaseModel
|
14
|
-
# @!attribute
|
14
|
+
# @!attribute token
|
15
15
|
# Globally unique identifier for the account holder.
|
16
16
|
#
|
17
17
|
# @return [String, nil]
|
18
18
|
optional :token, String
|
19
19
|
|
20
|
-
# @!
|
21
|
-
# # @return [String]
|
22
|
-
# attr_writer :token
|
23
|
-
|
24
|
-
# @!attribute [r] account_token
|
20
|
+
# @!attribute account_token
|
25
21
|
# Globally unique identifier for the account.
|
26
22
|
#
|
27
23
|
# @return [String, nil]
|
28
24
|
optional :account_token, String
|
29
25
|
|
30
|
-
# @!
|
31
|
-
# # @return [String]
|
32
|
-
# attr_writer :account_token
|
33
|
-
|
34
|
-
# @!attribute [r] beneficial_owner_entities
|
26
|
+
# @!attribute beneficial_owner_entities
|
35
27
|
# Deprecated.
|
36
28
|
#
|
37
29
|
# @return [Array<Lithic::Models::KYBBusinessEntity>, nil]
|
38
30
|
optional :beneficial_owner_entities,
|
39
31
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::KYBBusinessEntity] }
|
40
32
|
|
41
|
-
# @!
|
42
|
-
#
|
43
|
-
#
|
44
|
-
|
45
|
-
#
|
46
|
-
# Only present when user_type == "BUSINESS". List of all direct and indirect
|
47
|
-
# individuals with 25% or more ownership in the company. If no individual owns 25%
|
48
|
-
# of the company, please identify the largest shareholder in this field. See
|
33
|
+
# @!attribute beneficial_owner_individuals
|
34
|
+
# Only present when user_type == "BUSINESS". You must submit a list of all direct
|
35
|
+
# and indirect individuals with 25% or more ownership in the company. A maximum of
|
36
|
+
# 4 beneficial owners can be submitted. If no individual owns 25% of the company
|
37
|
+
# you do not need to send beneficial owner information. See
|
49
38
|
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
50
39
|
# (Section I) for more background on individuals that should be included.
|
51
40
|
#
|
@@ -53,11 +42,7 @@ module Lithic
|
|
53
42
|
optional :beneficial_owner_individuals,
|
54
43
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual] }
|
55
44
|
|
56
|
-
# @!
|
57
|
-
# # @return [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>]
|
58
|
-
# attr_writer :beneficial_owner_individuals
|
59
|
-
|
60
|
-
# @!attribute [r] business_account_token
|
45
|
+
# @!attribute business_account_token
|
61
46
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
62
47
|
# users of businesses. Pass the account_token of the enrolled business associated
|
63
48
|
# with the AUTHORIZED_USER in this field.
|
@@ -65,22 +50,14 @@ module Lithic
|
|
65
50
|
# @return [String, nil]
|
66
51
|
optional :business_account_token, String
|
67
52
|
|
68
|
-
# @!
|
69
|
-
# # @return [String]
|
70
|
-
# attr_writer :business_account_token
|
71
|
-
|
72
|
-
# @!attribute [r] business_entity
|
53
|
+
# @!attribute business_entity
|
73
54
|
# Only present when user_type == "BUSINESS". Information about the business for
|
74
55
|
# which the account is being opened and KYB is being run.
|
75
56
|
#
|
76
57
|
# @return [Lithic::Models::KYBBusinessEntity, nil]
|
77
58
|
optional :business_entity, -> { Lithic::Models::KYBBusinessEntity }
|
78
59
|
|
79
|
-
# @!
|
80
|
-
# # @return [Lithic::Models::KYBBusinessEntity]
|
81
|
-
# attr_writer :business_entity
|
82
|
-
|
83
|
-
# @!attribute [r] control_person
|
60
|
+
# @!attribute control_person
|
84
61
|
# Only present when user_type == "BUSINESS".
|
85
62
|
#
|
86
63
|
# An individual with significant responsibility for managing the legal entity
|
@@ -97,21 +74,13 @@ module Lithic
|
|
97
74
|
optional :control_person,
|
98
75
|
-> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson }
|
99
76
|
|
100
|
-
# @!
|
101
|
-
# # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson]
|
102
|
-
# attr_writer :control_person
|
103
|
-
|
104
|
-
# @!attribute [r] created
|
77
|
+
# @!attribute created
|
105
78
|
# Timestamp of when the account holder was created.
|
106
79
|
#
|
107
80
|
# @return [Time, nil]
|
108
81
|
optional :created, Time
|
109
82
|
|
110
|
-
# @!
|
111
|
-
# # @return [Time]
|
112
|
-
# attr_writer :created
|
113
|
-
|
114
|
-
# @!attribute [r] email
|
83
|
+
# @!attribute email
|
115
84
|
# < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
|
116
85
|
# individual.phone_number when user_type == "INDIVIDUAL".
|
117
86
|
#
|
@@ -120,11 +89,7 @@ module Lithic
|
|
120
89
|
# @return [String, nil]
|
121
90
|
optional :email, String
|
122
91
|
|
123
|
-
# @!
|
124
|
-
# # @return [String]
|
125
|
-
# attr_writer :email
|
126
|
-
|
127
|
-
# @!attribute [r] exemption_type
|
92
|
+
# @!attribute exemption_type
|
128
93
|
# The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
|
129
94
|
# holder is not KYC-Exempt.
|
130
95
|
#
|
@@ -132,44 +97,28 @@ module Lithic
|
|
132
97
|
optional :exemption_type,
|
133
98
|
enum: -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType }
|
134
99
|
|
135
|
-
# @!
|
136
|
-
# # @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType]
|
137
|
-
# attr_writer :exemption_type
|
138
|
-
|
139
|
-
# @!attribute [r] external_id
|
100
|
+
# @!attribute external_id
|
140
101
|
# Customer-provided token that indicates a relationship with an object outside of
|
141
102
|
# the Lithic ecosystem.
|
142
103
|
#
|
143
104
|
# @return [String, nil]
|
144
105
|
optional :external_id, String
|
145
106
|
|
146
|
-
# @!
|
147
|
-
# # @return [String]
|
148
|
-
# attr_writer :external_id
|
149
|
-
|
150
|
-
# @!attribute [r] individual
|
107
|
+
# @!attribute individual
|
151
108
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
152
109
|
# for which the account is being opened and KYC is being run.
|
153
110
|
#
|
154
111
|
# @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual, nil]
|
155
112
|
optional :individual, -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual }
|
156
113
|
|
157
|
-
# @!
|
158
|
-
# # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual]
|
159
|
-
# attr_writer :individual
|
160
|
-
|
161
|
-
# @!attribute [r] nature_of_business
|
114
|
+
# @!attribute nature_of_business
|
162
115
|
# Only present when user_type == "BUSINESS". User-submitted description of the
|
163
116
|
# business.
|
164
117
|
#
|
165
118
|
# @return [String, nil]
|
166
119
|
optional :nature_of_business, String
|
167
120
|
|
168
|
-
# @!
|
169
|
-
# # @return [String]
|
170
|
-
# attr_writer :nature_of_business
|
171
|
-
|
172
|
-
# @!attribute [r] phone_number
|
121
|
+
# @!attribute phone_number
|
173
122
|
# < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
|
174
123
|
# individual.phone_number when user_type == "INDIVIDUAL".
|
175
124
|
#
|
@@ -178,22 +127,14 @@ module Lithic
|
|
178
127
|
# @return [String, nil]
|
179
128
|
optional :phone_number, String
|
180
129
|
|
181
|
-
# @!
|
182
|
-
# # @return [String]
|
183
|
-
# attr_writer :phone_number
|
184
|
-
|
185
|
-
# @!attribute [r] required_documents
|
130
|
+
# @!attribute required_documents
|
186
131
|
# Only present for "KYB_BASIC" and "KYC_ADVANCED" workflows. A list of documents
|
187
132
|
# required for the account holder to be approved.
|
188
133
|
#
|
189
134
|
# @return [Array<Lithic::Models::RequiredDocument>, nil]
|
190
135
|
optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::RequiredDocument] }
|
191
136
|
|
192
|
-
# @!
|
193
|
-
# # @return [Array<Lithic::Models::RequiredDocument>]
|
194
|
-
# attr_writer :required_documents
|
195
|
-
|
196
|
-
# @!attribute [r] status
|
137
|
+
# @!attribute status
|
197
138
|
# <Deprecated. Use verification_application.status instead>
|
198
139
|
#
|
199
140
|
# KYC and KYB evaluation states.
|
@@ -204,11 +145,7 @@ module Lithic
|
|
204
145
|
# @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status, nil]
|
205
146
|
optional :status, enum: -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status }
|
206
147
|
|
207
|
-
# @!
|
208
|
-
# # @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status]
|
209
|
-
# attr_writer :status
|
210
|
-
|
211
|
-
# @!attribute [r] status_reasons
|
148
|
+
# @!attribute status_reasons
|
212
149
|
# <Deprecated. Use verification_application.status_reasons> Reason for the
|
213
150
|
# evaluation status.
|
214
151
|
#
|
@@ -216,11 +153,7 @@ module Lithic
|
|
216
153
|
optional :status_reasons,
|
217
154
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason] }
|
218
155
|
|
219
|
-
# @!
|
220
|
-
# # @return [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason>]
|
221
|
-
# attr_writer :status_reasons
|
222
|
-
|
223
|
-
# @!attribute [r] user_type
|
156
|
+
# @!attribute user_type
|
224
157
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
225
158
|
# attribute will be present.
|
226
159
|
#
|
@@ -232,83 +165,43 @@ module Lithic
|
|
232
165
|
optional :user_type,
|
233
166
|
enum: -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType }
|
234
167
|
|
235
|
-
# @!
|
236
|
-
# # @return [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType]
|
237
|
-
# attr_writer :user_type
|
238
|
-
|
239
|
-
# @!attribute [r] verification_application
|
168
|
+
# @!attribute verification_application
|
240
169
|
# Information about the most recent identity verification attempt
|
241
170
|
#
|
242
171
|
# @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication, nil]
|
243
172
|
optional :verification_application,
|
244
173
|
-> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication }
|
245
174
|
|
246
|
-
# @!
|
247
|
-
# # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication]
|
248
|
-
# attr_writer :verification_application
|
249
|
-
|
250
|
-
# @!attribute [r] website_url
|
175
|
+
# @!attribute website_url
|
251
176
|
# Only present when user_type == "BUSINESS". Business's primary website.
|
252
177
|
#
|
253
178
|
# @return [String, nil]
|
254
179
|
optional :website_url, String
|
255
180
|
|
256
|
-
# @!
|
257
|
-
#
|
258
|
-
#
|
259
|
-
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
266
|
-
#
|
267
|
-
#
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
# # @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason>]
|
278
|
-
# # @param user_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType]
|
279
|
-
# # @param verification_application [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication]
|
280
|
-
# # @param website_url [String]
|
281
|
-
# #
|
282
|
-
# def initialize(
|
283
|
-
# token: nil,
|
284
|
-
# account_token: nil,
|
285
|
-
# beneficial_owner_entities: nil,
|
286
|
-
# beneficial_owner_individuals: nil,
|
287
|
-
# business_account_token: nil,
|
288
|
-
# business_entity: nil,
|
289
|
-
# control_person: nil,
|
290
|
-
# created: nil,
|
291
|
-
# email: nil,
|
292
|
-
# exemption_type: nil,
|
293
|
-
# external_id: nil,
|
294
|
-
# individual: nil,
|
295
|
-
# nature_of_business: nil,
|
296
|
-
# phone_number: nil,
|
297
|
-
# required_documents: nil,
|
298
|
-
# status: nil,
|
299
|
-
# status_reasons: nil,
|
300
|
-
# user_type: nil,
|
301
|
-
# verification_application: nil,
|
302
|
-
# website_url: nil,
|
303
|
-
# **
|
304
|
-
# )
|
305
|
-
# super
|
306
|
-
# end
|
307
|
-
|
308
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
181
|
+
# @!method initialize(token: nil, account_token: nil, beneficial_owner_entities: 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, nature_of_business: nil, phone_number: nil, required_documents: nil, status: nil, status_reasons: nil, user_type: nil, verification_application: nil, website_url: nil)
|
182
|
+
# @param token [String]
|
183
|
+
# @param account_token [String]
|
184
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::KYBBusinessEntity>]
|
185
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>]
|
186
|
+
# @param business_account_token [String]
|
187
|
+
# @param business_entity [Lithic::Models::KYBBusinessEntity]
|
188
|
+
# @param control_person [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson]
|
189
|
+
# @param created [Time]
|
190
|
+
# @param email [String]
|
191
|
+
# @param exemption_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType]
|
192
|
+
# @param external_id [String]
|
193
|
+
# @param individual [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual]
|
194
|
+
# @param nature_of_business [String]
|
195
|
+
# @param phone_number [String]
|
196
|
+
# @param required_documents [Array<Lithic::Models::RequiredDocument>]
|
197
|
+
# @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status]
|
198
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason>]
|
199
|
+
# @param user_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType]
|
200
|
+
# @param verification_application [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication]
|
201
|
+
# @param website_url [String]
|
309
202
|
|
310
203
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
311
|
-
# @!attribute
|
204
|
+
# @!attribute address
|
312
205
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
313
206
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
314
207
|
#
|
@@ -316,72 +209,44 @@ module Lithic
|
|
316
209
|
optional :address,
|
317
210
|
-> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address }
|
318
211
|
|
319
|
-
# @!
|
320
|
-
# # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address]
|
321
|
-
# attr_writer :address
|
322
|
-
|
323
|
-
# @!attribute [r] dob
|
212
|
+
# @!attribute dob
|
324
213
|
# Individual's date of birth, as an RFC 3339 date.
|
325
214
|
#
|
326
215
|
# @return [String, nil]
|
327
216
|
optional :dob, String
|
328
217
|
|
329
|
-
# @!
|
330
|
-
# # @return [String]
|
331
|
-
# attr_writer :dob
|
332
|
-
|
333
|
-
# @!attribute [r] email
|
218
|
+
# @!attribute email
|
334
219
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
335
220
|
# customer email address may be used to communicate dispute status and resolution.
|
336
221
|
#
|
337
222
|
# @return [String, nil]
|
338
223
|
optional :email, String
|
339
224
|
|
340
|
-
# @!
|
341
|
-
# # @return [String]
|
342
|
-
# attr_writer :email
|
343
|
-
|
344
|
-
# @!attribute [r] first_name
|
225
|
+
# @!attribute first_name
|
345
226
|
# Individual's first name, as it appears on government-issued identity documents.
|
346
227
|
#
|
347
228
|
# @return [String, nil]
|
348
229
|
optional :first_name, String
|
349
230
|
|
350
|
-
# @!
|
351
|
-
# # @return [String]
|
352
|
-
# attr_writer :first_name
|
353
|
-
|
354
|
-
# @!attribute [r] last_name
|
231
|
+
# @!attribute last_name
|
355
232
|
# Individual's last name, as it appears on government-issued identity documents.
|
356
233
|
#
|
357
234
|
# @return [String, nil]
|
358
235
|
optional :last_name, String
|
359
236
|
|
360
|
-
# @!
|
361
|
-
# # @return [String]
|
362
|
-
# attr_writer :last_name
|
363
|
-
|
364
|
-
# @!attribute [r] phone_number
|
237
|
+
# @!attribute phone_number
|
365
238
|
# Individual's phone number, entered in E.164 format.
|
366
239
|
#
|
367
240
|
# @return [String, nil]
|
368
241
|
optional :phone_number, String
|
369
242
|
|
370
|
-
# @!
|
371
|
-
#
|
372
|
-
#
|
373
|
-
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
# # @param email [String]
|
378
|
-
# # @param first_name [String]
|
379
|
-
# # @param last_name [String]
|
380
|
-
# # @param phone_number [String]
|
381
|
-
# #
|
382
|
-
# def initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil, **) = super
|
383
|
-
|
384
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
243
|
+
# @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
|
244
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address]
|
245
|
+
# @param dob [String]
|
246
|
+
# @param email [String]
|
247
|
+
# @param first_name [String]
|
248
|
+
# @param last_name [String]
|
249
|
+
# @param phone_number [String]
|
385
250
|
|
386
251
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual#address
|
387
252
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -418,36 +283,28 @@ module Lithic
|
|
418
283
|
# @return [String]
|
419
284
|
required :state, String
|
420
285
|
|
421
|
-
# @!attribute
|
286
|
+
# @!attribute address2
|
422
287
|
# Unit or apartment number (if applicable).
|
423
288
|
#
|
424
289
|
# @return [String, nil]
|
425
290
|
optional :address2, String
|
426
291
|
|
427
|
-
# @!
|
428
|
-
#
|
429
|
-
#
|
430
|
-
|
431
|
-
#
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
# # @param country [String]
|
438
|
-
# # @param postal_code [String]
|
439
|
-
# # @param state [String]
|
440
|
-
# # @param address2 [String]
|
441
|
-
# #
|
442
|
-
# def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
|
443
|
-
|
444
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
292
|
+
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
293
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
294
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
295
|
+
#
|
296
|
+
# @param address1 [String]
|
297
|
+
# @param city [String]
|
298
|
+
# @param country [String]
|
299
|
+
# @param postal_code [String]
|
300
|
+
# @param state [String]
|
301
|
+
# @param address2 [String]
|
445
302
|
end
|
446
303
|
end
|
447
304
|
|
448
305
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse#control_person
|
449
306
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
450
|
-
# @!attribute
|
307
|
+
# @!attribute address
|
451
308
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
452
309
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
453
310
|
#
|
@@ -455,84 +312,56 @@ module Lithic
|
|
455
312
|
optional :address,
|
456
313
|
-> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address }
|
457
314
|
|
458
|
-
# @!
|
459
|
-
# # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address]
|
460
|
-
# attr_writer :address
|
461
|
-
|
462
|
-
# @!attribute [r] dob
|
315
|
+
# @!attribute dob
|
463
316
|
# Individual's date of birth, as an RFC 3339 date.
|
464
317
|
#
|
465
318
|
# @return [String, nil]
|
466
319
|
optional :dob, String
|
467
320
|
|
468
|
-
# @!
|
469
|
-
# # @return [String]
|
470
|
-
# attr_writer :dob
|
471
|
-
|
472
|
-
# @!attribute [r] email
|
321
|
+
# @!attribute email
|
473
322
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
474
323
|
# customer email address may be used to communicate dispute status and resolution.
|
475
324
|
#
|
476
325
|
# @return [String, nil]
|
477
326
|
optional :email, String
|
478
327
|
|
479
|
-
# @!
|
480
|
-
# # @return [String]
|
481
|
-
# attr_writer :email
|
482
|
-
|
483
|
-
# @!attribute [r] first_name
|
328
|
+
# @!attribute first_name
|
484
329
|
# Individual's first name, as it appears on government-issued identity documents.
|
485
330
|
#
|
486
331
|
# @return [String, nil]
|
487
332
|
optional :first_name, String
|
488
333
|
|
489
|
-
# @!
|
490
|
-
# # @return [String]
|
491
|
-
# attr_writer :first_name
|
492
|
-
|
493
|
-
# @!attribute [r] last_name
|
334
|
+
# @!attribute last_name
|
494
335
|
# Individual's last name, as it appears on government-issued identity documents.
|
495
336
|
#
|
496
337
|
# @return [String, nil]
|
497
338
|
optional :last_name, String
|
498
339
|
|
499
|
-
# @!
|
500
|
-
# # @return [String]
|
501
|
-
# attr_writer :last_name
|
502
|
-
|
503
|
-
# @!attribute [r] phone_number
|
340
|
+
# @!attribute phone_number
|
504
341
|
# Individual's phone number, entered in E.164 format.
|
505
342
|
#
|
506
343
|
# @return [String, nil]
|
507
344
|
optional :phone_number, String
|
508
345
|
|
509
|
-
# @!
|
510
|
-
#
|
511
|
-
#
|
512
|
-
|
513
|
-
#
|
514
|
-
#
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
523
|
-
#
|
524
|
-
#
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
# # @param email [String]
|
529
|
-
# # @param first_name [String]
|
530
|
-
# # @param last_name [String]
|
531
|
-
# # @param phone_number [String]
|
532
|
-
# #
|
533
|
-
# def initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil, **) = super
|
534
|
-
|
535
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
346
|
+
# @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
|
347
|
+
# Only present when user_type == "BUSINESS".
|
348
|
+
#
|
349
|
+
# An individual with significant responsibility for managing the legal entity
|
350
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
351
|
+
# Officer,
|
352
|
+
#
|
353
|
+
# Managing Member, General Partner, President, Vice President, or Treasurer). This
|
354
|
+
# can be an executive, or someone who will have program-wide access
|
355
|
+
#
|
356
|
+
# to the cards that Lithic will provide. In some cases, this individual could also
|
357
|
+
# be a beneficial owner listed above.
|
358
|
+
#
|
359
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address]
|
360
|
+
# @param dob [String]
|
361
|
+
# @param email [String]
|
362
|
+
# @param first_name [String]
|
363
|
+
# @param last_name [String]
|
364
|
+
# @param phone_number [String]
|
536
365
|
|
537
366
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson#address
|
538
367
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -569,30 +398,22 @@ module Lithic
|
|
569
398
|
# @return [String]
|
570
399
|
required :state, String
|
571
400
|
|
572
|
-
# @!attribute
|
401
|
+
# @!attribute address2
|
573
402
|
# Unit or apartment number (if applicable).
|
574
403
|
#
|
575
404
|
# @return [String, nil]
|
576
405
|
optional :address2, String
|
577
406
|
|
578
|
-
# @!
|
579
|
-
#
|
580
|
-
#
|
581
|
-
|
582
|
-
#
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
586
|
-
#
|
587
|
-
#
|
588
|
-
# # @param country [String]
|
589
|
-
# # @param postal_code [String]
|
590
|
-
# # @param state [String]
|
591
|
-
# # @param address2 [String]
|
592
|
-
# #
|
593
|
-
# def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
|
594
|
-
|
595
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
407
|
+
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
408
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
409
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
410
|
+
#
|
411
|
+
# @param address1 [String]
|
412
|
+
# @param city [String]
|
413
|
+
# @param country [String]
|
414
|
+
# @param postal_code [String]
|
415
|
+
# @param state [String]
|
416
|
+
# @param address2 [String]
|
596
417
|
end
|
597
418
|
end
|
598
419
|
|
@@ -606,16 +427,13 @@ module Lithic
|
|
606
427
|
AUTHORIZED_USER = :AUTHORIZED_USER
|
607
428
|
PREPAID_CARD_USER = :PREPAID_CARD_USER
|
608
429
|
|
609
|
-
|
610
|
-
|
611
|
-
# @!parse
|
612
|
-
# # @return [Array<Symbol>]
|
613
|
-
# def self.values; end
|
430
|
+
# @!method self.values
|
431
|
+
# @return [Array<Symbol>]
|
614
432
|
end
|
615
433
|
|
616
434
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse#individual
|
617
435
|
class Individual < Lithic::Internal::Type::BaseModel
|
618
|
-
# @!attribute
|
436
|
+
# @!attribute address
|
619
437
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
620
438
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
621
439
|
#
|
@@ -623,75 +441,47 @@ module Lithic
|
|
623
441
|
optional :address,
|
624
442
|
-> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address }
|
625
443
|
|
626
|
-
# @!
|
627
|
-
# # @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address]
|
628
|
-
# attr_writer :address
|
629
|
-
|
630
|
-
# @!attribute [r] dob
|
444
|
+
# @!attribute dob
|
631
445
|
# Individual's date of birth, as an RFC 3339 date.
|
632
446
|
#
|
633
447
|
# @return [String, nil]
|
634
448
|
optional :dob, String
|
635
449
|
|
636
|
-
# @!
|
637
|
-
# # @return [String]
|
638
|
-
# attr_writer :dob
|
639
|
-
|
640
|
-
# @!attribute [r] email
|
450
|
+
# @!attribute email
|
641
451
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
642
452
|
# customer email address may be used to communicate dispute status and resolution.
|
643
453
|
#
|
644
454
|
# @return [String, nil]
|
645
455
|
optional :email, String
|
646
456
|
|
647
|
-
# @!
|
648
|
-
# # @return [String]
|
649
|
-
# attr_writer :email
|
650
|
-
|
651
|
-
# @!attribute [r] first_name
|
457
|
+
# @!attribute first_name
|
652
458
|
# Individual's first name, as it appears on government-issued identity documents.
|
653
459
|
#
|
654
460
|
# @return [String, nil]
|
655
461
|
optional :first_name, String
|
656
462
|
|
657
|
-
# @!
|
658
|
-
# # @return [String]
|
659
|
-
# attr_writer :first_name
|
660
|
-
|
661
|
-
# @!attribute [r] last_name
|
463
|
+
# @!attribute last_name
|
662
464
|
# Individual's last name, as it appears on government-issued identity documents.
|
663
465
|
#
|
664
466
|
# @return [String, nil]
|
665
467
|
optional :last_name, String
|
666
468
|
|
667
|
-
# @!
|
668
|
-
# # @return [String]
|
669
|
-
# attr_writer :last_name
|
670
|
-
|
671
|
-
# @!attribute [r] phone_number
|
469
|
+
# @!attribute phone_number
|
672
470
|
# Individual's phone number, entered in E.164 format.
|
673
471
|
#
|
674
472
|
# @return [String, nil]
|
675
473
|
optional :phone_number, String
|
676
474
|
|
677
|
-
# @!
|
678
|
-
#
|
679
|
-
#
|
680
|
-
|
681
|
-
#
|
682
|
-
#
|
683
|
-
#
|
684
|
-
#
|
685
|
-
#
|
686
|
-
#
|
687
|
-
# # @param email [String]
|
688
|
-
# # @param first_name [String]
|
689
|
-
# # @param last_name [String]
|
690
|
-
# # @param phone_number [String]
|
691
|
-
# #
|
692
|
-
# def initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil, **) = super
|
693
|
-
|
694
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
475
|
+
# @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
|
476
|
+
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
477
|
+
# for which the account is being opened and KYC is being run.
|
478
|
+
#
|
479
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address]
|
480
|
+
# @param dob [String]
|
481
|
+
# @param email [String]
|
482
|
+
# @param first_name [String]
|
483
|
+
# @param last_name [String]
|
484
|
+
# @param phone_number [String]
|
695
485
|
|
696
486
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual#address
|
697
487
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -728,30 +518,22 @@ module Lithic
|
|
728
518
|
# @return [String]
|
729
519
|
required :state, String
|
730
520
|
|
731
|
-
# @!attribute
|
521
|
+
# @!attribute address2
|
732
522
|
# Unit or apartment number (if applicable).
|
733
523
|
#
|
734
524
|
# @return [String, nil]
|
735
525
|
optional :address2, String
|
736
526
|
|
737
|
-
# @!
|
738
|
-
#
|
739
|
-
#
|
740
|
-
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
# # @param country [String]
|
748
|
-
# # @param postal_code [String]
|
749
|
-
# # @param state [String]
|
750
|
-
# # @param address2 [String]
|
751
|
-
# #
|
752
|
-
# def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
|
753
|
-
|
754
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
527
|
+
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
528
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
529
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
530
|
+
#
|
531
|
+
# @param address1 [String]
|
532
|
+
# @param city [String]
|
533
|
+
# @param country [String]
|
534
|
+
# @param postal_code [String]
|
535
|
+
# @param state [String]
|
536
|
+
# @param address2 [String]
|
755
537
|
end
|
756
538
|
end
|
757
539
|
|
@@ -771,11 +553,8 @@ module Lithic
|
|
771
553
|
PENDING_RESUBMIT = :PENDING_RESUBMIT
|
772
554
|
REJECTED = :REJECTED
|
773
555
|
|
774
|
-
|
775
|
-
|
776
|
-
# @!parse
|
777
|
-
# # @return [Array<Symbol>]
|
778
|
-
# def self.values; end
|
556
|
+
# @!method self.values
|
557
|
+
# @return [Array<Symbol>]
|
779
558
|
end
|
780
559
|
|
781
560
|
# Status Reasons for KYC/KYB enrollment states
|
@@ -809,11 +588,8 @@ module Lithic
|
|
809
588
|
CONTROL_PERSON_DOB_VERIFICATION_FAILURE = :CONTROL_PERSON_DOB_VERIFICATION_FAILURE
|
810
589
|
CONTROL_PERSON_NAME_VERIFICATION_FAILURE = :CONTROL_PERSON_NAME_VERIFICATION_FAILURE
|
811
590
|
|
812
|
-
|
813
|
-
|
814
|
-
# @!parse
|
815
|
-
# # @return [Array<Symbol>]
|
816
|
-
# def self.values; end
|
591
|
+
# @!method self.values
|
592
|
+
# @return [Array<Symbol>]
|
817
593
|
end
|
818
594
|
|
819
595
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
@@ -830,11 +606,8 @@ module Lithic
|
|
830
606
|
BUSINESS = :BUSINESS
|
831
607
|
INDIVIDUAL = :INDIVIDUAL
|
832
608
|
|
833
|
-
|
834
|
-
|
835
|
-
# @!parse
|
836
|
-
# # @return [Array<Symbol>]
|
837
|
-
# def self.values; end
|
609
|
+
# @!method self.values
|
610
|
+
# @return [Array<Symbol>]
|
838
611
|
end
|
839
612
|
|
840
613
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse#verification_application
|
@@ -872,17 +645,13 @@ module Lithic
|
|
872
645
|
# @return [Time]
|
873
646
|
required :updated, Time
|
874
647
|
|
875
|
-
# @!
|
876
|
-
#
|
877
|
-
#
|
878
|
-
#
|
879
|
-
#
|
880
|
-
#
|
881
|
-
#
|
882
|
-
# #
|
883
|
-
# def initialize(created:, status:, status_reasons:, updated:, **) = super
|
884
|
-
|
885
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
648
|
+
# @!method initialize(created:, status:, status_reasons:, updated:)
|
649
|
+
# Information about the most recent identity verification attempt
|
650
|
+
#
|
651
|
+
# @param created [Time]
|
652
|
+
# @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::Status]
|
653
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::StatusReason>]
|
654
|
+
# @param updated [Time]
|
886
655
|
|
887
656
|
# KYC and KYB evaluation states.
|
888
657
|
#
|
@@ -898,11 +667,8 @@ module Lithic
|
|
898
667
|
PENDING_RESUBMIT = :PENDING_RESUBMIT
|
899
668
|
REJECTED = :REJECTED
|
900
669
|
|
901
|
-
|
902
|
-
|
903
|
-
# @!parse
|
904
|
-
# # @return [Array<Symbol>]
|
905
|
-
# def self.values; end
|
670
|
+
# @!method self.values
|
671
|
+
# @return [Array<Symbol>]
|
906
672
|
end
|
907
673
|
|
908
674
|
# Status Reasons for KYC/KYB enrollment states
|
@@ -936,121 +702,70 @@ module Lithic
|
|
936
702
|
CONTROL_PERSON_DOB_VERIFICATION_FAILURE = :CONTROL_PERSON_DOB_VERIFICATION_FAILURE
|
937
703
|
CONTROL_PERSON_NAME_VERIFICATION_FAILURE = :CONTROL_PERSON_NAME_VERIFICATION_FAILURE
|
938
704
|
|
939
|
-
|
940
|
-
|
941
|
-
# @!parse
|
942
|
-
# # @return [Array<Symbol>]
|
943
|
-
# def self.values; end
|
705
|
+
# @!method self.values
|
706
|
+
# @return [Array<Symbol>]
|
944
707
|
end
|
945
708
|
end
|
946
709
|
end
|
947
710
|
|
948
711
|
class PatchResponse < Lithic::Internal::Type::BaseModel
|
949
|
-
# @!attribute
|
712
|
+
# @!attribute token
|
950
713
|
# The token for the account holder that was updated
|
951
714
|
#
|
952
715
|
# @return [String, nil]
|
953
716
|
optional :token, String
|
954
717
|
|
955
|
-
# @!
|
956
|
-
# # @return [String]
|
957
|
-
# attr_writer :token
|
958
|
-
|
959
|
-
# @!attribute [r] address
|
718
|
+
# @!attribute address
|
960
719
|
# The address for the account holder
|
961
720
|
#
|
962
721
|
# @return [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address, nil]
|
963
722
|
optional :address, -> { Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address }
|
964
723
|
|
965
|
-
# @!
|
966
|
-
# # @return [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address]
|
967
|
-
# attr_writer :address
|
968
|
-
|
969
|
-
# @!attribute [r] business_account_token
|
724
|
+
# @!attribute business_account_token
|
970
725
|
# The token for the business account that the account holder is associated with
|
971
726
|
#
|
972
727
|
# @return [String, nil]
|
973
728
|
optional :business_account_token, String
|
974
729
|
|
975
|
-
# @!
|
976
|
-
# # @return [String]
|
977
|
-
# attr_writer :business_account_token
|
978
|
-
|
979
|
-
# @!attribute [r] email
|
730
|
+
# @!attribute email
|
980
731
|
# The email for the account holder
|
981
732
|
#
|
982
733
|
# @return [String, nil]
|
983
734
|
optional :email, String
|
984
735
|
|
985
|
-
# @!
|
986
|
-
# # @return [String]
|
987
|
-
# attr_writer :email
|
988
|
-
|
989
|
-
# @!attribute [r] first_name
|
736
|
+
# @!attribute first_name
|
990
737
|
# The first name for the account holder
|
991
738
|
#
|
992
739
|
# @return [String, nil]
|
993
740
|
optional :first_name, String
|
994
741
|
|
995
|
-
# @!
|
996
|
-
# # @return [String]
|
997
|
-
# attr_writer :first_name
|
998
|
-
|
999
|
-
# @!attribute [r] last_name
|
742
|
+
# @!attribute last_name
|
1000
743
|
# The last name for the account holder
|
1001
744
|
#
|
1002
745
|
# @return [String, nil]
|
1003
746
|
optional :last_name, String
|
1004
747
|
|
1005
|
-
# @!
|
1006
|
-
# # @return [String]
|
1007
|
-
# attr_writer :last_name
|
1008
|
-
|
1009
|
-
# @!attribute [r] legal_business_name
|
748
|
+
# @!attribute legal_business_name
|
1010
749
|
# The legal business name for the account holder
|
1011
750
|
#
|
1012
751
|
# @return [String, nil]
|
1013
752
|
optional :legal_business_name, String
|
1014
753
|
|
1015
|
-
# @!
|
1016
|
-
# # @return [String]
|
1017
|
-
# attr_writer :legal_business_name
|
1018
|
-
|
1019
|
-
# @!attribute [r] phone_number
|
754
|
+
# @!attribute phone_number
|
1020
755
|
# The phone_number for the account holder
|
1021
756
|
#
|
1022
757
|
# @return [String, nil]
|
1023
758
|
optional :phone_number, String
|
1024
759
|
|
1025
|
-
# @!
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
|
1029
|
-
#
|
1030
|
-
#
|
1031
|
-
#
|
1032
|
-
#
|
1033
|
-
#
|
1034
|
-
# # @param first_name [String]
|
1035
|
-
# # @param last_name [String]
|
1036
|
-
# # @param legal_business_name [String]
|
1037
|
-
# # @param phone_number [String]
|
1038
|
-
# #
|
1039
|
-
# def initialize(
|
1040
|
-
# token: nil,
|
1041
|
-
# address: nil,
|
1042
|
-
# business_account_token: nil,
|
1043
|
-
# email: nil,
|
1044
|
-
# first_name: nil,
|
1045
|
-
# last_name: nil,
|
1046
|
-
# legal_business_name: nil,
|
1047
|
-
# phone_number: nil,
|
1048
|
-
# **
|
1049
|
-
# )
|
1050
|
-
# super
|
1051
|
-
# end
|
1052
|
-
|
1053
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
760
|
+
# @!method initialize(token: nil, address: nil, business_account_token: nil, email: nil, first_name: nil, last_name: nil, legal_business_name: nil, phone_number: nil)
|
761
|
+
# @param token [String]
|
762
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address]
|
763
|
+
# @param business_account_token [String]
|
764
|
+
# @param email [String]
|
765
|
+
# @param first_name [String]
|
766
|
+
# @param last_name [String]
|
767
|
+
# @param legal_business_name [String]
|
768
|
+
# @param phone_number [String]
|
1054
769
|
|
1055
770
|
# @see Lithic::Models::AccountHolderUpdateResponse::PatchResponse#address
|
1056
771
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -1087,35 +802,26 @@ module Lithic
|
|
1087
802
|
# @return [String]
|
1088
803
|
required :state, String
|
1089
804
|
|
1090
|
-
# @!attribute
|
805
|
+
# @!attribute address2
|
1091
806
|
# Unit or apartment number (if applicable).
|
1092
807
|
#
|
1093
808
|
# @return [String, nil]
|
1094
809
|
optional :address2, String
|
1095
810
|
|
1096
|
-
# @!
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
#
|
1104
|
-
#
|
1105
|
-
# # @param country [String]
|
1106
|
-
# # @param postal_code [String]
|
1107
|
-
# # @param state [String]
|
1108
|
-
# # @param address2 [String]
|
1109
|
-
# #
|
1110
|
-
# def initialize(address1:, city:, country:, postal_code:, state:, address2: nil, **) = super
|
1111
|
-
|
1112
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
811
|
+
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
812
|
+
# The address for the account holder
|
813
|
+
#
|
814
|
+
# @param address1 [String]
|
815
|
+
# @param city [String]
|
816
|
+
# @param country [String]
|
817
|
+
# @param postal_code [String]
|
818
|
+
# @param state [String]
|
819
|
+
# @param address2 [String]
|
1113
820
|
end
|
1114
821
|
end
|
1115
822
|
|
1116
|
-
# @!
|
1117
|
-
#
|
1118
|
-
# def self.variants; end
|
823
|
+
# @!method self.variants
|
824
|
+
# @return [Array(Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse, Lithic::Models::AccountHolderUpdateResponse::PatchResponse)]
|
1119
825
|
end
|
1120
826
|
end
|
1121
827
|
end
|