lithic 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +52 -0
- data/README.md +3 -3
- data/lib/lithic/client.rb +11 -0
- data/lib/lithic/internal/util.rb +31 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +8 -2
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +7 -1
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +8 -2
- data/lib/lithic/models/account_holder.rb +1 -79
- data/lib/lithic/models/account_holder_create_params.rb +338 -549
- data/lib/lithic/models/account_holder_list_documents_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +1 -9
- data/lib/lithic/models/account_holder_update_params.rb +501 -509
- data/lib/lithic/models/account_holder_update_response.rb +1 -9
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +1 -11
- data/lib/lithic/models/account_holder_upload_document_params.rb +8 -1
- data/lib/lithic/models/account_holders/entity_create_params.rb +8 -1
- data/lib/lithic/models/account_holders/entity_delete_params.rb +7 -1
- data/lib/lithic/models/account_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/account_update_params.rb +8 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +84 -8
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +92 -0
- data/lib/lithic/models/auth_rules/{rule_stats.rb → backtest_stats.rb} +16 -24
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +9 -9
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +13 -13
- data/lib/lithic/models/auth_rules/report_stats.rb +552 -0
- data/lib/lithic/models/auth_rules/rule_feature.rb +231 -0
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +33 -0
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +15 -23
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +378 -113
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +14 -4
- data/lib/lithic/models/auth_rules/v2_list_results_params.rb +19 -1
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +163 -47
- data/lib/lithic/models/auth_rules/v2_list_versions_params.rb +22 -0
- data/lib/lithic/models/auth_rules/v2_list_versions_response.rb +18 -0
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_features_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +3 -83
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +531 -7
- data/lib/lithic/models/auth_rules/v2_update_params.rb +199 -66
- data/lib/lithic/models/auth_rules/velocity_limit_filters.rb +87 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -84
- data/lib/lithic/models/book_transfer_retrieve_params.rb +7 -1
- data/lib/lithic/models/book_transfer_retry_params.rb +8 -1
- data/lib/lithic/models/book_transfer_reverse_params.rb +8 -1
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_bulk_order_update_params.rb +8 -1
- data/lib/lithic/models/card_convert_physical_params.rb +8 -1
- data/lib/lithic/models/card_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_provision_params.rb +8 -1
- data/lib/lithic/models/card_reissue_params.rb +8 -1
- data/lib/lithic/models/card_renew_params.rb +8 -1
- data/lib/lithic/models/card_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/card_update_params.rb +8 -1
- data/lib/lithic/models/card_web_provision_params.rb +8 -1
- data/lib/lithic/models/cards/balance_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +9 -1
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +9 -1
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +7 -1
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +69 -59
- data/lib/lithic/models/dispute_create_params.rb +11 -11
- data/lib/lithic/models/dispute_delete_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_delete_params.rb +7 -1
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +8 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +8 -1
- data/lib/lithic/models/dispute_list_params.rb +3 -3
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_retrieve_params.rb +7 -1
- data/lib/lithic/models/dispute_update_params.rb +17 -10
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/event.rb +0 -7
- data/lib/lithic/models/event_list_attempts_params.rb +8 -1
- data/lib/lithic/models/event_list_params.rb +0 -4
- data/lib/lithic/models/event_retrieve_params.rb +7 -1
- data/lib/lithic/models/event_subscription.rb +0 -4
- data/lib/lithic/models/events/event_subscription_resend_params.rb +7 -1
- data/lib/lithic/models/events/subscription_create_params.rb +0 -4
- data/lib/lithic/models/events/subscription_delete_params.rb +7 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +8 -1
- data/lib/lithic/models/events/subscription_recover_params.rb +8 -1
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +8 -1
- data/lib/lithic/models/events/subscription_retrieve_params.rb +7 -1
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +8 -2
- data/lib/lithic/models/events/subscription_update_params.rb +8 -5
- data/lib/lithic/models/external_bank_account_create_params.rb +446 -140
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_unpause_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_update_params.rb +8 -1
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +7 -1
- data/lib/lithic/models/external_payment_cancel_params.rb +7 -1
- data/lib/lithic/models/external_payment_release_params.rb +7 -1
- data/lib/lithic/models/external_payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_payment_reverse_params.rb +7 -1
- data/lib/lithic/models/external_payment_settle_params.rb +7 -1
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_list_params.rb +1 -0
- data/lib/lithic/models/financial_account_register_account_number_params.rb +7 -1
- data/lib/lithic/models/financial_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_status_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +9 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +16 -1
- data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +27 -2
- data/lib/lithic/models/fraud/transaction_report_params.rb +8 -1
- data/lib/lithic/models/fraud/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_details_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_params.rb +7 -1
- data/lib/lithic/models/hold.rb +147 -0
- data/lib/lithic/models/hold_create_params.rb +61 -0
- data/lib/lithic/models/hold_event.rb +110 -0
- data/lib/lithic/models/hold_list_params.rb +89 -0
- data/lib/lithic/models/hold_retrieve_params.rb +20 -0
- data/lib/lithic/models/hold_void_params.rb +29 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/kyb.rb +1 -71
- data/lib/lithic/models/management_operation_retrieve_params.rb +7 -1
- data/lib/lithic/models/management_operation_reverse_params.rb +7 -1
- data/lib/lithic/models/network_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/parsed_webhook_event.rb +3 -15
- data/lib/lithic/models/payment.rb +76 -12
- data/lib/lithic/models/payment_create_params.rb +22 -1
- data/lib/lithic/models/payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/payment_retry_params.rb +7 -1
- data/lib/lithic/models/payment_return_params.rb +8 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +9 -1
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +7 -1
- data/lib/lithic/models/reports/settlement_list_details_params.rb +8 -1
- data/lib/lithic/models/reports/settlement_summary_params.rb +7 -1
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +7 -1
- data/lib/lithic/models/tokenization_activate_params.rb +7 -1
- data/lib/lithic/models/tokenization_deactivate_params.rb +7 -1
- data/lib/lithic/models/tokenization_pause_params.rb +7 -1
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +8 -1
- data/lib/lithic/models/tokenization_retrieve_params.rb +7 -1
- data/lib/lithic/models/tokenization_unpause_params.rb +7 -1
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +8 -1
- data/lib/lithic/models/transaction_expire_authorization_params.rb +7 -1
- data/lib/lithic/models/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models.rb +12 -2
- data/lib/lithic/resources/account_activity.rb +4 -3
- data/lib/lithic/resources/account_holders/entities.rb +4 -4
- data/lib/lithic/resources/account_holders.rb +9 -83
- data/lib/lithic/resources/accounts.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2.rb +44 -53
- data/lib/lithic/resources/balances.rb +2 -1
- data/lib/lithic/resources/book_transfers.rb +2 -1
- data/lib/lithic/resources/card_bulk_orders.rb +2 -1
- data/lib/lithic/resources/card_programs.rb +2 -1
- data/lib/lithic/resources/cards/balances.rb +2 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +2 -1
- data/lib/lithic/resources/cards.rb +4 -2
- data/lib/lithic/resources/credit_products/prime_rates.rb +2 -1
- data/lib/lithic/resources/digital_card_art.rb +2 -1
- data/lib/lithic/resources/disputes.rb +25 -23
- data/lib/lithic/resources/disputes_v2.rb +2 -1
- data/lib/lithic/resources/events/subscriptions.rb +8 -4
- data/lib/lithic/resources/events.rb +4 -2
- data/lib/lithic/resources/external_bank_accounts.rb +5 -40
- data/lib/lithic/resources/external_payments.rb +2 -1
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +2 -1
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +8 -3
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +2 -1
- data/lib/lithic/resources/financial_accounts.rb +2 -1
- data/lib/lithic/resources/funding_events.rb +2 -1
- data/lib/lithic/resources/holds.rb +132 -0
- data/lib/lithic/resources/management_operations.rb +2 -1
- data/lib/lithic/resources/network_programs.rb +2 -1
- data/lib/lithic/resources/payments.rb +5 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +2 -1
- data/lib/lithic/resources/reports/settlement.rb +2 -1
- data/lib/lithic/resources/responder_endpoints.rb +4 -2
- data/lib/lithic/resources/tokenizations.rb +2 -1
- data/lib/lithic/resources/transactions.rb +2 -1
- data/lib/lithic/resources/transfer_limits.rb +2 -1
- data/lib/lithic/resources/webhooks.rb +2 -3
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -2
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/internal/util.rbi +20 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +14 -2
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +13 -5
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +14 -2
- data/rbi/lithic/models/account_holder.rbi +0 -121
- data/rbi/lithic/models/account_holder_create_params.rbi +567 -837
- data/rbi/lithic/models/account_holder_list_documents_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +6 -1
- data/rbi/lithic/models/account_holder_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +0 -16
- data/rbi/lithic/models/account_holder_update_params.rbi +860 -831
- data/rbi/lithic/models/account_holder_update_response.rbi +0 -17
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +0 -17
- data/rbi/lithic/models/account_holder_upload_document_params.rbi +6 -0
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +6 -0
- data/rbi/lithic/models/account_holders/entity_delete_params.rbi +6 -1
- data/rbi/lithic/models/account_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/account_update_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +128 -4
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +142 -0
- data/rbi/lithic/models/auth_rules/{rule_stats.rbi → backtest_stats.rbi} +29 -33
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +12 -12
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +31 -31
- data/rbi/lithic/models/auth_rules/report_stats.rbi +1754 -0
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +414 -0
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +94 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +23 -43
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +744 -181
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +14 -4
- data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +26 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +520 -97
- data/rbi/lithic/models/auth_rules/v2_list_versions_params.rbi +40 -0
- data/rbi/lithic/models/auth_rules/v2_list_versions_response.rbi +36 -0
- data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_params.rbi +11 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +4 -209
- data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +1698 -9
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +415 -101
- data/rbi/lithic/models/auth_rules/velocity_limit_filters.rbi +205 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +4 -206
- data/rbi/lithic/models/book_transfer_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/book_transfer_retry_params.rbi +10 -1
- data/rbi/lithic/models/book_transfer_reverse_params.rbi +10 -1
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +6 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +6 -0
- data/rbi/lithic/models/card_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/card_provision_params.rbi +6 -0
- data/rbi/lithic/models/card_reissue_params.rbi +6 -0
- data/rbi/lithic/models/card_renew_params.rbi +6 -0
- data/rbi/lithic/models/card_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/card_update_params.rbi +6 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +6 -0
- data/rbi/lithic/models/cards/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +14 -2
- data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +8 -0
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +154 -142
- data/rbi/lithic/models/dispute_create_params.rbi +11 -11
- data/rbi/lithic/models/dispute_delete_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_delete_params.rbi +13 -5
- data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +10 -1
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +6 -0
- data/rbi/lithic/models/dispute_list_params.rbi +3 -3
- data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/dispute_update_params.rbi +15 -9
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event.rbi +0 -14
- data/rbi/lithic/models/event_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/event_list_params.rbi +0 -8
- data/rbi/lithic/models/event_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event_subscription.rbi +0 -8
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +14 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +0 -8
- data/rbi/lithic/models/events/subscription_delete_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_recover_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +6 -5
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -8
- data/rbi/lithic/models/external_bank_account_create_params.rbi +693 -211
- data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_update_params.rbi +6 -0
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +10 -1
- data/rbi/lithic/models/external_payment_cancel_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_release_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_payment_reverse_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_settle_params.rbi +6 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account_register_account_number_params.rbi +14 -2
- data/rbi/lithic/models/financial_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_account_update_params.rbi +10 -2
- data/rbi/lithic/models/financial_account_update_status_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +16 -5
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +17 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +21 -5
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +38 -3
- data/rbi/lithic/models/fraud/transaction_report_params.rbi +6 -0
- data/rbi/lithic/models/fraud/transaction_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_details_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/hold.rbi +183 -0
- data/rbi/lithic/models/hold_create_params.rbi +90 -0
- data/rbi/lithic/models/hold_event.rbi +148 -0
- data/rbi/lithic/models/hold_list_params.rbi +137 -0
- data/rbi/lithic/models/hold_retrieve_params.rbi +35 -0
- data/rbi/lithic/models/hold_void_params.rbi +49 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/kyb.rbi +0 -109
- data/rbi/lithic/models/management_operation_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/management_operation_reverse_params.rbi +11 -1
- data/rbi/lithic/models/network_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/parsed_webhook_event.rbi +0 -18
- data/rbi/lithic/models/payment.rbi +139 -13
- data/rbi/lithic/models/payment_create_params.rbi +34 -0
- data/rbi/lithic/models/payment_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/payment_retry_params.rbi +13 -5
- data/rbi/lithic/models/payment_return_params.rbi +6 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +11 -0
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +6 -0
- data/rbi/lithic/models/reports/settlement_summary_params.rbi +13 -5
- data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_activate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_pause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +6 -0
- data/rbi/lithic/models/tokenization_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_unpause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +6 -0
- data/rbi/lithic/models/transaction_expire_authorization_params.rbi +13 -5
- data/rbi/lithic/models/transaction_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +13 -5
- data/rbi/lithic/models.rbi +12 -3
- data/rbi/lithic/resources/account_holders/entities.rbi +4 -4
- data/rbi/lithic/resources/account_holders.rbi +16 -177
- data/rbi/lithic/resources/auth_rules/v2.rbi +36 -80
- data/rbi/lithic/resources/disputes.rbi +21 -21
- data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -0
- data/rbi/lithic/resources/holds.rbi +111 -0
- data/rbi/lithic/resources/payments.rbi +3 -0
- data/rbi/lithic/resources/webhooks.rbi +8 -2
- data/sig/lithic/client.rbs +5 -0
- data/sig/lithic/internal/util.rbs +10 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +5 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +11 -3
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +5 -0
- data/sig/lithic/models/account_holder.rbs +0 -58
- data/sig/lithic/models/account_holder_create_params.rbs +217 -353
- data/sig/lithic/models/account_holder_list_documents_params.rbs +12 -3
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +5 -1
- data/sig/lithic/models/account_holder_retrieve_params.rbs +12 -3
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +0 -9
- data/sig/lithic/models/account_holder_update_params.rbs +326 -330
- data/sig/lithic/models/account_holder_update_response.rbs +0 -9
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +0 -9
- data/sig/lithic/models/account_holder_upload_document_params.rbs +5 -0
- data/sig/lithic/models/account_holders/entity_create_params.rbs +5 -0
- data/sig/lithic/models/account_holders/entity_delete_params.rbs +5 -1
- data/sig/lithic/models/account_retrieve_params.rbs +11 -3
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/account_update_params.rbs +5 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +42 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +67 -0
- data/sig/lithic/models/auth_rules/{rule_stats.rbs → backtest_stats.rbs} +15 -22
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +8 -8
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +15 -15
- data/sig/lithic/models/auth_rules/report_stats.rbs +696 -0
- data/sig/lithic/models/auth_rules/rule_feature.rbs +173 -0
- data/sig/lithic/models/auth_rules/typescript_code_parameters.rbs +27 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +13 -26
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +261 -74
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +14 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +220 -49
- data/sig/lithic/models/auth_rules/v2_list_versions_params.rbs +25 -0
- data/sig/lithic/models/auth_rules/v2_list_versions_response.rbs +18 -0
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_features_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -80
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_report_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +663 -8
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +168 -47
- data/sig/lithic/models/auth_rules/velocity_limit_filters.rbs +81 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +6 -82
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +12 -3
- data/sig/lithic/models/book_transfer_retry_params.rbs +6 -1
- data/sig/lithic/models/book_transfer_reverse_params.rbs +10 -2
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_bulk_order_update_params.rbs +8 -1
- data/sig/lithic/models/card_convert_physical_params.rbs +5 -0
- data/sig/lithic/models/card_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/card_provision_params.rbs +5 -0
- data/sig/lithic/models/card_reissue_params.rbs +5 -0
- data/sig/lithic/models/card_renew_params.rbs +5 -0
- data/sig/lithic/models/card_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/card_update_params.rbs +5 -0
- data/sig/lithic/models/card_web_provision_params.rbs +5 -0
- data/sig/lithic/models/cards/balance_list_params.rbs +9 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +6 -1
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +12 -3
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +5 -1
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +9 -1
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +12 -3
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +38 -38
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_delete_params.rbs +11 -3
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +6 -1
- data/sig/lithic/models/dispute_list_evidences_params.rbs +5 -0
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_retrieve_params.rbs +11 -3
- data/sig/lithic/models/dispute_update_params.rbs +5 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/event.rbs +0 -2
- data/sig/lithic/models/event_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/event_list_params.rbs +0 -2
- data/sig/lithic/models/event_retrieve_params.rbs +11 -3
- data/sig/lithic/models/event_subscription.rbs +0 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +6 -1
- data/sig/lithic/models/events/subscription_create_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_delete_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_recover_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +5 -2
- data/sig/lithic/models/events/subscription_update_params.rbs +5 -2
- data/sig/lithic/models/external_bank_account_create_params.rbs +342 -98
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_update_params.rbs +5 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_cancel_params.rbs +5 -1
- data/sig/lithic/models/external_payment_release_params.rbs +5 -1
- data/sig/lithic/models/external_payment_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_payment_reverse_params.rbs +5 -1
- data/sig/lithic/models/external_payment_settle_params.rbs +5 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_list_params.rbs +7 -1
- data/sig/lithic/models/financial_account_register_account_number_params.rbs +6 -1
- data/sig/lithic/models/financial_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_account_update_params.rbs +6 -1
- data/sig/lithic/models/financial_account_update_status_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +9 -1
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +7 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +14 -3
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +10 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +17 -1
- data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +17 -3
- data/sig/lithic/models/fraud/transaction_report_params.rbs +5 -0
- data/sig/lithic/models/fraud/transaction_retrieve_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_details_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_params.rbs +12 -3
- data/sig/lithic/models/hold.rbs +137 -0
- data/sig/lithic/models/hold_create_params.rbs +57 -0
- data/sig/lithic/models/hold_event.rbs +91 -0
- data/sig/lithic/models/hold_list_params.rbs +83 -0
- data/sig/lithic/models/hold_retrieve_params.rbs +23 -0
- data/sig/lithic/models/hold_void_params.rbs +28 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/kyb.rbs +0 -55
- data/sig/lithic/models/management_operation_retrieve_params.rbs +12 -3
- data/sig/lithic/models/management_operation_reverse_params.rbs +5 -1
- data/sig/lithic/models/network_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/parsed_webhook_event.rbs +0 -10
- data/sig/lithic/models/payment.rbs +23 -8
- data/sig/lithic/models/payment_create_params.rbs +19 -0
- data/sig/lithic/models/payment_retrieve_params.rbs +11 -3
- data/sig/lithic/models/payment_retry_params.rbs +11 -3
- data/sig/lithic/models/payment_return_params.rbs +5 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +7 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +11 -3
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +10 -1
- data/sig/lithic/models/reports/settlement_summary_params.rbs +11 -3
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +12 -3
- data/sig/lithic/models/tokenization_activate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_deactivate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_pause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +5 -0
- data/sig/lithic/models/tokenization_retrieve_params.rbs +12 -3
- data/sig/lithic/models/tokenization_unpause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +5 -1
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +11 -3
- data/sig/lithic/models/transaction_retrieve_params.rbs +11 -3
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +12 -3
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +11 -3
- data/sig/lithic/models.rbs +12 -2
- data/sig/lithic/resources/account_holders.rbs +2 -36
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -16
- data/sig/lithic/resources/external_bank_accounts.rbs +1 -17
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +2 -0
- data/sig/lithic/resources/holds.rbs +39 -0
- data/sig/lithic/resources/payments.rbs +1 -0
- data/sig/lithic/resources/webhooks.rbs +0 -1
- metadata +47 -8
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +0 -159
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +0 -331
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +0 -130
|
@@ -16,108 +16,17 @@ module Lithic
|
|
|
16
16
|
# that the calling API key manages.
|
|
17
17
|
sig do
|
|
18
18
|
params(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
first_name: String,
|
|
27
|
-
kyc_exemption_type:
|
|
28
|
-
Lithic::AccountHolderCreateParams::KYCExemptionType::OrSymbol,
|
|
29
|
-
last_name: String,
|
|
30
|
-
phone_number: String,
|
|
31
|
-
beneficial_owner_individuals:
|
|
32
|
-
T::Array[
|
|
33
|
-
Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual::OrHash
|
|
34
|
-
],
|
|
35
|
-
control_person:
|
|
36
|
-
Lithic::AccountHolderCreateParams::ControlPerson::OrHash,
|
|
37
|
-
nature_of_business: String,
|
|
38
|
-
beneficial_owner_entities:
|
|
39
|
-
T::Array[
|
|
40
|
-
Lithic::AccountHolderCreateParams::BeneficialOwnerEntity::OrHash
|
|
41
|
-
],
|
|
42
|
-
external_id: String,
|
|
43
|
-
kyb_passed_timestamp: String,
|
|
44
|
-
naics_code: String,
|
|
45
|
-
website_url: String,
|
|
46
|
-
kyc_passed_timestamp: String,
|
|
47
|
-
business_account_token: String,
|
|
19
|
+
body:
|
|
20
|
+
T.any(
|
|
21
|
+
Lithic::KYB::OrHash,
|
|
22
|
+
Lithic::AccountHolderCreateParams::Body::KYBDelegated::OrHash,
|
|
23
|
+
Lithic::KYC::OrHash,
|
|
24
|
+
Lithic::KYCExempt::OrHash
|
|
25
|
+
),
|
|
48
26
|
request_options: Lithic::RequestOptions::OrHash
|
|
49
27
|
).returns(Lithic::Models::AccountHolderCreateResponse)
|
|
50
28
|
end
|
|
51
|
-
def create(
|
|
52
|
-
# Information for business for which the account is being opened.
|
|
53
|
-
business_entity:,
|
|
54
|
-
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
|
55
|
-
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
|
56
|
-
# implementation with Lithic.
|
|
57
|
-
tos_timestamp:,
|
|
58
|
-
# Specifies the workflow type. This must be 'KYC_EXEMPT'
|
|
59
|
-
workflow:,
|
|
60
|
-
# Information on individual for whom the account is being opened and KYC is being
|
|
61
|
-
# run.
|
|
62
|
-
individual:,
|
|
63
|
-
# KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
64
|
-
# acceptable; APO/FPO are acceptable.
|
|
65
|
-
address:,
|
|
66
|
-
# The KYC Exempt user's email
|
|
67
|
-
email:,
|
|
68
|
-
# The KYC Exempt user's first name
|
|
69
|
-
first_name:,
|
|
70
|
-
# Specifies the type of KYC Exempt user
|
|
71
|
-
kyc_exemption_type:,
|
|
72
|
-
# The KYC Exempt user's last name
|
|
73
|
-
last_name:,
|
|
74
|
-
# The KYC Exempt user's phone number, entered in E.164 format.
|
|
75
|
-
phone_number:,
|
|
76
|
-
# You can submit a list of all direct and indirect individuals with 25% or more
|
|
77
|
-
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
|
78
|
-
# no individual owns 25% of the company you do not need to send beneficial owner
|
|
79
|
-
# information. See
|
|
80
|
-
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
|
81
|
-
# (Section I) for more background on individuals that should be included.
|
|
82
|
-
beneficial_owner_individuals: nil,
|
|
83
|
-
# An individual with significant responsibility for managing the legal entity
|
|
84
|
-
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
|
85
|
-
# Officer, Managing Member, General Partner, President, Vice President, or
|
|
86
|
-
# Treasurer). This can be an executive, or someone who will have program-wide
|
|
87
|
-
# access to the cards that Lithic will provide. In some cases, this individual
|
|
88
|
-
# could also be a beneficial owner listed above. See
|
|
89
|
-
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
|
90
|
-
# (Section II) for more background.
|
|
91
|
-
control_person: nil,
|
|
92
|
-
# Short description of the company's line of business (i.e., what does the company
|
|
93
|
-
# do?).
|
|
94
|
-
nature_of_business: nil,
|
|
95
|
-
# Deprecated.
|
|
96
|
-
beneficial_owner_entities: nil,
|
|
97
|
-
# A user provided id that can be used to link an account holder with an external
|
|
98
|
-
# system
|
|
99
|
-
external_id: nil,
|
|
100
|
-
# An RFC 3339 timestamp indicating when precomputed KYB was completed on the
|
|
101
|
-
# business with a pass result.
|
|
102
|
-
#
|
|
103
|
-
# This field is required only if workflow type is `KYB_BYO`.
|
|
104
|
-
kyb_passed_timestamp: nil,
|
|
105
|
-
# 6-digit North American Industry Classification System (NAICS) code for the
|
|
106
|
-
# business.
|
|
107
|
-
naics_code: nil,
|
|
108
|
-
# Company website URL.
|
|
109
|
-
website_url: nil,
|
|
110
|
-
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
|
111
|
-
# individual with a pass result.
|
|
112
|
-
#
|
|
113
|
-
# This field is required only if workflow type is `KYC_BYO`.
|
|
114
|
-
kyc_passed_timestamp: nil,
|
|
115
|
-
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
|
116
|
-
# users of businesses. Pass the account_token of the enrolled business associated
|
|
117
|
-
# with the AUTHORIZED_USER in this field.
|
|
118
|
-
business_account_token: nil,
|
|
119
|
-
request_options: {}
|
|
120
|
-
)
|
|
29
|
+
def create(body:, request_options: {})
|
|
121
30
|
end
|
|
122
31
|
|
|
123
32
|
# Get an Individual or Business Account Holder and/or their KYC or KYB evaluation
|
|
@@ -148,90 +57,20 @@ module Lithic
|
|
|
148
57
|
sig do
|
|
149
58
|
params(
|
|
150
59
|
account_holder_token: String,
|
|
151
|
-
|
|
152
|
-
T
|
|
153
|
-
Lithic::AccountHolderUpdateParams::
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
Lithic::AccountHolderUpdateParams::BeneficialOwnerIndividual::OrHash
|
|
158
|
-
],
|
|
159
|
-
business_entity:
|
|
160
|
-
Lithic::AccountHolderUpdateParams::BusinessEntity::OrHash,
|
|
161
|
-
control_person:
|
|
162
|
-
Lithic::AccountHolderUpdateParams::ControlPerson::OrHash,
|
|
163
|
-
external_id: String,
|
|
164
|
-
naics_code: String,
|
|
165
|
-
nature_of_business: String,
|
|
166
|
-
website_url: String,
|
|
167
|
-
individual: Lithic::AccountHolderUpdateParams::Individual::OrHash,
|
|
168
|
-
address: Lithic::AddressUpdate::OrHash,
|
|
169
|
-
business_account_token: String,
|
|
170
|
-
email: String,
|
|
171
|
-
first_name: String,
|
|
172
|
-
last_name: String,
|
|
173
|
-
legal_business_name: String,
|
|
174
|
-
phone_number: String,
|
|
60
|
+
body:
|
|
61
|
+
T.any(
|
|
62
|
+
Lithic::AccountHolderUpdateParams::Body::KYBPatchRequest::OrHash,
|
|
63
|
+
Lithic::AccountHolderUpdateParams::Body::KYCPatchRequest::OrHash,
|
|
64
|
+
Lithic::AccountHolderUpdateParams::Body::PatchRequest::OrHash
|
|
65
|
+
),
|
|
175
66
|
request_options: Lithic::RequestOptions::OrHash
|
|
176
67
|
).returns(Lithic::Models::AccountHolderUpdateResponse::Variants)
|
|
177
68
|
end
|
|
178
69
|
def update(
|
|
179
70
|
# Globally unique identifier for the account holder.
|
|
180
71
|
account_holder_token,
|
|
181
|
-
#
|
|
182
|
-
|
|
183
|
-
# You must submit a list of all direct and indirect individuals with 25% or more
|
|
184
|
-
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
|
185
|
-
# no individual owns 25% of the company you do not need to send beneficial owner
|
|
186
|
-
# information. See
|
|
187
|
-
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
|
188
|
-
# (Section I) for more background on individuals that should be included.
|
|
189
|
-
beneficial_owner_individuals: nil,
|
|
190
|
-
# Information for business for which the account is being opened and KYB is being
|
|
191
|
-
# run.
|
|
192
|
-
business_entity: nil,
|
|
193
|
-
# An individual with significant responsibility for managing the legal entity
|
|
194
|
-
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
|
195
|
-
# Officer, Managing Member, General Partner, President, Vice President, or
|
|
196
|
-
# Treasurer). This can be an executive, or someone who will have program-wide
|
|
197
|
-
# access to the cards that Lithic will provide. In some cases, this individual
|
|
198
|
-
# could also be a beneficial owner listed above. See
|
|
199
|
-
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
|
200
|
-
# (Section II) for more background.
|
|
201
|
-
control_person: nil,
|
|
202
|
-
# A user provided id that can be used to link an account holder with an external
|
|
203
|
-
# system
|
|
204
|
-
external_id: nil,
|
|
205
|
-
# 6-digit North American Industry Classification System (NAICS) code for the
|
|
206
|
-
# business.
|
|
207
|
-
naics_code: nil,
|
|
208
|
-
# Short description of the company's line of business (i.e., what does the company
|
|
209
|
-
# do?).
|
|
210
|
-
nature_of_business: nil,
|
|
211
|
-
# Company website URL.
|
|
212
|
-
website_url: nil,
|
|
213
|
-
# Information on the individual for whom the account is being opened and KYC is
|
|
214
|
-
# being run.
|
|
215
|
-
individual: nil,
|
|
216
|
-
# Allowed for: KYC-Exempt, BYO-KYC, BYO-KYB.
|
|
217
|
-
address: nil,
|
|
218
|
-
# Allowed for: KYC-Exempt, BYO-KYC. The token of the business account to which the
|
|
219
|
-
# account holder is associated.
|
|
220
|
-
business_account_token: nil,
|
|
221
|
-
# Allowed for all Account Holders. Account holder's email address. The primary
|
|
222
|
-
# purpose of this field is for cardholder identification and verification during
|
|
223
|
-
# the digital wallet tokenization process.
|
|
224
|
-
email: nil,
|
|
225
|
-
# Allowed for KYC-Exempt, BYO-KYC. Account holder's first name.
|
|
226
|
-
first_name: nil,
|
|
227
|
-
# Allowed for KYC-Exempt, BYO-KYC. Account holder's last name.
|
|
228
|
-
last_name: nil,
|
|
229
|
-
# Allowed for BYO-KYB. Legal business name of the account holder.
|
|
230
|
-
legal_business_name: nil,
|
|
231
|
-
# Allowed for all Account Holders. Account holder's phone number, entered in E.164
|
|
232
|
-
# format. The primary purpose of this field is for cardholder identification and
|
|
233
|
-
# verification during the digital wallet tokenization process.
|
|
234
|
-
phone_number: nil,
|
|
72
|
+
# The KYB request payload for updating a business.
|
|
73
|
+
body:,
|
|
235
74
|
request_options: {}
|
|
236
75
|
)
|
|
237
76
|
end
|
|
@@ -10,58 +10,16 @@ module Lithic
|
|
|
10
10
|
# Creates a new V2 Auth rule in draft mode
|
|
11
11
|
sig do
|
|
12
12
|
params(
|
|
13
|
-
|
|
13
|
+
body:
|
|
14
14
|
T.any(
|
|
15
|
-
Lithic::AuthRules::
|
|
16
|
-
Lithic::AuthRules::
|
|
17
|
-
Lithic::AuthRules::
|
|
18
|
-
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
19
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
20
|
-
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
21
|
-
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
15
|
+
Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::OrHash,
|
|
16
|
+
Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::OrHash,
|
|
17
|
+
Lithic::AuthRules::V2CreateParams::Body::ProgramLevelRule::OrHash
|
|
22
18
|
),
|
|
23
|
-
type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
|
|
24
|
-
card_tokens: T::Array[String],
|
|
25
|
-
program_level: T::Boolean,
|
|
26
|
-
account_tokens: T::Array[String],
|
|
27
|
-
business_account_tokens: T::Array[String],
|
|
28
|
-
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
29
|
-
name: T.nilable(String),
|
|
30
|
-
excluded_card_tokens: T::Array[String],
|
|
31
19
|
request_options: Lithic::RequestOptions::OrHash
|
|
32
20
|
).returns(Lithic::AuthRules::AuthRule)
|
|
33
21
|
end
|
|
34
|
-
def create(
|
|
35
|
-
# Parameters for the Auth Rule
|
|
36
|
-
parameters:,
|
|
37
|
-
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
38
|
-
# during which it will be evaluated. For rules that can be applied to one of
|
|
39
|
-
# several event streams, the effective one is defined by the separate
|
|
40
|
-
# `event_stream` field.
|
|
41
|
-
#
|
|
42
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
43
|
-
# AUTHORIZATION event stream.
|
|
44
|
-
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
45
|
-
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
46
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
47
|
-
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
48
|
-
type:,
|
|
49
|
-
# Card tokens to which the Auth Rule applies.
|
|
50
|
-
card_tokens:,
|
|
51
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
52
|
-
program_level:,
|
|
53
|
-
# Account tokens to which the Auth Rule applies.
|
|
54
|
-
account_tokens: nil,
|
|
55
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
56
|
-
business_account_tokens: nil,
|
|
57
|
-
# The event stream during which the rule will be evaluated.
|
|
58
|
-
event_stream: nil,
|
|
59
|
-
# Auth Rule Name
|
|
60
|
-
name: nil,
|
|
61
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
62
|
-
excluded_card_tokens: nil,
|
|
63
|
-
request_options: {}
|
|
64
|
-
)
|
|
22
|
+
def create(body:, request_options: {})
|
|
65
23
|
end
|
|
66
24
|
|
|
67
25
|
# Fetches a V2 Auth rule by its token
|
|
@@ -76,44 +34,22 @@ module Lithic
|
|
|
76
34
|
|
|
77
35
|
# Updates a V2 Auth rule's properties
|
|
78
36
|
#
|
|
79
|
-
# If `account_tokens`, `card_tokens`, `program_level`,
|
|
80
|
-
#
|
|
81
|
-
# entities.
|
|
37
|
+
# If `account_tokens`, `card_tokens`, `program_level`, `excluded_card_tokens`,
|
|
38
|
+
# `excluded_account_tokens`, or `excluded_business_account_tokens` is provided,
|
|
39
|
+
# this will replace existing associations with the provided list of entities.
|
|
82
40
|
sig do
|
|
83
41
|
params(
|
|
84
42
|
auth_rule_token: String,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
program_level: T::Boolean,
|
|
43
|
+
body:
|
|
44
|
+
T.any(
|
|
45
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::OrHash,
|
|
46
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::OrHash,
|
|
47
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::OrHash
|
|
48
|
+
),
|
|
92
49
|
request_options: Lithic::RequestOptions::OrHash
|
|
93
50
|
).returns(Lithic::AuthRules::AuthRule)
|
|
94
51
|
end
|
|
95
|
-
def update(
|
|
96
|
-
auth_rule_token,
|
|
97
|
-
# Account tokens to which the Auth Rule applies.
|
|
98
|
-
account_tokens: nil,
|
|
99
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
100
|
-
business_account_tokens: nil,
|
|
101
|
-
# Auth Rule Name
|
|
102
|
-
name: nil,
|
|
103
|
-
# The desired state of the Auth Rule.
|
|
104
|
-
#
|
|
105
|
-
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
106
|
-
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
107
|
-
# should be used to promote a draft to the currently active version.
|
|
108
|
-
state: nil,
|
|
109
|
-
# Card tokens to which the Auth Rule applies.
|
|
110
|
-
card_tokens: nil,
|
|
111
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
112
|
-
excluded_card_tokens: nil,
|
|
113
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
114
|
-
program_level: nil,
|
|
115
|
-
request_options: {}
|
|
116
|
-
)
|
|
52
|
+
def update(auth_rule_token, body:, request_options: {})
|
|
117
53
|
end
|
|
118
54
|
|
|
119
55
|
# Lists V2 Auth rules
|
|
@@ -185,7 +121,8 @@ module Lithic
|
|
|
185
121
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
186
122
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
187
123
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
188
|
-
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
124
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
125
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
189
126
|
)
|
|
190
127
|
),
|
|
191
128
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -209,6 +146,8 @@ module Lithic
|
|
|
209
146
|
sig do
|
|
210
147
|
params(
|
|
211
148
|
auth_rule_token: String,
|
|
149
|
+
begin_: Time,
|
|
150
|
+
end_: Time,
|
|
212
151
|
ending_before: String,
|
|
213
152
|
event_token: String,
|
|
214
153
|
has_actions: T::Boolean,
|
|
@@ -224,6 +163,12 @@ module Lithic
|
|
|
224
163
|
def list_results(
|
|
225
164
|
# Filter by Auth Rule token
|
|
226
165
|
auth_rule_token: nil,
|
|
166
|
+
# Date string in RFC 3339 format. Only events evaluated after the specified time
|
|
167
|
+
# will be included. UTC time zone.
|
|
168
|
+
begin_: nil,
|
|
169
|
+
# Date string in RFC 3339 format. Only events evaluated before the specified time
|
|
170
|
+
# will be included. UTC time zone.
|
|
171
|
+
end_: nil,
|
|
227
172
|
# A cursor representing an item's token before which a page of results should end.
|
|
228
173
|
# Used to retrieve the previous page of results before this item.
|
|
229
174
|
ending_before: nil,
|
|
@@ -241,6 +186,17 @@ module Lithic
|
|
|
241
186
|
)
|
|
242
187
|
end
|
|
243
188
|
|
|
189
|
+
# Returns all versions of an auth rule, sorted by version number descending
|
|
190
|
+
# (newest first).
|
|
191
|
+
sig do
|
|
192
|
+
params(
|
|
193
|
+
auth_rule_token: String,
|
|
194
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
195
|
+
).returns(Lithic::Models::AuthRules::V2ListVersionsResponse)
|
|
196
|
+
end
|
|
197
|
+
def list_versions(auth_rule_token, request_options: {})
|
|
198
|
+
end
|
|
199
|
+
|
|
244
200
|
# Promotes the draft version of an Auth rule to the currently active version such
|
|
245
201
|
# that it is enforced in the respective stream.
|
|
246
202
|
sig do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Lithic
|
|
4
4
|
module Resources
|
|
5
5
|
class Disputes
|
|
6
|
-
#
|
|
6
|
+
# Request a chargeback.
|
|
7
7
|
sig do
|
|
8
8
|
params(
|
|
9
9
|
amount: Integer,
|
|
@@ -15,21 +15,21 @@ module Lithic
|
|
|
15
15
|
).returns(Lithic::Dispute)
|
|
16
16
|
end
|
|
17
17
|
def create(
|
|
18
|
-
# Amount
|
|
18
|
+
# Amount for chargeback
|
|
19
19
|
amount:,
|
|
20
|
-
# Reason for
|
|
20
|
+
# Reason for chargeback
|
|
21
21
|
reason:,
|
|
22
|
-
# Transaction
|
|
22
|
+
# Transaction for chargeback
|
|
23
23
|
transaction_token:,
|
|
24
|
-
# Date the customer filed the
|
|
24
|
+
# Date the customer filed the chargeback request
|
|
25
25
|
customer_filed_date: nil,
|
|
26
|
-
# Customer description
|
|
26
|
+
# Customer description
|
|
27
27
|
customer_note: nil,
|
|
28
28
|
request_options: {}
|
|
29
29
|
)
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# Get
|
|
32
|
+
# Get chargeback request.
|
|
33
33
|
sig do
|
|
34
34
|
params(
|
|
35
35
|
dispute_token: String,
|
|
@@ -39,7 +39,7 @@ module Lithic
|
|
|
39
39
|
def retrieve(dispute_token, request_options: {})
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
# Update
|
|
42
|
+
# Update chargeback request. Can only be modified if status is `NEW`.
|
|
43
43
|
sig do
|
|
44
44
|
params(
|
|
45
45
|
dispute_token: String,
|
|
@@ -52,19 +52,19 @@ module Lithic
|
|
|
52
52
|
end
|
|
53
53
|
def update(
|
|
54
54
|
dispute_token,
|
|
55
|
-
# Amount
|
|
55
|
+
# Amount for chargeback
|
|
56
56
|
amount: nil,
|
|
57
|
-
# Date the customer filed the
|
|
57
|
+
# Date the customer filed the chargeback request
|
|
58
58
|
customer_filed_date: nil,
|
|
59
|
-
# Customer description
|
|
59
|
+
# Customer description
|
|
60
60
|
customer_note: nil,
|
|
61
|
-
# Reason for
|
|
61
|
+
# Reason for chargeback
|
|
62
62
|
reason: nil,
|
|
63
63
|
request_options: {}
|
|
64
64
|
)
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
# List
|
|
67
|
+
# List chargeback requests.
|
|
68
68
|
sig do
|
|
69
69
|
params(
|
|
70
70
|
begin_: Time,
|
|
@@ -92,7 +92,7 @@ module Lithic
|
|
|
92
92
|
# A cursor representing an item's token after which a page of results should
|
|
93
93
|
# begin. Used to retrieve the next page of results after this item.
|
|
94
94
|
starting_after: nil,
|
|
95
|
-
#
|
|
95
|
+
# Filter by status.
|
|
96
96
|
status: nil,
|
|
97
97
|
# Transaction tokens to filter by.
|
|
98
98
|
transaction_tokens: nil,
|
|
@@ -100,7 +100,7 @@ module Lithic
|
|
|
100
100
|
)
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
# Withdraw
|
|
103
|
+
# Withdraw chargeback request.
|
|
104
104
|
sig do
|
|
105
105
|
params(
|
|
106
106
|
dispute_token: String,
|
|
@@ -110,8 +110,8 @@ module Lithic
|
|
|
110
110
|
def delete(dispute_token, request_options: {})
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
-
# Soft delete evidence for a
|
|
114
|
-
# by Lithic after it is withdrawn.
|
|
113
|
+
# Soft delete evidence for a chargeback request. Evidence will not be reviewed or
|
|
114
|
+
# submitted by Lithic after it is withdrawn.
|
|
115
115
|
sig do
|
|
116
116
|
params(
|
|
117
117
|
evidence_token: String,
|
|
@@ -122,8 +122,8 @@ module Lithic
|
|
|
122
122
|
def delete_evidence(evidence_token, dispute_token:, request_options: {})
|
|
123
123
|
end
|
|
124
124
|
|
|
125
|
-
# Use this endpoint to upload
|
|
126
|
-
# upload your documents to. The URL will expire in 30 minutes.
|
|
125
|
+
# Use this endpoint to upload evidence for a chargeback request. It will return a
|
|
126
|
+
# URL to upload your documents to. The URL will expire in 30 minutes.
|
|
127
127
|
#
|
|
128
128
|
# Uploaded documents must either be a `jpg`, `png` or `pdf` file, and each must be
|
|
129
129
|
# less than 5 GiB.
|
|
@@ -142,7 +142,7 @@ module Lithic
|
|
|
142
142
|
)
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
# List evidence
|
|
145
|
+
# List evidence for a chargeback request.
|
|
146
146
|
sig do
|
|
147
147
|
params(
|
|
148
148
|
dispute_token: String,
|
|
@@ -174,7 +174,7 @@ module Lithic
|
|
|
174
174
|
)
|
|
175
175
|
end
|
|
176
176
|
|
|
177
|
-
# Get a
|
|
177
|
+
# Get evidence for a chargeback request.
|
|
178
178
|
sig do
|
|
179
179
|
params(
|
|
180
180
|
evidence_token: String,
|
|
@@ -9,67 +9,16 @@ module Lithic
|
|
|
9
9
|
# Creates an external bank account within a program or Lithic account.
|
|
10
10
|
sig do
|
|
11
11
|
params(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
routing_number: String,
|
|
19
|
-
type: Lithic::ExternalBankAccountCreateParams::Type::OrSymbol,
|
|
20
|
-
verification_method:
|
|
21
|
-
Lithic::ExternalBankAccountCreateParams::VerificationMethod::OrSymbol,
|
|
22
|
-
account_token: String,
|
|
23
|
-
address: Lithic::ExternalBankAccountAddress::OrHash,
|
|
24
|
-
company_id: String,
|
|
25
|
-
dob: Date,
|
|
26
|
-
doing_business_as: String,
|
|
27
|
-
name: String,
|
|
28
|
-
user_defined_id: String,
|
|
29
|
-
verification_enforcement: T::Boolean,
|
|
12
|
+
body:
|
|
13
|
+
T.any(
|
|
14
|
+
Lithic::ExternalBankAccountCreateParams::Body::ExternallyVerified::OrHash,
|
|
15
|
+
Lithic::ExternalBankAccountCreateParams::Body::Unverified::OrHash,
|
|
16
|
+
Lithic::ExternalBankAccountCreateParams::Body::BankVerifiedCreateBankAccountAPIRequest::OrHash
|
|
17
|
+
),
|
|
30
18
|
request_options: Lithic::RequestOptions::OrHash
|
|
31
19
|
).returns(Lithic::Models::ExternalBankAccountCreateResponse)
|
|
32
20
|
end
|
|
33
|
-
def create(
|
|
34
|
-
# Account Number
|
|
35
|
-
account_number:,
|
|
36
|
-
# The country that the bank account is located in using ISO 3166-1. We will only
|
|
37
|
-
# accept USA bank accounts e.g., USA
|
|
38
|
-
country:,
|
|
39
|
-
# currency of the external account 3-character alphabetic ISO 4217 code
|
|
40
|
-
currency:,
|
|
41
|
-
# The financial account token of the operating account to fund the micro deposits
|
|
42
|
-
financial_account_token:,
|
|
43
|
-
# Legal Name of the business or individual who owns the external account. This
|
|
44
|
-
# will appear in statements
|
|
45
|
-
owner:,
|
|
46
|
-
# Owner Type
|
|
47
|
-
owner_type:,
|
|
48
|
-
# Routing Number
|
|
49
|
-
routing_number:,
|
|
50
|
-
# Account Type
|
|
51
|
-
type:,
|
|
52
|
-
# Verification Method
|
|
53
|
-
verification_method:,
|
|
54
|
-
# Indicates which Lithic account the external account is associated with. For
|
|
55
|
-
# external accounts that are associated with the program, account_token field
|
|
56
|
-
# returned will be null
|
|
57
|
-
account_token: nil,
|
|
58
|
-
# Address
|
|
59
|
-
address: nil,
|
|
60
|
-
# Optional field that helps identify bank accounts in receipts
|
|
61
|
-
company_id: nil,
|
|
62
|
-
# Date of Birth of the Individual that owns the external bank account
|
|
63
|
-
dob: nil,
|
|
64
|
-
# Doing Business As
|
|
65
|
-
doing_business_as: nil,
|
|
66
|
-
# The nickname for this External Bank Account
|
|
67
|
-
name: nil,
|
|
68
|
-
# User Defined ID
|
|
69
|
-
user_defined_id: nil,
|
|
70
|
-
verification_enforcement: nil,
|
|
71
|
-
request_options: {}
|
|
72
|
-
)
|
|
21
|
+
def create(body:, request_options: {})
|
|
73
22
|
end
|
|
74
23
|
|
|
75
24
|
# Get the external bank account by token.
|
|
@@ -10,6 +10,7 @@ module Lithic
|
|
|
10
10
|
financial_account_token: String,
|
|
11
11
|
credit_product_token: String,
|
|
12
12
|
effective_date: Date,
|
|
13
|
+
penalty_rates: T.anything,
|
|
13
14
|
tier_name: String,
|
|
14
15
|
tier_rates: T.anything,
|
|
15
16
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -24,6 +25,8 @@ module Lithic
|
|
|
24
25
|
credit_product_token:,
|
|
25
26
|
# Date the tier should be effective in YYYY-MM-DD format
|
|
26
27
|
effective_date:,
|
|
28
|
+
# Custom rates per category for penalties
|
|
29
|
+
penalty_rates: nil,
|
|
27
30
|
# Name of a tier contained in the credit product. Mutually exclusive with
|
|
28
31
|
# tier_rates
|
|
29
32
|
tier_name: nil,
|
|
@@ -57,6 +60,7 @@ module Lithic
|
|
|
57
60
|
params(
|
|
58
61
|
effective_date: Date,
|
|
59
62
|
financial_account_token: String,
|
|
63
|
+
penalty_rates: T.anything,
|
|
60
64
|
tier_name: String,
|
|
61
65
|
tier_rates: T.anything,
|
|
62
66
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -69,6 +73,8 @@ module Lithic
|
|
|
69
73
|
effective_date,
|
|
70
74
|
# Path param: Globally unique identifier for financial account
|
|
71
75
|
financial_account_token:,
|
|
76
|
+
# Body param: Custom rates per category for penalties
|
|
77
|
+
penalty_rates: nil,
|
|
72
78
|
# Body param: Name of a tier contained in the credit product. Mutually exclusive
|
|
73
79
|
# with tier_rates
|
|
74
80
|
tier_name: nil,
|