lithic 0.1.0.pre.alpha.16 → 0.1.0.pre.alpha.18
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 +1 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +8 -4
- 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 +33 -0
- 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/{card_list_response.rb → non_pci_card.rb} +96 -51
- 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 +177 -69
- 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 +4 -9
- 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 +36 -0
- 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/{card_list_response.rbi → non_pci_card.rbi} +137 -62
- 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/rbi/lib/lithic/resources/cards.rbi +8 -8
- 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
- data/sig/lithic/models/card.rbs +19 -0
- data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +14 -29
- data/lib/lithic/models/card_convert_physical_response.rb +0 -393
- data/lib/lithic/models/card_create_response.rb +0 -392
- data/lib/lithic/models/card_reissue_response.rb +0 -392
- data/lib/lithic/models/card_renew_response.rb +0 -392
- data/lib/lithic/models/card_retrieve_response.rb +0 -392
- data/lib/lithic/models/card_search_by_pan_response.rb +0 -392
- data/lib/lithic/models/card_update_response.rb +0 -392
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
- data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
- data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
- data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
- data/sig/lithic/models/card_create_response.rbs +0 -257
- data/sig/lithic/models/card_reissue_response.rbs +0 -257
- data/sig/lithic/models/card_renew_response.rbs +0 -257
- data/sig/lithic/models/card_retrieve_response.rbs +0 -257
- data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
- data/sig/lithic/models/card_update_response.rbs +0 -257
@@ -185,24 +185,70 @@ module Lithic
|
|
185
185
|
.returns(T.attached_class)
|
186
186
|
end
|
187
187
|
def self.new(
|
188
|
+
# You must submit a list of all direct and indirect individuals with 25% or more
|
189
|
+
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
190
|
+
# no individual owns 25% of the company you do not need to send beneficial owner
|
191
|
+
# information. See
|
192
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
193
|
+
# (Section I) for more background on individuals that should be included.
|
188
194
|
beneficial_owner_individuals:,
|
195
|
+
# Information for business for which the account is being opened and KYB is being
|
196
|
+
# run.
|
189
197
|
business_entity:,
|
198
|
+
# An individual with significant responsibility for managing the legal entity
|
199
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
200
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
201
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
202
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
203
|
+
# could also be a beneficial owner listed above. See
|
204
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
205
|
+
# (Section II) for more background.
|
190
206
|
control_person:,
|
207
|
+
# Short description of the company's line of business (i.e., what does the company
|
208
|
+
# do?).
|
191
209
|
nature_of_business:,
|
210
|
+
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
211
|
+
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
212
|
+
# implementation with Lithic.
|
192
213
|
tos_timestamp:,
|
214
|
+
# Specifies the workflow type. This must be 'KYC_EXEMPT'
|
193
215
|
workflow:,
|
216
|
+
# Information on individual for whom the account is being opened and KYC is being
|
217
|
+
# run.
|
194
218
|
individual:,
|
219
|
+
# KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
220
|
+
# acceptable; APO/FPO are acceptable.
|
195
221
|
address:,
|
222
|
+
# The KYC Exempt user's email
|
196
223
|
email:,
|
224
|
+
# The KYC Exempt user's first name
|
197
225
|
first_name:,
|
226
|
+
# Specifies the type of KYC Exempt user
|
198
227
|
kyc_exemption_type:,
|
228
|
+
# The KYC Exempt user's last name
|
199
229
|
last_name:,
|
230
|
+
# The KYC Exempt user's phone number, entered in E.164 format.
|
200
231
|
phone_number:,
|
232
|
+
# Deprecated.
|
201
233
|
beneficial_owner_entities: nil,
|
234
|
+
# A user provided id that can be used to link an account holder with an external
|
235
|
+
# system
|
202
236
|
external_id: nil,
|
237
|
+
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
238
|
+
# business with a pass result.
|
239
|
+
#
|
240
|
+
# This field is required only if workflow type is `KYB_BYO`.
|
203
241
|
kyb_passed_timestamp: nil,
|
242
|
+
# Company website URL.
|
204
243
|
website_url: nil,
|
244
|
+
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
245
|
+
# individual with a pass result.
|
246
|
+
#
|
247
|
+
# This field is required only if workflow type is `KYC_BYO`.
|
205
248
|
kyc_passed_timestamp: nil,
|
249
|
+
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
250
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
251
|
+
# with the AUTHORIZED_USER in this field.
|
206
252
|
business_account_token: nil,
|
207
253
|
request_options: {}
|
208
254
|
); end
|
@@ -288,8 +334,27 @@ module Lithic
|
|
288
334
|
)
|
289
335
|
.returns(T.attached_class)
|
290
336
|
end
|
291
|
-
def self.new(
|
292
|
-
|
337
|
+
def self.new(
|
338
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
339
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
340
|
+
address:,
|
341
|
+
# Individual's date of birth, as an RFC 3339 date.
|
342
|
+
dob:,
|
343
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
344
|
+
# customer email address may be used to communicate dispute status and resolution.
|
345
|
+
email:,
|
346
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
347
|
+
first_name:,
|
348
|
+
# Government-issued identification number (required for identity verification and
|
349
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
350
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
351
|
+
# entered as full nine-digits, with or without hyphens
|
352
|
+
government_id:,
|
353
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
354
|
+
last_name:,
|
355
|
+
# Individual's phone number, entered in E.164 format.
|
356
|
+
phone_number: nil
|
357
|
+
); end
|
293
358
|
sig do
|
294
359
|
override
|
295
360
|
.returns(
|
@@ -360,11 +425,22 @@ module Lithic
|
|
360
425
|
.returns(T.attached_class)
|
361
426
|
end
|
362
427
|
def self.new(
|
428
|
+
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
429
|
+
# acceptable; APO/FPO are acceptable.
|
363
430
|
address:,
|
431
|
+
# Government-issued identification number. US Federal Employer Identification
|
432
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
433
|
+
# without hyphens.
|
364
434
|
government_id:,
|
435
|
+
# Legal (formal) business name.
|
365
436
|
legal_business_name:,
|
437
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
438
|
+
# format.
|
366
439
|
phone_numbers:,
|
440
|
+
# Any name that the business operates under that is not its legal business name
|
441
|
+
# (if applicable).
|
367
442
|
dba_business_name: nil,
|
443
|
+
# Parent company name (if applicable).
|
368
444
|
parent_company: nil
|
369
445
|
); end
|
370
446
|
sig do
|
@@ -443,8 +519,27 @@ module Lithic
|
|
443
519
|
)
|
444
520
|
.returns(T.attached_class)
|
445
521
|
end
|
446
|
-
def self.new(
|
447
|
-
|
522
|
+
def self.new(
|
523
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
524
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
525
|
+
address:,
|
526
|
+
# Individual's date of birth, as an RFC 3339 date.
|
527
|
+
dob:,
|
528
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
529
|
+
# customer email address may be used to communicate dispute status and resolution.
|
530
|
+
email:,
|
531
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
532
|
+
first_name:,
|
533
|
+
# Government-issued identification number (required for identity verification and
|
534
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
535
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
536
|
+
# entered as full nine-digits, with or without hyphens
|
537
|
+
government_id:,
|
538
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
539
|
+
last_name:,
|
540
|
+
# Individual's phone number, entered in E.164 format.
|
541
|
+
phone_number: nil
|
542
|
+
); end
|
448
543
|
sig do
|
449
544
|
override
|
450
545
|
.returns(
|
@@ -526,11 +621,22 @@ module Lithic
|
|
526
621
|
.returns(T.attached_class)
|
527
622
|
end
|
528
623
|
def self.new(
|
624
|
+
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
625
|
+
# acceptable; APO/FPO are acceptable.
|
529
626
|
address:,
|
627
|
+
# Government-issued identification number. US Federal Employer Identification
|
628
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
629
|
+
# without hyphens.
|
530
630
|
government_id:,
|
631
|
+
# Legal (formal) business name.
|
531
632
|
legal_business_name:,
|
633
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
634
|
+
# format.
|
532
635
|
phone_numbers:,
|
636
|
+
# Any name that the business operates under that is not its legal business name
|
637
|
+
# (if applicable).
|
533
638
|
dba_business_name: nil,
|
639
|
+
# Parent company name (if applicable).
|
534
640
|
parent_company: nil
|
535
641
|
); end
|
536
642
|
sig do
|
@@ -600,8 +706,27 @@ module Lithic
|
|
600
706
|
)
|
601
707
|
.returns(T.attached_class)
|
602
708
|
end
|
603
|
-
def self.new(
|
604
|
-
|
709
|
+
def self.new(
|
710
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
711
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
712
|
+
address:,
|
713
|
+
# Individual's date of birth, as an RFC 3339 date.
|
714
|
+
dob:,
|
715
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
716
|
+
# customer email address may be used to communicate dispute status and resolution.
|
717
|
+
email:,
|
718
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
719
|
+
first_name:,
|
720
|
+
# Government-issued identification number (required for identity verification and
|
721
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
722
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
723
|
+
# entered as full nine-digits, with or without hyphens
|
724
|
+
government_id:,
|
725
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
726
|
+
last_name:,
|
727
|
+
# Individual's phone number, entered in E.164 format.
|
728
|
+
phone_number:
|
729
|
+
); end
|
605
730
|
sig do
|
606
731
|
override
|
607
732
|
.returns(
|
@@ -62,16 +62,27 @@ module Lithic
|
|
62
62
|
.returns(T.attached_class)
|
63
63
|
end
|
64
64
|
def self.new(
|
65
|
+
# Globally unique identifier for the account holder.
|
65
66
|
token:,
|
67
|
+
# Globally unique identifier for the account.
|
66
68
|
account_token:,
|
69
|
+
# KYC and KYB evaluation states.
|
70
|
+
#
|
71
|
+
# Note:
|
72
|
+
#
|
73
|
+
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
67
74
|
status:,
|
75
|
+
# Reason for the evaluation status.
|
68
76
|
status_reasons:,
|
77
|
+
# Timestamp of when the account holder was created.
|
69
78
|
created: nil,
|
79
|
+
# Customer-provided token that indicates a relationship with an object outside of
|
80
|
+
# the Lithic ecosystem.
|
70
81
|
external_id: nil,
|
82
|
+
# Only present for "KYB_BASIC" workflow. A list of documents required for the
|
83
|
+
# account holder to be approved.
|
71
84
|
required_documents: nil
|
72
|
-
)
|
73
|
-
end
|
74
|
-
|
85
|
+
); end
|
75
86
|
sig do
|
76
87
|
override
|
77
88
|
.returns(
|
@@ -109,16 +109,35 @@ module Lithic
|
|
109
109
|
.returns(T.attached_class)
|
110
110
|
end
|
111
111
|
def self.new(
|
112
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
113
|
+
# will be included. UTC time zone.
|
112
114
|
begin_: nil,
|
115
|
+
# Email address of the account holder. The query must be an exact match, case
|
116
|
+
# insensitive.
|
113
117
|
email: nil,
|
118
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
119
|
+
# will be included. UTC time zone.
|
114
120
|
end_: nil,
|
121
|
+
# A cursor representing an item's token before which a page of results should end.
|
122
|
+
# Used to retrieve the previous page of results before this item.
|
115
123
|
ending_before: nil,
|
124
|
+
# If applicable, represents the external_id associated with the account_holder.
|
116
125
|
external_id: nil,
|
126
|
+
# (Individual Account Holders only) The first name of the account holder. The
|
127
|
+
# query is case insensitive and supports partial matches.
|
117
128
|
first_name: nil,
|
129
|
+
# (Individual Account Holders only) The last name of the account holder. The query
|
130
|
+
# is case insensitive and supports partial matches.
|
118
131
|
last_name: nil,
|
132
|
+
# (Business Account Holders only) The legal business name of the account holder.
|
133
|
+
# The query is case insensitive and supports partial matches.
|
119
134
|
legal_business_name: nil,
|
135
|
+
# The number of account_holders to limit the response to.
|
120
136
|
limit: nil,
|
137
|
+
# Phone number of the account holder. The query must be an exact match.
|
121
138
|
phone_number: nil,
|
139
|
+
# A cursor representing an item's token after which a page of results should
|
140
|
+
# begin. Used to retrieve the next page of results after this item.
|
122
141
|
starting_after: nil,
|
123
142
|
request_options: {}
|
124
143
|
); end
|
@@ -49,9 +49,14 @@ module Lithic
|
|
49
49
|
.returns(T.attached_class)
|
50
50
|
end
|
51
51
|
def self.new(
|
52
|
+
# The account holder document upload which to perform the simulation upon.
|
52
53
|
document_upload_token:,
|
54
|
+
# An account holder document's upload status for use within the simulation.
|
53
55
|
status:,
|
56
|
+
# A list of status reasons associated with a KYB account holder in PENDING_REVIEW
|
54
57
|
accepted_entity_status_reasons: nil,
|
58
|
+
# Status reason that will be associated with the simulated account holder status.
|
59
|
+
# Only required for a `REJECTED` status or `PARTIAL_APPROVAL` status.
|
55
60
|
status_reason: nil,
|
56
61
|
request_options: {}
|
57
62
|
); end
|
@@ -46,8 +46,16 @@ module Lithic
|
|
46
46
|
)
|
47
47
|
.returns(T.attached_class)
|
48
48
|
end
|
49
|
-
def self.new(
|
50
|
-
|
49
|
+
def self.new(
|
50
|
+
# The account holder which to perform the simulation upon.
|
51
|
+
account_holder_token: nil,
|
52
|
+
# An account holder's status for use within the simulation.
|
53
|
+
status: nil,
|
54
|
+
# Status reason that will be associated with the simulated account holder status.
|
55
|
+
# Only required for a `REJECTED` status.
|
56
|
+
status_reasons: nil,
|
57
|
+
request_options: {}
|
58
|
+
); end
|
51
59
|
sig do
|
52
60
|
override
|
53
61
|
.returns(
|
@@ -291,25 +291,85 @@ module Lithic
|
|
291
291
|
.returns(T.attached_class)
|
292
292
|
end
|
293
293
|
def self.new(
|
294
|
+
# Globally unique identifier for the account holder.
|
294
295
|
token: nil,
|
296
|
+
# Globally unique identifier for the account.
|
295
297
|
account_token: nil,
|
298
|
+
# Deprecated.
|
296
299
|
beneficial_owner_entities: nil,
|
300
|
+
# Only present when user_type == "BUSINESS". You must submit a list of all direct
|
301
|
+
# and indirect individuals with 25% or more ownership in the company. A maximum of
|
302
|
+
# 4 beneficial owners can be submitted. If no individual owns 25% of the company
|
303
|
+
# you do not need to send beneficial owner information. See
|
304
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
305
|
+
# (Section I) for more background on individuals that should be included.
|
297
306
|
beneficial_owner_individuals: nil,
|
307
|
+
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
308
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
309
|
+
# with the AUTHORIZED_USER in this field.
|
298
310
|
business_account_token: nil,
|
311
|
+
# Only present when user_type == "BUSINESS". Information about the business for
|
312
|
+
# which the account is being opened and KYB is being run.
|
299
313
|
business_entity: nil,
|
314
|
+
# Only present when user_type == "BUSINESS".
|
315
|
+
#
|
316
|
+
# An individual with significant responsibility for managing the legal entity
|
317
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
318
|
+
# Officer,
|
319
|
+
#
|
320
|
+
# Managing Member, General Partner, President, Vice President, or Treasurer). This
|
321
|
+
# can be an executive, or someone who will have program-wide access
|
322
|
+
#
|
323
|
+
# to the cards that Lithic will provide. In some cases, this individual could also
|
324
|
+
# be a beneficial owner listed above.
|
300
325
|
control_person: nil,
|
326
|
+
# Timestamp of when the account holder was created.
|
301
327
|
created: nil,
|
328
|
+
# < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
|
329
|
+
# individual.phone_number when user_type == "INDIVIDUAL".
|
330
|
+
#
|
331
|
+
# > Primary email of Account Holder.
|
302
332
|
email: nil,
|
333
|
+
# The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
|
334
|
+
# holder is not KYC-Exempt.
|
303
335
|
exemption_type: nil,
|
336
|
+
# Customer-provided token that indicates a relationship with an object outside of
|
337
|
+
# the Lithic ecosystem.
|
304
338
|
external_id: nil,
|
339
|
+
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
340
|
+
# for which the account is being opened and KYC is being run.
|
305
341
|
individual: nil,
|
342
|
+
# Only present when user_type == "BUSINESS". User-submitted description of the
|
343
|
+
# business.
|
306
344
|
nature_of_business: nil,
|
345
|
+
# < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
|
346
|
+
# individual.phone_number when user_type == "INDIVIDUAL".
|
347
|
+
#
|
348
|
+
# > Primary phone of Account Holder, entered in E.164 format.
|
307
349
|
phone_number: nil,
|
350
|
+
# Only present for "KYB_BASIC" and "KYC_ADVANCED" workflows. A list of documents
|
351
|
+
# required for the account holder to be approved.
|
308
352
|
required_documents: nil,
|
353
|
+
# <Deprecated. Use verification_application.status instead>
|
354
|
+
#
|
355
|
+
# KYC and KYB evaluation states.
|
356
|
+
#
|
357
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
358
|
+
# `ADVANCED` workflow.
|
309
359
|
status: nil,
|
360
|
+
# <Deprecated. Use verification_application.status_reasons> Reason for the
|
361
|
+
# evaluation status.
|
310
362
|
status_reasons: nil,
|
363
|
+
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
364
|
+
# attribute will be present.
|
365
|
+
#
|
366
|
+
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
367
|
+
# "beneficial_owner_individuals", "nature_of_business", and "website_url"
|
368
|
+
# attributes will be present.
|
311
369
|
user_type: nil,
|
370
|
+
# Information about the most recent identity verification attempt
|
312
371
|
verification_application: nil,
|
372
|
+
# Only present when user_type == "BUSINESS". Business's primary website.
|
313
373
|
website_url: nil
|
314
374
|
); end
|
315
375
|
sig do
|
@@ -414,9 +474,22 @@ module Lithic
|
|
414
474
|
)
|
415
475
|
.returns(T.attached_class)
|
416
476
|
end
|
417
|
-
def self.new(
|
418
|
-
|
419
|
-
|
477
|
+
def self.new(
|
478
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
479
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
480
|
+
address: nil,
|
481
|
+
# Individual's date of birth, as an RFC 3339 date.
|
482
|
+
dob: nil,
|
483
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
484
|
+
# customer email address may be used to communicate dispute status and resolution.
|
485
|
+
email: nil,
|
486
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
487
|
+
first_name: nil,
|
488
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
489
|
+
last_name: nil,
|
490
|
+
# Individual's phone number, entered in E.164 format.
|
491
|
+
phone_number: nil
|
492
|
+
); end
|
420
493
|
sig do
|
421
494
|
override
|
422
495
|
.returns(
|
@@ -477,8 +550,23 @@ module Lithic
|
|
477
550
|
)
|
478
551
|
.returns(T.attached_class)
|
479
552
|
end
|
480
|
-
def self.new(
|
481
|
-
|
553
|
+
def self.new(
|
554
|
+
# Valid deliverable address (no PO boxes).
|
555
|
+
address1:,
|
556
|
+
# Name of city.
|
557
|
+
city:,
|
558
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
559
|
+
# 3166-1 alpha-3 three-character format.
|
560
|
+
country:,
|
561
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
562
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
563
|
+
postal_code:,
|
564
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
565
|
+
# uppercase ISO 3166-2 two-character format.
|
566
|
+
state:,
|
567
|
+
# Unit or apartment number (if applicable).
|
568
|
+
address2: nil
|
569
|
+
); end
|
482
570
|
sig do
|
483
571
|
override
|
484
572
|
.returns(
|
@@ -574,9 +662,22 @@ module Lithic
|
|
574
662
|
)
|
575
663
|
.returns(T.attached_class)
|
576
664
|
end
|
577
|
-
def self.new(
|
578
|
-
|
579
|
-
|
665
|
+
def self.new(
|
666
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
667
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
668
|
+
address: nil,
|
669
|
+
# Individual's date of birth, as an RFC 3339 date.
|
670
|
+
dob: nil,
|
671
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
672
|
+
# customer email address may be used to communicate dispute status and resolution.
|
673
|
+
email: nil,
|
674
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
675
|
+
first_name: nil,
|
676
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
677
|
+
last_name: nil,
|
678
|
+
# Individual's phone number, entered in E.164 format.
|
679
|
+
phone_number: nil
|
680
|
+
); end
|
580
681
|
sig do
|
581
682
|
override
|
582
683
|
.returns(
|
@@ -637,8 +738,23 @@ module Lithic
|
|
637
738
|
)
|
638
739
|
.returns(T.attached_class)
|
639
740
|
end
|
640
|
-
def self.new(
|
641
|
-
|
741
|
+
def self.new(
|
742
|
+
# Valid deliverable address (no PO boxes).
|
743
|
+
address1:,
|
744
|
+
# Name of city.
|
745
|
+
city:,
|
746
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
747
|
+
# 3166-1 alpha-3 three-character format.
|
748
|
+
country:,
|
749
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
750
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
751
|
+
postal_code:,
|
752
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
753
|
+
# uppercase ISO 3166-2 two-character format.
|
754
|
+
state:,
|
755
|
+
# Unit or apartment number (if applicable).
|
756
|
+
address2: nil
|
757
|
+
); end
|
642
758
|
sig do
|
643
759
|
override
|
644
760
|
.returns(
|
@@ -754,9 +870,22 @@ module Lithic
|
|
754
870
|
)
|
755
871
|
.returns(T.attached_class)
|
756
872
|
end
|
757
|
-
def self.new(
|
758
|
-
|
759
|
-
|
873
|
+
def self.new(
|
874
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
875
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
876
|
+
address: nil,
|
877
|
+
# Individual's date of birth, as an RFC 3339 date.
|
878
|
+
dob: nil,
|
879
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
880
|
+
# customer email address may be used to communicate dispute status and resolution.
|
881
|
+
email: nil,
|
882
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
883
|
+
first_name: nil,
|
884
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
885
|
+
last_name: nil,
|
886
|
+
# Individual's phone number, entered in E.164 format.
|
887
|
+
phone_number: nil
|
888
|
+
); end
|
760
889
|
sig do
|
761
890
|
override
|
762
891
|
.returns(
|
@@ -817,8 +946,23 @@ module Lithic
|
|
817
946
|
)
|
818
947
|
.returns(T.attached_class)
|
819
948
|
end
|
820
|
-
def self.new(
|
821
|
-
|
949
|
+
def self.new(
|
950
|
+
# Valid deliverable address (no PO boxes).
|
951
|
+
address1:,
|
952
|
+
# Name of city.
|
953
|
+
city:,
|
954
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
955
|
+
# 3166-1 alpha-3 three-character format.
|
956
|
+
country:,
|
957
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
958
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
959
|
+
postal_code:,
|
960
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
961
|
+
# uppercase ISO 3166-2 two-character format.
|
962
|
+
state:,
|
963
|
+
# Unit or apartment number (if applicable).
|
964
|
+
address2: nil
|
965
|
+
); end
|
822
966
|
sig do
|
823
967
|
override
|
824
968
|
.returns(
|
@@ -1076,8 +1220,19 @@ module Lithic
|
|
1076
1220
|
)
|
1077
1221
|
.returns(T.attached_class)
|
1078
1222
|
end
|
1079
|
-
def self.new(
|
1080
|
-
|
1223
|
+
def self.new(
|
1224
|
+
# Timestamp of when the application was created.
|
1225
|
+
created:,
|
1226
|
+
# KYC and KYB evaluation states.
|
1227
|
+
#
|
1228
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
1229
|
+
# `ADVANCED` workflow.
|
1230
|
+
status:,
|
1231
|
+
# Reason for the evaluation status.
|
1232
|
+
status_reasons:,
|
1233
|
+
# Timestamp of when the application was last updated.
|
1234
|
+
updated:
|
1235
|
+
); end
|
1081
1236
|
sig do
|
1082
1237
|
override
|
1083
1238
|
.returns(
|