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
@@ -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(
|
@@ -179,20 +179,56 @@ module Lithic
|
|
179
179
|
.returns(T.attached_class)
|
180
180
|
end
|
181
181
|
def self.new(
|
182
|
+
# Deprecated.
|
182
183
|
beneficial_owner_entities: nil,
|
184
|
+
# You must submit a list of all direct and indirect individuals with 25% or more
|
185
|
+
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
186
|
+
# no individual owns 25% of the company you do not need to send beneficial owner
|
187
|
+
# information. See
|
188
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
189
|
+
# (Section I) for more background on individuals that should be included.
|
183
190
|
beneficial_owner_individuals: nil,
|
191
|
+
# Information for business for which the account is being opened and KYB is being
|
192
|
+
# run.
|
184
193
|
business_entity: nil,
|
194
|
+
# An individual with significant responsibility for managing the legal entity
|
195
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
196
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
197
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
198
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
199
|
+
# could also be a beneficial owner listed above. See
|
200
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
201
|
+
# (Section II) for more background.
|
185
202
|
control_person: nil,
|
203
|
+
# A user provided id that can be used to link an account holder with an external
|
204
|
+
# system
|
186
205
|
external_id: nil,
|
206
|
+
# Short description of the company's line of business (i.e., what does the company
|
207
|
+
# do?).
|
187
208
|
nature_of_business: nil,
|
209
|
+
# Company website URL.
|
188
210
|
website_url: nil,
|
211
|
+
# Information on the individual for whom the account is being opened and KYC is
|
212
|
+
# being run.
|
189
213
|
individual: nil,
|
214
|
+
# Allowed for: KYC-Exempt, BYO-KYC, BYO-KYB.
|
190
215
|
address: nil,
|
216
|
+
# Allowed for: KYC-Exempt, BYO-KYC. The token of the business account to which the
|
217
|
+
# account holder is associated.
|
191
218
|
business_account_token: nil,
|
219
|
+
# Allowed for all Account Holders. Account holder's email address. The primary
|
220
|
+
# purpose of this field is for cardholder identification and verification during
|
221
|
+
# the digital wallet tokenization process.
|
192
222
|
email: nil,
|
223
|
+
# Allowed for KYC-Exempt, BYO-KYC. Account holder's first name.
|
193
224
|
first_name: nil,
|
225
|
+
# Allowed for KYC-Exempt, BYO-KYC. Account holder's last name.
|
194
226
|
last_name: nil,
|
227
|
+
# Allowed for BYO-KYB. Legal business name of the account holder.
|
195
228
|
legal_business_name: nil,
|
229
|
+
# Allowed for all Account Holders. Account holder's phone number, entered in E.164
|
230
|
+
# format. The primary purpose of this field is for cardholder identification and
|
231
|
+
# verification during the digital wallet tokenization process.
|
196
232
|
phone_number: nil,
|
197
233
|
request_options: {}
|
198
234
|
); end
|
@@ -286,12 +322,24 @@ module Lithic
|
|
286
322
|
.returns(T.attached_class)
|
287
323
|
end
|
288
324
|
def self.new(
|
325
|
+
# Globally unique identifier for an entity.
|
289
326
|
entity_token:,
|
327
|
+
# Business''s physical address - PO boxes, UPS drops, and FedEx drops are not
|
328
|
+
# acceptable; APO/FPO are acceptable.
|
290
329
|
address: nil,
|
330
|
+
# Any name that the business operates under that is not its legal business name
|
331
|
+
# (if applicable).
|
291
332
|
dba_business_name: nil,
|
333
|
+
# Government-issued identification number. US Federal Employer Identification
|
334
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
335
|
+
# without hyphens.
|
292
336
|
government_id: nil,
|
337
|
+
# Legal (formal) business name.
|
293
338
|
legal_business_name: nil,
|
339
|
+
# Parent company name (if applicable).
|
294
340
|
parent_company: nil,
|
341
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
342
|
+
# format.
|
295
343
|
phone_numbers: nil
|
296
344
|
); end
|
297
345
|
sig do
|
@@ -385,13 +433,26 @@ module Lithic
|
|
385
433
|
.returns(T.attached_class)
|
386
434
|
end
|
387
435
|
def self.new(
|
436
|
+
# Globally unique identifier for an entity.
|
388
437
|
entity_token:,
|
438
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
439
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
389
440
|
address: nil,
|
441
|
+
# Individual's date of birth, as an RFC 3339 date.
|
390
442
|
dob: nil,
|
443
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
444
|
+
# customer email address may be used to communicate dispute status and resolution.
|
391
445
|
email: nil,
|
446
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
392
447
|
first_name: nil,
|
448
|
+
# Government-issued identification number (required for identity verification and
|
449
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
450
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
451
|
+
# entered as full nine-digits, with or without hyphens
|
393
452
|
government_id: nil,
|
453
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
394
454
|
last_name: nil,
|
455
|
+
# Individual's phone number, entered in E.164 format.
|
395
456
|
phone_number: nil
|
396
457
|
); end
|
397
458
|
sig do
|
@@ -479,12 +540,24 @@ module Lithic
|
|
479
540
|
.returns(T.attached_class)
|
480
541
|
end
|
481
542
|
def self.new(
|
543
|
+
# Globally unique identifier for an entity.
|
482
544
|
entity_token:,
|
545
|
+
# Business''s physical address - PO boxes, UPS drops, and FedEx drops are not
|
546
|
+
# acceptable; APO/FPO are acceptable.
|
483
547
|
address: nil,
|
548
|
+
# Any name that the business operates under that is not its legal business name
|
549
|
+
# (if applicable).
|
484
550
|
dba_business_name: nil,
|
551
|
+
# Government-issued identification number. US Federal Employer Identification
|
552
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
553
|
+
# without hyphens.
|
485
554
|
government_id: nil,
|
555
|
+
# Legal (formal) business name.
|
486
556
|
legal_business_name: nil,
|
557
|
+
# Parent company name (if applicable).
|
487
558
|
parent_company: nil,
|
559
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
560
|
+
# format.
|
488
561
|
phone_numbers: nil
|
489
562
|
); end
|
490
563
|
sig do
|
@@ -585,13 +658,26 @@ module Lithic
|
|
585
658
|
.returns(T.attached_class)
|
586
659
|
end
|
587
660
|
def self.new(
|
661
|
+
# Globally unique identifier for an entity.
|
588
662
|
entity_token:,
|
663
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
664
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
589
665
|
address: nil,
|
666
|
+
# Individual's date of birth, as an RFC 3339 date.
|
590
667
|
dob: nil,
|
668
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
669
|
+
# customer email address may be used to communicate dispute status and resolution.
|
591
670
|
email: nil,
|
671
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
592
672
|
first_name: nil,
|
673
|
+
# Government-issued identification number (required for identity verification and
|
674
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
675
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
676
|
+
# entered as full nine-digits, with or without hyphens
|
593
677
|
government_id: nil,
|
678
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
594
679
|
last_name: nil,
|
680
|
+
# Individual's phone number, entered in E.164 format.
|
595
681
|
phone_number: nil
|
596
682
|
); end
|
597
683
|
sig do
|
@@ -687,13 +773,26 @@ module Lithic
|
|
687
773
|
.returns(T.attached_class)
|
688
774
|
end
|
689
775
|
def self.new(
|
776
|
+
# Globally unique identifier for an entity.
|
690
777
|
entity_token:,
|
778
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
779
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
691
780
|
address: nil,
|
781
|
+
# Individual's date of birth, as an RFC 3339 date.
|
692
782
|
dob: nil,
|
783
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
784
|
+
# customer email address may be used to communicate dispute status and resolution.
|
693
785
|
email: nil,
|
786
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
694
787
|
first_name: nil,
|
788
|
+
# Government-issued identification number (required for identity verification and
|
789
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
790
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
791
|
+
# entered as full nine-digits, with or without hyphens
|
695
792
|
government_id: nil,
|
793
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
696
794
|
last_name: nil,
|
795
|
+
# Individual's phone number, entered in E.164 format.
|
697
796
|
phone_number: nil
|
698
797
|
); end
|
699
798
|
sig do
|