lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +4 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +30 -15
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +7 -2
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/non_pci_card.rb +73 -28
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +161 -53
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -1
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +8 -2
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/non_pci_card.rbi +78 -2
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- metadata +8 -5
@@ -3,6 +3,9 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Resources
|
5
5
|
class AccountHolders
|
6
|
+
# Some parameter documentations has been truncated, see
|
7
|
+
# {Lithic::Models::AccountHolderCreateParams} for more details.
|
8
|
+
#
|
6
9
|
# Create an account holder and initiate the appropriate onboarding workflow.
|
7
10
|
# Account holders and accounts have a 1:1 relationship. When an account holder is
|
8
11
|
# successfully created an associated account is also created. All calls to this
|
@@ -14,25 +17,55 @@ module Lithic
|
|
14
17
|
#
|
15
18
|
# @overload create(beneficial_owner_individuals:, business_entity:, control_person:, nature_of_business:, tos_timestamp:, workflow:, individual:, address:, email:, first_name:, kyc_exemption_type:, last_name:, phone_number:, beneficial_owner_entities: nil, external_id: nil, kyb_passed_timestamp: nil, website_url: nil, kyc_passed_timestamp: nil, business_account_token: nil, request_options: {})
|
16
19
|
#
|
17
|
-
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual>]
|
18
|
-
#
|
19
|
-
#
|
20
|
-
# @param
|
21
|
-
#
|
22
|
-
#
|
23
|
-
# @param
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# @param
|
27
|
-
#
|
28
|
-
#
|
29
|
-
# @param
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# @param
|
33
|
-
#
|
34
|
-
# @param
|
35
|
-
#
|
20
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual>] You must submit a list of all direct and indirect individuals with 25% or more o
|
21
|
+
# ...
|
22
|
+
#
|
23
|
+
# @param business_entity [Lithic::Models::AccountHolderCreateParams::BusinessEntity] Information for business for which the account is being opened and KYB is being
|
24
|
+
# ...
|
25
|
+
#
|
26
|
+
# @param control_person [Lithic::Models::AccountHolderCreateParams::ControlPerson] An individual with significant responsibility for managing the legal entity (e.g
|
27
|
+
# ...
|
28
|
+
#
|
29
|
+
# @param nature_of_business [String] Short description of the company's line of business (i.e., what does the company
|
30
|
+
# ...
|
31
|
+
#
|
32
|
+
# @param tos_timestamp [String] An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
33
|
+
# ...
|
34
|
+
#
|
35
|
+
# @param workflow [Symbol, Lithic::Models::AccountHolderCreateParams::Workflow] Specifies the workflow type. This must be 'KYC_EXEMPT'
|
36
|
+
#
|
37
|
+
# @param individual [Lithic::Models::AccountHolderCreateParams::Individual] Information on individual for whom the account is being opened and KYC is being
|
38
|
+
# ...
|
39
|
+
#
|
40
|
+
# @param address [Lithic::Models::Address] KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
41
|
+
# ...
|
42
|
+
#
|
43
|
+
# @param email [String] The KYC Exempt user's email
|
44
|
+
#
|
45
|
+
# @param first_name [String] The KYC Exempt user's first name
|
46
|
+
#
|
47
|
+
# @param kyc_exemption_type [Symbol, Lithic::Models::AccountHolderCreateParams::KYCExemptionType] Specifies the type of KYC Exempt user
|
48
|
+
#
|
49
|
+
# @param last_name [String] The KYC Exempt user's last name
|
50
|
+
#
|
51
|
+
# @param phone_number [String] The KYC Exempt user's phone number, entered in E.164 format.
|
52
|
+
#
|
53
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity>] Deprecated.
|
54
|
+
#
|
55
|
+
# @param external_id [String] A user provided id that can be used to link an account holder with an external s
|
56
|
+
# ...
|
57
|
+
#
|
58
|
+
# @param kyb_passed_timestamp [String] An RFC 3339 timestamp indicating when precomputed KYC was completed on the busin
|
59
|
+
# ...
|
60
|
+
#
|
61
|
+
# @param website_url [String] Company website URL.
|
62
|
+
#
|
63
|
+
# @param kyc_passed_timestamp [String] An RFC 3339 timestamp indicating when precomputed KYC was completed on the indiv
|
64
|
+
# ...
|
65
|
+
#
|
66
|
+
# @param business_account_token [String] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
67
|
+
# ...
|
68
|
+
#
|
36
69
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
37
70
|
#
|
38
71
|
# @return [Lithic::Models::AccountHolderCreateResponse]
|
@@ -54,7 +87,8 @@ module Lithic
|
|
54
87
|
#
|
55
88
|
# @overload retrieve(account_holder_token, request_options: {})
|
56
89
|
#
|
57
|
-
# @param account_holder_token [String]
|
90
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder.
|
91
|
+
#
|
58
92
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
59
93
|
#
|
60
94
|
# @return [Lithic::Models::AccountHolder]
|
@@ -69,6 +103,9 @@ module Lithic
|
|
69
103
|
)
|
70
104
|
end
|
71
105
|
|
106
|
+
# Some parameter documentations has been truncated, see
|
107
|
+
# {Lithic::Models::AccountHolderUpdateParams} for more details.
|
108
|
+
#
|
72
109
|
# Update the information associated with a particular account holder (including
|
73
110
|
# business owners and control persons associated to a business account). If Lithic
|
74
111
|
# is performing KYB or KYC and additional verification is required we will run the
|
@@ -82,22 +119,47 @@ module Lithic
|
|
82
119
|
#
|
83
120
|
# @overload update(account_holder_token, beneficial_owner_entities: nil, beneficial_owner_individuals: nil, business_entity: nil, control_person: nil, external_id: nil, nature_of_business: nil, website_url: nil, individual: nil, address: nil, business_account_token: nil, email: nil, first_name: nil, last_name: nil, legal_business_name: nil, phone_number: nil, request_options: {})
|
84
121
|
#
|
85
|
-
# @param account_holder_token [String]
|
86
|
-
#
|
87
|
-
# @param
|
88
|
-
#
|
89
|
-
# @param
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# @param
|
93
|
-
#
|
94
|
-
#
|
95
|
-
# @param
|
96
|
-
#
|
97
|
-
#
|
98
|
-
# @param
|
99
|
-
#
|
100
|
-
#
|
122
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder.
|
123
|
+
#
|
124
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::AccountHolderUpdateParams::BeneficialOwnerEntity>] Deprecated.
|
125
|
+
#
|
126
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateParams::BeneficialOwnerIndividual>] You must submit a list of all direct and indirect individuals with 25% or more o
|
127
|
+
# ...
|
128
|
+
#
|
129
|
+
# @param business_entity [Lithic::Models::AccountHolderUpdateParams::BusinessEntity] Information for business for which the account is being opened and KYB is being
|
130
|
+
# ...
|
131
|
+
#
|
132
|
+
# @param control_person [Lithic::Models::AccountHolderUpdateParams::ControlPerson] An individual with significant responsibility for managing the legal entity (e.g
|
133
|
+
# ...
|
134
|
+
#
|
135
|
+
# @param external_id [String] A user provided id that can be used to link an account holder with an external s
|
136
|
+
# ...
|
137
|
+
#
|
138
|
+
# @param nature_of_business [String] Short description of the company's line of business (i.e., what does the company
|
139
|
+
# ...
|
140
|
+
#
|
141
|
+
# @param website_url [String] Company website URL.
|
142
|
+
#
|
143
|
+
# @param individual [Lithic::Models::AccountHolderUpdateParams::Individual] Information on the individual for whom the account is being opened and KYC is be
|
144
|
+
# ...
|
145
|
+
#
|
146
|
+
# @param address [Lithic::Models::AddressUpdate] Allowed for: KYC-Exempt, BYO-KYC, BYO-KYB.
|
147
|
+
#
|
148
|
+
# @param business_account_token [String] Allowed for: KYC-Exempt, BYO-KYC. The token of the business account to which the
|
149
|
+
# ...
|
150
|
+
#
|
151
|
+
# @param email [String] Allowed for all Account Holders. Account holder's email address. The primary pur
|
152
|
+
# ...
|
153
|
+
#
|
154
|
+
# @param first_name [String] Allowed for KYC-Exempt, BYO-KYC. Account holder's first name.
|
155
|
+
#
|
156
|
+
# @param last_name [String] Allowed for KYC-Exempt, BYO-KYC. Account holder's last name.
|
157
|
+
#
|
158
|
+
# @param legal_business_name [String] Allowed for BYO-KYB. Legal business name of the account holder.
|
159
|
+
#
|
160
|
+
# @param phone_number [String] Allowed for all Account Holders. Account holder's phone number, entered in E.164
|
161
|
+
# ...
|
162
|
+
#
|
101
163
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
102
164
|
#
|
103
165
|
# @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse, Lithic::Models::AccountHolderUpdateResponse::PatchResponse]
|
@@ -114,22 +176,44 @@ module Lithic
|
|
114
176
|
)
|
115
177
|
end
|
116
178
|
|
179
|
+
# Some parameter documentations has been truncated, see
|
180
|
+
# {Lithic::Models::AccountHolderListParams} for more details.
|
181
|
+
#
|
117
182
|
# Get a list of individual or business account holders and their KYC or KYB
|
118
183
|
# evaluation status.
|
119
184
|
#
|
120
185
|
# @overload list(begin_: nil, email: nil, end_: nil, ending_before: nil, external_id: nil, first_name: nil, last_name: nil, legal_business_name: nil, limit: nil, phone_number: nil, starting_after: nil, request_options: {})
|
121
186
|
#
|
122
|
-
# @param begin_ [Time]
|
123
|
-
#
|
124
|
-
#
|
125
|
-
# @param
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# @param
|
129
|
-
#
|
130
|
-
#
|
131
|
-
# @param
|
132
|
-
#
|
187
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
188
|
+
# ...
|
189
|
+
#
|
190
|
+
# @param email [String] Email address of the account holder. The query must be an exact match, case inse
|
191
|
+
# ...
|
192
|
+
#
|
193
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
194
|
+
# ...
|
195
|
+
#
|
196
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
197
|
+
# ...
|
198
|
+
#
|
199
|
+
# @param external_id [String] If applicable, represents the external_id associated with the account_holder.
|
200
|
+
#
|
201
|
+
# @param first_name [String] (Individual Account Holders only) The first name of the account holder. The quer
|
202
|
+
# ...
|
203
|
+
#
|
204
|
+
# @param last_name [String] (Individual Account Holders only) The last name of the account holder. The query
|
205
|
+
# ...
|
206
|
+
#
|
207
|
+
# @param legal_business_name [String] (Business Account Holders only) The legal business name of the account holder. T
|
208
|
+
# ...
|
209
|
+
#
|
210
|
+
# @param limit [Integer] The number of account_holders to limit the response to.
|
211
|
+
#
|
212
|
+
# @param phone_number [String] Phone number of the account holder. The query must be an exact match.
|
213
|
+
#
|
214
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
215
|
+
# ...
|
216
|
+
#
|
133
217
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
134
218
|
#
|
135
219
|
# @return [Lithic::Internal::SinglePage<Lithic::Models::AccountHolder>]
|
@@ -165,7 +249,8 @@ module Lithic
|
|
165
249
|
#
|
166
250
|
# @overload list_documents(account_holder_token, request_options: {})
|
167
251
|
#
|
168
|
-
# @param account_holder_token [String]
|
252
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder.
|
253
|
+
#
|
169
254
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
170
255
|
#
|
171
256
|
# @return [Lithic::Models::AccountHolderListDocumentsResponse]
|
@@ -197,8 +282,10 @@ module Lithic
|
|
197
282
|
#
|
198
283
|
# @overload retrieve_document(document_token, account_holder_token:, request_options: {})
|
199
284
|
#
|
200
|
-
# @param document_token [String]
|
201
|
-
#
|
285
|
+
# @param document_token [String] Globally unique identifier for the document.
|
286
|
+
#
|
287
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder.
|
288
|
+
#
|
202
289
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
203
290
|
#
|
204
291
|
# @return [Lithic::Models::Document]
|
@@ -218,14 +305,23 @@ module Lithic
|
|
218
305
|
)
|
219
306
|
end
|
220
307
|
|
308
|
+
# Some parameter documentations has been truncated, see
|
309
|
+
# {Lithic::Models::AccountHolderSimulateEnrollmentDocumentReviewParams} for more
|
310
|
+
# details.
|
311
|
+
#
|
221
312
|
# Simulates a review for an account holder document upload.
|
222
313
|
#
|
223
314
|
# @overload simulate_enrollment_document_review(document_upload_token:, status:, accepted_entity_status_reasons: nil, status_reason: nil, request_options: {})
|
224
315
|
#
|
225
|
-
# @param document_upload_token [String]
|
226
|
-
#
|
227
|
-
# @param
|
228
|
-
#
|
316
|
+
# @param document_upload_token [String] The account holder document upload which to perform the simulation upon.
|
317
|
+
#
|
318
|
+
# @param status [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentDocumentReviewParams::Status] An account holder document's upload status for use within the simulation.
|
319
|
+
#
|
320
|
+
# @param accepted_entity_status_reasons [Array<String>] A list of status reasons associated with a KYB account holder in PENDING_REVIEW
|
321
|
+
#
|
322
|
+
# @param status_reason [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentDocumentReviewParams::StatusReason] Status reason that will be associated with the simulated account holder status.
|
323
|
+
# ...
|
324
|
+
#
|
229
325
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
230
326
|
#
|
231
327
|
# @return [Lithic::Models::Document]
|
@@ -243,14 +339,21 @@ module Lithic
|
|
243
339
|
)
|
244
340
|
end
|
245
341
|
|
342
|
+
# Some parameter documentations has been truncated, see
|
343
|
+
# {Lithic::Models::AccountHolderSimulateEnrollmentReviewParams} for more details.
|
344
|
+
#
|
246
345
|
# Simulates an enrollment review for an account holder. This endpoint is only
|
247
346
|
# applicable for workflows that may required intervention such as `KYB_BASIC`.
|
248
347
|
#
|
249
348
|
# @overload simulate_enrollment_review(account_holder_token: nil, status: nil, status_reasons: nil, request_options: {})
|
250
349
|
#
|
251
|
-
# @param account_holder_token [String]
|
252
|
-
#
|
253
|
-
# @param
|
350
|
+
# @param account_holder_token [String] The account holder which to perform the simulation upon.
|
351
|
+
#
|
352
|
+
# @param status [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewParams::Status] An account holder's status for use within the simulation.
|
353
|
+
#
|
354
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewParams::StatusReason>] Status reason that will be associated with the simulated account holder status.
|
355
|
+
# ...
|
356
|
+
#
|
254
357
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
255
358
|
#
|
256
359
|
# @return [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse]
|
@@ -288,9 +391,12 @@ module Lithic
|
|
288
391
|
#
|
289
392
|
# @overload upload_document(account_holder_token, document_type:, entity_token:, request_options: {})
|
290
393
|
#
|
291
|
-
# @param account_holder_token [String]
|
292
|
-
#
|
293
|
-
# @param
|
394
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder.
|
395
|
+
#
|
396
|
+
# @param document_type [Symbol, Lithic::Models::AccountHolderUploadDocumentParams::DocumentType] The type of document to upload
|
397
|
+
#
|
398
|
+
# @param entity_token [String] Globally unique identifier for the entity.
|
399
|
+
#
|
294
400
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
295
401
|
#
|
296
402
|
# @return [Lithic::Models::Document]
|
@@ -7,7 +7,8 @@ module Lithic
|
|
7
7
|
#
|
8
8
|
# @overload retrieve(account_token, request_options: {})
|
9
9
|
#
|
10
|
-
# @param account_token [String]
|
10
|
+
# @param account_token [String] Globally unique identifier for account.
|
11
|
+
#
|
11
12
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
12
13
|
#
|
13
14
|
# @return [Lithic::Models::Account]
|
@@ -22,18 +23,31 @@ module Lithic
|
|
22
23
|
)
|
23
24
|
end
|
24
25
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
27
|
+
# {Lithic::Models::AccountUpdateParams} for more details.
|
28
|
+
#
|
25
29
|
# Update account configuration such as state or spend limits. Can only be run on
|
26
30
|
# accounts that are part of the program managed by this API key. Accounts that are
|
27
31
|
# in the `PAUSED` state will not be able to transact or create new cards.
|
28
32
|
#
|
29
33
|
# @overload update(account_token, daily_spend_limit: nil, lifetime_spend_limit: nil, monthly_spend_limit: nil, state: nil, verification_address: nil, request_options: {})
|
30
34
|
#
|
31
|
-
# @param account_token [String]
|
32
|
-
#
|
33
|
-
# @param
|
34
|
-
#
|
35
|
-
#
|
36
|
-
# @param
|
35
|
+
# @param account_token [String] Globally unique identifier for account.
|
36
|
+
#
|
37
|
+
# @param daily_spend_limit [Integer] Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a $1
|
38
|
+
# ...
|
39
|
+
#
|
40
|
+
# @param lifetime_spend_limit [Integer] Amount (in cents) for the account's lifetime spend limit (e.g. 100000 would be a
|
41
|
+
# ...
|
42
|
+
#
|
43
|
+
# @param monthly_spend_limit [Integer] Amount (in cents) for the account's monthly spend limit (e.g. 100000 would be a
|
44
|
+
# ...
|
45
|
+
#
|
46
|
+
# @param state [Symbol, Lithic::Models::AccountUpdateParams::State] Account states.
|
47
|
+
#
|
48
|
+
# @param verification_address [Lithic::Models::AccountUpdateParams::VerificationAddress] Address used during Address Verification Service (AVS) checks during transaction
|
49
|
+
# ...
|
50
|
+
#
|
37
51
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
38
52
|
#
|
39
53
|
# @return [Lithic::Models::Account]
|
@@ -50,15 +64,27 @@ module Lithic
|
|
50
64
|
)
|
51
65
|
end
|
52
66
|
|
67
|
+
# Some parameter documentations has been truncated, see
|
68
|
+
# {Lithic::Models::AccountListParams} for more details.
|
69
|
+
#
|
53
70
|
# List account configurations.
|
54
71
|
#
|
55
72
|
# @overload list(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
56
73
|
#
|
57
|
-
# @param begin_ [Time]
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# @param
|
61
|
-
#
|
74
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
75
|
+
# ...
|
76
|
+
#
|
77
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
78
|
+
# ...
|
79
|
+
#
|
80
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
81
|
+
# ...
|
82
|
+
#
|
83
|
+
# @param page_size [Integer] Page size (for pagination).
|
84
|
+
#
|
85
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
86
|
+
# ...
|
87
|
+
#
|
62
88
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
63
89
|
#
|
64
90
|
# @return [Lithic::Internal::CursorPage<Lithic::Models::Account>]
|
@@ -84,7 +110,8 @@ module Lithic
|
|
84
110
|
#
|
85
111
|
# @overload retrieve_spend_limits(account_token, request_options: {})
|
86
112
|
#
|
87
|
-
# @param account_token [String]
|
113
|
+
# @param account_token [String] Globally unique identifier for account.
|
114
|
+
#
|
88
115
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
89
116
|
#
|
90
117
|
# @return [Lithic::Models::AccountSpendLimits]
|
@@ -8,7 +8,8 @@ module Lithic
|
|
8
8
|
#
|
9
9
|
# @overload list(financial_account_type: nil, request_options: {})
|
10
10
|
#
|
11
|
-
# @param financial_account_type [Symbol, Lithic::Models::AggregateBalanceListParams::FinancialAccountType]
|
11
|
+
# @param financial_account_type [Symbol, Lithic::Models::AggregateBalanceListParams::FinancialAccountType] Get the aggregate balance for a given Financial Account type.
|
12
|
+
#
|
12
13
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
13
14
|
#
|
14
15
|
# @return [Lithic::Internal::SinglePage<Lithic::Models::AggregateBalance>]
|
@@ -33,9 +33,12 @@ module Lithic
|
|
33
33
|
#
|
34
34
|
# @overload create(auth_rule_token, end_: nil, start: nil, request_options: {})
|
35
35
|
#
|
36
|
-
# @param auth_rule_token [String]
|
37
|
-
#
|
38
|
-
# @param
|
36
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
37
|
+
#
|
38
|
+
# @param end_ [Time] The end time of the backtest.
|
39
|
+
#
|
40
|
+
# @param start [Time] The start time of the backtest.
|
41
|
+
#
|
39
42
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
40
43
|
#
|
41
44
|
# @return [Lithic::Models::AuthRules::V2::BacktestCreateResponse]
|
@@ -73,8 +76,10 @@ module Lithic
|
|
73
76
|
#
|
74
77
|
# @overload retrieve(auth_rule_backtest_token, auth_rule_token:, request_options: {})
|
75
78
|
#
|
76
|
-
# @param auth_rule_backtest_token [String]
|
77
|
-
#
|
79
|
+
# @param auth_rule_backtest_token [String] Globally unique identifier for an Auth Rule backtest.
|
80
|
+
#
|
81
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
82
|
+
#
|
78
83
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
79
84
|
#
|
80
85
|
# @return [Lithic::Models::AuthRules::V2::BacktestResults]
|
@@ -11,13 +11,20 @@ module Lithic
|
|
11
11
|
#
|
12
12
|
# @overload create(account_tokens:, card_tokens:, program_level:, name: nil, parameters: nil, type: nil, excluded_card_tokens: nil, request_options: {})
|
13
13
|
#
|
14
|
-
# @param account_tokens [Array<String>]
|
15
|
-
#
|
16
|
-
# @param
|
17
|
-
#
|
18
|
-
# @param
|
19
|
-
#
|
20
|
-
# @param
|
14
|
+
# @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
|
15
|
+
#
|
16
|
+
# @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
|
17
|
+
#
|
18
|
+
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
19
|
+
#
|
20
|
+
# @param name [String, nil] Auth Rule Name
|
21
|
+
#
|
22
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams] Parameters for the Auth Rule
|
23
|
+
#
|
24
|
+
# @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Type] The type of Auth Rule
|
25
|
+
#
|
26
|
+
# @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
|
27
|
+
#
|
21
28
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
22
29
|
#
|
23
30
|
# @return [Lithic::Models::AuthRules::V2CreateResponse]
|
@@ -38,7 +45,8 @@ module Lithic
|
|
38
45
|
#
|
39
46
|
# @overload retrieve(auth_rule_token, request_options: {})
|
40
47
|
#
|
41
|
-
# @param auth_rule_token [String]
|
48
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
49
|
+
#
|
42
50
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
43
51
|
#
|
44
52
|
# @return [Lithic::Models::AuthRules::V2RetrieveResponse]
|
@@ -53,6 +61,9 @@ module Lithic
|
|
53
61
|
)
|
54
62
|
end
|
55
63
|
|
64
|
+
# Some parameter documentations has been truncated, see
|
65
|
+
# {Lithic::Models::AuthRules::V2UpdateParams} for more details.
|
66
|
+
#
|
56
67
|
# Updates a V2 authorization rule's properties
|
57
68
|
#
|
58
69
|
# If `account_tokens`, `card_tokens`, `program_level`, or `excluded_card_tokens`
|
@@ -61,13 +72,20 @@ module Lithic
|
|
61
72
|
#
|
62
73
|
# @overload update(auth_rule_token, account_tokens: nil, name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {})
|
63
74
|
#
|
64
|
-
# @param auth_rule_token [String]
|
65
|
-
#
|
66
|
-
# @param
|
67
|
-
#
|
68
|
-
# @param
|
69
|
-
#
|
70
|
-
# @param
|
75
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
76
|
+
#
|
77
|
+
# @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
|
78
|
+
#
|
79
|
+
# @param name [String, nil] Auth Rule Name
|
80
|
+
#
|
81
|
+
# @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::State] The desired state of the Auth Rule. ...
|
82
|
+
#
|
83
|
+
# @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
|
84
|
+
#
|
85
|
+
# @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
|
86
|
+
#
|
87
|
+
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
88
|
+
#
|
71
89
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
72
90
|
#
|
73
91
|
# @return [Lithic::Models::AuthRules::V2UpdateResponse]
|
@@ -84,15 +102,25 @@ module Lithic
|
|
84
102
|
)
|
85
103
|
end
|
86
104
|
|
105
|
+
# Some parameter documentations has been truncated, see
|
106
|
+
# {Lithic::Models::AuthRules::V2ListParams} for more details.
|
107
|
+
#
|
87
108
|
# Lists V2 authorization rules
|
88
109
|
#
|
89
110
|
# @overload list(account_token: nil, card_token: nil, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
90
111
|
#
|
91
|
-
# @param account_token [String]
|
92
|
-
#
|
93
|
-
# @param
|
94
|
-
#
|
95
|
-
# @param
|
112
|
+
# @param account_token [String] Only return Authorization Rules that are bound to the provided account token.
|
113
|
+
#
|
114
|
+
# @param card_token [String] Only return Authorization Rules that are bound to the provided card token.
|
115
|
+
#
|
116
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
117
|
+
# ...
|
118
|
+
#
|
119
|
+
# @param page_size [Integer] Page size (for pagination).
|
120
|
+
#
|
121
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
122
|
+
# ...
|
123
|
+
#
|
96
124
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
97
125
|
#
|
98
126
|
# @return [Lithic::Internal::CursorPage<Lithic::Models::AuthRules::V2ListResponse>]
|
@@ -114,7 +142,8 @@ module Lithic
|
|
114
142
|
#
|
115
143
|
# @overload delete(auth_rule_token, request_options: {})
|
116
144
|
#
|
117
|
-
# @param auth_rule_token [String]
|
145
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
146
|
+
#
|
118
147
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
119
148
|
#
|
120
149
|
# @return [nil]
|
@@ -136,11 +165,16 @@ module Lithic
|
|
136
165
|
#
|
137
166
|
# @overload apply(auth_rule_token, account_tokens:, card_tokens:, program_level:, excluded_card_tokens: nil, request_options: {})
|
138
167
|
#
|
139
|
-
# @param auth_rule_token [String]
|
140
|
-
#
|
141
|
-
# @param
|
142
|
-
#
|
143
|
-
# @param
|
168
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
169
|
+
#
|
170
|
+
# @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
|
171
|
+
#
|
172
|
+
# @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
|
173
|
+
#
|
174
|
+
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
175
|
+
#
|
176
|
+
# @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
|
177
|
+
#
|
144
178
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
145
179
|
#
|
146
180
|
# @return [Lithic::Models::AuthRules::V2ApplyResponse]
|
@@ -164,8 +198,10 @@ module Lithic
|
|
164
198
|
#
|
165
199
|
# @overload draft(auth_rule_token, parameters: nil, request_options: {})
|
166
200
|
#
|
167
|
-
# @param auth_rule_token [String]
|
168
|
-
#
|
201
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
202
|
+
#
|
203
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, nil] Parameters for the Auth Rule
|
204
|
+
#
|
169
205
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
170
206
|
#
|
171
207
|
# @return [Lithic::Models::AuthRules::V2DraftResponse]
|
@@ -187,7 +223,8 @@ module Lithic
|
|
187
223
|
#
|
188
224
|
# @overload promote(auth_rule_token, request_options: {})
|
189
225
|
#
|
190
|
-
# @param auth_rule_token [String]
|
226
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
227
|
+
#
|
191
228
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
192
229
|
#
|
193
230
|
# @return [Lithic::Models::AuthRules::V2PromoteResponse]
|
@@ -256,7 +293,8 @@ module Lithic
|
|
256
293
|
#
|
257
294
|
# @overload report(auth_rule_token, request_options: {})
|
258
295
|
#
|
259
|
-
# @param auth_rule_token [String]
|
296
|
+
# @param auth_rule_token [String] Globally unique identifier for the Auth Rule.
|
297
|
+
#
|
260
298
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
261
299
|
#
|
262
300
|
# @return [Lithic::Models::AuthRules::V2ReportResponse]
|
@@ -3,14 +3,22 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Resources
|
5
5
|
class Balances
|
6
|
+
# Some parameter documentations has been truncated, see
|
7
|
+
# {Lithic::Models::BalanceListParams} for more details.
|
8
|
+
#
|
6
9
|
# Get the balances for a program, business, or a given end-user account
|
7
10
|
#
|
8
11
|
# @overload list(account_token: nil, balance_date: nil, business_account_token: nil, financial_account_type: nil, request_options: {})
|
9
12
|
#
|
10
|
-
# @param account_token [String]
|
11
|
-
#
|
12
|
-
# @param
|
13
|
-
#
|
13
|
+
# @param account_token [String] List balances for all financial accounts of a given account_token.
|
14
|
+
#
|
15
|
+
# @param balance_date [Time] UTC date and time of the balances to retrieve. Defaults to latest available bala
|
16
|
+
# ...
|
17
|
+
#
|
18
|
+
# @param business_account_token [String] List balances for all financial accounts of a given business_account_token.
|
19
|
+
#
|
20
|
+
# @param financial_account_type [Symbol, Lithic::Models::BalanceListParams::FinancialAccountType] List balances for a given Financial Account type.
|
21
|
+
#
|
14
22
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
15
23
|
#
|
16
24
|
# @return [Lithic::Internal::SinglePage<Lithic::Models::Balance>]
|