lithic 0.1.0.pre.alpha.14 → 0.1.0.pre.alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/README.md +61 -52
- data/lib/lithic/client.rb +4 -4
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -5
- data/lib/lithic/internal/type/array_of.rb +9 -0
- data/lib/lithic/internal/type/base_model.rb +62 -28
- data/lib/lithic/internal/type/base_page.rb +8 -0
- data/lib/lithic/internal/type/boolean.rb +4 -0
- data/lib/lithic/internal/type/enum.rb +9 -5
- data/lib/lithic/internal/type/hash_of.rb +9 -0
- data/lib/lithic/internal/type/io_like.rb +4 -0
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/internal/type/union.rb +10 -1
- data/lib/lithic/internal/type/unknown.rb +4 -0
- data/lib/lithic/internal.rb +0 -1
- data/lib/lithic/models/account.rb +42 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +127 -312
- data/lib/lithic/models/account_holder_create_params.rb +99 -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 +132 -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 +35 -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 +393 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +392 -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 +376 -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 +392 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +392 -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 +392 -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 +392 -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 +73 -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 +24 -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 +295 -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 -10
- data/rbi/lib/lithic/client.rbi +4 -4
- data/rbi/lib/lithic/internal/type/array_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/base_model.rbi +15 -0
- data/rbi/lib/lithic/internal/type/base_page.rbi +2 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +3 -6
- data/rbi/lib/lithic/internal/type/hash_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/union.rbi +3 -0
- data/rbi/lib/lithic/internal.rbi +0 -1
- 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/array_of.rbs +2 -0
- data/sig/lithic/internal/type/base_model.rbs +10 -0
- data/sig/lithic/internal/type/enum.rbs +2 -2
- data/sig/lithic/internal/type/hash_of.rbs +2 -0
- data/sig/lithic/internal/type/union.rbs +2 -0
- 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 +26 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -16,31 +16,26 @@ 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
|
-
#
|
27
|
-
#
|
28
|
-
|
29
|
-
# @!attribute [r] beneficial_owner_entities
|
25
|
+
# @!attribute beneficial_owner_entities
|
26
|
+
# @deprecated
|
27
|
+
#
|
30
28
|
# Deprecated.
|
31
29
|
#
|
32
30
|
# @return [Array<Lithic::Models::AccountHolder::BeneficialOwnerEntity>, nil]
|
33
31
|
optional :beneficial_owner_entities,
|
34
32
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolder::BeneficialOwnerEntity] }
|
35
33
|
|
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
|
34
|
+
# @!attribute beneficial_owner_individuals
|
35
|
+
# Only present when user_type == "BUSINESS". You must submit a list of all direct
|
36
|
+
# and indirect individuals with 25% or more ownership in the company. A maximum of
|
37
|
+
# 4 beneficial owners can be submitted. If no individual owns 25% of the company
|
38
|
+
# you do not need to send beneficial owner information. See
|
44
39
|
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
45
40
|
# (Section I) for more background on individuals that should be included.
|
46
41
|
#
|
@@ -48,11 +43,7 @@ module Lithic
|
|
48
43
|
optional :beneficial_owner_individuals,
|
49
44
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolder::BeneficialOwnerIndividual] }
|
50
45
|
|
51
|
-
# @!
|
52
|
-
# # @return [Array<Lithic::Models::AccountHolder::BeneficialOwnerIndividual>]
|
53
|
-
# attr_writer :beneficial_owner_individuals
|
54
|
-
|
55
|
-
# @!attribute [r] business_account_token
|
46
|
+
# @!attribute business_account_token
|
56
47
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
57
48
|
# users of businesses. Pass the account_token of the enrolled business associated
|
58
49
|
# with the AUTHORIZED_USER in this field.
|
@@ -60,22 +51,14 @@ module Lithic
|
|
60
51
|
# @return [String, nil]
|
61
52
|
optional :business_account_token, String
|
62
53
|
|
63
|
-
# @!
|
64
|
-
# # @return [String]
|
65
|
-
# attr_writer :business_account_token
|
66
|
-
|
67
|
-
# @!attribute [r] business_entity
|
54
|
+
# @!attribute business_entity
|
68
55
|
# Only present when user_type == "BUSINESS". Information about the business for
|
69
56
|
# which the account is being opened and KYB is being run.
|
70
57
|
#
|
71
58
|
# @return [Lithic::Models::AccountHolder::BusinessEntity, nil]
|
72
59
|
optional :business_entity, -> { Lithic::Models::AccountHolder::BusinessEntity }
|
73
60
|
|
74
|
-
# @!
|
75
|
-
# # @return [Lithic::Models::AccountHolder::BusinessEntity]
|
76
|
-
# attr_writer :business_entity
|
77
|
-
|
78
|
-
# @!attribute [r] control_person
|
61
|
+
# @!attribute control_person
|
79
62
|
# Only present when user_type == "BUSINESS". An individual with significant
|
80
63
|
# responsibility for managing the legal entity (e.g., a Chief Executive Officer,
|
81
64
|
# Chief Financial Officer, Chief Operating Officer, Managing Member, General
|
@@ -86,11 +69,7 @@ module Lithic
|
|
86
69
|
# @return [Lithic::Models::AccountHolder::ControlPerson, nil]
|
87
70
|
optional :control_person, -> { Lithic::Models::AccountHolder::ControlPerson }
|
88
71
|
|
89
|
-
# @!
|
90
|
-
# # @return [Lithic::Models::AccountHolder::ControlPerson]
|
91
|
-
# attr_writer :control_person
|
92
|
-
|
93
|
-
# @!attribute [r] email
|
72
|
+
# @!attribute email
|
94
73
|
# < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
|
95
74
|
# individual.phone_number when user_type == "INDIVIDUAL".
|
96
75
|
#
|
@@ -99,54 +78,34 @@ module Lithic
|
|
99
78
|
# @return [String, nil]
|
100
79
|
optional :email, String
|
101
80
|
|
102
|
-
# @!
|
103
|
-
# # @return [String]
|
104
|
-
# attr_writer :email
|
105
|
-
|
106
|
-
# @!attribute [r] exemption_type
|
81
|
+
# @!attribute exemption_type
|
107
82
|
# The type of KYC exemption for a KYC-Exempt Account Holder.
|
108
83
|
#
|
109
84
|
# @return [Symbol, Lithic::Models::AccountHolder::ExemptionType, nil]
|
110
85
|
optional :exemption_type, enum: -> { Lithic::Models::AccountHolder::ExemptionType }
|
111
86
|
|
112
|
-
# @!
|
113
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::ExemptionType]
|
114
|
-
# attr_writer :exemption_type
|
115
|
-
|
116
|
-
# @!attribute [r] external_id
|
87
|
+
# @!attribute external_id
|
117
88
|
# Customer-provided token that indicates a relationship with an object outside of
|
118
89
|
# the Lithic ecosystem.
|
119
90
|
#
|
120
91
|
# @return [String, nil]
|
121
92
|
optional :external_id, String
|
122
93
|
|
123
|
-
# @!
|
124
|
-
# # @return [String]
|
125
|
-
# attr_writer :external_id
|
126
|
-
|
127
|
-
# @!attribute [r] individual
|
94
|
+
# @!attribute individual
|
128
95
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
129
96
|
# for which the account is being opened and KYC is being run.
|
130
97
|
#
|
131
98
|
# @return [Lithic::Models::AccountHolder::Individual, nil]
|
132
99
|
optional :individual, -> { Lithic::Models::AccountHolder::Individual }
|
133
100
|
|
134
|
-
# @!
|
135
|
-
# # @return [Lithic::Models::AccountHolder::Individual]
|
136
|
-
# attr_writer :individual
|
137
|
-
|
138
|
-
# @!attribute [r] nature_of_business
|
101
|
+
# @!attribute nature_of_business
|
139
102
|
# Only present when user_type == "BUSINESS". User-submitted description of the
|
140
103
|
# business.
|
141
104
|
#
|
142
105
|
# @return [String, nil]
|
143
106
|
optional :nature_of_business, String
|
144
107
|
|
145
|
-
# @!
|
146
|
-
# # @return [String]
|
147
|
-
# attr_writer :nature_of_business
|
148
|
-
|
149
|
-
# @!attribute [r] phone_number
|
108
|
+
# @!attribute phone_number
|
150
109
|
# < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
|
151
110
|
# individual.phone_number when user_type == "INDIVIDUAL".
|
152
111
|
#
|
@@ -155,22 +114,14 @@ module Lithic
|
|
155
114
|
# @return [String, nil]
|
156
115
|
optional :phone_number, String
|
157
116
|
|
158
|
-
# @!
|
159
|
-
# # @return [String]
|
160
|
-
# attr_writer :phone_number
|
161
|
-
|
162
|
-
# @!attribute [r] required_documents
|
117
|
+
# @!attribute required_documents
|
163
118
|
# Only present for "KYB_BASIC" workflow. A list of documents required for the
|
164
119
|
# account holder to be approved.
|
165
120
|
#
|
166
121
|
# @return [Array<Lithic::Models::RequiredDocument>, nil]
|
167
122
|
optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::RequiredDocument] }
|
168
123
|
|
169
|
-
# @!
|
170
|
-
# # @return [Array<Lithic::Models::RequiredDocument>]
|
171
|
-
# attr_writer :required_documents
|
172
|
-
|
173
|
-
# @!attribute [r] status
|
124
|
+
# @!attribute status
|
174
125
|
# <Deprecated. Use verification_application.status instead>
|
175
126
|
#
|
176
127
|
# KYC and KYB evaluation states.
|
@@ -182,11 +133,7 @@ module Lithic
|
|
182
133
|
# @return [Symbol, Lithic::Models::AccountHolder::Status, nil]
|
183
134
|
optional :status, enum: -> { Lithic::Models::AccountHolder::Status }
|
184
135
|
|
185
|
-
# @!
|
186
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::Status]
|
187
|
-
# attr_writer :status
|
188
|
-
|
189
|
-
# @!attribute [r] status_reasons
|
136
|
+
# @!attribute status_reasons
|
190
137
|
# <Deprecated. Use verification_application.status_reasons> Reason for the
|
191
138
|
# evaluation status.
|
192
139
|
#
|
@@ -194,11 +141,7 @@ module Lithic
|
|
194
141
|
optional :status_reasons,
|
195
142
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::AccountHolder::StatusReason] }
|
196
143
|
|
197
|
-
# @!
|
198
|
-
# # @return [Array<Symbol, Lithic::Models::AccountHolder::StatusReason>]
|
199
|
-
# attr_writer :status_reasons
|
200
|
-
|
201
|
-
# @!attribute [r] user_type
|
144
|
+
# @!attribute user_type
|
202
145
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
203
146
|
# attribute will be present. If the type is "BUSINESS" then the "business_entity",
|
204
147
|
# "control_person", "beneficial_owner_individuals", "nature_of_business", and
|
@@ -207,79 +150,39 @@ module Lithic
|
|
207
150
|
# @return [Symbol, Lithic::Models::AccountHolder::UserType, nil]
|
208
151
|
optional :user_type, enum: -> { Lithic::Models::AccountHolder::UserType }
|
209
152
|
|
210
|
-
# @!
|
211
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::UserType]
|
212
|
-
# attr_writer :user_type
|
213
|
-
|
214
|
-
# @!attribute [r] verification_application
|
153
|
+
# @!attribute verification_application
|
215
154
|
# Information about the most recent identity verification attempt
|
216
155
|
#
|
217
156
|
# @return [Lithic::Models::AccountHolder::VerificationApplication, nil]
|
218
157
|
optional :verification_application, -> { Lithic::Models::AccountHolder::VerificationApplication }
|
219
158
|
|
220
|
-
# @!
|
221
|
-
# # @return [Lithic::Models::AccountHolder::VerificationApplication]
|
222
|
-
# attr_writer :verification_application
|
223
|
-
|
224
|
-
# @!attribute [r] website_url
|
159
|
+
# @!attribute website_url
|
225
160
|
# Only present when user_type == "BUSINESS". Business's primary website.
|
226
161
|
#
|
227
162
|
# @return [String, nil]
|
228
163
|
optional :website_url, String
|
229
164
|
|
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
|
165
|
+
# @!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)
|
166
|
+
# @param token [String]
|
167
|
+
# @param created [Time]
|
168
|
+
# @param account_token [String]
|
169
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::AccountHolder::BeneficialOwnerEntity>]
|
170
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolder::BeneficialOwnerIndividual>]
|
171
|
+
# @param business_account_token [String]
|
172
|
+
# @param business_entity [Lithic::Models::AccountHolder::BusinessEntity]
|
173
|
+
# @param control_person [Lithic::Models::AccountHolder::ControlPerson]
|
174
|
+
# @param email [String]
|
175
|
+
# @param exemption_type [Symbol, Lithic::Models::AccountHolder::ExemptionType]
|
176
|
+
# @param external_id [String]
|
177
|
+
# @param individual [Lithic::Models::AccountHolder::Individual]
|
178
|
+
# @param nature_of_business [String]
|
179
|
+
# @param phone_number [String]
|
180
|
+
# @param required_documents [Array<Lithic::Models::RequiredDocument>]
|
181
|
+
# @param status [Symbol, Lithic::Models::AccountHolder::Status]
|
182
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::StatusReason>]
|
183
|
+
# @param user_type [Symbol, Lithic::Models::AccountHolder::UserType]
|
184
|
+
# @param verification_application [Lithic::Models::AccountHolder::VerificationApplication]
|
185
|
+
# @param website_url [String]
|
283
186
|
|
284
187
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
285
188
|
# @!attribute address
|
@@ -323,39 +226,20 @@ module Lithic
|
|
323
226
|
# @return [Array<String>]
|
324
227
|
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
325
228
|
|
326
|
-
# @!attribute
|
229
|
+
# @!attribute parent_company
|
327
230
|
# Parent company name (if applicable).
|
328
231
|
#
|
329
232
|
# @return [String, nil]
|
330
233
|
optional :parent_company, String
|
331
234
|
|
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
|
235
|
+
# @!method initialize(address:, dba_business_name:, entity_token:, government_id:, legal_business_name:, phone_numbers:, parent_company: nil)
|
236
|
+
# @param address [Lithic::Models::Address]
|
237
|
+
# @param dba_business_name [String]
|
238
|
+
# @param entity_token [String]
|
239
|
+
# @param government_id [String]
|
240
|
+
# @param legal_business_name [String]
|
241
|
+
# @param phone_numbers [Array<String>]
|
242
|
+
# @param parent_company [String]
|
359
243
|
end
|
360
244
|
|
361
245
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
@@ -401,22 +285,18 @@ module Lithic
|
|
401
285
|
# @return [String]
|
402
286
|
required :phone_number, String
|
403
287
|
|
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
|
288
|
+
# @!method initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:)
|
289
|
+
# Information about an individual associated with an account holder. A subset of
|
290
|
+
# the information provided via KYC. For example, we do not return the government
|
291
|
+
# id.
|
292
|
+
#
|
293
|
+
# @param address [Lithic::Models::Address]
|
294
|
+
# @param dob [String]
|
295
|
+
# @param email [String]
|
296
|
+
# @param entity_token [String]
|
297
|
+
# @param first_name [String]
|
298
|
+
# @param last_name [String]
|
299
|
+
# @param phone_number [String]
|
420
300
|
end
|
421
301
|
|
422
302
|
# @see Lithic::Models::AccountHolder#business_entity
|
@@ -462,42 +342,23 @@ module Lithic
|
|
462
342
|
# @return [Array<String>]
|
463
343
|
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
464
344
|
|
465
|
-
# @!attribute
|
345
|
+
# @!attribute parent_company
|
466
346
|
# Parent company name (if applicable).
|
467
347
|
#
|
468
348
|
# @return [String, nil]
|
469
349
|
optional :parent_company, String
|
470
350
|
|
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
|
351
|
+
# @!method initialize(address:, dba_business_name:, entity_token:, government_id:, legal_business_name:, phone_numbers:, parent_company: nil)
|
352
|
+
# Only present when user_type == "BUSINESS". Information about the business for
|
353
|
+
# which the account is being opened and KYB is being run.
|
354
|
+
#
|
355
|
+
# @param address [Lithic::Models::Address]
|
356
|
+
# @param dba_business_name [String]
|
357
|
+
# @param entity_token [String]
|
358
|
+
# @param government_id [String]
|
359
|
+
# @param legal_business_name [String]
|
360
|
+
# @param phone_numbers [Array<String>]
|
361
|
+
# @param parent_company [String]
|
501
362
|
end
|
502
363
|
|
503
364
|
# @see Lithic::Models::AccountHolder#control_person
|
@@ -544,25 +405,21 @@ module Lithic
|
|
544
405
|
# @return [String]
|
545
406
|
required :phone_number, String
|
546
407
|
|
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
|
408
|
+
# @!method initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:)
|
409
|
+
# Only present when user_type == "BUSINESS". An individual with significant
|
410
|
+
# responsibility for managing the legal entity (e.g., a Chief Executive Officer,
|
411
|
+
# Chief Financial Officer, Chief Operating Officer, Managing Member, General
|
412
|
+
# Partner, President, Vice President, or Treasurer). This can be an executive, or
|
413
|
+
# someone who will have program-wide access to the cards that Lithic will provide.
|
414
|
+
# In some cases, this individual could also be a beneficial owner listed above.
|
415
|
+
#
|
416
|
+
# @param address [Lithic::Models::Address]
|
417
|
+
# @param dob [String]
|
418
|
+
# @param email [String]
|
419
|
+
# @param entity_token [String]
|
420
|
+
# @param first_name [String]
|
421
|
+
# @param last_name [String]
|
422
|
+
# @param phone_number [String]
|
566
423
|
end
|
567
424
|
|
568
425
|
# The type of KYC exemption for a KYC-Exempt Account Holder.
|
@@ -574,11 +431,8 @@ module Lithic
|
|
574
431
|
AUTHORIZED_USER = :AUTHORIZED_USER
|
575
432
|
PREPAID_CARD_USER = :PREPAID_CARD_USER
|
576
433
|
|
577
|
-
|
578
|
-
|
579
|
-
# @!parse
|
580
|
-
# # @return [Array<Symbol>]
|
581
|
-
# def self.values; end
|
434
|
+
# @!method self.values
|
435
|
+
# @return [Array<Symbol>]
|
582
436
|
end
|
583
437
|
|
584
438
|
# @see Lithic::Models::AccountHolder#individual
|
@@ -625,21 +479,17 @@ module Lithic
|
|
625
479
|
# @return [String]
|
626
480
|
required :phone_number, String
|
627
481
|
|
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
|
482
|
+
# @!method initialize(address:, dob:, email:, entity_token:, first_name:, last_name:, phone_number:)
|
483
|
+
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
484
|
+
# for which the account is being opened and KYC is being run.
|
485
|
+
#
|
486
|
+
# @param address [Lithic::Models::Address]
|
487
|
+
# @param dob [String]
|
488
|
+
# @param email [String]
|
489
|
+
# @param entity_token [String]
|
490
|
+
# @param first_name [String]
|
491
|
+
# @param last_name [String]
|
492
|
+
# @param phone_number [String]
|
643
493
|
end
|
644
494
|
|
645
495
|
# <Deprecated. Use verification_application.status instead>
|
@@ -660,11 +510,8 @@ module Lithic
|
|
660
510
|
PENDING_RESUBMIT = :PENDING_RESUBMIT
|
661
511
|
REJECTED = :REJECTED
|
662
512
|
|
663
|
-
|
664
|
-
|
665
|
-
# @!parse
|
666
|
-
# # @return [Array<Symbol>]
|
667
|
-
# def self.values; end
|
513
|
+
# @!method self.values
|
514
|
+
# @return [Array<Symbol>]
|
668
515
|
end
|
669
516
|
|
670
517
|
module StatusReason
|
@@ -682,11 +529,8 @@ module Lithic
|
|
682
529
|
RISK_THRESHOLD_FAILURE = :RISK_THRESHOLD_FAILURE
|
683
530
|
WATCHLIST_ALERT_FAILURE = :WATCHLIST_ALERT_FAILURE
|
684
531
|
|
685
|
-
|
686
|
-
|
687
|
-
# @!parse
|
688
|
-
# # @return [Array<Symbol>]
|
689
|
-
# def self.values; end
|
532
|
+
# @!method self.values
|
533
|
+
# @return [Array<Symbol>]
|
690
534
|
end
|
691
535
|
|
692
536
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
@@ -701,26 +545,19 @@ module Lithic
|
|
701
545
|
BUSINESS = :BUSINESS
|
702
546
|
INDIVIDUAL = :INDIVIDUAL
|
703
547
|
|
704
|
-
|
705
|
-
|
706
|
-
# @!parse
|
707
|
-
# # @return [Array<Symbol>]
|
708
|
-
# def self.values; end
|
548
|
+
# @!method self.values
|
549
|
+
# @return [Array<Symbol>]
|
709
550
|
end
|
710
551
|
|
711
552
|
# @see Lithic::Models::AccountHolder#verification_application
|
712
553
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
713
|
-
# @!attribute
|
554
|
+
# @!attribute created
|
714
555
|
# Timestamp of when the application was created.
|
715
556
|
#
|
716
557
|
# @return [Time, nil]
|
717
558
|
optional :created, Time
|
718
559
|
|
719
|
-
# @!
|
720
|
-
# # @return [Time]
|
721
|
-
# attr_writer :created
|
722
|
-
|
723
|
-
# @!attribute [r] status
|
560
|
+
# @!attribute status
|
724
561
|
# KYC and KYB evaluation states.
|
725
562
|
#
|
726
563
|
# Note:
|
@@ -730,42 +567,26 @@ module Lithic
|
|
730
567
|
# @return [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status, nil]
|
731
568
|
optional :status, enum: -> { Lithic::Models::AccountHolder::VerificationApplication::Status }
|
732
569
|
|
733
|
-
# @!
|
734
|
-
# # @return [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status]
|
735
|
-
# attr_writer :status
|
736
|
-
|
737
|
-
# @!attribute [r] status_reasons
|
570
|
+
# @!attribute status_reasons
|
738
571
|
# Reason for the evaluation status.
|
739
572
|
#
|
740
573
|
# @return [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>, nil]
|
741
574
|
optional :status_reasons,
|
742
575
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::AccountHolder::VerificationApplication::StatusReason] }
|
743
576
|
|
744
|
-
# @!
|
745
|
-
# # @return [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>]
|
746
|
-
# attr_writer :status_reasons
|
747
|
-
|
748
|
-
# @!attribute [r] updated
|
577
|
+
# @!attribute updated
|
749
578
|
# Timestamp of when the application was last updated.
|
750
579
|
#
|
751
580
|
# @return [Time, nil]
|
752
581
|
optional :updated, Time
|
753
582
|
|
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
|
583
|
+
# @!method initialize(created: nil, status: nil, status_reasons: nil, updated: nil)
|
584
|
+
# Information about the most recent identity verification attempt
|
585
|
+
#
|
586
|
+
# @param created [Time]
|
587
|
+
# @param status [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status]
|
588
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>]
|
589
|
+
# @param updated [Time]
|
769
590
|
|
770
591
|
# KYC and KYB evaluation states.
|
771
592
|
#
|
@@ -783,11 +604,8 @@ module Lithic
|
|
783
604
|
PENDING_RESUBMIT = :PENDING_RESUBMIT
|
784
605
|
REJECTED = :REJECTED
|
785
606
|
|
786
|
-
|
787
|
-
|
788
|
-
# @!parse
|
789
|
-
# # @return [Array<Symbol>]
|
790
|
-
# def self.values; end
|
607
|
+
# @!method self.values
|
608
|
+
# @return [Array<Symbol>]
|
791
609
|
end
|
792
610
|
|
793
611
|
module StatusReason
|
@@ -805,11 +623,8 @@ module Lithic
|
|
805
623
|
RISK_THRESHOLD_FAILURE = :RISK_THRESHOLD_FAILURE
|
806
624
|
WATCHLIST_ALERT_FAILURE = :WATCHLIST_ALERT_FAILURE
|
807
625
|
|
808
|
-
|
809
|
-
|
810
|
-
# @!parse
|
811
|
-
# # @return [Array<Symbol>]
|
812
|
-
# def self.values; end
|
626
|
+
# @!method self.values
|
627
|
+
# @return [Array<Symbol>]
|
813
628
|
end
|
814
629
|
end
|
815
630
|
end
|