lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7
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/README.md +1 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +14 -17
- data/lib/lithic/internal/type/converter.rb +20 -22
- data/lib/lithic/internal/type/enum.rb +8 -8
- data/lib/lithic/internal/util.rb +1 -5
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +4 -8
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +34 -68
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +2 -2
@@ -6,16 +6,16 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
# List of all direct and indirect individuals with
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
9
|
+
# List of all direct and indirect individuals with 25% or more ownership in the
|
10
|
+
# company. If no individual owns 25% of the company, please identify the largest
|
11
|
+
# shareholder in this field. See
|
12
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
13
|
+
# (Section I) for more background on individuals that should be included.
|
14
14
|
sig { returns(T::Array[Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual]) }
|
15
15
|
attr_accessor :beneficial_owner_individuals
|
16
16
|
|
17
17
|
# Information for business for which the account is being opened and KYB is being
|
18
|
-
#
|
18
|
+
# run.
|
19
19
|
sig { returns(Lithic::Models::AccountHolderCreateParams::BusinessEntity) }
|
20
20
|
attr_reader :business_entity
|
21
21
|
|
@@ -28,13 +28,13 @@ module Lithic
|
|
28
28
|
attr_writer :business_entity
|
29
29
|
|
30
30
|
# An individual with significant responsibility for managing the legal entity
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
31
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
32
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
33
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
34
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
35
|
+
# could also be a beneficial owner listed above. See
|
36
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
37
|
+
# (Section II) for more background.
|
38
38
|
sig { returns(Lithic::Models::AccountHolderCreateParams::ControlPerson) }
|
39
39
|
attr_reader :control_person
|
40
40
|
|
@@ -47,13 +47,13 @@ module Lithic
|
|
47
47
|
attr_writer :control_person
|
48
48
|
|
49
49
|
# Short description of the company's line of business (i.e., what does the company
|
50
|
-
#
|
50
|
+
# do?).
|
51
51
|
sig { returns(String) }
|
52
52
|
attr_accessor :nature_of_business
|
53
53
|
|
54
54
|
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
55
|
-
#
|
56
|
-
#
|
55
|
+
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
56
|
+
# implementation with Lithic.
|
57
57
|
sig { returns(String) }
|
58
58
|
attr_accessor :tos_timestamp
|
59
59
|
|
@@ -74,7 +74,7 @@ module Lithic
|
|
74
74
|
attr_writer :beneficial_owner_entities
|
75
75
|
|
76
76
|
# A user provided id that can be used to link an account holder with an external
|
77
|
-
#
|
77
|
+
# system
|
78
78
|
sig { returns(T.nilable(String)) }
|
79
79
|
attr_reader :external_id
|
80
80
|
|
@@ -82,9 +82,9 @@ module Lithic
|
|
82
82
|
attr_writer :external_id
|
83
83
|
|
84
84
|
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
85
|
-
#
|
85
|
+
# business with a pass result.
|
86
86
|
#
|
87
|
-
#
|
87
|
+
# This field is required only if workflow type is `KYB_BYO`.
|
88
88
|
sig { returns(T.nilable(String)) }
|
89
89
|
attr_reader :kyb_passed_timestamp
|
90
90
|
|
@@ -99,7 +99,7 @@ module Lithic
|
|
99
99
|
attr_writer :website_url
|
100
100
|
|
101
101
|
# Information on individual for whom the account is being opened and KYC is being
|
102
|
-
#
|
102
|
+
# run.
|
103
103
|
sig { returns(Lithic::Models::AccountHolderCreateParams::Individual) }
|
104
104
|
attr_reader :individual
|
105
105
|
|
@@ -112,9 +112,9 @@ module Lithic
|
|
112
112
|
attr_writer :individual
|
113
113
|
|
114
114
|
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
115
|
-
#
|
115
|
+
# individual with a pass result.
|
116
116
|
#
|
117
|
-
#
|
117
|
+
# This field is required only if workflow type is `KYC_BYO`.
|
118
118
|
sig { returns(T.nilable(String)) }
|
119
119
|
attr_reader :kyc_passed_timestamp
|
120
120
|
|
@@ -122,7 +122,7 @@ module Lithic
|
|
122
122
|
attr_writer :kyc_passed_timestamp
|
123
123
|
|
124
124
|
# KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
125
|
-
#
|
125
|
+
# acceptable; APO/FPO are acceptable.
|
126
126
|
sig { returns(Lithic::Models::Address) }
|
127
127
|
attr_reader :address
|
128
128
|
|
@@ -150,8 +150,8 @@ module Lithic
|
|
150
150
|
attr_accessor :phone_number
|
151
151
|
|
152
152
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
153
|
-
#
|
154
|
-
#
|
153
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
154
|
+
# with the AUTHORIZED_USER in this field.
|
155
155
|
sig { returns(T.nilable(String)) }
|
156
156
|
attr_reader :business_account_token
|
157
157
|
|
@@ -204,9 +204,7 @@ module Lithic
|
|
204
204
|
kyc_passed_timestamp: nil,
|
205
205
|
business_account_token: nil,
|
206
206
|
request_options: {}
|
207
|
-
)
|
208
|
-
end
|
209
|
-
|
207
|
+
); end
|
210
208
|
sig do
|
211
209
|
override
|
212
210
|
.returns(
|
@@ -234,12 +232,11 @@ module Lithic
|
|
234
232
|
}
|
235
233
|
)
|
236
234
|
end
|
237
|
-
def to_hash
|
238
|
-
end
|
235
|
+
def to_hash; end
|
239
236
|
|
240
237
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
241
238
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
242
|
-
#
|
239
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
243
240
|
sig { returns(Lithic::Models::Address) }
|
244
241
|
attr_reader :address
|
245
242
|
|
@@ -251,7 +248,7 @@ module Lithic
|
|
251
248
|
attr_accessor :dob
|
252
249
|
|
253
250
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
254
|
-
#
|
251
|
+
# customer email address may be used to communicate dispute status and resolution.
|
255
252
|
sig { returns(String) }
|
256
253
|
attr_accessor :email
|
257
254
|
|
@@ -260,9 +257,9 @@ module Lithic
|
|
260
257
|
attr_accessor :first_name
|
261
258
|
|
262
259
|
# Government-issued identification number (required for identity verification and
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
260
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
261
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
262
|
+
# entered as full nine-digits, with or without hyphens
|
266
263
|
sig { returns(String) }
|
267
264
|
attr_accessor :government_id
|
268
265
|
|
@@ -290,8 +287,7 @@ module Lithic
|
|
290
287
|
)
|
291
288
|
.returns(T.attached_class)
|
292
289
|
end
|
293
|
-
def self.new(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil)
|
294
|
-
end
|
290
|
+
def self.new(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil); end
|
295
291
|
|
296
292
|
sig do
|
297
293
|
override
|
@@ -307,13 +303,12 @@ module Lithic
|
|
307
303
|
}
|
308
304
|
)
|
309
305
|
end
|
310
|
-
def to_hash
|
311
|
-
end
|
306
|
+
def to_hash; end
|
312
307
|
end
|
313
308
|
|
314
309
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
315
310
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
316
|
-
#
|
311
|
+
# acceptable; APO/FPO are acceptable.
|
317
312
|
sig { returns(Lithic::Models::Address) }
|
318
313
|
attr_reader :address
|
319
314
|
|
@@ -321,8 +316,8 @@ module Lithic
|
|
321
316
|
attr_writer :address
|
322
317
|
|
323
318
|
# Government-issued identification number. US Federal Employer Identification
|
324
|
-
#
|
325
|
-
#
|
319
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
320
|
+
# without hyphens.
|
326
321
|
sig { returns(String) }
|
327
322
|
attr_accessor :government_id
|
328
323
|
|
@@ -331,12 +326,12 @@ module Lithic
|
|
331
326
|
attr_accessor :legal_business_name
|
332
327
|
|
333
328
|
# One or more of the business's phone number(s), entered as a list in E.164
|
334
|
-
#
|
329
|
+
# format.
|
335
330
|
sig { returns(T::Array[String]) }
|
336
331
|
attr_accessor :phone_numbers
|
337
332
|
|
338
333
|
# Any name that the business operates under that is not its legal business name
|
339
|
-
#
|
334
|
+
# (if applicable).
|
340
335
|
sig { returns(T.nilable(String)) }
|
341
336
|
attr_reader :dba_business_name
|
342
337
|
|
@@ -351,7 +346,7 @@ module Lithic
|
|
351
346
|
attr_writer :parent_company
|
352
347
|
|
353
348
|
# Information for business for which the account is being opened and KYB is being
|
354
|
-
#
|
349
|
+
# run.
|
355
350
|
sig do
|
356
351
|
params(
|
357
352
|
address: T.any(Lithic::Models::Address, Lithic::Internal::AnyHash),
|
@@ -370,9 +365,7 @@ module Lithic
|
|
370
365
|
phone_numbers:,
|
371
366
|
dba_business_name: nil,
|
372
367
|
parent_company: nil
|
373
|
-
)
|
374
|
-
end
|
375
|
-
|
368
|
+
); end
|
376
369
|
sig do
|
377
370
|
override
|
378
371
|
.returns(
|
@@ -386,13 +379,12 @@ module Lithic
|
|
386
379
|
}
|
387
380
|
)
|
388
381
|
end
|
389
|
-
def to_hash
|
390
|
-
end
|
382
|
+
def to_hash; end
|
391
383
|
end
|
392
384
|
|
393
385
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
394
386
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
395
|
-
#
|
387
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
396
388
|
sig { returns(Lithic::Models::Address) }
|
397
389
|
attr_reader :address
|
398
390
|
|
@@ -404,7 +396,7 @@ module Lithic
|
|
404
396
|
attr_accessor :dob
|
405
397
|
|
406
398
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
407
|
-
#
|
399
|
+
# customer email address may be used to communicate dispute status and resolution.
|
408
400
|
sig { returns(String) }
|
409
401
|
attr_accessor :email
|
410
402
|
|
@@ -413,9 +405,9 @@ module Lithic
|
|
413
405
|
attr_accessor :first_name
|
414
406
|
|
415
407
|
# Government-issued identification number (required for identity verification and
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
408
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
409
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
410
|
+
# entered as full nine-digits, with or without hyphens
|
419
411
|
sig { returns(String) }
|
420
412
|
attr_accessor :government_id
|
421
413
|
|
@@ -431,13 +423,13 @@ module Lithic
|
|
431
423
|
attr_writer :phone_number
|
432
424
|
|
433
425
|
# An individual with significant responsibility for managing the legal entity
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
426
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
427
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
428
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
429
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
430
|
+
# could also be a beneficial owner listed above. See
|
431
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
432
|
+
# (Section II) for more background.
|
441
433
|
sig do
|
442
434
|
params(
|
443
435
|
address: T.any(Lithic::Models::Address, Lithic::Internal::AnyHash),
|
@@ -450,8 +442,7 @@ module Lithic
|
|
450
442
|
)
|
451
443
|
.returns(T.attached_class)
|
452
444
|
end
|
453
|
-
def self.new(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil)
|
454
|
-
end
|
445
|
+
def self.new(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil); end
|
455
446
|
|
456
447
|
sig do
|
457
448
|
override
|
@@ -467,8 +458,7 @@ module Lithic
|
|
467
458
|
}
|
468
459
|
)
|
469
460
|
end
|
470
|
-
def to_hash
|
471
|
-
end
|
461
|
+
def to_hash; end
|
472
462
|
end
|
473
463
|
|
474
464
|
# Specifies the workflow type. This must be 'KYC_EXEMPT'
|
@@ -482,13 +472,12 @@ module Lithic
|
|
482
472
|
KYC_EXEMPT = T.let(:KYC_EXEMPT, Lithic::Models::AccountHolderCreateParams::Workflow::TaggedSymbol)
|
483
473
|
|
484
474
|
sig { override.returns(T::Array[Lithic::Models::AccountHolderCreateParams::Workflow::TaggedSymbol]) }
|
485
|
-
def self.values
|
486
|
-
end
|
475
|
+
def self.values; end
|
487
476
|
end
|
488
477
|
|
489
478
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
490
479
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
491
|
-
#
|
480
|
+
# acceptable; APO/FPO are acceptable.
|
492
481
|
sig { returns(Lithic::Models::Address) }
|
493
482
|
attr_reader :address
|
494
483
|
|
@@ -496,8 +485,8 @@ module Lithic
|
|
496
485
|
attr_writer :address
|
497
486
|
|
498
487
|
# Government-issued identification number. US Federal Employer Identification
|
499
|
-
#
|
500
|
-
#
|
488
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
489
|
+
# without hyphens.
|
501
490
|
sig { returns(String) }
|
502
491
|
attr_accessor :government_id
|
503
492
|
|
@@ -506,12 +495,12 @@ module Lithic
|
|
506
495
|
attr_accessor :legal_business_name
|
507
496
|
|
508
497
|
# One or more of the business's phone number(s), entered as a list in E.164
|
509
|
-
#
|
498
|
+
# format.
|
510
499
|
sig { returns(T::Array[String]) }
|
511
500
|
attr_accessor :phone_numbers
|
512
501
|
|
513
502
|
# Any name that the business operates under that is not its legal business name
|
514
|
-
#
|
503
|
+
# (if applicable).
|
515
504
|
sig { returns(T.nilable(String)) }
|
516
505
|
attr_reader :dba_business_name
|
517
506
|
|
@@ -543,9 +532,7 @@ module Lithic
|
|
543
532
|
phone_numbers:,
|
544
533
|
dba_business_name: nil,
|
545
534
|
parent_company: nil
|
546
|
-
)
|
547
|
-
end
|
548
|
-
|
535
|
+
); end
|
549
536
|
sig do
|
550
537
|
override
|
551
538
|
.returns(
|
@@ -559,13 +546,12 @@ module Lithic
|
|
559
546
|
}
|
560
547
|
)
|
561
548
|
end
|
562
|
-
def to_hash
|
563
|
-
end
|
549
|
+
def to_hash; end
|
564
550
|
end
|
565
551
|
|
566
552
|
class Individual < Lithic::Internal::Type::BaseModel
|
567
553
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
568
|
-
#
|
554
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
569
555
|
sig { returns(Lithic::Models::Address) }
|
570
556
|
attr_reader :address
|
571
557
|
|
@@ -577,7 +563,7 @@ module Lithic
|
|
577
563
|
attr_accessor :dob
|
578
564
|
|
579
565
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
580
|
-
#
|
566
|
+
# customer email address may be used to communicate dispute status and resolution.
|
581
567
|
sig { returns(String) }
|
582
568
|
attr_accessor :email
|
583
569
|
|
@@ -586,9 +572,9 @@ module Lithic
|
|
586
572
|
attr_accessor :first_name
|
587
573
|
|
588
574
|
# Government-issued identification number (required for identity verification and
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
575
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
576
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
577
|
+
# entered as full nine-digits, with or without hyphens
|
592
578
|
sig { returns(String) }
|
593
579
|
attr_accessor :government_id
|
594
580
|
|
@@ -601,7 +587,7 @@ module Lithic
|
|
601
587
|
attr_accessor :phone_number
|
602
588
|
|
603
589
|
# Information on individual for whom the account is being opened and KYC is being
|
604
|
-
#
|
590
|
+
# run.
|
605
591
|
sig do
|
606
592
|
params(
|
607
593
|
address: T.any(Lithic::Models::Address, Lithic::Internal::AnyHash),
|
@@ -614,8 +600,7 @@ module Lithic
|
|
614
600
|
)
|
615
601
|
.returns(T.attached_class)
|
616
602
|
end
|
617
|
-
def self.new(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number:)
|
618
|
-
end
|
603
|
+
def self.new(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number:); end
|
619
604
|
|
620
605
|
sig do
|
621
606
|
override
|
@@ -631,8 +616,7 @@ module Lithic
|
|
631
616
|
}
|
632
617
|
)
|
633
618
|
end
|
634
|
-
def to_hash
|
635
|
-
end
|
619
|
+
def to_hash; end
|
636
620
|
end
|
637
621
|
|
638
622
|
# Specifies the type of KYC Exempt user
|
@@ -650,8 +634,7 @@ module Lithic
|
|
650
634
|
T.let(:PREPAID_CARD_USER, Lithic::Models::AccountHolderCreateParams::KYCExemptionType::TaggedSymbol)
|
651
635
|
|
652
636
|
sig { override.returns(T::Array[Lithic::Models::AccountHolderCreateParams::KYCExemptionType::TaggedSymbol]) }
|
653
|
-
def self.values
|
654
|
-
end
|
637
|
+
def self.values; end
|
655
638
|
end
|
656
639
|
end
|
657
640
|
end
|
@@ -13,9 +13,9 @@ module Lithic
|
|
13
13
|
|
14
14
|
# KYC and KYB evaluation states.
|
15
15
|
#
|
16
|
-
#
|
16
|
+
# Note:
|
17
17
|
#
|
18
|
-
#
|
18
|
+
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
19
19
|
sig { returns(Lithic::Models::AccountHolderCreateResponse::Status::TaggedSymbol) }
|
20
20
|
attr_accessor :status
|
21
21
|
|
@@ -31,7 +31,7 @@ module Lithic
|
|
31
31
|
attr_writer :created
|
32
32
|
|
33
33
|
# Customer-provided token that indicates a relationship with an object outside of
|
34
|
-
#
|
34
|
+
# the Lithic ecosystem.
|
35
35
|
sig { returns(T.nilable(String)) }
|
36
36
|
attr_reader :external_id
|
37
37
|
|
@@ -39,7 +39,7 @@ module Lithic
|
|
39
39
|
attr_writer :external_id
|
40
40
|
|
41
41
|
# Only present for "KYB_BASIC" workflow. A list of documents required for the
|
42
|
-
#
|
42
|
+
# account holder to be approved.
|
43
43
|
sig { returns(T.nilable(T::Array[Lithic::Models::RequiredDocument])) }
|
44
44
|
attr_reader :required_documents
|
45
45
|
|
@@ -86,14 +86,13 @@ module Lithic
|
|
86
86
|
}
|
87
87
|
)
|
88
88
|
end
|
89
|
-
def to_hash
|
90
|
-
end
|
89
|
+
def to_hash; end
|
91
90
|
|
92
91
|
# KYC and KYB evaluation states.
|
93
92
|
#
|
94
|
-
#
|
93
|
+
# Note:
|
95
94
|
#
|
96
|
-
#
|
95
|
+
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
97
96
|
module Status
|
98
97
|
extend Lithic::Internal::Type::Enum
|
99
98
|
|
@@ -111,8 +110,7 @@ module Lithic
|
|
111
110
|
REJECTED = T.let(:REJECTED, Lithic::Models::AccountHolderCreateResponse::Status::TaggedSymbol)
|
112
111
|
|
113
112
|
sig { override.returns(T::Array[Lithic::Models::AccountHolderCreateResponse::Status::TaggedSymbol]) }
|
114
|
-
def self.values
|
115
|
-
end
|
113
|
+
def self.values; end
|
116
114
|
end
|
117
115
|
|
118
116
|
# Status Reasons for KYC/KYB enrollment states
|
@@ -221,8 +219,7 @@ module Lithic
|
|
221
219
|
)
|
222
220
|
|
223
221
|
sig { override.returns(T::Array[Lithic::Models::AccountHolderCreateResponse::StatusReason::TaggedSymbol]) }
|
224
|
-
def self.values
|
225
|
-
end
|
222
|
+
def self.values; end
|
226
223
|
end
|
227
224
|
end
|
228
225
|
end
|
@@ -14,12 +14,10 @@ module Lithic
|
|
14
14
|
)
|
15
15
|
).returns(T.attached_class)
|
16
16
|
end
|
17
|
-
def self.new(request_options: {})
|
18
|
-
end
|
17
|
+
def self.new(request_options: {}); end
|
19
18
|
|
20
19
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
21
|
-
def to_hash
|
22
|
-
end
|
20
|
+
def to_hash; end
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|
@@ -13,12 +13,10 @@ module Lithic
|
|
13
13
|
params(data: T::Array[T.any(Lithic::Models::Document, Lithic::Internal::AnyHash)])
|
14
14
|
.returns(T.attached_class)
|
15
15
|
end
|
16
|
-
def self.new(data: nil)
|
17
|
-
end
|
16
|
+
def self.new(data: nil); end
|
18
17
|
|
19
18
|
sig { override.returns({data: T::Array[Lithic::Models::Document]}) }
|
20
|
-
def to_hash
|
21
|
-
end
|
19
|
+
def to_hash; end
|
22
20
|
end
|
23
21
|
end
|
24
22
|
end
|
@@ -7,7 +7,7 @@ module Lithic
|
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
9
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
10
|
-
#
|
10
|
+
# will be included. UTC time zone.
|
11
11
|
sig { returns(T.nilable(Time)) }
|
12
12
|
attr_reader :begin_
|
13
13
|
|
@@ -15,7 +15,7 @@ module Lithic
|
|
15
15
|
attr_writer :begin_
|
16
16
|
|
17
17
|
# Email address of the account holder. The query must be an exact match, case
|
18
|
-
#
|
18
|
+
# insensitive.
|
19
19
|
sig { returns(T.nilable(String)) }
|
20
20
|
attr_reader :email
|
21
21
|
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
attr_writer :email
|
24
24
|
|
25
25
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
26
|
-
#
|
26
|
+
# will be included. UTC time zone.
|
27
27
|
sig { returns(T.nilable(Time)) }
|
28
28
|
attr_reader :end_
|
29
29
|
|
@@ -31,7 +31,7 @@ module Lithic
|
|
31
31
|
attr_writer :end_
|
32
32
|
|
33
33
|
# A cursor representing an item's token before which a page of results should end.
|
34
|
-
#
|
34
|
+
# Used to retrieve the previous page of results before this item.
|
35
35
|
sig { returns(T.nilable(String)) }
|
36
36
|
attr_reader :ending_before
|
37
37
|
|
@@ -46,7 +46,7 @@ module Lithic
|
|
46
46
|
attr_writer :external_id
|
47
47
|
|
48
48
|
# (Individual Account Holders only) The first name of the account holder. The
|
49
|
-
#
|
49
|
+
# query is case insensitive and supports partial matches.
|
50
50
|
sig { returns(T.nilable(String)) }
|
51
51
|
attr_reader :first_name
|
52
52
|
|
@@ -54,7 +54,7 @@ module Lithic
|
|
54
54
|
attr_writer :first_name
|
55
55
|
|
56
56
|
# (Individual Account Holders only) The last name of the account holder. The query
|
57
|
-
#
|
57
|
+
# is case insensitive and supports partial matches.
|
58
58
|
sig { returns(T.nilable(String)) }
|
59
59
|
attr_reader :last_name
|
60
60
|
|
@@ -62,7 +62,7 @@ module Lithic
|
|
62
62
|
attr_writer :last_name
|
63
63
|
|
64
64
|
# (Business Account Holders only) The legal business name of the account holder.
|
65
|
-
#
|
65
|
+
# The query is case insensitive and supports partial matches.
|
66
66
|
sig { returns(T.nilable(String)) }
|
67
67
|
attr_reader :legal_business_name
|
68
68
|
|
@@ -84,7 +84,7 @@ module Lithic
|
|
84
84
|
attr_writer :phone_number
|
85
85
|
|
86
86
|
# A cursor representing an item's token after which a page of results should
|
87
|
-
#
|
87
|
+
# begin. Used to retrieve the next page of results after this item.
|
88
88
|
sig { returns(T.nilable(String)) }
|
89
89
|
attr_reader :starting_after
|
90
90
|
|
@@ -121,9 +121,7 @@ module Lithic
|
|
121
121
|
phone_number: nil,
|
122
122
|
starting_after: nil,
|
123
123
|
request_options: {}
|
124
|
-
)
|
125
|
-
end
|
126
|
-
|
124
|
+
); end
|
127
125
|
sig do
|
128
126
|
override
|
129
127
|
.returns(
|
@@ -143,8 +141,7 @@ module Lithic
|
|
143
141
|
}
|
144
142
|
)
|
145
143
|
end
|
146
|
-
def to_hash
|
147
|
-
end
|
144
|
+
def to_hash; end
|
148
145
|
end
|
149
146
|
end
|
150
147
|
end
|
@@ -16,12 +16,10 @@ module Lithic
|
|
16
16
|
)
|
17
17
|
.returns(T.attached_class)
|
18
18
|
end
|
19
|
-
def self.new(account_holder_token:, request_options: {})
|
20
|
-
end
|
19
|
+
def self.new(account_holder_token:, request_options: {}); end
|
21
20
|
|
22
21
|
sig { override.returns({account_holder_token: String, request_options: Lithic::RequestOptions}) }
|
23
|
-
def to_hash
|
24
|
-
end
|
22
|
+
def to_hash; end
|
25
23
|
end
|
26
24
|
end
|
27
25
|
end
|
@@ -14,12 +14,10 @@ module Lithic
|
|
14
14
|
)
|
15
15
|
).returns(T.attached_class)
|
16
16
|
end
|
17
|
-
def self.new(request_options: {})
|
18
|
-
end
|
17
|
+
def self.new(request_options: {}); end
|
19
18
|
|
20
19
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
21
|
-
def to_hash
|
22
|
-
end
|
20
|
+
def to_hash; end
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|