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
@@ -16,31 +16,24 @@ module Lithic
|
|
16
16
|
# @return [Time]
|
17
17
|
required :created, Time
|
18
18
|
|
19
|
-
# @!attribute
|
19
|
+
# @!attribute account_token
|
20
20
|
# Globally unique identifier for the account.
|
21
21
|
#
|
22
22
|
# @return [String, nil]
|
23
23
|
optional :account_token, String
|
24
24
|
|
25
|
-
# @!
|
26
|
-
# # @return [String]
|
27
|
-
# attr_writer :account_token
|
28
|
-
|
29
|
-
# @!attribute [r] beneficial_owner_entities
|
25
|
+
# @!attribute beneficial_owner_entities
|
30
26
|
# Deprecated.
|
31
27
|
#
|
32
28
|
# @return [Array<Lithic::Models::AccountHolder::BeneficialOwnerEntity>, nil]
|
33
29
|
optional :beneficial_owner_entities,
|
34
30
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolder::BeneficialOwnerEntity] }
|
35
31
|
|
36
|
-
# @!
|
37
|
-
#
|
38
|
-
#
|
39
|
-
|
40
|
-
#
|
41
|
-
# Only present when user_type == "BUSINESS". List of all direct and indirect
|
42
|
-
# individuals with 25% or more ownership in the company. If no individual owns 25%
|
43
|
-
# of the company, please identify the largest shareholder in this field. See
|
32
|
+
# @!attribute beneficial_owner_individuals
|
33
|
+
# Only present when user_type == "BUSINESS". You must submit a list of all direct
|
34
|
+
# and indirect individuals with 25% or more ownership in the company. A maximum of
|
35
|
+
# 4 beneficial owners can be submitted. If no individual owns 25% of the company
|
36
|
+
# you do not need to send beneficial owner information. See
|
44
37
|
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
45
38
|
# (Section I) for more background on individuals that should be included.
|
46
39
|
#
|
@@ -48,11 +41,7 @@ module Lithic
|
|
48
41
|
optional :beneficial_owner_individuals,
|
49
42
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolder::BeneficialOwnerIndividual] }
|
50
43
|
|
51
|
-
# @!
|
52
|
-
# # @return [Array<Lithic::Models::AccountHolder::BeneficialOwnerIndividual>]
|
53
|
-
# attr_writer :beneficial_owner_individuals
|
54
|
-
|
55
|
-
# @!attribute [r] business_account_token
|
44
|
+
# @!attribute business_account_token
|
56
45
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
57
46
|
# users of businesses. Pass the account_token of the enrolled business associated
|
58
47
|
# with the AUTHORIZED_USER in this field.
|
@@ -60,22 +49,14 @@ module Lithic
|
|
60
49
|
# @return [String, nil]
|
61
50
|
optional :business_account_token, String
|
62
51
|
|
63
|
-
# @!
|
64
|
-
# # @return [String]
|
65
|
-
# attr_writer :business_account_token
|
66
|
-
|
67
|
-
# @!attribute [r] business_entity
|
52
|
+
# @!attribute business_entity
|
68
53
|
# Only present when user_type == "BUSINESS". Information about the business for
|
69
54
|
# which the account is being opened and KYB is being run.
|
70
55
|
#
|
71
56
|
# @return [Lithic::Models::AccountHolder::BusinessEntity, nil]
|
72
57
|
optional :business_entity, -> { Lithic::Models::AccountHolder::BusinessEntity }
|
73
58
|
|
74
|
-
# @!
|
75
|
-
# # @return [Lithic::Models::AccountHolder::BusinessEntity]
|
76
|
-
# attr_writer :business_entity
|
77
|
-
|
78
|
-
# @!attribute [r] control_person
|
59
|
+
# @!attribute control_person
|
79
60
|
# Only present when user_type == "BUSINESS". An individual with significant
|
80
61
|
# responsibility for managing the legal entity (e.g., a Chief Executive Officer,
|
81
62
|
# Chief Financial Officer, Chief Operating Officer, Managing Member, General
|
@@ -86,11 +67,7 @@ module Lithic
|
|
86
67
|
# @return [Lithic::Models::AccountHolder::ControlPerson, nil]
|
87
68
|
optional :control_person, -> { Lithic::Models::AccountHolder::ControlPerson }
|
88
69
|
|
89
|
-
# @!
|
90
|
-
# # @return [Lithic::Models::AccountHolder::ControlPerson]
|
91
|
-
# attr_writer :control_person
|
92
|
-
|
93
|
-
# @!attribute [r] email
|
70
|
+
# @!attribute email
|
94
71
|
# < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
|
95
72
|
# individual.phone_number when user_type == "INDIVIDUAL".
|
96
73
|
#
|
@@ -99,54 +76,34 @@ module Lithic
|
|
99
76
|
# @return [String, nil]
|
100
77
|
optional :email, String
|
101
78
|
|
102
|
-
# @!
|
103
|
-
# # @return [String]
|
104
|
-
# attr_writer :email
|
105
|
-
|
106
|
-
# @!attribute [r] exemption_type
|
79
|
+
# @!attribute exemption_type
|
107
80
|
# The type of KYC exemption for a KYC-Exempt Account Holder.
|
108
81
|
#
|
109
82
|
# @return [Symbol, Lithic::Models::AccountHolder::ExemptionType, nil]
|
110
83
|
optional :exemption_type, enum: -> { Lithic::Models::AccountHolder::ExemptionType }
|
111
84
|
|
112
|
-
# @!
|
113
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::ExemptionType]
|
114
|
-
# attr_writer :exemption_type
|
115
|
-
|
116
|
-
# @!attribute [r] external_id
|
85
|
+
# @!attribute external_id
|
117
86
|
# Customer-provided token that indicates a relationship with an object outside of
|
118
87
|
# the Lithic ecosystem.
|
119
88
|
#
|
120
89
|
# @return [String, nil]
|
121
90
|
optional :external_id, String
|
122
91
|
|
123
|
-
# @!
|
124
|
-
# # @return [String]
|
125
|
-
# attr_writer :external_id
|
126
|
-
|
127
|
-
# @!attribute [r] individual
|
92
|
+
# @!attribute individual
|
128
93
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
129
94
|
# for which the account is being opened and KYC is being run.
|
130
95
|
#
|
131
96
|
# @return [Lithic::Models::AccountHolder::Individual, nil]
|
132
97
|
optional :individual, -> { Lithic::Models::AccountHolder::Individual }
|
133
98
|
|
134
|
-
# @!
|
135
|
-
# # @return [Lithic::Models::AccountHolder::Individual]
|
136
|
-
# attr_writer :individual
|
137
|
-
|
138
|
-
# @!attribute [r] nature_of_business
|
99
|
+
# @!attribute nature_of_business
|
139
100
|
# Only present when user_type == "BUSINESS". User-submitted description of the
|
140
101
|
# business.
|
141
102
|
#
|
142
103
|
# @return [String, nil]
|
143
104
|
optional :nature_of_business, String
|
144
105
|
|
145
|
-
# @!
|
146
|
-
# # @return [String]
|
147
|
-
# attr_writer :nature_of_business
|
148
|
-
|
149
|
-
# @!attribute [r] phone_number
|
106
|
+
# @!attribute phone_number
|
150
107
|
# < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
|
151
108
|
# individual.phone_number when user_type == "INDIVIDUAL".
|
152
109
|
#
|
@@ -155,22 +112,14 @@ module Lithic
|
|
155
112
|
# @return [String, nil]
|
156
113
|
optional :phone_number, String
|
157
114
|
|
158
|
-
# @!
|
159
|
-
# # @return [String]
|
160
|
-
# attr_writer :phone_number
|
161
|
-
|
162
|
-
# @!attribute [r] required_documents
|
115
|
+
# @!attribute required_documents
|
163
116
|
# Only present for "KYB_BASIC" workflow. A list of documents required for the
|
164
117
|
# account holder to be approved.
|
165
118
|
#
|
166
119
|
# @return [Array<Lithic::Models::RequiredDocument>, nil]
|
167
120
|
optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::RequiredDocument] }
|
168
121
|
|
169
|
-
# @!
|
170
|
-
# # @return [Array<Lithic::Models::RequiredDocument>]
|
171
|
-
# attr_writer :required_documents
|
172
|
-
|
173
|
-
# @!attribute [r] status
|
122
|
+
# @!attribute status
|
174
123
|
# <Deprecated. Use verification_application.status instead>
|
175
124
|
#
|
176
125
|
# KYC and KYB evaluation states.
|
@@ -182,11 +131,7 @@ module Lithic
|
|
182
131
|
# @return [Symbol, Lithic::Models::AccountHolder::Status, nil]
|
183
132
|
optional :status, enum: -> { Lithic::Models::AccountHolder::Status }
|
184
133
|
|
185
|
-
# @!
|
186
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::Status]
|
187
|
-
# attr_writer :status
|
188
|
-
|
189
|
-
# @!attribute [r] status_reasons
|
134
|
+
# @!attribute status_reasons
|
190
135
|
# <Deprecated. Use verification_application.status_reasons> Reason for the
|
191
136
|
# evaluation status.
|
192
137
|
#
|
@@ -194,11 +139,7 @@ module Lithic
|
|
194
139
|
optional :status_reasons,
|
195
140
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::AccountHolder::StatusReason] }
|
196
141
|
|
197
|
-
# @!
|
198
|
-
# # @return [Array<Symbol, Lithic::Models::AccountHolder::StatusReason>]
|
199
|
-
# attr_writer :status_reasons
|
200
|
-
|
201
|
-
# @!attribute [r] user_type
|
142
|
+
# @!attribute user_type
|
202
143
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
203
144
|
# attribute will be present. If the type is "BUSINESS" then the "business_entity",
|
204
145
|
# "control_person", "beneficial_owner_individuals", "nature_of_business", and
|
@@ -207,79 +148,39 @@ module Lithic
|
|
207
148
|
# @return [Symbol, Lithic::Models::AccountHolder::UserType, nil]
|
208
149
|
optional :user_type, enum: -> { Lithic::Models::AccountHolder::UserType }
|
209
150
|
|
210
|
-
# @!
|
211
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::UserType]
|
212
|
-
# attr_writer :user_type
|
213
|
-
|
214
|
-
# @!attribute [r] verification_application
|
151
|
+
# @!attribute verification_application
|
215
152
|
# Information about the most recent identity verification attempt
|
216
153
|
#
|
217
154
|
# @return [Lithic::Models::AccountHolder::VerificationApplication, nil]
|
218
155
|
optional :verification_application, -> { Lithic::Models::AccountHolder::VerificationApplication }
|
219
156
|
|
220
|
-
# @!
|
221
|
-
# # @return [Lithic::Models::AccountHolder::VerificationApplication]
|
222
|
-
# attr_writer :verification_application
|
223
|
-
|
224
|
-
# @!attribute [r] website_url
|
157
|
+
# @!attribute website_url
|
225
158
|
# Only present when user_type == "BUSINESS". Business's primary website.
|
226
159
|
#
|
227
160
|
# @return [String, nil]
|
228
161
|
optional :website_url, String
|
229
162
|
|
230
|
-
# @!
|
231
|
-
#
|
232
|
-
#
|
233
|
-
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
# # @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::StatusReason>]
|
252
|
-
# # @param user_type [Symbol, Lithic::Models::AccountHolder::UserType]
|
253
|
-
# # @param verification_application [Lithic::Models::AccountHolder::VerificationApplication]
|
254
|
-
# # @param website_url [String]
|
255
|
-
# #
|
256
|
-
# def initialize(
|
257
|
-
# token:,
|
258
|
-
# created:,
|
259
|
-
# account_token: nil,
|
260
|
-
# beneficial_owner_entities: nil,
|
261
|
-
# beneficial_owner_individuals: nil,
|
262
|
-
# business_account_token: nil,
|
263
|
-
# business_entity: nil,
|
264
|
-
# control_person: nil,
|
265
|
-
# email: nil,
|
266
|
-
# exemption_type: nil,
|
267
|
-
# external_id: nil,
|
268
|
-
# individual: nil,
|
269
|
-
# nature_of_business: nil,
|
270
|
-
# phone_number: nil,
|
271
|
-
# required_documents: nil,
|
272
|
-
# status: nil,
|
273
|
-
# status_reasons: nil,
|
274
|
-
# user_type: nil,
|
275
|
-
# verification_application: nil,
|
276
|
-
# website_url: nil,
|
277
|
-
# **
|
278
|
-
# )
|
279
|
-
# super
|
280
|
-
# end
|
281
|
-
|
282
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
163
|
+
# @!method initialize(token:, created:, account_token: nil, beneficial_owner_entities: nil, beneficial_owner_individuals: nil, business_account_token: nil, business_entity: nil, control_person: 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)
|
164
|
+
# @param token [String]
|
165
|
+
# @param created [Time]
|
166
|
+
# @param account_token [String]
|
167
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::AccountHolder::BeneficialOwnerEntity>]
|
168
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolder::BeneficialOwnerIndividual>]
|
169
|
+
# @param business_account_token [String]
|
170
|
+
# @param business_entity [Lithic::Models::AccountHolder::BusinessEntity]
|
171
|
+
# @param control_person [Lithic::Models::AccountHolder::ControlPerson]
|
172
|
+
# @param email [String]
|
173
|
+
# @param exemption_type [Symbol, Lithic::Models::AccountHolder::ExemptionType]
|
174
|
+
# @param external_id [String]
|
175
|
+
# @param individual [Lithic::Models::AccountHolder::Individual]
|
176
|
+
# @param nature_of_business [String]
|
177
|
+
# @param phone_number [String]
|
178
|
+
# @param required_documents [Array<Lithic::Models::RequiredDocument>]
|
179
|
+
# @param status [Symbol, Lithic::Models::AccountHolder::Status]
|
180
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::StatusReason>]
|
181
|
+
# @param user_type [Symbol, Lithic::Models::AccountHolder::UserType]
|
182
|
+
# @param verification_application [Lithic::Models::AccountHolder::VerificationApplication]
|
183
|
+
# @param website_url [String]
|
283
184
|
|
284
185
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
285
186
|
# @!attribute address
|
@@ -323,39 +224,20 @@ module Lithic
|
|
323
224
|
# @return [Array<String>]
|
324
225
|
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
325
226
|
|
326
|
-
# @!attribute
|
227
|
+
# @!attribute parent_company
|
327
228
|
# Parent company name (if applicable).
|
328
229
|
#
|
329
230
|
# @return [String, nil]
|
330
231
|
optional :parent_company, String
|
331
232
|
|
332
|
-
# @!
|
333
|
-
#
|
334
|
-
#
|
335
|
-
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
339
|
-
#
|
340
|
-
# # @param government_id [String]
|
341
|
-
# # @param legal_business_name [String]
|
342
|
-
# # @param phone_numbers [Array<String>]
|
343
|
-
# # @param parent_company [String]
|
344
|
-
# #
|
345
|
-
# def initialize(
|
346
|
-
# address:,
|
347
|
-
# dba_business_name:,
|
348
|
-
# entity_token:,
|
349
|
-
# government_id:,
|
350
|
-
# legal_business_name:,
|
351
|
-
# phone_numbers:,
|
352
|
-
# parent_company: nil,
|
353
|
-
# **
|
354
|
-
# )
|
355
|
-
# super
|
356
|
-
# end
|
357
|
-
|
358
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
233
|
+
# @!method initialize(address:, dba_business_name:, entity_token:, government_id:, legal_business_name:, phone_numbers:, parent_company: nil)
|
234
|
+
# @param address [Lithic::Models::Address]
|
235
|
+
# @param dba_business_name [String]
|
236
|
+
# @param entity_token [String]
|
237
|
+
# @param government_id [String]
|
238
|
+
# @param legal_business_name [String]
|
239
|
+
# @param phone_numbers [Array<String>]
|
240
|
+
# @param parent_company [String]
|
359
241
|
end
|
360
242
|
|
361
243
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
@@ -401,22 +283,18 @@ module Lithic
|
|
401
283
|
# @return [String]
|
402
284
|
required :phone_number, String
|
403
285
|
|
404
|
-
# @!
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
# #
|
417
|
-
# def initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:, **) = super
|
418
|
-
|
419
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
286
|
+
# @!method initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:)
|
287
|
+
# Information about an individual associated with an account holder. A subset of
|
288
|
+
# the information provided via KYC. For example, we do not return the government
|
289
|
+
# id.
|
290
|
+
#
|
291
|
+
# @param address [Lithic::Models::Address]
|
292
|
+
# @param dob [String]
|
293
|
+
# @param email [String]
|
294
|
+
# @param entity_token [String]
|
295
|
+
# @param first_name [String]
|
296
|
+
# @param last_name [String]
|
297
|
+
# @param phone_number [String]
|
420
298
|
end
|
421
299
|
|
422
300
|
# @see Lithic::Models::AccountHolder#business_entity
|
@@ -462,42 +340,23 @@ module Lithic
|
|
462
340
|
# @return [Array<String>]
|
463
341
|
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
464
342
|
|
465
|
-
# @!attribute
|
343
|
+
# @!attribute parent_company
|
466
344
|
# Parent company name (if applicable).
|
467
345
|
#
|
468
346
|
# @return [String, nil]
|
469
347
|
optional :parent_company, String
|
470
348
|
|
471
|
-
# @!
|
472
|
-
#
|
473
|
-
#
|
474
|
-
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
482
|
-
# # @param government_id [String]
|
483
|
-
# # @param legal_business_name [String]
|
484
|
-
# # @param phone_numbers [Array<String>]
|
485
|
-
# # @param parent_company [String]
|
486
|
-
# #
|
487
|
-
# def initialize(
|
488
|
-
# address:,
|
489
|
-
# dba_business_name:,
|
490
|
-
# entity_token:,
|
491
|
-
# government_id:,
|
492
|
-
# legal_business_name:,
|
493
|
-
# phone_numbers:,
|
494
|
-
# parent_company: nil,
|
495
|
-
# **
|
496
|
-
# )
|
497
|
-
# super
|
498
|
-
# end
|
499
|
-
|
500
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
349
|
+
# @!method initialize(address:, dba_business_name:, entity_token:, government_id:, legal_business_name:, phone_numbers:, parent_company: nil)
|
350
|
+
# Only present when user_type == "BUSINESS". Information about the business for
|
351
|
+
# which the account is being opened and KYB is being run.
|
352
|
+
#
|
353
|
+
# @param address [Lithic::Models::Address]
|
354
|
+
# @param dba_business_name [String]
|
355
|
+
# @param entity_token [String]
|
356
|
+
# @param government_id [String]
|
357
|
+
# @param legal_business_name [String]
|
358
|
+
# @param phone_numbers [Array<String>]
|
359
|
+
# @param parent_company [String]
|
501
360
|
end
|
502
361
|
|
503
362
|
# @see Lithic::Models::AccountHolder#control_person
|
@@ -544,25 +403,21 @@ module Lithic
|
|
544
403
|
# @return [String]
|
545
404
|
required :phone_number, String
|
546
405
|
|
547
|
-
# @!
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
554
|
-
#
|
555
|
-
#
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
# #
|
563
|
-
# def initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:, **) = super
|
564
|
-
|
565
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
406
|
+
# @!method initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:)
|
407
|
+
# Only present when user_type == "BUSINESS". An individual with significant
|
408
|
+
# responsibility for managing the legal entity (e.g., a Chief Executive Officer,
|
409
|
+
# Chief Financial Officer, Chief Operating Officer, Managing Member, General
|
410
|
+
# Partner, President, Vice President, or Treasurer). This can be an executive, or
|
411
|
+
# someone who will have program-wide access to the cards that Lithic will provide.
|
412
|
+
# In some cases, this individual could also be a beneficial owner listed above.
|
413
|
+
#
|
414
|
+
# @param address [Lithic::Models::Address]
|
415
|
+
# @param dob [String]
|
416
|
+
# @param email [String]
|
417
|
+
# @param entity_token [String]
|
418
|
+
# @param first_name [String]
|
419
|
+
# @param last_name [String]
|
420
|
+
# @param phone_number [String]
|
566
421
|
end
|
567
422
|
|
568
423
|
# The type of KYC exemption for a KYC-Exempt Account Holder.
|
@@ -574,11 +429,8 @@ module Lithic
|
|
574
429
|
AUTHORIZED_USER = :AUTHORIZED_USER
|
575
430
|
PREPAID_CARD_USER = :PREPAID_CARD_USER
|
576
431
|
|
577
|
-
|
578
|
-
|
579
|
-
# @!parse
|
580
|
-
# # @return [Array<Symbol>]
|
581
|
-
# def self.values; end
|
432
|
+
# @!method self.values
|
433
|
+
# @return [Array<Symbol>]
|
582
434
|
end
|
583
435
|
|
584
436
|
# @see Lithic::Models::AccountHolder#individual
|
@@ -625,21 +477,17 @@ module Lithic
|
|
625
477
|
# @return [String]
|
626
478
|
required :phone_number, String
|
627
479
|
|
628
|
-
# @!
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
# #
|
640
|
-
# def initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:, **) = super
|
641
|
-
|
642
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
480
|
+
# @!method initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:)
|
481
|
+
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
482
|
+
# for which the account is being opened and KYC is being run.
|
483
|
+
#
|
484
|
+
# @param address [Lithic::Models::Address]
|
485
|
+
# @param dob [String]
|
486
|
+
# @param email [String]
|
487
|
+
# @param entity_token [String]
|
488
|
+
# @param first_name [String]
|
489
|
+
# @param last_name [String]
|
490
|
+
# @param phone_number [String]
|
643
491
|
end
|
644
492
|
|
645
493
|
# <Deprecated. Use verification_application.status instead>
|
@@ -660,11 +508,8 @@ module Lithic
|
|
660
508
|
PENDING_RESUBMIT = :PENDING_RESUBMIT
|
661
509
|
REJECTED = :REJECTED
|
662
510
|
|
663
|
-
|
664
|
-
|
665
|
-
# @!parse
|
666
|
-
# # @return [Array<Symbol>]
|
667
|
-
# def self.values; end
|
511
|
+
# @!method self.values
|
512
|
+
# @return [Array<Symbol>]
|
668
513
|
end
|
669
514
|
|
670
515
|
module StatusReason
|
@@ -682,11 +527,8 @@ module Lithic
|
|
682
527
|
RISK_THRESHOLD_FAILURE = :RISK_THRESHOLD_FAILURE
|
683
528
|
WATCHLIST_ALERT_FAILURE = :WATCHLIST_ALERT_FAILURE
|
684
529
|
|
685
|
-
|
686
|
-
|
687
|
-
# @!parse
|
688
|
-
# # @return [Array<Symbol>]
|
689
|
-
# def self.values; end
|
530
|
+
# @!method self.values
|
531
|
+
# @return [Array<Symbol>]
|
690
532
|
end
|
691
533
|
|
692
534
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
@@ -701,26 +543,19 @@ module Lithic
|
|
701
543
|
BUSINESS = :BUSINESS
|
702
544
|
INDIVIDUAL = :INDIVIDUAL
|
703
545
|
|
704
|
-
|
705
|
-
|
706
|
-
# @!parse
|
707
|
-
# # @return [Array<Symbol>]
|
708
|
-
# def self.values; end
|
546
|
+
# @!method self.values
|
547
|
+
# @return [Array<Symbol>]
|
709
548
|
end
|
710
549
|
|
711
550
|
# @see Lithic::Models::AccountHolder#verification_application
|
712
551
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
713
|
-
# @!attribute
|
552
|
+
# @!attribute created
|
714
553
|
# Timestamp of when the application was created.
|
715
554
|
#
|
716
555
|
# @return [Time, nil]
|
717
556
|
optional :created, Time
|
718
557
|
|
719
|
-
# @!
|
720
|
-
# # @return [Time]
|
721
|
-
# attr_writer :created
|
722
|
-
|
723
|
-
# @!attribute [r] status
|
558
|
+
# @!attribute status
|
724
559
|
# KYC and KYB evaluation states.
|
725
560
|
#
|
726
561
|
# Note:
|
@@ -730,42 +565,26 @@ module Lithic
|
|
730
565
|
# @return [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status, nil]
|
731
566
|
optional :status, enum: -> { Lithic::Models::AccountHolder::VerificationApplication::Status }
|
732
567
|
|
733
|
-
# @!
|
734
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status]
|
735
|
-
# attr_writer :status
|
736
|
-
|
737
|
-
# @!attribute [r] status_reasons
|
568
|
+
# @!attribute status_reasons
|
738
569
|
# Reason for the evaluation status.
|
739
570
|
#
|
740
571
|
# @return [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>, nil]
|
741
572
|
optional :status_reasons,
|
742
573
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::AccountHolder::VerificationApplication::StatusReason] }
|
743
574
|
|
744
|
-
# @!
|
745
|
-
# # @return [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>]
|
746
|
-
# attr_writer :status_reasons
|
747
|
-
|
748
|
-
# @!attribute [r] updated
|
575
|
+
# @!attribute updated
|
749
576
|
# Timestamp of when the application was last updated.
|
750
577
|
#
|
751
578
|
# @return [Time, nil]
|
752
579
|
optional :updated, Time
|
753
580
|
|
754
|
-
# @!
|
755
|
-
#
|
756
|
-
#
|
757
|
-
|
758
|
-
#
|
759
|
-
#
|
760
|
-
#
|
761
|
-
# # @param created [Time]
|
762
|
-
# # @param status [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status]
|
763
|
-
# # @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>]
|
764
|
-
# # @param updated [Time]
|
765
|
-
# #
|
766
|
-
# def initialize(created: nil, status: nil, status_reasons: nil, updated: nil, **) = super
|
767
|
-
|
768
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
581
|
+
# @!method initialize(created: nil, status: nil, status_reasons: nil, updated: nil)
|
582
|
+
# Information about the most recent identity verification attempt
|
583
|
+
#
|
584
|
+
# @param created [Time]
|
585
|
+
# @param status [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status]
|
586
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>]
|
587
|
+
# @param updated [Time]
|
769
588
|
|
770
589
|
# KYC and KYB evaluation states.
|
771
590
|
#
|
@@ -783,11 +602,8 @@ module Lithic
|
|
783
602
|
PENDING_RESUBMIT = :PENDING_RESUBMIT
|
784
603
|
REJECTED = :REJECTED
|
785
604
|
|
786
|
-
|
787
|
-
|
788
|
-
# @!parse
|
789
|
-
# # @return [Array<Symbol>]
|
790
|
-
# def self.values; end
|
605
|
+
# @!method self.values
|
606
|
+
# @return [Array<Symbol>]
|
791
607
|
end
|
792
608
|
|
793
609
|
module StatusReason
|
@@ -805,11 +621,8 @@ module Lithic
|
|
805
621
|
RISK_THRESHOLD_FAILURE = :RISK_THRESHOLD_FAILURE
|
806
622
|
WATCHLIST_ALERT_FAILURE = :WATCHLIST_ALERT_FAILURE
|
807
623
|
|
808
|
-
|
809
|
-
|
810
|
-
# @!parse
|
811
|
-
# # @return [Array<Symbol>]
|
812
|
-
# def self.values; end
|
624
|
+
# @!method self.values
|
625
|
+
# @return [Array<Symbol>]
|
813
626
|
end
|
814
627
|
end
|
815
628
|
end
|