lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.19
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 +34 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +4 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +30 -15
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +7 -2
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/non_pci_card.rb +73 -28
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +161 -53
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -1
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +8 -2
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/non_pci_card.rbi +78 -2
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- metadata +8 -5
@@ -123,21 +123,48 @@ module Lithic
|
|
123
123
|
optional :phone_number, String
|
124
124
|
|
125
125
|
# @!method initialize(beneficial_owner_entities: nil, beneficial_owner_individuals: nil, business_entity: nil, control_person: nil, external_id: nil, nature_of_business: nil, website_url: nil, individual: nil, address: nil, business_account_token: nil, email: nil, first_name: nil, last_name: nil, legal_business_name: nil, phone_number: nil, request_options: {})
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
# @param
|
130
|
-
#
|
131
|
-
# @param
|
132
|
-
#
|
133
|
-
#
|
134
|
-
# @param
|
135
|
-
#
|
136
|
-
#
|
137
|
-
# @param
|
138
|
-
#
|
139
|
-
#
|
140
|
-
# @param
|
126
|
+
# Some parameter documentations has been truncated, see
|
127
|
+
# {Lithic::Models::AccountHolderUpdateParams} for more details.
|
128
|
+
#
|
129
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::AccountHolderUpdateParams::BeneficialOwnerEntity>] Deprecated.
|
130
|
+
#
|
131
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateParams::BeneficialOwnerIndividual>] You must submit a list of all direct and indirect individuals with 25% or more o
|
132
|
+
# ...
|
133
|
+
#
|
134
|
+
# @param business_entity [Lithic::Models::AccountHolderUpdateParams::BusinessEntity] Information for business for which the account is being opened and KYB is being
|
135
|
+
# ...
|
136
|
+
#
|
137
|
+
# @param control_person [Lithic::Models::AccountHolderUpdateParams::ControlPerson] An individual with significant responsibility for managing the legal entity (e.g
|
138
|
+
# ...
|
139
|
+
#
|
140
|
+
# @param external_id [String] A user provided id that can be used to link an account holder with an external s
|
141
|
+
# ...
|
142
|
+
#
|
143
|
+
# @param nature_of_business [String] Short description of the company's line of business (i.e., what does the company
|
144
|
+
# ...
|
145
|
+
#
|
146
|
+
# @param website_url [String] Company website URL.
|
147
|
+
#
|
148
|
+
# @param individual [Lithic::Models::AccountHolderUpdateParams::Individual] Information on the individual for whom the account is being opened and KYC is be
|
149
|
+
# ...
|
150
|
+
#
|
151
|
+
# @param address [Lithic::Models::AddressUpdate] Allowed for: KYC-Exempt, BYO-KYC, BYO-KYB.
|
152
|
+
#
|
153
|
+
# @param business_account_token [String] Allowed for: KYC-Exempt, BYO-KYC. The token of the business account to which the
|
154
|
+
# ...
|
155
|
+
#
|
156
|
+
# @param email [String] Allowed for all Account Holders. Account holder's email address. The primary pur
|
157
|
+
# ...
|
158
|
+
#
|
159
|
+
# @param first_name [String] Allowed for KYC-Exempt, BYO-KYC. Account holder's first name.
|
160
|
+
#
|
161
|
+
# @param last_name [String] Allowed for KYC-Exempt, BYO-KYC. Account holder's last name.
|
162
|
+
#
|
163
|
+
# @param legal_business_name [String] Allowed for BYO-KYB. Legal business name of the account holder.
|
164
|
+
#
|
165
|
+
# @param phone_number [String] Allowed for all Account Holders. Account holder's phone number, entered in E.164
|
166
|
+
# ...
|
167
|
+
#
|
141
168
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
142
169
|
|
143
170
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
@@ -189,13 +216,27 @@ module Lithic
|
|
189
216
|
optional :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
190
217
|
|
191
218
|
# @!method initialize(entity_token:, address: nil, dba_business_name: nil, government_id: nil, legal_business_name: nil, parent_company: nil, phone_numbers: nil)
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
# @param
|
197
|
-
#
|
198
|
-
# @param
|
219
|
+
# Some parameter documentations has been truncated, see
|
220
|
+
# {Lithic::Models::AccountHolderUpdateParams::BeneficialOwnerEntity} for more
|
221
|
+
# details.
|
222
|
+
#
|
223
|
+
# @param entity_token [String] Globally unique identifier for an entity.
|
224
|
+
#
|
225
|
+
# @param address [Lithic::Models::AddressUpdate] Business''s physical address - PO boxes, UPS drops, and FedEx drops are not acce
|
226
|
+
# ...
|
227
|
+
#
|
228
|
+
# @param dba_business_name [String] Any name that the business operates under that is not its legal business name (i
|
229
|
+
# ...
|
230
|
+
#
|
231
|
+
# @param government_id [String] Government-issued identification number. US Federal Employer Identification Numb
|
232
|
+
# ...
|
233
|
+
#
|
234
|
+
# @param legal_business_name [String] Legal (formal) business name.
|
235
|
+
#
|
236
|
+
# @param parent_company [String] Parent company name (if applicable).
|
237
|
+
#
|
238
|
+
# @param phone_numbers [Array<String>] One or more of the business's phone number(s), entered as a list in E.164 format
|
239
|
+
# ...
|
199
240
|
end
|
200
241
|
|
201
242
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
@@ -255,16 +296,30 @@ module Lithic
|
|
255
296
|
end
|
256
297
|
|
257
298
|
# @!method initialize(entity_token:, address: nil, dob: nil, email: nil, first_name: nil, government_id: nil, last_name: nil, phone_number: nil)
|
299
|
+
# Some parameter documentations has been truncated, see
|
300
|
+
# {Lithic::Models::AccountHolderUpdateParams::BeneficialOwnerIndividual} for more
|
301
|
+
# details.
|
302
|
+
#
|
258
303
|
# Individuals associated with a KYB application. Phone number is optional.
|
259
304
|
#
|
260
|
-
# @param entity_token [String]
|
261
|
-
#
|
262
|
-
# @param
|
263
|
-
#
|
264
|
-
#
|
265
|
-
# @param
|
266
|
-
#
|
267
|
-
# @param
|
305
|
+
# @param entity_token [String] Globally unique identifier for an entity.
|
306
|
+
#
|
307
|
+
# @param address [Lithic::Models::AddressUpdate] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
308
|
+
# ...
|
309
|
+
#
|
310
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
311
|
+
#
|
312
|
+
# @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
|
313
|
+
# ...
|
314
|
+
#
|
315
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
316
|
+
#
|
317
|
+
# @param government_id [String] Government-issued identification number (required for identity verification and
|
318
|
+
# ...
|
319
|
+
#
|
320
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
321
|
+
#
|
322
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
268
323
|
end
|
269
324
|
|
270
325
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
@@ -316,16 +371,29 @@ module Lithic
|
|
316
371
|
optional :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
317
372
|
|
318
373
|
# @!method initialize(entity_token:, address: nil, dba_business_name: nil, government_id: nil, legal_business_name: nil, parent_company: nil, phone_numbers: nil)
|
374
|
+
# Some parameter documentations has been truncated, see
|
375
|
+
# {Lithic::Models::AccountHolderUpdateParams::BusinessEntity} for more details.
|
376
|
+
#
|
319
377
|
# Information for business for which the account is being opened and KYB is being
|
320
378
|
# run.
|
321
379
|
#
|
322
|
-
# @param entity_token [String]
|
323
|
-
#
|
324
|
-
# @param
|
325
|
-
#
|
326
|
-
#
|
327
|
-
# @param
|
328
|
-
#
|
380
|
+
# @param entity_token [String] Globally unique identifier for an entity.
|
381
|
+
#
|
382
|
+
# @param address [Lithic::Models::AddressUpdate] Business''s physical address - PO boxes, UPS drops, and FedEx drops are not acce
|
383
|
+
# ...
|
384
|
+
#
|
385
|
+
# @param dba_business_name [String] Any name that the business operates under that is not its legal business name (i
|
386
|
+
# ...
|
387
|
+
#
|
388
|
+
# @param government_id [String] Government-issued identification number. US Federal Employer Identification Numb
|
389
|
+
# ...
|
390
|
+
#
|
391
|
+
# @param legal_business_name [String] Legal (formal) business name.
|
392
|
+
#
|
393
|
+
# @param parent_company [String] Parent company name (if applicable).
|
394
|
+
#
|
395
|
+
# @param phone_numbers [Array<String>] One or more of the business's phone number(s), entered as a list in E.164 format
|
396
|
+
# ...
|
329
397
|
end
|
330
398
|
|
331
399
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
@@ -385,6 +453,9 @@ module Lithic
|
|
385
453
|
end
|
386
454
|
|
387
455
|
# @!method initialize(entity_token:, address: nil, dob: nil, email: nil, first_name: nil, government_id: nil, last_name: nil, phone_number: nil)
|
456
|
+
# Some parameter documentations has been truncated, see
|
457
|
+
# {Lithic::Models::AccountHolderUpdateParams::ControlPerson} for more details.
|
458
|
+
#
|
388
459
|
# An individual with significant responsibility for managing the legal entity
|
389
460
|
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
390
461
|
# Officer, Managing Member, General Partner, President, Vice President, or
|
@@ -394,14 +465,24 @@ module Lithic
|
|
394
465
|
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
395
466
|
# (Section II) for more background.
|
396
467
|
#
|
397
|
-
# @param entity_token [String]
|
398
|
-
#
|
399
|
-
# @param
|
400
|
-
#
|
401
|
-
#
|
402
|
-
# @param
|
403
|
-
#
|
404
|
-
# @param
|
468
|
+
# @param entity_token [String] Globally unique identifier for an entity.
|
469
|
+
#
|
470
|
+
# @param address [Lithic::Models::AddressUpdate] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
471
|
+
# ...
|
472
|
+
#
|
473
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
474
|
+
#
|
475
|
+
# @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
|
476
|
+
# ...
|
477
|
+
#
|
478
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
479
|
+
#
|
480
|
+
# @param government_id [String] Government-issued identification number (required for identity verification and
|
481
|
+
# ...
|
482
|
+
#
|
483
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
484
|
+
#
|
485
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
405
486
|
end
|
406
487
|
|
407
488
|
class Individual < Lithic::Internal::Type::BaseModel
|
@@ -461,17 +542,30 @@ module Lithic
|
|
461
542
|
end
|
462
543
|
|
463
544
|
# @!method initialize(entity_token:, address: nil, dob: nil, email: nil, first_name: nil, government_id: nil, last_name: nil, phone_number: nil)
|
545
|
+
# Some parameter documentations has been truncated, see
|
546
|
+
# {Lithic::Models::AccountHolderUpdateParams::Individual} for more details.
|
547
|
+
#
|
464
548
|
# Information on the individual for whom the account is being opened and KYC is
|
465
549
|
# being run.
|
466
550
|
#
|
467
|
-
# @param entity_token [String]
|
468
|
-
#
|
469
|
-
# @param
|
470
|
-
#
|
471
|
-
#
|
472
|
-
# @param
|
473
|
-
#
|
474
|
-
# @param
|
551
|
+
# @param entity_token [String] Globally unique identifier for an entity.
|
552
|
+
#
|
553
|
+
# @param address [Lithic::Models::AddressUpdate] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
554
|
+
# ...
|
555
|
+
#
|
556
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
557
|
+
#
|
558
|
+
# @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
|
559
|
+
# ...
|
560
|
+
#
|
561
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
562
|
+
#
|
563
|
+
# @param government_id [String] Government-issued identification number (required for identity verification and
|
564
|
+
# ...
|
565
|
+
#
|
566
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
567
|
+
#
|
568
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
475
569
|
end
|
476
570
|
end
|
477
571
|
end
|
@@ -179,26 +179,59 @@ module Lithic
|
|
179
179
|
optional :website_url, String
|
180
180
|
|
181
181
|
# @!method initialize(token: nil, account_token: nil, beneficial_owner_entities: nil, beneficial_owner_individuals: nil, business_account_token: nil, business_entity: nil, control_person: nil, created: nil, email: nil, exemption_type: nil, external_id: nil, individual: nil, nature_of_business: nil, phone_number: nil, required_documents: nil, status: nil, status_reasons: nil, user_type: nil, verification_application: nil, website_url: nil)
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
186
|
-
# @param
|
187
|
-
#
|
188
|
-
# @param
|
189
|
-
#
|
190
|
-
# @param
|
191
|
-
#
|
192
|
-
# @param
|
193
|
-
#
|
194
|
-
#
|
195
|
-
# @param
|
196
|
-
#
|
197
|
-
#
|
198
|
-
# @param
|
199
|
-
#
|
200
|
-
#
|
201
|
-
# @param
|
182
|
+
# Some parameter documentations has been truncated, see
|
183
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse} for more
|
184
|
+
# details.
|
185
|
+
#
|
186
|
+
# @param token [String] Globally unique identifier for the account holder.
|
187
|
+
#
|
188
|
+
# @param account_token [String] Globally unique identifier for the account.
|
189
|
+
#
|
190
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::KYBBusinessEntity>] Deprecated.
|
191
|
+
#
|
192
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>] Only present when user_type == "BUSINESS". You must submit a list of all direct
|
193
|
+
# ...
|
194
|
+
#
|
195
|
+
# @param business_account_token [String] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
196
|
+
# ...
|
197
|
+
#
|
198
|
+
# @param business_entity [Lithic::Models::KYBBusinessEntity] Only present when user_type == "BUSINESS". Information about the business for wh
|
199
|
+
# ...
|
200
|
+
#
|
201
|
+
# @param control_person [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson] Only present when user_type == "BUSINESS". ...
|
202
|
+
#
|
203
|
+
# @param created [Time] Timestamp of when the account holder was created.
|
204
|
+
#
|
205
|
+
# @param email [String] < ...
|
206
|
+
#
|
207
|
+
# @param exemption_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ExemptionType] The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
|
208
|
+
# ...
|
209
|
+
#
|
210
|
+
# @param external_id [String] Customer-provided token that indicates a relationship with an object outside of
|
211
|
+
# ...
|
212
|
+
#
|
213
|
+
# @param individual [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual] Only present when user_type == "INDIVIDUAL". Information about the individual fo
|
214
|
+
# ...
|
215
|
+
#
|
216
|
+
# @param nature_of_business [String] Only present when user_type == "BUSINESS". User-submitted description of the bus
|
217
|
+
# ...
|
218
|
+
#
|
219
|
+
# @param phone_number [String] < ...
|
220
|
+
#
|
221
|
+
# @param required_documents [Array<Lithic::Models::RequiredDocument>] Only present for "KYB_BASIC" and "KYC_ADVANCED" workflows. A list of documents r
|
222
|
+
# ...
|
223
|
+
#
|
224
|
+
# @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Status] <Deprecated. Use verification_application.status instead> ...
|
225
|
+
#
|
226
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::StatusReason>] <Deprecated. Use verification_application.status_reasons> Reason for the evaluat
|
227
|
+
# ...
|
228
|
+
#
|
229
|
+
# @param user_type [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::UserType] The type of Account Holder. If the type is "INDIVIDUAL", the "individual" attrib
|
230
|
+
# ...
|
231
|
+
#
|
232
|
+
# @param verification_application [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication] Information about the most recent identity verification attempt
|
233
|
+
#
|
234
|
+
# @param website_url [String] Only present when user_type == "BUSINESS". Business's primary website.
|
202
235
|
|
203
236
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
204
237
|
# @!attribute address
|
@@ -241,12 +274,23 @@ module Lithic
|
|
241
274
|
optional :phone_number, String
|
242
275
|
|
243
276
|
# @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
# @param
|
249
|
-
#
|
277
|
+
# Some parameter documentations has been truncated, see
|
278
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual}
|
279
|
+
# for more details.
|
280
|
+
#
|
281
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
282
|
+
# ...
|
283
|
+
#
|
284
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
285
|
+
#
|
286
|
+
# @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
|
287
|
+
# ...
|
288
|
+
#
|
289
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
290
|
+
#
|
291
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
292
|
+
#
|
293
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
250
294
|
|
251
295
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual#address
|
252
296
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -290,15 +334,27 @@ module Lithic
|
|
290
334
|
optional :address2, String
|
291
335
|
|
292
336
|
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
337
|
+
# Some parameter documentations has been truncated, see
|
338
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address}
|
339
|
+
# for more details.
|
340
|
+
#
|
293
341
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
294
342
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
295
343
|
#
|
296
|
-
# @param address1 [String]
|
297
|
-
#
|
298
|
-
# @param
|
299
|
-
#
|
300
|
-
# @param
|
301
|
-
#
|
344
|
+
# @param address1 [String] Valid deliverable address (no PO boxes).
|
345
|
+
#
|
346
|
+
# @param city [String] Name of city.
|
347
|
+
#
|
348
|
+
# @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
|
349
|
+
# ...
|
350
|
+
#
|
351
|
+
# @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
|
352
|
+
# ...
|
353
|
+
#
|
354
|
+
# @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
|
355
|
+
# ...
|
356
|
+
#
|
357
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
302
358
|
end
|
303
359
|
end
|
304
360
|
|
@@ -344,6 +400,10 @@ module Lithic
|
|
344
400
|
optional :phone_number, String
|
345
401
|
|
346
402
|
# @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
|
403
|
+
# Some parameter documentations has been truncated, see
|
404
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson}
|
405
|
+
# for more details.
|
406
|
+
#
|
347
407
|
# Only present when user_type == "BUSINESS".
|
348
408
|
#
|
349
409
|
# An individual with significant responsibility for managing the legal entity
|
@@ -356,12 +416,19 @@ module Lithic
|
|
356
416
|
# to the cards that Lithic will provide. In some cases, this individual could also
|
357
417
|
# be a beneficial owner listed above.
|
358
418
|
#
|
359
|
-
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address]
|
360
|
-
#
|
361
|
-
#
|
362
|
-
# @param
|
363
|
-
#
|
364
|
-
# @param
|
419
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
420
|
+
# ...
|
421
|
+
#
|
422
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
423
|
+
#
|
424
|
+
# @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
|
425
|
+
# ...
|
426
|
+
#
|
427
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
428
|
+
#
|
429
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
430
|
+
#
|
431
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
365
432
|
|
366
433
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson#address
|
367
434
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -405,15 +472,27 @@ module Lithic
|
|
405
472
|
optional :address2, String
|
406
473
|
|
407
474
|
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
475
|
+
# Some parameter documentations has been truncated, see
|
476
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address}
|
477
|
+
# for more details.
|
478
|
+
#
|
408
479
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
409
480
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
410
481
|
#
|
411
|
-
# @param address1 [String]
|
412
|
-
#
|
413
|
-
# @param
|
414
|
-
#
|
415
|
-
# @param
|
416
|
-
#
|
482
|
+
# @param address1 [String] Valid deliverable address (no PO boxes).
|
483
|
+
#
|
484
|
+
# @param city [String] Name of city.
|
485
|
+
#
|
486
|
+
# @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
|
487
|
+
# ...
|
488
|
+
#
|
489
|
+
# @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
|
490
|
+
# ...
|
491
|
+
#
|
492
|
+
# @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
|
493
|
+
# ...
|
494
|
+
#
|
495
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
417
496
|
end
|
418
497
|
end
|
419
498
|
|
@@ -473,15 +552,26 @@ module Lithic
|
|
473
552
|
optional :phone_number, String
|
474
553
|
|
475
554
|
# @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
|
555
|
+
# Some parameter documentations has been truncated, see
|
556
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual}
|
557
|
+
# for more details.
|
558
|
+
#
|
476
559
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
477
560
|
# for which the account is being opened and KYC is being run.
|
478
561
|
#
|
479
|
-
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address]
|
480
|
-
#
|
481
|
-
#
|
482
|
-
# @param
|
483
|
-
#
|
484
|
-
# @param
|
562
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
563
|
+
# ...
|
564
|
+
#
|
565
|
+
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
566
|
+
#
|
567
|
+
# @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
|
568
|
+
# ...
|
569
|
+
#
|
570
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
571
|
+
#
|
572
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
573
|
+
#
|
574
|
+
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
485
575
|
|
486
576
|
# @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual#address
|
487
577
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -525,15 +615,27 @@ module Lithic
|
|
525
615
|
optional :address2, String
|
526
616
|
|
527
617
|
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
618
|
+
# Some parameter documentations has been truncated, see
|
619
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address}
|
620
|
+
# for more details.
|
621
|
+
#
|
528
622
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
529
623
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
530
624
|
#
|
531
|
-
# @param address1 [String]
|
532
|
-
#
|
533
|
-
# @param
|
534
|
-
#
|
535
|
-
# @param
|
536
|
-
#
|
625
|
+
# @param address1 [String] Valid deliverable address (no PO boxes).
|
626
|
+
#
|
627
|
+
# @param city [String] Name of city.
|
628
|
+
#
|
629
|
+
# @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
|
630
|
+
# ...
|
631
|
+
#
|
632
|
+
# @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
|
633
|
+
# ...
|
634
|
+
#
|
635
|
+
# @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
|
636
|
+
# ...
|
637
|
+
#
|
638
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
537
639
|
end
|
538
640
|
end
|
539
641
|
|
@@ -646,12 +748,19 @@ module Lithic
|
|
646
748
|
required :updated, Time
|
647
749
|
|
648
750
|
# @!method initialize(created:, status:, status_reasons:, updated:)
|
751
|
+
# Some parameter documentations has been truncated, see
|
752
|
+
# {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication}
|
753
|
+
# for more details.
|
754
|
+
#
|
649
755
|
# Information about the most recent identity verification attempt
|
650
756
|
#
|
651
|
-
# @param created [Time]
|
652
|
-
#
|
653
|
-
# @param
|
654
|
-
#
|
757
|
+
# @param created [Time] Timestamp of when the application was created.
|
758
|
+
#
|
759
|
+
# @param status [Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::Status] KYC and KYB evaluation states. ...
|
760
|
+
#
|
761
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::StatusReason>] Reason for the evaluation status.
|
762
|
+
#
|
763
|
+
# @param updated [Time] Timestamp of when the application was last updated.
|
655
764
|
|
656
765
|
# KYC and KYB evaluation states.
|
657
766
|
#
|
@@ -758,14 +867,21 @@ module Lithic
|
|
758
867
|
optional :phone_number, String
|
759
868
|
|
760
869
|
# @!method initialize(token: nil, address: nil, business_account_token: nil, email: nil, first_name: nil, last_name: nil, legal_business_name: nil, phone_number: nil)
|
761
|
-
# @param token [String]
|
762
|
-
#
|
763
|
-
# @param
|
764
|
-
#
|
765
|
-
# @param
|
766
|
-
#
|
767
|
-
# @param
|
768
|
-
#
|
870
|
+
# @param token [String] The token for the account holder that was updated
|
871
|
+
#
|
872
|
+
# @param address [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address] The address for the account holder
|
873
|
+
#
|
874
|
+
# @param business_account_token [String] The token for the business account that the account holder is associated with
|
875
|
+
#
|
876
|
+
# @param email [String] The email for the account holder
|
877
|
+
#
|
878
|
+
# @param first_name [String] The first name for the account holder
|
879
|
+
#
|
880
|
+
# @param last_name [String] The last name for the account holder
|
881
|
+
#
|
882
|
+
# @param legal_business_name [String] The legal business name for the account holder
|
883
|
+
#
|
884
|
+
# @param phone_number [String] The phone_number for the account holder
|
769
885
|
|
770
886
|
# @see Lithic::Models::AccountHolderUpdateResponse::PatchResponse#address
|
771
887
|
class Address < Lithic::Internal::Type::BaseModel
|
@@ -809,14 +925,26 @@ module Lithic
|
|
809
925
|
optional :address2, String
|
810
926
|
|
811
927
|
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
928
|
+
# Some parameter documentations has been truncated, see
|
929
|
+
# {Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address} for more
|
930
|
+
# details.
|
931
|
+
#
|
812
932
|
# The address for the account holder
|
813
933
|
#
|
814
|
-
# @param address1 [String]
|
815
|
-
#
|
816
|
-
# @param
|
817
|
-
#
|
818
|
-
# @param
|
819
|
-
#
|
934
|
+
# @param address1 [String] Valid deliverable address (no PO boxes).
|
935
|
+
#
|
936
|
+
# @param city [String] Name of city.
|
937
|
+
#
|
938
|
+
# @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
|
939
|
+
# ...
|
940
|
+
#
|
941
|
+
# @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
|
942
|
+
# ...
|
943
|
+
#
|
944
|
+
# @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
|
945
|
+
# ...
|
946
|
+
#
|
947
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
820
948
|
end
|
821
949
|
end
|
822
950
|
|
@@ -20,8 +20,10 @@ module Lithic
|
|
20
20
|
required :entity_token, String
|
21
21
|
|
22
22
|
# @!method initialize(document_type:, entity_token:, request_options: {})
|
23
|
-
# @param document_type [Symbol, Lithic::Models::AccountHolderUploadDocumentParams::DocumentType]
|
24
|
-
#
|
23
|
+
# @param document_type [Symbol, Lithic::Models::AccountHolderUploadDocumentParams::DocumentType] The type of document to upload
|
24
|
+
#
|
25
|
+
# @param entity_token [String] Globally unique identifier for the entity.
|
26
|
+
#
|
25
27
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
26
28
|
|
27
29
|
# The type of document to upload
|