lithic 0.1.0.pre.alpha.16 → 0.1.0.pre.alpha.18
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 +1 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +8 -4
- 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 +33 -0
- 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/{card_list_response.rb → non_pci_card.rb} +96 -51
- 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 +177 -69
- 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 +4 -9
- 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 +36 -0
- 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/{card_list_response.rbi → non_pci_card.rbi} +137 -62
- 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/rbi/lib/lithic/resources/cards.rbi +8 -8
- 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
- data/sig/lithic/models/card.rbs +19 -0
- data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +14 -29
- data/lib/lithic/models/card_convert_physical_response.rb +0 -393
- data/lib/lithic/models/card_create_response.rb +0 -392
- data/lib/lithic/models/card_reissue_response.rb +0 -392
- data/lib/lithic/models/card_renew_response.rb +0 -392
- data/lib/lithic/models/card_retrieve_response.rb +0 -392
- data/lib/lithic/models/card_search_by_pan_response.rb +0 -392
- data/lib/lithic/models/card_update_response.rb +0 -392
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
- data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
- data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
- data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
- data/sig/lithic/models/card_create_response.rbs +0 -257
- data/sig/lithic/models/card_reissue_response.rbs +0 -257
- data/sig/lithic/models/card_renew_response.rbs +0 -257
- data/sig/lithic/models/card_retrieve_response.rbs +0 -257
- data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
- data/sig/lithic/models/card_update_response.rbs +0 -257
@@ -156,26 +156,42 @@ module Lithic
|
|
156
156
|
.returns(T.attached_class)
|
157
157
|
end
|
158
158
|
def self.new(
|
159
|
+
# Globally unique identifier for a statement
|
159
160
|
token:,
|
160
161
|
account_standing:,
|
161
162
|
amount_due:,
|
163
|
+
# Amount of credit available to spend in cents
|
162
164
|
available_credit:,
|
165
|
+
# Timestamp of when the statement was created
|
163
166
|
created:,
|
167
|
+
# This is the maximum credit balance extended by the lender in cents
|
164
168
|
credit_limit:,
|
169
|
+
# Globally unique identifier for a credit product
|
165
170
|
credit_product_token:,
|
171
|
+
# Number of days in the billing cycle
|
166
172
|
days_in_billing_cycle:,
|
173
|
+
# Balance at the end of the billing period. For charge cards, this should be the
|
174
|
+
# same at the statement amount due in cents
|
167
175
|
ending_balance:,
|
176
|
+
# Globally unique identifier for a financial account
|
168
177
|
financial_account_token:,
|
178
|
+
# Date when the payment is due
|
169
179
|
payment_due_date:,
|
170
180
|
period_totals:,
|
181
|
+
# Balance at the start of the billing period
|
171
182
|
starting_balance:,
|
183
|
+
# Date when the billing period ended
|
172
184
|
statement_end_date:,
|
185
|
+
# Date when the billing period began
|
173
186
|
statement_start_date:,
|
174
187
|
statement_type:,
|
188
|
+
# Timestamp of when the statement was updated
|
175
189
|
updated:,
|
176
190
|
ytd_totals:,
|
177
191
|
interest_details: nil,
|
192
|
+
# Date when the next payment is due
|
178
193
|
next_payment_due_date: nil,
|
194
|
+
# Date when the next billing period will end
|
179
195
|
next_statement_end_date: nil
|
180
196
|
); end
|
181
197
|
sig do
|
@@ -268,12 +284,19 @@ module Lithic
|
|
268
284
|
.returns(T.attached_class)
|
269
285
|
end
|
270
286
|
def self.new(
|
287
|
+
# Number of consecutive full payments made
|
271
288
|
consecutive_full_payments_made:,
|
289
|
+
# Number of consecutive minimum payments made
|
272
290
|
consecutive_minimum_payments_made:,
|
291
|
+
# Number of consecutive minimum payments missed
|
273
292
|
consecutive_minimum_payments_missed:,
|
293
|
+
# Number of days past due
|
274
294
|
days_past_due:,
|
295
|
+
# Information about the financial account state
|
275
296
|
financial_account_state:,
|
297
|
+
# Whether the account currently has grace or not
|
276
298
|
has_grace:,
|
299
|
+
# Current overall period number
|
277
300
|
period_number:,
|
278
301
|
period_state:
|
279
302
|
); end
|
@@ -323,8 +346,12 @@ module Lithic
|
|
323
346
|
)
|
324
347
|
.returns(T.attached_class)
|
325
348
|
end
|
326
|
-
def self.new(
|
327
|
-
|
349
|
+
def self.new(
|
350
|
+
# Status of the financial account
|
351
|
+
status:,
|
352
|
+
# Substatus for the financial account
|
353
|
+
substatus: nil
|
354
|
+
); end
|
328
355
|
sig do
|
329
356
|
override
|
330
357
|
.returns(
|
@@ -463,8 +490,15 @@ module Lithic
|
|
463
490
|
attr_accessor :past_due
|
464
491
|
|
465
492
|
sig { params(amount: Integer, past_due: Integer).returns(T.attached_class) }
|
466
|
-
def self.new(
|
467
|
-
|
493
|
+
def self.new(
|
494
|
+
# Payment due at the end of the billing period in cents. Negative amount indicates
|
495
|
+
# something is owed. If the amount owed is positive there was a net credit. If
|
496
|
+
# auto-collections are enabled this is the amount that will be requested on the
|
497
|
+
# payment due date
|
498
|
+
amount:,
|
499
|
+
# Amount past due for statement in cents
|
500
|
+
past_due:
|
501
|
+
); end
|
468
502
|
sig { override.returns({amount: Integer, past_due: Integer}) }
|
469
503
|
def to_hash; end
|
470
504
|
end
|
@@ -511,9 +545,23 @@ module Lithic
|
|
511
545
|
)
|
512
546
|
.returns(T.attached_class)
|
513
547
|
end
|
514
|
-
def self.new(
|
515
|
-
|
516
|
-
|
548
|
+
def self.new(
|
549
|
+
# Opening balance transferred from previous account in cents
|
550
|
+
balance_transfers:,
|
551
|
+
# ATM and cashback transactions in cents
|
552
|
+
cash_advances:,
|
553
|
+
# Volume of credit management operation transactions less any balance transfers in
|
554
|
+
# cents
|
555
|
+
credits:,
|
556
|
+
# Volume of debit management operation transactions less any interest in cents
|
557
|
+
fees:,
|
558
|
+
# Interest accrued in cents
|
559
|
+
interest:,
|
560
|
+
# Any funds transfers which affective the balance in cents
|
561
|
+
payments:,
|
562
|
+
# Net card transaction volume less any cash advances in cents
|
563
|
+
purchases:
|
564
|
+
); end
|
517
565
|
sig do
|
518
566
|
override
|
519
567
|
.returns(
|
@@ -589,9 +637,23 @@ module Lithic
|
|
589
637
|
)
|
590
638
|
.returns(T.attached_class)
|
591
639
|
end
|
592
|
-
def self.new(
|
593
|
-
|
594
|
-
|
640
|
+
def self.new(
|
641
|
+
# Opening balance transferred from previous account in cents
|
642
|
+
balance_transfers:,
|
643
|
+
# ATM and cashback transactions in cents
|
644
|
+
cash_advances:,
|
645
|
+
# Volume of credit management operation transactions less any balance transfers in
|
646
|
+
# cents
|
647
|
+
credits:,
|
648
|
+
# Volume of debit management operation transactions less any interest in cents
|
649
|
+
fees:,
|
650
|
+
# Interest accrued in cents
|
651
|
+
interest:,
|
652
|
+
# Any funds transfers which affective the balance in cents
|
653
|
+
payments:,
|
654
|
+
# Net card transaction volume less any cash advances in cents
|
655
|
+
purchases:
|
656
|
+
); end
|
595
657
|
sig do
|
596
658
|
override
|
597
659
|
.returns(
|
@@ -66,11 +66,21 @@ module Lithic
|
|
66
66
|
.returns(T.attached_class)
|
67
67
|
end
|
68
68
|
def self.new(
|
69
|
+
# Date string in RFC 3339 format. Only entries created after the specified date
|
70
|
+
# will be included.
|
69
71
|
begin_: nil,
|
72
|
+
# Date string in RFC 3339 format. Only entries created before the specified date
|
73
|
+
# will be included.
|
70
74
|
end_: nil,
|
75
|
+
# A cursor representing an item's token before which a page of results should end.
|
76
|
+
# Used to retrieve the previous page of results before this item.
|
71
77
|
ending_before: nil,
|
78
|
+
# Whether to include the initial statement. It is not included by default.
|
72
79
|
include_initial_statements: nil,
|
80
|
+
# Page size (for pagination).
|
73
81
|
page_size: nil,
|
82
|
+
# A cursor representing an item's token after which a page of results should
|
83
|
+
# begin. Used to retrieve the next page of results after this item.
|
74
84
|
starting_after: nil,
|
75
85
|
request_options: {}
|
76
86
|
); end
|
@@ -18,8 +18,11 @@ module Lithic
|
|
18
18
|
)
|
19
19
|
.returns(T.attached_class)
|
20
20
|
end
|
21
|
-
def self.new(
|
22
|
-
|
21
|
+
def self.new(
|
22
|
+
# Globally unique identifier for financial account.
|
23
|
+
financial_account_token:,
|
24
|
+
request_options: {}
|
25
|
+
); end
|
23
26
|
sig { override.returns({financial_account_token: String, request_options: Lithic::RequestOptions}) }
|
24
27
|
def to_hash; end
|
25
28
|
end
|
@@ -46,14 +46,18 @@ module Lithic
|
|
46
46
|
.returns(T.attached_class)
|
47
47
|
end
|
48
48
|
def self.new(
|
49
|
+
# Globally unique identifier for financial account.
|
49
50
|
financial_account_token:,
|
51
|
+
# A cursor representing an item's token before which a page of results should end.
|
52
|
+
# Used to retrieve the previous page of results before this item.
|
50
53
|
ending_before: nil,
|
54
|
+
# Page size (for pagination).
|
51
55
|
page_size: nil,
|
56
|
+
# A cursor representing an item's token after which a page of results should
|
57
|
+
# begin. Used to retrieve the next page of results after this item.
|
52
58
|
starting_after: nil,
|
53
59
|
request_options: {}
|
54
|
-
)
|
55
|
-
end
|
56
|
-
|
60
|
+
); end
|
57
61
|
sig do
|
58
62
|
override
|
59
63
|
.returns(
|
@@ -102,16 +102,26 @@ module Lithic
|
|
102
102
|
.returns(T.attached_class)
|
103
103
|
end
|
104
104
|
def self.new(
|
105
|
+
# Globally unique identifier for a Statement Line Item
|
105
106
|
token:,
|
107
|
+
# Transaction amount in cents
|
106
108
|
amount:,
|
107
109
|
category:,
|
110
|
+
# Timestamp of when the line item was generated
|
108
111
|
created:,
|
112
|
+
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
113
|
+
# transaction
|
109
114
|
currency:,
|
115
|
+
# Date that the transaction effected the account balance
|
110
116
|
effective_date:,
|
111
117
|
event_type:,
|
118
|
+
# Globally unique identifier for a financial account
|
112
119
|
financial_account_token:,
|
120
|
+
# Globally unique identifier for a financial transaction event
|
113
121
|
financial_transaction_event_token:,
|
122
|
+
# Globally unique identifier for a financial transaction
|
114
123
|
financial_transaction_token:,
|
124
|
+
# Globally unique identifier for a card
|
115
125
|
card_token: nil,
|
116
126
|
descriptor: nil
|
117
127
|
); end
|
@@ -84,16 +84,47 @@ module Lithic
|
|
84
84
|
.returns(T.attached_class)
|
85
85
|
end
|
86
86
|
def self.new(
|
87
|
+
# Globally unique identifier.
|
87
88
|
token:,
|
89
|
+
# Status types:
|
90
|
+
#
|
91
|
+
# - `CARD` - Issuing card transaction.
|
92
|
+
# - `ACH` - Transaction over ACH.
|
93
|
+
# - `INTERNAL` - Transaction for internal adjustment.
|
94
|
+
# - `TRANSFER` - Internal transfer of funds between financial accounts in your
|
95
|
+
# program.
|
88
96
|
category:,
|
97
|
+
# Date and time when the financial transaction first occurred. UTC time zone.
|
89
98
|
created:,
|
99
|
+
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
100
|
+
# transaction.
|
90
101
|
currency:,
|
102
|
+
# A string that provides a description of the financial transaction; may be useful
|
103
|
+
# to display to users.
|
91
104
|
descriptor:,
|
105
|
+
# A list of all financial events that have modified this financial transaction.
|
92
106
|
events:,
|
107
|
+
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
108
|
+
# including any acquirer fees. The value of this field will go to zero over time
|
109
|
+
# once the financial transaction is settled.
|
93
110
|
pending_amount:,
|
111
|
+
# APPROVED transactions were successful while DECLINED transactions were declined
|
112
|
+
# by user, Lithic, or the network.
|
94
113
|
result:,
|
114
|
+
# Amount of the transaction that has been settled in the currency's smallest unit
|
115
|
+
# (e.g., cents), including any acquirer fees. This may change over time.
|
95
116
|
settled_amount:,
|
117
|
+
# Status types:
|
118
|
+
#
|
119
|
+
# - `DECLINED` - The transaction was declined.
|
120
|
+
# - `EXPIRED` - The authorization as it has passed its expiration time. Card
|
121
|
+
# transaction only.
|
122
|
+
# - `PENDING` - The transaction is expected to settle.
|
123
|
+
# - `RETURNED` - The transaction has been returned.
|
124
|
+
# - `SETTLED` - The transaction is completed.
|
125
|
+
# - `VOIDED` - The transaction was voided. Card transaction only.
|
96
126
|
status:,
|
127
|
+
# Date and time when the financial transaction was last updated. UTC time zone.
|
97
128
|
updated:
|
98
129
|
); end
|
99
130
|
sig do
|
@@ -185,8 +216,19 @@ module Lithic
|
|
185
216
|
)
|
186
217
|
.returns(T.attached_class)
|
187
218
|
end
|
188
|
-
def self.new(
|
189
|
-
|
219
|
+
def self.new(
|
220
|
+
# Globally unique identifier.
|
221
|
+
token: nil,
|
222
|
+
# Amount of the financial event that has been settled in the currency's smallest
|
223
|
+
# unit (e.g., cents).
|
224
|
+
amount: nil,
|
225
|
+
# Date and time when the financial event occurred. UTC time zone.
|
226
|
+
created: nil,
|
227
|
+
# APPROVED financial events were successful while DECLINED financial events were
|
228
|
+
# declined by user, Lithic, or the network.
|
229
|
+
result: nil,
|
230
|
+
type: nil
|
231
|
+
); end
|
190
232
|
sig do
|
191
233
|
override
|
192
234
|
.returns(
|
@@ -102,15 +102,45 @@ module Lithic
|
|
102
102
|
.returns(T.attached_class)
|
103
103
|
end
|
104
104
|
def self.new(
|
105
|
+
# You must submit a list of all direct and indirect individuals with 25% or more
|
106
|
+
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
107
|
+
# no individual owns 25% of the company you do not need to send beneficial owner
|
108
|
+
# information. See
|
109
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
110
|
+
# (Section I) for more background on individuals that should be included.
|
105
111
|
beneficial_owner_individuals:,
|
112
|
+
# Information for business for which the account is being opened and KYB is being
|
113
|
+
# run.
|
106
114
|
business_entity:,
|
115
|
+
# An individual with significant responsibility for managing the legal entity
|
116
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
117
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
118
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
119
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
120
|
+
# could also be a beneficial owner listed above. See
|
121
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
122
|
+
# (Section II) for more background.
|
107
123
|
control_person:,
|
124
|
+
# Short description of the company's line of business (i.e., what does the company
|
125
|
+
# do?).
|
108
126
|
nature_of_business:,
|
127
|
+
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
128
|
+
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
129
|
+
# implementation with Lithic.
|
109
130
|
tos_timestamp:,
|
131
|
+
# Specifies the type of KYB workflow to run.
|
110
132
|
workflow:,
|
133
|
+
# Deprecated.
|
111
134
|
beneficial_owner_entities: nil,
|
135
|
+
# A user provided id that can be used to link an account holder with an external
|
136
|
+
# system
|
112
137
|
external_id: nil,
|
138
|
+
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
139
|
+
# business with a pass result.
|
140
|
+
#
|
141
|
+
# This field is required only if workflow type is `KYB_BYO`.
|
113
142
|
kyb_passed_timestamp: nil,
|
143
|
+
# Company website URL.
|
114
144
|
website_url: nil
|
115
145
|
); end
|
116
146
|
sig do
|
@@ -185,8 +215,27 @@ module Lithic
|
|
185
215
|
)
|
186
216
|
.returns(T.attached_class)
|
187
217
|
end
|
188
|
-
def self.new(
|
189
|
-
|
218
|
+
def self.new(
|
219
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
220
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
221
|
+
address:,
|
222
|
+
# Individual's date of birth, as an RFC 3339 date.
|
223
|
+
dob:,
|
224
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
225
|
+
# customer email address may be used to communicate dispute status and resolution.
|
226
|
+
email:,
|
227
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
228
|
+
first_name:,
|
229
|
+
# Government-issued identification number (required for identity verification and
|
230
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
231
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
232
|
+
# entered as full nine-digits, with or without hyphens
|
233
|
+
government_id:,
|
234
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
235
|
+
last_name:,
|
236
|
+
# Individual's phone number, entered in E.164 format.
|
237
|
+
phone_number: nil
|
238
|
+
); end
|
190
239
|
sig do
|
191
240
|
override
|
192
241
|
.returns(
|
@@ -257,11 +306,22 @@ module Lithic
|
|
257
306
|
.returns(T.attached_class)
|
258
307
|
end
|
259
308
|
def self.new(
|
309
|
+
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
310
|
+
# acceptable; APO/FPO are acceptable.
|
260
311
|
address:,
|
312
|
+
# Government-issued identification number. US Federal Employer Identification
|
313
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
314
|
+
# without hyphens.
|
261
315
|
government_id:,
|
316
|
+
# Legal (formal) business name.
|
262
317
|
legal_business_name:,
|
318
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
319
|
+
# format.
|
263
320
|
phone_numbers:,
|
321
|
+
# Any name that the business operates under that is not its legal business name
|
322
|
+
# (if applicable).
|
264
323
|
dba_business_name: nil,
|
324
|
+
# Parent company name (if applicable).
|
265
325
|
parent_company: nil
|
266
326
|
); end
|
267
327
|
sig do
|
@@ -340,8 +400,27 @@ module Lithic
|
|
340
400
|
)
|
341
401
|
.returns(T.attached_class)
|
342
402
|
end
|
343
|
-
def self.new(
|
344
|
-
|
403
|
+
def self.new(
|
404
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
405
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
406
|
+
address:,
|
407
|
+
# Individual's date of birth, as an RFC 3339 date.
|
408
|
+
dob:,
|
409
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
410
|
+
# customer email address may be used to communicate dispute status and resolution.
|
411
|
+
email:,
|
412
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
413
|
+
first_name:,
|
414
|
+
# Government-issued identification number (required for identity verification and
|
415
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
416
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
417
|
+
# entered as full nine-digits, with or without hyphens
|
418
|
+
government_id:,
|
419
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
420
|
+
last_name:,
|
421
|
+
# Individual's phone number, entered in E.164 format.
|
422
|
+
phone_number: nil
|
423
|
+
); end
|
345
424
|
sig do
|
346
425
|
override
|
347
426
|
.returns(
|
@@ -424,11 +503,22 @@ module Lithic
|
|
424
503
|
.returns(T.attached_class)
|
425
504
|
end
|
426
505
|
def self.new(
|
506
|
+
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
507
|
+
# acceptable; APO/FPO are acceptable.
|
427
508
|
address:,
|
509
|
+
# Government-issued identification number. US Federal Employer Identification
|
510
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
511
|
+
# without hyphens.
|
428
512
|
government_id:,
|
513
|
+
# Legal (formal) business name.
|
429
514
|
legal_business_name:,
|
515
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
516
|
+
# format.
|
430
517
|
phone_numbers:,
|
518
|
+
# Any name that the business operates under that is not its legal business name
|
519
|
+
# (if applicable).
|
431
520
|
dba_business_name: nil,
|
521
|
+
# Parent company name (if applicable).
|
432
522
|
parent_company: nil
|
433
523
|
); end
|
434
524
|
sig do
|
@@ -53,11 +53,22 @@ module Lithic
|
|
53
53
|
.returns(T.attached_class)
|
54
54
|
end
|
55
55
|
def self.new(
|
56
|
+
# Business''s physical address - PO boxes, UPS drops, and FedEx drops are not
|
57
|
+
# acceptable; APO/FPO are acceptable.
|
56
58
|
address:,
|
59
|
+
# Government-issued identification number. US Federal Employer Identification
|
60
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
61
|
+
# without hyphens.
|
57
62
|
government_id:,
|
63
|
+
# Legal (formal) business name.
|
58
64
|
legal_business_name:,
|
65
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
66
|
+
# format.
|
59
67
|
phone_numbers:,
|
68
|
+
# Any name that the business operates under that is not its legal business name
|
69
|
+
# (if applicable).
|
60
70
|
dba_business_name: nil,
|
71
|
+
# Parent company name (if applicable).
|
61
72
|
parent_company: nil
|
62
73
|
); end
|
63
74
|
sig do
|
@@ -119,8 +130,23 @@ module Lithic
|
|
119
130
|
)
|
120
131
|
.returns(T.attached_class)
|
121
132
|
end
|
122
|
-
def self.new(
|
123
|
-
|
133
|
+
def self.new(
|
134
|
+
# Valid deliverable address (no PO boxes).
|
135
|
+
address1:,
|
136
|
+
# Name of city.
|
137
|
+
city:,
|
138
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
139
|
+
# 3166-1 alpha-3 three-character format.
|
140
|
+
country:,
|
141
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
142
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
143
|
+
postal_code:,
|
144
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
145
|
+
# uppercase ISO 3166-2 two-character format.
|
146
|
+
state:,
|
147
|
+
# Unit or apartment number (if applicable).
|
148
|
+
address2: nil
|
149
|
+
); end
|
124
150
|
sig do
|
125
151
|
override
|
126
152
|
.returns(
|
@@ -49,8 +49,25 @@ module Lithic
|
|
49
49
|
)
|
50
50
|
.returns(T.attached_class)
|
51
51
|
end
|
52
|
-
def self.new(
|
53
|
-
|
52
|
+
def self.new(
|
53
|
+
# Information on individual for whom the account is being opened and KYC is being
|
54
|
+
# run.
|
55
|
+
individual:,
|
56
|
+
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
57
|
+
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
58
|
+
# implementation with Lithic.
|
59
|
+
tos_timestamp:,
|
60
|
+
# Specifies the type of KYC workflow to run.
|
61
|
+
workflow:,
|
62
|
+
# A user provided id that can be used to link an account holder with an external
|
63
|
+
# system
|
64
|
+
external_id: nil,
|
65
|
+
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
66
|
+
# individual with a pass result.
|
67
|
+
#
|
68
|
+
# This field is required only if workflow type is `KYC_BYO`.
|
69
|
+
kyc_passed_timestamp: nil
|
70
|
+
); end
|
54
71
|
sig do
|
55
72
|
override
|
56
73
|
.returns(
|
@@ -116,8 +133,27 @@ module Lithic
|
|
116
133
|
)
|
117
134
|
.returns(T.attached_class)
|
118
135
|
end
|
119
|
-
def self.new(
|
120
|
-
|
136
|
+
def self.new(
|
137
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
138
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
139
|
+
address:,
|
140
|
+
# Individual's date of birth, as an RFC 3339 date.
|
141
|
+
dob:,
|
142
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
143
|
+
# customer email address may be used to communicate dispute status and resolution.
|
144
|
+
email:,
|
145
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
146
|
+
first_name:,
|
147
|
+
# Government-issued identification number (required for identity verification and
|
148
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
149
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
150
|
+
# entered as full nine-digits, with or without hyphens
|
151
|
+
government_id:,
|
152
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
153
|
+
last_name:,
|
154
|
+
# Individual's phone number, entered in E.164 format.
|
155
|
+
phone_number:
|
156
|
+
); end
|
121
157
|
sig do
|
122
158
|
override
|
123
159
|
.returns(
|
@@ -67,14 +67,27 @@ module Lithic
|
|
67
67
|
.returns(T.attached_class)
|
68
68
|
end
|
69
69
|
def self.new(
|
70
|
+
# KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
71
|
+
# acceptable; APO/FPO are acceptable.
|
70
72
|
address:,
|
73
|
+
# The KYC Exempt user's email
|
71
74
|
email:,
|
75
|
+
# The KYC Exempt user's first name
|
72
76
|
first_name:,
|
77
|
+
# Specifies the type of KYC Exempt user
|
73
78
|
kyc_exemption_type:,
|
79
|
+
# The KYC Exempt user's last name
|
74
80
|
last_name:,
|
81
|
+
# The KYC Exempt user's phone number, entered in E.164 format.
|
75
82
|
phone_number:,
|
83
|
+
# Specifies the workflow type. This must be 'KYC_EXEMPT'
|
76
84
|
workflow:,
|
85
|
+
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
86
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
87
|
+
# with the AUTHORIZED_USER in this field.
|
77
88
|
business_account_token: nil,
|
89
|
+
# A user provided id that can be used to link an account holder with an external
|
90
|
+
# system
|
78
91
|
external_id: nil
|
79
92
|
); end
|
80
93
|
sig do
|
@@ -89,14 +89,27 @@ module Lithic
|
|
89
89
|
.returns(T.attached_class)
|
90
90
|
end
|
91
91
|
def self.new(
|
92
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
93
|
+
# will be included. UTC time zone.
|
92
94
|
begin_: nil,
|
93
95
|
business_account_token: nil,
|
96
|
+
# Management operation category to be returned.
|
94
97
|
category: nil,
|
98
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
99
|
+
# will be included. UTC time zone.
|
95
100
|
end_: nil,
|
101
|
+
# A cursor representing an item's token before which a page of results should end.
|
102
|
+
# Used to retrieve the previous page of results before this item.
|
96
103
|
ending_before: nil,
|
104
|
+
# Globally unique identifier for the financial account. Accepted type dependent on
|
105
|
+
# the program's use case.
|
97
106
|
financial_account_token: nil,
|
107
|
+
# Page size (for pagination).
|
98
108
|
page_size: nil,
|
109
|
+
# A cursor representing an item's token after which a page of results should
|
110
|
+
# begin. Used to retrieve the next page of results after this item.
|
99
111
|
starting_after: nil,
|
112
|
+
# Management operation status to be returned.
|
100
113
|
status: nil,
|
101
114
|
request_options: {}
|
102
115
|
); end
|
@@ -51,17 +51,24 @@ module Lithic
|
|
51
51
|
.returns(T.attached_class)
|
52
52
|
end
|
53
53
|
def self.new(
|
54
|
+
# Globally unique identifier.
|
54
55
|
token:,
|
56
|
+
# An RFC 3339 timestamp for when the event was created. UTC time zone.
|
57
|
+
#
|
58
|
+
# If no timezone is specified, UTC will be used.
|
55
59
|
created:,
|
60
|
+
# Globally unique identifier.
|
56
61
|
event_subscription_token:,
|
62
|
+
# Globally unique identifier.
|
57
63
|
event_token:,
|
64
|
+
# The response body from the event subscription's URL.
|
58
65
|
response:,
|
66
|
+
# The response status code from the event subscription's URL.
|
59
67
|
response_status_code:,
|
68
|
+
# The status of the event attempt.
|
60
69
|
status:,
|
61
70
|
url:
|
62
|
-
)
|
63
|
-
end
|
64
|
-
|
71
|
+
); end
|
65
72
|
sig do
|
66
73
|
override
|
67
74
|
.returns(
|