lithic 0.1.0.pre.alpha.5 → 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 +29 -5
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/cursor_page.rb +5 -1
- data/lib/lithic/internal/single_page.rb +5 -1
- data/lib/lithic/internal/transport/base_client.rb +3 -3
- data/lib/lithic/internal/transport/pooled_net_requester.rb +2 -2
- data/lib/lithic/internal/type/array_of.rb +5 -3
- data/lib/lithic/internal/type/base_model.rb +19 -16
- data/lib/lithic/internal/type/base_page.rb +4 -1
- data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/lithic/internal/type/converter.rb +26 -23
- data/lib/lithic/internal/type/enum.rb +10 -8
- data/lib/lithic/internal/type/hash_of.rb +3 -1
- data/lib/lithic/internal/util.rb +29 -50
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -56
- data/lib/lithic/models/account_holder_create_params.rb +140 -144
- 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 +7 -7
- 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 +12 -12
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +3 -3
- data/lib/lithic/models/auth_rules/v2_update_params.rb +7 -7
- data/lib/lithic/models/auth_rules/v2_update_response.rb +3 -3
- 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 +25 -25
- 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 +25 -25
- data/lib/lithic/models/card_renew_params.rb +27 -27
- 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/credit_products/prime_rate_retrieve_response.rb +1 -1
- data/lib/lithic/models/digital_card_art.rb +2 -2
- 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 +7 -7
- data/lib/lithic/models/event_subscription.rb +1 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -2
- 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 +2 -2
- data/lib/lithic/models/external_bank_account_create_params.rb +5 -5
- 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.rb +11 -13
- data/lib/lithic/models/financial_account_create_params.rb +2 -2
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
- 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_account_credit_config.rb +1 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +24 -24
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +17 -17
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +7 -7
- 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 +3 -2
- data/lib/lithic/models/financial_accounts/statements.rb +1 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +128 -132
- 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/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_status.rb +1 -1
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +16 -16
- 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 +100 -100
- 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 +100 -100
- 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 +39 -39
- 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 +54 -54
- 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 +37 -37
- 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 +64 -61
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +6 -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 +6 -6
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +1 -1
- 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/lib/lithic.rb +3 -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 +10 -18
- 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_model.rbi → boolean.rbi} +5 -9
- 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 +40 -72
- 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 -100
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +154 -171
- 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 +27 -29
- 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 +27 -29
- data/rbi/lib/lithic/models/card_renew_params.rbi +30 -34
- 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 +27 -0
- 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 +26 -39
- 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 +18 -37
- 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 +67 -107
- 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 +46 -72
- 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 +139 -153
- 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 +121 -156
- 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 +219 -237
- 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 +24 -0
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +15 -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 +10 -19
- 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/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -2
- data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +5 -5
- data/sig/lithic/models/account_holder_create_params.rbs +47 -43
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
- data/sig/lithic/models/financial_account.rbs +6 -6
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
- 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/kyb.rbs +47 -43
- 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
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
- data/sig/lithic/resources/events.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +11 -5
@@ -4,15 +4,14 @@ module Lithic
|
|
4
4
|
module Resources
|
5
5
|
class AccountHolders
|
6
6
|
# Create an account holder and initiate the appropriate onboarding workflow.
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
7
|
+
# Account holders and accounts have a 1:1 relationship. When an account holder is
|
8
|
+
# successfully created an associated account is also created. All calls to this
|
9
|
+
# endpoint will return an immediate response - though in some cases, the response
|
10
|
+
# may indicate the enrollment is under review or further action will be needed to
|
11
|
+
# complete the account enrollment process. This endpoint can only be used on
|
12
|
+
# accounts that are part of the program that the calling API key manages.
|
13
13
|
sig do
|
14
14
|
params(
|
15
|
-
beneficial_owner_entities: T::Array[T.any(Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity, Lithic::Internal::AnyHash)],
|
16
15
|
beneficial_owner_individuals: T::Array[T.any(Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual, Lithic::Internal::AnyHash)],
|
17
16
|
business_entity: T.any(Lithic::Models::AccountHolderCreateParams::BusinessEntity, Lithic::Internal::AnyHash),
|
18
17
|
control_person: T.any(Lithic::Models::AccountHolderCreateParams::ControlPerson, Lithic::Internal::AnyHash),
|
@@ -26,6 +25,7 @@ module Lithic
|
|
26
25
|
kyc_exemption_type: Lithic::Models::AccountHolderCreateParams::KYCExemptionType::OrSymbol,
|
27
26
|
last_name: String,
|
28
27
|
phone_number: String,
|
28
|
+
beneficial_owner_entities: T::Array[T.any(Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity, Lithic::Internal::AnyHash)],
|
29
29
|
external_id: String,
|
30
30
|
kyb_passed_timestamp: String,
|
31
31
|
website_url: String,
|
@@ -36,48 +36,38 @@ module Lithic
|
|
36
36
|
.returns(Lithic::Models::AccountHolderCreateResponse)
|
37
37
|
end
|
38
38
|
def create(
|
39
|
-
# List of all
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
# empty list. However, either this parameter or `beneficial_owner_individuals`
|
45
|
-
# must be populated. on entities that should be included.
|
46
|
-
beneficial_owner_entities:,
|
47
|
-
# List of all direct and indirect individuals with >25% ownership in the company.
|
48
|
-
# If no entity or individual owns >25% of the company, and the largest shareholder
|
49
|
-
# is an individual, please identify them in this field. See
|
50
|
-
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
51
|
-
# (Section I) for more background on individuals that should be included. If no
|
52
|
-
# individual is an entity, pass in an empty list. However, either this parameter
|
53
|
-
# or `beneficial_owner_entities` must be populated.
|
39
|
+
# List of all direct and indirect individuals with 25% or more ownership in the
|
40
|
+
# company. If no individual owns 25% of the company, please identify the largest
|
41
|
+
# shareholder in this field. See
|
42
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
43
|
+
# (Section I) for more background on individuals that should be included.
|
54
44
|
beneficial_owner_individuals:,
|
55
45
|
# Information for business for which the account is being opened and KYB is being
|
56
|
-
#
|
46
|
+
# run.
|
57
47
|
business_entity:,
|
58
48
|
# An individual with significant responsibility for managing the legal entity
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
49
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
50
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
51
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
52
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
53
|
+
# could also be a beneficial owner listed above. See
|
54
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
55
|
+
# (Section II) for more background.
|
66
56
|
control_person:,
|
67
57
|
# Short description of the company's line of business (i.e., what does the company
|
68
|
-
#
|
58
|
+
# do?).
|
69
59
|
nature_of_business:,
|
70
60
|
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
71
|
-
#
|
72
|
-
#
|
61
|
+
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
62
|
+
# implementation with Lithic.
|
73
63
|
tos_timestamp:,
|
74
64
|
# Specifies the workflow type. This must be 'KYC_EXEMPT'
|
75
65
|
workflow:,
|
76
66
|
# Information on individual for whom the account is being opened and KYC is being
|
77
|
-
#
|
67
|
+
# run.
|
78
68
|
individual:,
|
79
69
|
# KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
80
|
-
#
|
70
|
+
# acceptable; APO/FPO are acceptable.
|
81
71
|
address:,
|
82
72
|
# The KYC Exempt user's email
|
83
73
|
email:,
|
@@ -89,31 +79,31 @@ module Lithic
|
|
89
79
|
last_name:,
|
90
80
|
# The KYC Exempt user's phone number, entered in E.164 format.
|
91
81
|
phone_number:,
|
82
|
+
# Deprecated.
|
83
|
+
beneficial_owner_entities: nil,
|
92
84
|
# A user provided id that can be used to link an account holder with an external
|
93
|
-
#
|
85
|
+
# system
|
94
86
|
external_id: nil,
|
95
87
|
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
96
|
-
#
|
88
|
+
# business with a pass result.
|
97
89
|
#
|
98
|
-
#
|
90
|
+
# This field is required only if workflow type is `KYB_BYO`.
|
99
91
|
kyb_passed_timestamp: nil,
|
100
92
|
# Company website URL.
|
101
93
|
website_url: nil,
|
102
94
|
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
103
|
-
#
|
95
|
+
# individual with a pass result.
|
104
96
|
#
|
105
|
-
#
|
97
|
+
# This field is required only if workflow type is `KYC_BYO`.
|
106
98
|
kyc_passed_timestamp: nil,
|
107
99
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
108
|
-
#
|
109
|
-
#
|
100
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
101
|
+
# with the AUTHORIZED_USER in this field.
|
110
102
|
business_account_token: nil,
|
111
103
|
request_options: {}
|
112
|
-
)
|
113
|
-
end
|
114
|
-
|
104
|
+
); end
|
115
105
|
# Get an Individual or Business Account Holder and/or their KYC or KYB evaluation
|
116
|
-
#
|
106
|
+
# status.
|
117
107
|
sig do
|
118
108
|
params(
|
119
109
|
account_holder_token: String,
|
@@ -125,18 +115,16 @@ module Lithic
|
|
125
115
|
# Globally unique identifier for the account holder.
|
126
116
|
account_holder_token,
|
127
117
|
request_options: {}
|
128
|
-
)
|
129
|
-
end
|
130
|
-
|
118
|
+
); end
|
131
119
|
# Update the information associated with a particular account holder (including
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
120
|
+
# business owners and control persons associated to a business account). If Lithic
|
121
|
+
# is performing KYB or KYC and additional verification is required we will run the
|
122
|
+
# individual's or business's updated information again and return whether the
|
123
|
+
# status is accepted or pending (i.e., further action required). All calls to this
|
124
|
+
# endpoint will return an immediate response - though in some cases, the response
|
125
|
+
# may indicate the workflow is under review or further action will be needed to
|
126
|
+
# complete the evaluation process. This endpoint can only be used on existing
|
127
|
+
# accounts that are part of the program that the calling API key manages.
|
140
128
|
sig do
|
141
129
|
params(
|
142
130
|
account_holder_token: String,
|
@@ -167,53 +155,45 @@ module Lithic
|
|
167
155
|
def update(
|
168
156
|
# Globally unique identifier for the account holder.
|
169
157
|
account_holder_token,
|
170
|
-
#
|
171
|
-
# individual owns >25% of the company, and the largest shareholder is an entity,
|
172
|
-
# please identify them in this field. See
|
173
|
-
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)(Section
|
174
|
-
# I) for more background. If no business owner is an entity, pass in an empty
|
175
|
-
# list. However, either this parameter or `beneficial_owner_individuals` must be
|
176
|
-
# populated. on entities that should be included.
|
158
|
+
# Deprecated.
|
177
159
|
beneficial_owner_entities: nil,
|
178
|
-
# List of all individuals with
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
# is an entity, pass in an empty list. However, either this parameter or
|
184
|
-
# `beneficial_owner_entities` must be populated.
|
160
|
+
# List of all direct and indirect individuals with 25% or more ownership in the
|
161
|
+
# company. If no individual owns 25% of the company, please identify the largest
|
162
|
+
# shareholder in this field. See
|
163
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
164
|
+
# (Section I) for more background on individuals that should be included.
|
185
165
|
beneficial_owner_individuals: nil,
|
186
166
|
# Information for business for which the account is being opened and KYB is being
|
187
|
-
#
|
167
|
+
# run.
|
188
168
|
business_entity: nil,
|
189
169
|
# An individual with significant responsibility for managing the legal entity
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
170
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
171
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
172
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
173
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
174
|
+
# could also be a beneficial owner listed above. See
|
175
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
176
|
+
# (Section II) for more background.
|
197
177
|
control_person: nil,
|
198
178
|
# A user provided id that can be used to link an account holder with an external
|
199
|
-
#
|
179
|
+
# system
|
200
180
|
external_id: nil,
|
201
181
|
# Short description of the company's line of business (i.e., what does the company
|
202
|
-
#
|
182
|
+
# do?).
|
203
183
|
nature_of_business: nil,
|
204
184
|
# Company website URL.
|
205
185
|
website_url: nil,
|
206
186
|
# Information on the individual for whom the account is being opened and KYC is
|
207
|
-
#
|
187
|
+
# being run.
|
208
188
|
individual: nil,
|
209
189
|
# Allowed for: KYC-Exempt, BYO-KYC, BYO-KYB.
|
210
190
|
address: nil,
|
211
191
|
# Allowed for: KYC-Exempt, BYO-KYC. The token of the business account to which the
|
212
|
-
#
|
192
|
+
# account holder is associated.
|
213
193
|
business_account_token: nil,
|
214
194
|
# Allowed for all Account Holders. Account holder's email address. The primary
|
215
|
-
#
|
216
|
-
#
|
195
|
+
# purpose of this field is for cardholder identification and verification during
|
196
|
+
# the digital wallet tokenization process.
|
217
197
|
email: nil,
|
218
198
|
# Allowed for KYC-Exempt, BYO-KYC. Account holder's first name.
|
219
199
|
first_name: nil,
|
@@ -222,15 +202,13 @@ module Lithic
|
|
222
202
|
# Allowed for BYO-KYB. Legal business name of the account holder.
|
223
203
|
legal_business_name: nil,
|
224
204
|
# Allowed for all Account Holders. Account holder's phone number, entered in E.164
|
225
|
-
#
|
226
|
-
#
|
205
|
+
# format. The primary purpose of this field is for cardholder identification and
|
206
|
+
# verification during the digital wallet tokenization process.
|
227
207
|
phone_number: nil,
|
228
208
|
request_options: {}
|
229
|
-
)
|
230
|
-
end
|
231
|
-
|
209
|
+
); end
|
232
210
|
# Get a list of individual or business account holders and their KYC or KYB
|
233
|
-
#
|
211
|
+
# evaluation status.
|
234
212
|
sig do
|
235
213
|
params(
|
236
214
|
begin_: Time,
|
@@ -250,54 +228,52 @@ module Lithic
|
|
250
228
|
end
|
251
229
|
def list(
|
252
230
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
253
|
-
#
|
231
|
+
# will be included. UTC time zone.
|
254
232
|
begin_: nil,
|
255
233
|
# Email address of the account holder. The query must be an exact match, case
|
256
|
-
#
|
234
|
+
# insensitive.
|
257
235
|
email: nil,
|
258
236
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
259
|
-
#
|
237
|
+
# will be included. UTC time zone.
|
260
238
|
end_: nil,
|
261
239
|
# A cursor representing an item's token before which a page of results should end.
|
262
|
-
#
|
240
|
+
# Used to retrieve the previous page of results before this item.
|
263
241
|
ending_before: nil,
|
264
242
|
# If applicable, represents the external_id associated with the account_holder.
|
265
243
|
external_id: nil,
|
266
244
|
# (Individual Account Holders only) The first name of the account holder. The
|
267
|
-
#
|
245
|
+
# query is case insensitive and supports partial matches.
|
268
246
|
first_name: nil,
|
269
247
|
# (Individual Account Holders only) The last name of the account holder. The query
|
270
|
-
#
|
248
|
+
# is case insensitive and supports partial matches.
|
271
249
|
last_name: nil,
|
272
250
|
# (Business Account Holders only) The legal business name of the account holder.
|
273
|
-
#
|
251
|
+
# The query is case insensitive and supports partial matches.
|
274
252
|
legal_business_name: nil,
|
275
253
|
# The number of account_holders to limit the response to.
|
276
254
|
limit: nil,
|
277
255
|
# Phone number of the account holder. The query must be an exact match.
|
278
256
|
phone_number: nil,
|
279
257
|
# A cursor representing an item's token after which a page of results should
|
280
|
-
#
|
258
|
+
# begin. Used to retrieve the next page of results after this item.
|
281
259
|
starting_after: nil,
|
282
260
|
request_options: {}
|
283
|
-
)
|
284
|
-
end
|
285
|
-
|
261
|
+
); end
|
286
262
|
# Retrieve the status of account holder document uploads, or retrieve the upload
|
287
|
-
#
|
263
|
+
# URLs to process your image uploads.
|
288
264
|
#
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
265
|
+
# Note that this is not equivalent to checking the status of the KYC evaluation
|
266
|
+
# overall (a document may be successfully uploaded but not be sufficient for KYC
|
267
|
+
# to pass).
|
292
268
|
#
|
293
|
-
#
|
294
|
-
#
|
295
|
-
#
|
296
|
-
#
|
269
|
+
# In the event your upload URLs have expired, calling this endpoint will refresh
|
270
|
+
# them. Similarly, in the event a previous account holder document upload has
|
271
|
+
# failed, you can use this endpoint to get a new upload URL for the failed image
|
272
|
+
# upload.
|
297
273
|
#
|
298
|
-
#
|
299
|
-
#
|
300
|
-
#
|
274
|
+
# When a new document upload is generated for a failed attempt, the response will
|
275
|
+
# show an additional entry in the `required_document_uploads` list in a `PENDING`
|
276
|
+
# state for the corresponding `image_type`.
|
301
277
|
sig do
|
302
278
|
params(
|
303
279
|
account_holder_token: String,
|
@@ -309,23 +285,21 @@ module Lithic
|
|
309
285
|
# Globally unique identifier for the account holder.
|
310
286
|
account_holder_token,
|
311
287
|
request_options: {}
|
312
|
-
)
|
313
|
-
end
|
314
|
-
|
288
|
+
); end
|
315
289
|
# Check the status of an account holder document upload, or retrieve the upload
|
316
|
-
#
|
290
|
+
# URLs to process your image uploads.
|
317
291
|
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
292
|
+
# Note that this is not equivalent to checking the status of the KYC evaluation
|
293
|
+
# overall (a document may be successfully uploaded but not be sufficient for KYC
|
294
|
+
# to pass).
|
321
295
|
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
#
|
296
|
+
# In the event your upload URLs have expired, calling this endpoint will refresh
|
297
|
+
# them. Similarly, in the event a document upload has failed, you can use this
|
298
|
+
# endpoint to get a new upload URL for the failed image upload.
|
325
299
|
#
|
326
|
-
#
|
327
|
-
#
|
328
|
-
#
|
300
|
+
# When a new account holder document upload is generated for a failed attempt, the
|
301
|
+
# response will show an additional entry in the `required_document_uploads` array
|
302
|
+
# in a `PENDING` state for the corresponding `image_type`.
|
329
303
|
sig do
|
330
304
|
params(
|
331
305
|
document_token: String,
|
@@ -340,9 +314,7 @@ module Lithic
|
|
340
314
|
# Globally unique identifier for the account holder.
|
341
315
|
account_holder_token:,
|
342
316
|
request_options: {}
|
343
|
-
)
|
344
|
-
end
|
345
|
-
|
317
|
+
); end
|
346
318
|
# Simulates a review for an account holder document upload.
|
347
319
|
sig do
|
348
320
|
params(
|
@@ -362,14 +334,12 @@ module Lithic
|
|
362
334
|
# A list of status reasons associated with a KYB account holder in PENDING_REVIEW
|
363
335
|
accepted_entity_status_reasons: nil,
|
364
336
|
# Status reason that will be associated with the simulated account holder status.
|
365
|
-
#
|
337
|
+
# Only required for a `REJECTED` status or `PARTIAL_APPROVAL` status.
|
366
338
|
status_reason: nil,
|
367
339
|
request_options: {}
|
368
|
-
)
|
369
|
-
end
|
370
|
-
|
340
|
+
); end
|
371
341
|
# Simulates an enrollment review for an account holder. This endpoint is only
|
372
|
-
#
|
342
|
+
# applicable for workflows that may required intervention such as `KYB_BASIC`.
|
373
343
|
sig do
|
374
344
|
params(
|
375
345
|
account_holder_token: String,
|
@@ -385,30 +355,28 @@ module Lithic
|
|
385
355
|
# An account holder's status for use within the simulation.
|
386
356
|
status: nil,
|
387
357
|
# Status reason that will be associated with the simulated account holder status.
|
388
|
-
#
|
358
|
+
# Only required for a `REJECTED` status.
|
389
359
|
status_reasons: nil,
|
390
360
|
request_options: {}
|
391
|
-
)
|
392
|
-
end
|
393
|
-
|
361
|
+
); end
|
394
362
|
# Use this endpoint to identify which type of supported government-issued
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
363
|
+
# documentation you will upload for further verification. It will return two URLs
|
364
|
+
# to upload your document images to - one for the front image and one for the back
|
365
|
+
# image.
|
398
366
|
#
|
399
|
-
#
|
367
|
+
# This endpoint is only valid for evaluations in a `PENDING_DOCUMENT` state.
|
400
368
|
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
369
|
+
# Uploaded images must either be a `jpg` or `png` file, and each must be less than
|
370
|
+
# 15 MiB. Once both required uploads have been successfully completed, your
|
371
|
+
# document will be run through KYC verification.
|
404
372
|
#
|
405
|
-
#
|
406
|
-
#
|
373
|
+
# If you have registered a webhook, you will receive evaluation updates for any
|
374
|
+
# document submission evaluations, as well as for any failed document uploads.
|
407
375
|
#
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
376
|
+
# Two document submission attempts are permitted via this endpoint before a
|
377
|
+
# `REJECTED` status is returned and the account creation process is ended.
|
378
|
+
# Currently only one type of account holder document is supported per KYC
|
379
|
+
# verification.
|
412
380
|
sig do
|
413
381
|
params(
|
414
382
|
account_holder_token: String,
|
@@ -426,13 +394,10 @@ module Lithic
|
|
426
394
|
# Globally unique identifier for the entity.
|
427
395
|
entity_token:,
|
428
396
|
request_options: {}
|
429
|
-
)
|
430
|
-
end
|
431
|
-
|
397
|
+
); end
|
432
398
|
# @api private
|
433
399
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
434
|
-
def self.new(client:)
|
435
|
-
end
|
400
|
+
def self.new(client:); end
|
436
401
|
end
|
437
402
|
end
|
438
403
|
end
|
@@ -15,12 +15,10 @@ module Lithic
|
|
15
15
|
# Globally unique identifier for account.
|
16
16
|
account_token,
|
17
17
|
request_options: {}
|
18
|
-
)
|
19
|
-
end
|
20
|
-
|
18
|
+
); end
|
21
19
|
# Update account configuration such as state or spend limits. Can only be run on
|
22
|
-
#
|
23
|
-
#
|
20
|
+
# accounts that are part of the program managed by this API key. Accounts that are
|
21
|
+
# in the `PAUSED` state will not be able to transact or create new cards.
|
24
22
|
sig do
|
25
23
|
params(
|
26
24
|
account_token: String,
|
@@ -37,30 +35,28 @@ module Lithic
|
|
37
35
|
# Globally unique identifier for account.
|
38
36
|
account_token,
|
39
37
|
# Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
|
40
|
-
#
|
38
|
+
# $1,000 limit). By default the daily spend limit is set to $1,250.
|
41
39
|
daily_spend_limit: nil,
|
42
40
|
# Amount (in cents) for the account's lifetime spend limit (e.g. 100000 would be a
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
41
|
+
# $1,000 limit). Once this limit is reached, no transactions will be accepted on
|
42
|
+
# any card created for this account until the limit is updated. Note that a spend
|
43
|
+
# limit of 0 is effectively no limit, and should only be used to reset or remove a
|
44
|
+
# prior limit. Only a limit of 1 or above will result in declined transactions due
|
45
|
+
# to checks against the account limit. This behavior differs from the daily spend
|
46
|
+
# limit and the monthly spend limit.
|
49
47
|
lifetime_spend_limit: nil,
|
50
48
|
# Amount (in cents) for the account's monthly spend limit (e.g. 100000 would be a
|
51
|
-
#
|
49
|
+
# $1,000 limit). By default the monthly spend limit is set to $5,000.
|
52
50
|
monthly_spend_limit: nil,
|
53
51
|
# Account states.
|
54
52
|
state: nil,
|
55
53
|
# Address used during Address Verification Service (AVS) checks during
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
54
|
+
# transactions if enabled via Auth Rules. This field is deprecated as AVS checks
|
55
|
+
# are no longer supported by Authorization Rules. The field will be removed from
|
56
|
+
# the schema in a future release.
|
59
57
|
verification_address: nil,
|
60
58
|
request_options: {}
|
61
|
-
)
|
62
|
-
end
|
63
|
-
|
59
|
+
); end
|
64
60
|
# List account configurations.
|
65
61
|
sig do
|
66
62
|
params(
|
@@ -75,28 +71,26 @@ module Lithic
|
|
75
71
|
end
|
76
72
|
def list(
|
77
73
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
78
|
-
#
|
74
|
+
# will be included. UTC time zone.
|
79
75
|
begin_: nil,
|
80
76
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
81
|
-
#
|
77
|
+
# will be included. UTC time zone.
|
82
78
|
end_: nil,
|
83
79
|
# A cursor representing an item's token before which a page of results should end.
|
84
|
-
#
|
80
|
+
# Used to retrieve the previous page of results before this item.
|
85
81
|
ending_before: nil,
|
86
82
|
# Page size (for pagination).
|
87
83
|
page_size: nil,
|
88
84
|
# A cursor representing an item's token after which a page of results should
|
89
|
-
#
|
85
|
+
# begin. Used to retrieve the next page of results after this item.
|
90
86
|
starting_after: nil,
|
91
87
|
request_options: {}
|
92
|
-
)
|
93
|
-
end
|
94
|
-
|
88
|
+
); end
|
95
89
|
# Get an Account's available spend limits, which is based on the spend limit
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
90
|
+
# configured on the Account and the amount already spent over the spend limit's
|
91
|
+
# duration. For example, if the Account has a daily spend limit of $1000
|
92
|
+
# configured, and has spent $600 in the last 24 hours, the available spend limit
|
93
|
+
# returned would be $400.
|
100
94
|
sig do
|
101
95
|
params(
|
102
96
|
account_token: String,
|
@@ -108,13 +102,10 @@ module Lithic
|
|
108
102
|
# Globally unique identifier for account.
|
109
103
|
account_token,
|
110
104
|
request_options: {}
|
111
|
-
)
|
112
|
-
end
|
113
|
-
|
105
|
+
); end
|
114
106
|
# @api private
|
115
107
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
116
|
-
def self.new(client:)
|
117
|
-
end
|
108
|
+
def self.new(client:); end
|
118
109
|
end
|
119
110
|
end
|
120
111
|
end
|
@@ -4,7 +4,7 @@ module Lithic
|
|
4
4
|
module Resources
|
5
5
|
class AggregateBalances
|
6
6
|
# Get the aggregated balance across all end-user accounts by financial account
|
7
|
-
#
|
7
|
+
# type
|
8
8
|
sig do
|
9
9
|
params(
|
10
10
|
financial_account_type: Lithic::Models::AggregateBalanceListParams::FinancialAccountType::OrSymbol,
|
@@ -16,13 +16,10 @@ module Lithic
|
|
16
16
|
# Get the aggregate balance for a given Financial Account type.
|
17
17
|
financial_account_type: nil,
|
18
18
|
request_options: {}
|
19
|
-
)
|
20
|
-
end
|
21
|
-
|
19
|
+
); end
|
22
20
|
# @api private
|
23
21
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
24
|
-
def self.new(client:)
|
25
|
-
end
|
22
|
+
def self.new(client:); end
|
26
23
|
end
|
27
24
|
end
|
28
25
|
end
|