lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +2 -2
- data/lib/lithic/internal/transport/pooled_net_requester.rb +15 -6
- data/lib/lithic/internal/type/array_of.rb +12 -2
- data/lib/lithic/internal/type/base_model.rb +23 -22
- data/lib/lithic/internal/type/boolean.rb +5 -1
- data/lib/lithic/internal/type/converter.rb +62 -39
- data/lib/lithic/internal/type/enum.rb +13 -9
- data/lib/lithic/internal/type/hash_of.rb +6 -2
- data/lib/lithic/internal/type/io_like.rb +75 -0
- data/lib/lithic/internal/type/request_parameters.rb +11 -2
- data/lib/lithic/internal/type/union.rb +7 -3
- data/lib/lithic/internal/type/unknown.rb +5 -1
- data/lib/lithic/internal/util.rb +81 -26
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +8 -14
- data/rbi/lib/lithic/internal/type/array_of.rbi +16 -22
- data/rbi/lib/lithic/internal/type/base_model.rbi +51 -66
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +16 -10
- data/rbi/lib/lithic/internal/type/converter.rbi +42 -38
- data/rbi/lib/lithic/internal/type/enum.rbi +24 -21
- data/rbi/lib/lithic/internal/type/hash_of.rbi +13 -18
- data/rbi/lib/lithic/internal/type/io_like.rbi +49 -0
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +17 -23
- data/rbi/lib/lithic/internal/type/unknown.rbi +12 -12
- data/rbi/lib/lithic/internal/util.rbi +67 -70
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +1 -1
- data/sig/lithic/internal/type/array_of.rbs +5 -2
- data/sig/lithic/internal/type/base_model.rbs +5 -2
- data/sig/lithic/internal/type/boolean.rbs +5 -2
- data/sig/lithic/internal/type/converter.rbs +11 -5
- data/sig/lithic/internal/type/enum.rbs +5 -2
- data/sig/lithic/internal/type/hash_of.rbs +5 -2
- data/sig/lithic/internal/type/io_like.rbs +23 -0
- data/sig/lithic/internal/type/union.rbs +5 -2
- data/sig/lithic/internal/type/unknown.rbs +5 -2
- data/sig/lithic/internal/util.rbs +17 -2
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +5 -2
@@ -19,9 +19,9 @@ module Lithic
|
|
19
19
|
# @!attribute status
|
20
20
|
# KYC and KYB evaluation states.
|
21
21
|
#
|
22
|
-
#
|
22
|
+
# Note:
|
23
23
|
#
|
24
|
-
#
|
24
|
+
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
25
25
|
#
|
26
26
|
# @return [Symbol, Lithic::Models::AccountHolderCreateResponse::Status]
|
27
27
|
required :status, enum: -> { Lithic::Models::AccountHolderCreateResponse::Status }
|
@@ -45,7 +45,7 @@ module Lithic
|
|
45
45
|
|
46
46
|
# @!attribute [r] external_id
|
47
47
|
# Customer-provided token that indicates a relationship with an object outside of
|
48
|
-
#
|
48
|
+
# the Lithic ecosystem.
|
49
49
|
#
|
50
50
|
# @return [String, nil]
|
51
51
|
optional :external_id, String
|
@@ -56,7 +56,7 @@ module Lithic
|
|
56
56
|
|
57
57
|
# @!attribute [r] required_documents
|
58
58
|
# Only present for "KYB_BASIC" workflow. A list of documents required for the
|
59
|
-
#
|
59
|
+
# account holder to be approved.
|
60
60
|
#
|
61
61
|
# @return [Array<Lithic::Models::RequiredDocument>, nil]
|
62
62
|
optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::RequiredDocument] }
|
@@ -91,9 +91,9 @@ module Lithic
|
|
91
91
|
|
92
92
|
# KYC and KYB evaluation states.
|
93
93
|
#
|
94
|
-
#
|
94
|
+
# Note:
|
95
95
|
#
|
96
|
-
#
|
96
|
+
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
97
97
|
#
|
98
98
|
# @see Lithic::Models::AccountHolderCreateResponse#status
|
99
99
|
module Status
|
@@ -10,10 +10,10 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] begin_
|
12
12
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
13
|
-
#
|
13
|
+
# will be included. UTC time zone.
|
14
14
|
#
|
15
15
|
# @return [Time, nil]
|
16
|
-
optional :begin_, Time
|
16
|
+
optional :begin_, Time
|
17
17
|
|
18
18
|
# @!parse
|
19
19
|
# # @return [Time]
|
@@ -21,7 +21,7 @@ module Lithic
|
|
21
21
|
|
22
22
|
# @!attribute [r] email
|
23
23
|
# Email address of the account holder. The query must be an exact match, case
|
24
|
-
#
|
24
|
+
# insensitive.
|
25
25
|
#
|
26
26
|
# @return [String, nil]
|
27
27
|
optional :email, String
|
@@ -32,10 +32,10 @@ module Lithic
|
|
32
32
|
|
33
33
|
# @!attribute [r] end_
|
34
34
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
35
|
-
#
|
35
|
+
# will be included. UTC time zone.
|
36
36
|
#
|
37
37
|
# @return [Time, nil]
|
38
|
-
optional :end_, Time
|
38
|
+
optional :end_, Time
|
39
39
|
|
40
40
|
# @!parse
|
41
41
|
# # @return [Time]
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
|
44
44
|
# @!attribute [r] ending_before
|
45
45
|
# A cursor representing an item's token before which a page of results should end.
|
46
|
-
#
|
46
|
+
# Used to retrieve the previous page of results before this item.
|
47
47
|
#
|
48
48
|
# @return [String, nil]
|
49
49
|
optional :ending_before, String
|
@@ -64,7 +64,7 @@ module Lithic
|
|
64
64
|
|
65
65
|
# @!attribute [r] first_name
|
66
66
|
# (Individual Account Holders only) The first name of the account holder. The
|
67
|
-
#
|
67
|
+
# query is case insensitive and supports partial matches.
|
68
68
|
#
|
69
69
|
# @return [String, nil]
|
70
70
|
optional :first_name, String
|
@@ -75,7 +75,7 @@ module Lithic
|
|
75
75
|
|
76
76
|
# @!attribute [r] last_name
|
77
77
|
# (Individual Account Holders only) The last name of the account holder. The query
|
78
|
-
#
|
78
|
+
# is case insensitive and supports partial matches.
|
79
79
|
#
|
80
80
|
# @return [String, nil]
|
81
81
|
optional :last_name, String
|
@@ -86,7 +86,7 @@ module Lithic
|
|
86
86
|
|
87
87
|
# @!attribute [r] legal_business_name
|
88
88
|
# (Business Account Holders only) The legal business name of the account holder.
|
89
|
-
#
|
89
|
+
# The query is case insensitive and supports partial matches.
|
90
90
|
#
|
91
91
|
# @return [String, nil]
|
92
92
|
optional :legal_business_name, String
|
@@ -117,7 +117,7 @@ module Lithic
|
|
117
117
|
|
118
118
|
# @!attribute [r] starting_after
|
119
119
|
# A cursor representing an item's token after which a page of results should
|
120
|
-
#
|
120
|
+
# begin. Used to retrieve the next page of results after this item.
|
121
121
|
#
|
122
122
|
# @return [String, nil]
|
123
123
|
optional :starting_after, String
|
@@ -32,7 +32,7 @@ module Lithic
|
|
32
32
|
|
33
33
|
# @!attribute [r] status_reason
|
34
34
|
# Status reason that will be associated with the simulated account holder status.
|
35
|
-
#
|
35
|
+
# Only required for a `REJECTED` status or `PARTIAL_APPROVAL` status.
|
36
36
|
#
|
37
37
|
# @return [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentDocumentReviewParams::StatusReason, nil]
|
38
38
|
optional :status_reason,
|
@@ -79,7 +79,7 @@ module Lithic
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# Status reason that will be associated with the simulated account holder status.
|
82
|
-
#
|
82
|
+
# Only required for a `REJECTED` status or `PARTIAL_APPROVAL` status.
|
83
83
|
module StatusReason
|
84
84
|
extend Lithic::Internal::Type::Enum
|
85
85
|
|
@@ -30,7 +30,7 @@ module Lithic
|
|
30
30
|
|
31
31
|
# @!attribute [r] status_reasons
|
32
32
|
# Status reason that will be associated with the simulated account holder status.
|
33
|
-
#
|
33
|
+
# Only required for a `REJECTED` status.
|
34
34
|
#
|
35
35
|
# @return [Array<Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewParams::StatusReason>, nil]
|
36
36
|
optional :status_reasons,
|
@@ -25,8 +25,7 @@ module Lithic
|
|
25
25
|
# attr_writer :account_token
|
26
26
|
|
27
27
|
# @!attribute [r] beneficial_owner_entities
|
28
|
-
#
|
29
|
-
# ownership in the company.
|
28
|
+
# Deprecated.
|
30
29
|
#
|
31
30
|
# @return [Array<Lithic::Models::KYBBusinessEntity>, nil]
|
32
31
|
optional :beneficial_owner_entities,
|
@@ -37,8 +36,11 @@ module Lithic
|
|
37
36
|
# attr_writer :beneficial_owner_entities
|
38
37
|
|
39
38
|
# @!attribute [r] beneficial_owner_individuals
|
40
|
-
# Only present when user_type == "BUSINESS". List of all
|
41
|
-
#
|
39
|
+
# Only present when user_type == "BUSINESS". List of all direct and indirect
|
40
|
+
# individuals with 25% or more ownership in the company. If no individual owns 25%
|
41
|
+
# of the company, please identify the largest shareholder in this field. See
|
42
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
43
|
+
# (Section I) for more background on individuals that should be included.
|
42
44
|
#
|
43
45
|
# @return [Array<Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual>, nil]
|
44
46
|
optional :beneficial_owner_individuals,
|
@@ -50,8 +52,8 @@ module Lithic
|
|
50
52
|
|
51
53
|
# @!attribute [r] business_account_token
|
52
54
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
53
|
-
#
|
54
|
-
#
|
55
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
56
|
+
# with the AUTHORIZED_USER in this field.
|
55
57
|
#
|
56
58
|
# @return [String, nil]
|
57
59
|
optional :business_account_token, String
|
@@ -62,7 +64,7 @@ module Lithic
|
|
62
64
|
|
63
65
|
# @!attribute [r] business_entity
|
64
66
|
# Only present when user_type == "BUSINESS". Information about the business for
|
65
|
-
#
|
67
|
+
# which the account is being opened and KYB is being run.
|
66
68
|
#
|
67
69
|
# @return [Lithic::Models::KYBBusinessEntity, nil]
|
68
70
|
optional :business_entity, -> { Lithic::Models::KYBBusinessEntity }
|
@@ -74,15 +76,15 @@ module Lithic
|
|
74
76
|
# @!attribute [r] control_person
|
75
77
|
# Only present when user_type == "BUSINESS".
|
76
78
|
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
79
|
+
# An individual with significant responsibility for managing the legal entity
|
80
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
81
|
+
# Officer,
|
80
82
|
#
|
81
|
-
#
|
82
|
-
#
|
83
|
+
# Managing Member, General Partner, President, Vice President, or Treasurer). This
|
84
|
+
# can be an executive, or someone who will have program-wide access
|
83
85
|
#
|
84
|
-
#
|
85
|
-
#
|
86
|
+
# to the cards that Lithic will provide. In some cases, this individual could also
|
87
|
+
# be a beneficial owner listed above.
|
86
88
|
#
|
87
89
|
# @return [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson, nil]
|
88
90
|
optional :control_person,
|
@@ -104,9 +106,9 @@ module Lithic
|
|
104
106
|
|
105
107
|
# @!attribute [r] email
|
106
108
|
# < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
|
107
|
-
#
|
109
|
+
# individual.phone_number when user_type == "INDIVIDUAL".
|
108
110
|
#
|
109
|
-
#
|
111
|
+
# > Primary email of Account Holder.
|
110
112
|
#
|
111
113
|
# @return [String, nil]
|
112
114
|
optional :email, String
|
@@ -117,7 +119,7 @@ module Lithic
|
|
117
119
|
|
118
120
|
# @!attribute [r] exemption_type
|
119
121
|
# The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
|
120
|
-
#
|
122
|
+
# holder is not KYC-Exempt.
|
121
123
|
#
|
122
124
|
# @return [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ExemptionType, nil]
|
123
125
|
optional :exemption_type,
|
@@ -129,7 +131,7 @@ module Lithic
|
|
129
131
|
|
130
132
|
# @!attribute [r] external_id
|
131
133
|
# Customer-provided token that indicates a relationship with an object outside of
|
132
|
-
#
|
134
|
+
# the Lithic ecosystem.
|
133
135
|
#
|
134
136
|
# @return [String, nil]
|
135
137
|
optional :external_id, String
|
@@ -140,7 +142,7 @@ module Lithic
|
|
140
142
|
|
141
143
|
# @!attribute [r] individual
|
142
144
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
143
|
-
#
|
145
|
+
# for which the account is being opened and KYC is being run.
|
144
146
|
#
|
145
147
|
# @return [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual, nil]
|
146
148
|
optional :individual, -> { Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual }
|
@@ -151,7 +153,7 @@ module Lithic
|
|
151
153
|
|
152
154
|
# @!attribute [r] nature_of_business
|
153
155
|
# Only present when user_type == "BUSINESS". User-submitted description of the
|
154
|
-
#
|
156
|
+
# business.
|
155
157
|
#
|
156
158
|
# @return [String, nil]
|
157
159
|
optional :nature_of_business, String
|
@@ -162,9 +164,9 @@ module Lithic
|
|
162
164
|
|
163
165
|
# @!attribute [r] phone_number
|
164
166
|
# < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
|
165
|
-
#
|
167
|
+
# individual.phone_number when user_type == "INDIVIDUAL".
|
166
168
|
#
|
167
|
-
#
|
169
|
+
# > Primary phone of Account Holder, entered in E.164 format.
|
168
170
|
#
|
169
171
|
# @return [String, nil]
|
170
172
|
optional :phone_number, String
|
@@ -175,7 +177,7 @@ module Lithic
|
|
175
177
|
|
176
178
|
# @!attribute [r] required_documents
|
177
179
|
# Only present for "KYB_BASIC" and "KYC_ADVANCED" workflows. A list of documents
|
178
|
-
#
|
180
|
+
# required for the account holder to be approved.
|
179
181
|
#
|
180
182
|
# @return [Array<Lithic::Models::RequiredDocument>, nil]
|
181
183
|
optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::Models::RequiredDocument] }
|
@@ -187,10 +189,10 @@ module Lithic
|
|
187
189
|
# @!attribute [r] status
|
188
190
|
# <Deprecated. Use verification_application.status instead>
|
189
191
|
#
|
190
|
-
#
|
192
|
+
# KYC and KYB evaluation states.
|
191
193
|
#
|
192
|
-
#
|
193
|
-
#
|
194
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
195
|
+
# `ADVANCED` workflow.
|
194
196
|
#
|
195
197
|
# @return [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Status, nil]
|
196
198
|
optional :status, enum: -> { Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Status }
|
@@ -201,7 +203,7 @@ module Lithic
|
|
201
203
|
|
202
204
|
# @!attribute [r] status_reasons
|
203
205
|
# <Deprecated. Use verification_application.status_reasons> Reason for the
|
204
|
-
#
|
206
|
+
# evaluation status.
|
205
207
|
#
|
206
208
|
# @return [Array<Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::StatusReason>, nil]
|
207
209
|
optional :status_reasons,
|
@@ -213,12 +215,11 @@ module Lithic
|
|
213
215
|
|
214
216
|
# @!attribute [r] user_type
|
215
217
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
216
|
-
#
|
217
|
-
#
|
218
|
-
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
219
|
-
# "beneficial_owner_individuals", "beneficial_owner_entities",
|
218
|
+
# attribute will be present.
|
220
219
|
#
|
221
|
-
#
|
220
|
+
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
221
|
+
# "beneficial_owner_individuals", "nature_of_business", and "website_url"
|
222
|
+
# attributes will be present.
|
222
223
|
#
|
223
224
|
# @return [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::UserType, nil]
|
224
225
|
optional :user_type, enum: -> { Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::UserType }
|
@@ -301,7 +302,7 @@ module Lithic
|
|
301
302
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
302
303
|
# @!attribute [r] address
|
303
304
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
304
|
-
#
|
305
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
305
306
|
#
|
306
307
|
# @return [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual::Address, nil]
|
307
308
|
optional :address,
|
@@ -323,7 +324,7 @@ module Lithic
|
|
323
324
|
|
324
325
|
# @!attribute [r] email
|
325
326
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
326
|
-
#
|
327
|
+
# customer email address may be used to communicate dispute status and resolution.
|
327
328
|
#
|
328
329
|
# @return [String, nil]
|
329
330
|
optional :email, String
|
@@ -390,21 +391,21 @@ module Lithic
|
|
390
391
|
|
391
392
|
# @!attribute country
|
392
393
|
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
393
|
-
#
|
394
|
+
# 3166-1 alpha-3 three-character format.
|
394
395
|
#
|
395
396
|
# @return [String]
|
396
397
|
required :country, String
|
397
398
|
|
398
399
|
# @!attribute postal_code
|
399
400
|
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
400
|
-
#
|
401
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
401
402
|
#
|
402
403
|
# @return [String]
|
403
404
|
required :postal_code, String
|
404
405
|
|
405
406
|
# @!attribute state
|
406
407
|
# Valid state code. Only USA state codes are currently supported, entered in
|
407
|
-
#
|
408
|
+
# uppercase ISO 3166-2 two-character format.
|
408
409
|
#
|
409
410
|
# @return [String]
|
410
411
|
required :state, String
|
@@ -421,7 +422,7 @@ module Lithic
|
|
421
422
|
|
422
423
|
# @!parse
|
423
424
|
# # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
424
|
-
# #
|
425
|
+
# # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
425
426
|
# #
|
426
427
|
# # @param address1 [String]
|
427
428
|
# # @param city [String]
|
@@ -440,7 +441,7 @@ module Lithic
|
|
440
441
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
441
442
|
# @!attribute [r] address
|
442
443
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
443
|
-
#
|
444
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
444
445
|
#
|
445
446
|
# @return [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson::Address, nil]
|
446
447
|
optional :address,
|
@@ -462,7 +463,7 @@ module Lithic
|
|
462
463
|
|
463
464
|
# @!attribute [r] email
|
464
465
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
465
|
-
#
|
466
|
+
# customer email address may be used to communicate dispute status and resolution.
|
466
467
|
#
|
467
468
|
# @return [String, nil]
|
468
469
|
optional :email, String
|
@@ -504,15 +505,15 @@ module Lithic
|
|
504
505
|
# @!parse
|
505
506
|
# # Only present when user_type == "BUSINESS".
|
506
507
|
# #
|
507
|
-
# #
|
508
|
-
# #
|
509
|
-
# #
|
508
|
+
# # An individual with significant responsibility for managing the legal entity
|
509
|
+
# # (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
510
|
+
# # Officer,
|
510
511
|
# #
|
511
|
-
# #
|
512
|
-
# #
|
512
|
+
# # Managing Member, General Partner, President, Vice President, or Treasurer). This
|
513
|
+
# # can be an executive, or someone who will have program-wide access
|
513
514
|
# #
|
514
|
-
# #
|
515
|
-
# #
|
515
|
+
# # to the cards that Lithic will provide. In some cases, this individual could also
|
516
|
+
# # be a beneficial owner listed above.
|
516
517
|
# #
|
517
518
|
# # @param address [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson::Address]
|
518
519
|
# # @param dob [String]
|
@@ -541,21 +542,21 @@ module Lithic
|
|
541
542
|
|
542
543
|
# @!attribute country
|
543
544
|
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
544
|
-
#
|
545
|
+
# 3166-1 alpha-3 three-character format.
|
545
546
|
#
|
546
547
|
# @return [String]
|
547
548
|
required :country, String
|
548
549
|
|
549
550
|
# @!attribute postal_code
|
550
551
|
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
551
|
-
#
|
552
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
552
553
|
#
|
553
554
|
# @return [String]
|
554
555
|
required :postal_code, String
|
555
556
|
|
556
557
|
# @!attribute state
|
557
558
|
# Valid state code. Only USA state codes are currently supported, entered in
|
558
|
-
#
|
559
|
+
# uppercase ISO 3166-2 two-character format.
|
559
560
|
#
|
560
561
|
# @return [String]
|
561
562
|
required :state, String
|
@@ -572,7 +573,7 @@ module Lithic
|
|
572
573
|
|
573
574
|
# @!parse
|
574
575
|
# # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
575
|
-
# #
|
576
|
+
# # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
576
577
|
# #
|
577
578
|
# # @param address1 [String]
|
578
579
|
# # @param city [String]
|
@@ -588,7 +589,7 @@ module Lithic
|
|
588
589
|
end
|
589
590
|
|
590
591
|
# The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
|
591
|
-
#
|
592
|
+
# holder is not KYC-Exempt.
|
592
593
|
#
|
593
594
|
# @see Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse#exemption_type
|
594
595
|
module ExemptionType
|
@@ -608,7 +609,7 @@ module Lithic
|
|
608
609
|
class Individual < Lithic::Internal::Type::BaseModel
|
609
610
|
# @!attribute [r] address
|
610
611
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
611
|
-
#
|
612
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
612
613
|
#
|
613
614
|
# @return [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual::Address, nil]
|
614
615
|
optional :address,
|
@@ -630,7 +631,7 @@ module Lithic
|
|
630
631
|
|
631
632
|
# @!attribute [r] email
|
632
633
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
633
|
-
#
|
634
|
+
# customer email address may be used to communicate dispute status and resolution.
|
634
635
|
#
|
635
636
|
# @return [String, nil]
|
636
637
|
optional :email, String
|
@@ -671,7 +672,7 @@ module Lithic
|
|
671
672
|
|
672
673
|
# @!parse
|
673
674
|
# # Only present when user_type == "INDIVIDUAL". Information about the individual
|
674
|
-
# #
|
675
|
+
# # for which the account is being opened and KYC is being run.
|
675
676
|
# #
|
676
677
|
# # @param address [Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual::Address]
|
677
678
|
# # @param dob [String]
|
@@ -700,21 +701,21 @@ module Lithic
|
|
700
701
|
|
701
702
|
# @!attribute country
|
702
703
|
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
703
|
-
#
|
704
|
+
# 3166-1 alpha-3 three-character format.
|
704
705
|
#
|
705
706
|
# @return [String]
|
706
707
|
required :country, String
|
707
708
|
|
708
709
|
# @!attribute postal_code
|
709
710
|
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
710
|
-
#
|
711
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
711
712
|
#
|
712
713
|
# @return [String]
|
713
714
|
required :postal_code, String
|
714
715
|
|
715
716
|
# @!attribute state
|
716
717
|
# Valid state code. Only USA state codes are currently supported, entered in
|
717
|
-
#
|
718
|
+
# uppercase ISO 3166-2 two-character format.
|
718
719
|
#
|
719
720
|
# @return [String]
|
720
721
|
required :state, String
|
@@ -731,7 +732,7 @@ module Lithic
|
|
731
732
|
|
732
733
|
# @!parse
|
733
734
|
# # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
734
|
-
# #
|
735
|
+
# # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
735
736
|
# #
|
736
737
|
# # @param address1 [String]
|
737
738
|
# # @param city [String]
|
@@ -748,10 +749,10 @@ module Lithic
|
|
748
749
|
|
749
750
|
# <Deprecated. Use verification_application.status instead>
|
750
751
|
#
|
751
|
-
#
|
752
|
+
# KYC and KYB evaluation states.
|
752
753
|
#
|
753
|
-
#
|
754
|
-
#
|
754
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
755
|
+
# `ADVANCED` workflow.
|
755
756
|
#
|
756
757
|
# @see Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse#status
|
757
758
|
module Status
|
@@ -808,12 +809,11 @@ module Lithic
|
|
808
809
|
end
|
809
810
|
|
810
811
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
811
|
-
#
|
812
|
-
#
|
813
|
-
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
814
|
-
# "beneficial_owner_individuals", "beneficial_owner_entities",
|
812
|
+
# attribute will be present.
|
815
813
|
#
|
816
|
-
#
|
814
|
+
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
815
|
+
# "beneficial_owner_individuals", "nature_of_business", and "website_url"
|
816
|
+
# attributes will be present.
|
817
817
|
#
|
818
818
|
# @see Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse#user_type
|
819
819
|
module UserType
|
@@ -840,8 +840,8 @@ module Lithic
|
|
840
840
|
# @!attribute status
|
841
841
|
# KYC and KYB evaluation states.
|
842
842
|
#
|
843
|
-
#
|
844
|
-
#
|
843
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
844
|
+
# `ADVANCED` workflow.
|
845
845
|
#
|
846
846
|
# @return [Symbol, Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::Status]
|
847
847
|
required :status,
|
@@ -874,8 +874,8 @@ module Lithic
|
|
874
874
|
|
875
875
|
# KYC and KYB evaluation states.
|
876
876
|
#
|
877
|
-
#
|
878
|
-
#
|
877
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
878
|
+
# `ADVANCED` workflow.
|
879
879
|
#
|
880
880
|
# @see Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication#status
|
881
881
|
module Status
|