lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +14 -17
- data/lib/lithic/internal/type/converter.rb +20 -22
- data/lib/lithic/internal/type/enum.rb +8 -8
- data/lib/lithic/internal/util.rb +1 -5
- 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/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +4 -8
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +34 -68
- 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/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 +2 -2
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
|
52
52
|
# @!attribute currency
|
53
53
|
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
54
|
-
#
|
54
|
+
# transaction
|
55
55
|
#
|
56
56
|
# @return [String]
|
57
57
|
required :currency, String
|
@@ -222,6 +222,7 @@ module Lithic
|
|
222
222
|
INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
|
223
223
|
LATE_PAYMENT = :LATE_PAYMENT
|
224
224
|
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
225
|
+
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
225
226
|
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
226
227
|
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
227
228
|
RETURN = :RETURN
|
@@ -12,11 +12,11 @@ module Lithic
|
|
12
12
|
# @!attribute category
|
13
13
|
# Status types:
|
14
14
|
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
15
|
+
# - `CARD` - Issuing card transaction.
|
16
|
+
# - `ACH` - Transaction over ACH.
|
17
|
+
# - `INTERNAL` - Transaction for internal adjustment.
|
18
|
+
# - `TRANSFER` - Internal transfer of funds between financial accounts in your
|
19
|
+
# program.
|
20
20
|
#
|
21
21
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Category]
|
22
22
|
required :category, enum: -> { Lithic::Models::FinancialTransaction::Category }
|
@@ -29,14 +29,14 @@ module Lithic
|
|
29
29
|
|
30
30
|
# @!attribute currency
|
31
31
|
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
32
|
-
#
|
32
|
+
# transaction.
|
33
33
|
#
|
34
34
|
# @return [String]
|
35
35
|
required :currency, String
|
36
36
|
|
37
37
|
# @!attribute descriptor
|
38
38
|
# A string that provides a description of the financial transaction; may be useful
|
39
|
-
#
|
39
|
+
# to display to users.
|
40
40
|
#
|
41
41
|
# @return [String]
|
42
42
|
required :descriptor, String
|
@@ -49,22 +49,22 @@ module Lithic
|
|
49
49
|
|
50
50
|
# @!attribute pending_amount
|
51
51
|
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
52
|
-
#
|
53
|
-
#
|
52
|
+
# including any acquirer fees. The value of this field will go to zero over time
|
53
|
+
# once the financial transaction is settled.
|
54
54
|
#
|
55
55
|
# @return [Integer]
|
56
56
|
required :pending_amount, Integer
|
57
57
|
|
58
58
|
# @!attribute result
|
59
59
|
# APPROVED transactions were successful while DECLINED transactions were declined
|
60
|
-
#
|
60
|
+
# by user, Lithic, or the network.
|
61
61
|
#
|
62
62
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Result]
|
63
63
|
required :result, enum: -> { Lithic::Models::FinancialTransaction::Result }
|
64
64
|
|
65
65
|
# @!attribute settled_amount
|
66
66
|
# Amount of the transaction that has been settled in the currency's smallest unit
|
67
|
-
#
|
67
|
+
# (e.g., cents), including any acquirer fees. This may change over time.
|
68
68
|
#
|
69
69
|
# @return [Integer]
|
70
70
|
required :settled_amount, Integer
|
@@ -72,13 +72,13 @@ module Lithic
|
|
72
72
|
# @!attribute status
|
73
73
|
# Status types:
|
74
74
|
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
75
|
+
# - `DECLINED` - The transaction was declined.
|
76
|
+
# - `EXPIRED` - The authorization as it has passed its expiration time. Card
|
77
|
+
# transaction only.
|
78
|
+
# - `PENDING` - The transaction is expected to settle.
|
79
|
+
# - `RETURNED` - The transaction has been returned.
|
80
|
+
# - `SETTLED` - The transaction is completed.
|
81
|
+
# - `VOIDED` - The transaction was voided. Card transaction only.
|
82
82
|
#
|
83
83
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Status]
|
84
84
|
required :status, enum: -> { Lithic::Models::FinancialTransaction::Status }
|
@@ -123,11 +123,11 @@ module Lithic
|
|
123
123
|
|
124
124
|
# Status types:
|
125
125
|
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
126
|
+
# - `CARD` - Issuing card transaction.
|
127
|
+
# - `ACH` - Transaction over ACH.
|
128
|
+
# - `INTERNAL` - Transaction for internal adjustment.
|
129
|
+
# - `TRANSFER` - Internal transfer of funds between financial accounts in your
|
130
|
+
# program.
|
131
131
|
#
|
132
132
|
# @see Lithic::Models::FinancialTransaction#category
|
133
133
|
module Category
|
@@ -158,7 +158,7 @@ module Lithic
|
|
158
158
|
|
159
159
|
# @!attribute [r] amount
|
160
160
|
# Amount of the financial event that has been settled in the currency's smallest
|
161
|
-
#
|
161
|
+
# unit (e.g., cents).
|
162
162
|
#
|
163
163
|
# @return [Integer, nil]
|
164
164
|
optional :amount, Integer
|
@@ -179,7 +179,7 @@ module Lithic
|
|
179
179
|
|
180
180
|
# @!attribute [r] result
|
181
181
|
# APPROVED financial events were successful while DECLINED financial events were
|
182
|
-
#
|
182
|
+
# declined by user, Lithic, or the network.
|
183
183
|
#
|
184
184
|
# @return [Symbol, Lithic::Models::FinancialTransaction::Event::Result, nil]
|
185
185
|
optional :result, enum: -> { Lithic::Models::FinancialTransaction::Event::Result }
|
@@ -209,7 +209,7 @@ module Lithic
|
|
209
209
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
210
210
|
|
211
211
|
# APPROVED financial events were successful while DECLINED financial events were
|
212
|
-
#
|
212
|
+
# declined by user, Lithic, or the network.
|
213
213
|
#
|
214
214
|
# @see Lithic::Models::FinancialTransaction::Event#result
|
215
215
|
module Result
|
@@ -285,6 +285,7 @@ module Lithic
|
|
285
285
|
INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
|
286
286
|
LATE_PAYMENT = :LATE_PAYMENT
|
287
287
|
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
288
|
+
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
288
289
|
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
289
290
|
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
290
291
|
RETURN = :RETURN
|
@@ -303,7 +304,7 @@ module Lithic
|
|
303
304
|
end
|
304
305
|
|
305
306
|
# APPROVED transactions were successful while DECLINED transactions were declined
|
306
|
-
#
|
307
|
+
# by user, Lithic, or the network.
|
307
308
|
#
|
308
309
|
# @see Lithic::Models::FinancialTransaction#result
|
309
310
|
module Result
|
@@ -321,13 +322,13 @@ module Lithic
|
|
321
322
|
|
322
323
|
# Status types:
|
323
324
|
#
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
327
|
-
#
|
328
|
-
#
|
329
|
-
#
|
330
|
-
#
|
325
|
+
# - `DECLINED` - The transaction was declined.
|
326
|
+
# - `EXPIRED` - The authorization as it has passed its expiration time. Card
|
327
|
+
# transaction only.
|
328
|
+
# - `PENDING` - The transaction is expected to settle.
|
329
|
+
# - `RETURNED` - The transaction has been returned.
|
330
|
+
# - `SETTLED` - The transaction is completed.
|
331
|
+
# - `VOIDED` - The transaction was voided. Card transaction only.
|
331
332
|
#
|
332
333
|
# @see Lithic::Models::FinancialTransaction#status
|
333
334
|
module Status
|
data/lib/lithic/models/kyb.rb
CHANGED
@@ -4,11 +4,11 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
class KYB < Lithic::Internal::Type::BaseModel
|
6
6
|
# @!attribute beneficial_owner_individuals
|
7
|
-
# List of all direct and indirect individuals with
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
7
|
+
# List of all direct and indirect individuals with 25% or more ownership in the
|
8
|
+
# company. If no individual owns 25% of the company, please identify the largest
|
9
|
+
# shareholder in this field. See
|
10
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
11
|
+
# (Section I) for more background on individuals that should be included.
|
12
12
|
#
|
13
13
|
# @return [Array<Lithic::Models::KYB::BeneficialOwnerIndividual>]
|
14
14
|
required :beneficial_owner_individuals,
|
@@ -16,35 +16,35 @@ module Lithic
|
|
16
16
|
|
17
17
|
# @!attribute business_entity
|
18
18
|
# Information for business for which the account is being opened and KYB is being
|
19
|
-
#
|
19
|
+
# run.
|
20
20
|
#
|
21
21
|
# @return [Lithic::Models::KYB::BusinessEntity]
|
22
22
|
required :business_entity, -> { Lithic::Models::KYB::BusinessEntity }
|
23
23
|
|
24
24
|
# @!attribute control_person
|
25
25
|
# An individual with significant responsibility for managing the legal entity
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
26
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
27
|
+
# Officer, Managing Member, General Partner, President, Vice President, or
|
28
|
+
# Treasurer). This can be an executive, or someone who will have program-wide
|
29
|
+
# access to the cards that Lithic will provide. In some cases, this individual
|
30
|
+
# could also be a beneficial owner listed above. See
|
31
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
32
|
+
# (Section II) for more background.
|
33
33
|
#
|
34
34
|
# @return [Lithic::Models::KYB::ControlPerson]
|
35
35
|
required :control_person, -> { Lithic::Models::KYB::ControlPerson }
|
36
36
|
|
37
37
|
# @!attribute nature_of_business
|
38
38
|
# Short description of the company's line of business (i.e., what does the company
|
39
|
-
#
|
39
|
+
# do?).
|
40
40
|
#
|
41
41
|
# @return [String]
|
42
42
|
required :nature_of_business, String
|
43
43
|
|
44
44
|
# @!attribute tos_timestamp
|
45
45
|
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
46
|
-
#
|
47
|
-
#
|
46
|
+
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
47
|
+
# implementation with Lithic.
|
48
48
|
#
|
49
49
|
# @return [String]
|
50
50
|
required :tos_timestamp, String
|
@@ -68,7 +68,7 @@ module Lithic
|
|
68
68
|
|
69
69
|
# @!attribute [r] external_id
|
70
70
|
# A user provided id that can be used to link an account holder with an external
|
71
|
-
#
|
71
|
+
# system
|
72
72
|
#
|
73
73
|
# @return [String, nil]
|
74
74
|
optional :external_id, String
|
@@ -79,9 +79,9 @@ module Lithic
|
|
79
79
|
|
80
80
|
# @!attribute [r] kyb_passed_timestamp
|
81
81
|
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
82
|
-
#
|
82
|
+
# business with a pass result.
|
83
83
|
#
|
84
|
-
#
|
84
|
+
# This field is required only if workflow type is `KYB_BYO`.
|
85
85
|
#
|
86
86
|
# @return [String, nil]
|
87
87
|
optional :kyb_passed_timestamp, String
|
@@ -133,7 +133,7 @@ module Lithic
|
|
133
133
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
134
134
|
# @!attribute address
|
135
135
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
136
|
-
#
|
136
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
137
137
|
#
|
138
138
|
# @return [Lithic::Models::Address]
|
139
139
|
required :address, -> { Lithic::Models::Address }
|
@@ -146,7 +146,7 @@ module Lithic
|
|
146
146
|
|
147
147
|
# @!attribute email
|
148
148
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
149
|
-
#
|
149
|
+
# customer email address may be used to communicate dispute status and resolution.
|
150
150
|
#
|
151
151
|
# @return [String]
|
152
152
|
required :email, String
|
@@ -159,9 +159,9 @@ module Lithic
|
|
159
159
|
|
160
160
|
# @!attribute government_id
|
161
161
|
# Government-issued identification number (required for identity verification and
|
162
|
-
#
|
163
|
-
#
|
164
|
-
#
|
162
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
163
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
164
|
+
# entered as full nine-digits, with or without hyphens
|
165
165
|
#
|
166
166
|
# @return [String]
|
167
167
|
required :government_id, String
|
@@ -202,15 +202,15 @@ module Lithic
|
|
202
202
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
203
203
|
# @!attribute address
|
204
204
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
205
|
-
#
|
205
|
+
# acceptable; APO/FPO are acceptable.
|
206
206
|
#
|
207
207
|
# @return [Lithic::Models::Address]
|
208
208
|
required :address, -> { Lithic::Models::Address }
|
209
209
|
|
210
210
|
# @!attribute government_id
|
211
211
|
# Government-issued identification number. US Federal Employer Identification
|
212
|
-
#
|
213
|
-
#
|
212
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
213
|
+
# without hyphens.
|
214
214
|
#
|
215
215
|
# @return [String]
|
216
216
|
required :government_id, String
|
@@ -223,14 +223,14 @@ module Lithic
|
|
223
223
|
|
224
224
|
# @!attribute phone_numbers
|
225
225
|
# One or more of the business's phone number(s), entered as a list in E.164
|
226
|
-
#
|
226
|
+
# format.
|
227
227
|
#
|
228
228
|
# @return [Array<String>]
|
229
229
|
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
230
230
|
|
231
231
|
# @!attribute [r] dba_business_name
|
232
232
|
# Any name that the business operates under that is not its legal business name
|
233
|
-
#
|
233
|
+
# (if applicable).
|
234
234
|
#
|
235
235
|
# @return [String, nil]
|
236
236
|
optional :dba_business_name, String
|
@@ -251,7 +251,7 @@ module Lithic
|
|
251
251
|
|
252
252
|
# @!parse
|
253
253
|
# # Information for business for which the account is being opened and KYB is being
|
254
|
-
# #
|
254
|
+
# # run.
|
255
255
|
# #
|
256
256
|
# # @param address [Lithic::Models::Address]
|
257
257
|
# # @param government_id [String]
|
@@ -279,7 +279,7 @@ module Lithic
|
|
279
279
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
280
280
|
# @!attribute address
|
281
281
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
282
|
-
#
|
282
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
283
283
|
#
|
284
284
|
# @return [Lithic::Models::Address]
|
285
285
|
required :address, -> { Lithic::Models::Address }
|
@@ -292,7 +292,7 @@ module Lithic
|
|
292
292
|
|
293
293
|
# @!attribute email
|
294
294
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
295
|
-
#
|
295
|
+
# customer email address may be used to communicate dispute status and resolution.
|
296
296
|
#
|
297
297
|
# @return [String]
|
298
298
|
required :email, String
|
@@ -305,9 +305,9 @@ module Lithic
|
|
305
305
|
|
306
306
|
# @!attribute government_id
|
307
307
|
# Government-issued identification number (required for identity verification and
|
308
|
-
#
|
309
|
-
#
|
310
|
-
#
|
308
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
309
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
310
|
+
# entered as full nine-digits, with or without hyphens
|
311
311
|
#
|
312
312
|
# @return [String]
|
313
313
|
required :government_id, String
|
@@ -330,13 +330,13 @@ module Lithic
|
|
330
330
|
|
331
331
|
# @!parse
|
332
332
|
# # An individual with significant responsibility for managing the legal entity
|
333
|
-
# #
|
334
|
-
# #
|
335
|
-
# #
|
336
|
-
# #
|
337
|
-
# #
|
338
|
-
# #
|
339
|
-
# #
|
333
|
+
# # (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
334
|
+
# # Officer, Managing Member, General Partner, President, Vice President, or
|
335
|
+
# # Treasurer). This can be an executive, or someone who will have program-wide
|
336
|
+
# # access to the cards that Lithic will provide. In some cases, this individual
|
337
|
+
# # could also be a beneficial owner listed above. See
|
338
|
+
# # [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
339
|
+
# # (Section II) for more background.
|
340
340
|
# #
|
341
341
|
# # @param address [Lithic::Models::Address]
|
342
342
|
# # @param dob [String]
|
@@ -370,15 +370,15 @@ module Lithic
|
|
370
370
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
371
371
|
# @!attribute address
|
372
372
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
373
|
-
#
|
373
|
+
# acceptable; APO/FPO are acceptable.
|
374
374
|
#
|
375
375
|
# @return [Lithic::Models::Address]
|
376
376
|
required :address, -> { Lithic::Models::Address }
|
377
377
|
|
378
378
|
# @!attribute government_id
|
379
379
|
# Government-issued identification number. US Federal Employer Identification
|
380
|
-
#
|
381
|
-
#
|
380
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
381
|
+
# without hyphens.
|
382
382
|
#
|
383
383
|
# @return [String]
|
384
384
|
required :government_id, String
|
@@ -391,14 +391,14 @@ module Lithic
|
|
391
391
|
|
392
392
|
# @!attribute phone_numbers
|
393
393
|
# One or more of the business's phone number(s), entered as a list in E.164
|
394
|
-
#
|
394
|
+
# format.
|
395
395
|
#
|
396
396
|
# @return [Array<String>]
|
397
397
|
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
398
398
|
|
399
399
|
# @!attribute [r] dba_business_name
|
400
400
|
# Any name that the business operates under that is not its legal business name
|
401
|
-
#
|
401
|
+
# (if applicable).
|
402
402
|
#
|
403
403
|
# @return [String, nil]
|
404
404
|
optional :dba_business_name, String
|
@@ -5,15 +5,15 @@ module Lithic
|
|
5
5
|
class KYBBusinessEntity < Lithic::Internal::Type::BaseModel
|
6
6
|
# @!attribute address
|
7
7
|
# Business''s physical address - PO boxes, UPS drops, and FedEx drops are not
|
8
|
-
#
|
8
|
+
# acceptable; APO/FPO are acceptable.
|
9
9
|
#
|
10
10
|
# @return [Lithic::Models::KYBBusinessEntity::Address]
|
11
11
|
required :address, -> { Lithic::Models::KYBBusinessEntity::Address }
|
12
12
|
|
13
13
|
# @!attribute government_id
|
14
14
|
# Government-issued identification number. US Federal Employer Identification
|
15
|
-
#
|
16
|
-
#
|
15
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
16
|
+
# without hyphens.
|
17
17
|
#
|
18
18
|
# @return [String]
|
19
19
|
required :government_id, String
|
@@ -26,14 +26,14 @@ module Lithic
|
|
26
26
|
|
27
27
|
# @!attribute phone_numbers
|
28
28
|
# One or more of the business's phone number(s), entered as a list in E.164
|
29
|
-
#
|
29
|
+
# format.
|
30
30
|
#
|
31
31
|
# @return [Array<String>]
|
32
32
|
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
33
33
|
|
34
34
|
# @!attribute [r] dba_business_name
|
35
35
|
# Any name that the business operates under that is not its legal business name
|
36
|
-
#
|
36
|
+
# (if applicable).
|
37
37
|
#
|
38
38
|
# @return [String, nil]
|
39
39
|
optional :dba_business_name, String
|
@@ -90,21 +90,21 @@ module Lithic
|
|
90
90
|
|
91
91
|
# @!attribute country
|
92
92
|
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
93
|
-
#
|
93
|
+
# 3166-1 alpha-3 three-character format.
|
94
94
|
#
|
95
95
|
# @return [String]
|
96
96
|
required :country, String
|
97
97
|
|
98
98
|
# @!attribute postal_code
|
99
99
|
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
100
|
-
#
|
100
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
101
101
|
#
|
102
102
|
# @return [String]
|
103
103
|
required :postal_code, String
|
104
104
|
|
105
105
|
# @!attribute state
|
106
106
|
# Valid state code. Only USA state codes are currently supported, entered in
|
107
|
-
#
|
107
|
+
# uppercase ISO 3166-2 two-character format.
|
108
108
|
#
|
109
109
|
# @return [String]
|
110
110
|
required :state, String
|
@@ -121,7 +121,7 @@ module Lithic
|
|
121
121
|
|
122
122
|
# @!parse
|
123
123
|
# # Business''s physical address - PO boxes, UPS drops, and FedEx drops are not
|
124
|
-
# #
|
124
|
+
# # acceptable; APO/FPO are acceptable.
|
125
125
|
# #
|
126
126
|
# # @param address1 [String]
|
127
127
|
# # @param city [String]
|
data/lib/lithic/models/kyc.rb
CHANGED
@@ -5,15 +5,15 @@ module Lithic
|
|
5
5
|
class KYC < Lithic::Internal::Type::BaseModel
|
6
6
|
# @!attribute individual
|
7
7
|
# Information on individual for whom the account is being opened and KYC is being
|
8
|
-
#
|
8
|
+
# run.
|
9
9
|
#
|
10
10
|
# @return [Lithic::Models::KYC::Individual]
|
11
11
|
required :individual, -> { Lithic::Models::KYC::Individual }
|
12
12
|
|
13
13
|
# @!attribute tos_timestamp
|
14
14
|
# An RFC 3339 timestamp indicating when the account holder accepted the applicable
|
15
|
-
#
|
16
|
-
#
|
15
|
+
# legal agreements (e.g., cardholder terms) as agreed upon during API customer's
|
16
|
+
# implementation with Lithic.
|
17
17
|
#
|
18
18
|
# @return [String]
|
19
19
|
required :tos_timestamp, String
|
@@ -26,7 +26,7 @@ module Lithic
|
|
26
26
|
|
27
27
|
# @!attribute [r] external_id
|
28
28
|
# A user provided id that can be used to link an account holder with an external
|
29
|
-
#
|
29
|
+
# system
|
30
30
|
#
|
31
31
|
# @return [String, nil]
|
32
32
|
optional :external_id, String
|
@@ -37,9 +37,9 @@ module Lithic
|
|
37
37
|
|
38
38
|
# @!attribute [r] kyc_passed_timestamp
|
39
39
|
# An RFC 3339 timestamp indicating when precomputed KYC was completed on the
|
40
|
-
#
|
40
|
+
# individual with a pass result.
|
41
41
|
#
|
42
|
-
#
|
42
|
+
# This field is required only if workflow type is `KYC_BYO`.
|
43
43
|
#
|
44
44
|
# @return [String, nil]
|
45
45
|
optional :kyc_passed_timestamp, String
|
@@ -63,7 +63,7 @@ module Lithic
|
|
63
63
|
class Individual < Lithic::Internal::Type::BaseModel
|
64
64
|
# @!attribute address
|
65
65
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
66
|
-
#
|
66
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
67
67
|
#
|
68
68
|
# @return [Lithic::Models::Address]
|
69
69
|
required :address, -> { Lithic::Models::Address }
|
@@ -76,7 +76,7 @@ module Lithic
|
|
76
76
|
|
77
77
|
# @!attribute email
|
78
78
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
79
|
-
#
|
79
|
+
# customer email address may be used to communicate dispute status and resolution.
|
80
80
|
#
|
81
81
|
# @return [String]
|
82
82
|
required :email, String
|
@@ -89,9 +89,9 @@ module Lithic
|
|
89
89
|
|
90
90
|
# @!attribute government_id
|
91
91
|
# Government-issued identification number (required for identity verification and
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
92
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
93
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
94
|
+
# entered as full nine-digits, with or without hyphens
|
95
95
|
#
|
96
96
|
# @return [String]
|
97
97
|
required :government_id, String
|
@@ -110,7 +110,7 @@ module Lithic
|
|
110
110
|
|
111
111
|
# @!parse
|
112
112
|
# # Information on individual for whom the account is being opened and KYC is being
|
113
|
-
# #
|
113
|
+
# # run.
|
114
114
|
# #
|
115
115
|
# # @param address [Lithic::Models::Address]
|
116
116
|
# # @param dob [String]
|
@@ -5,7 +5,7 @@ module Lithic
|
|
5
5
|
class KYCExempt < Lithic::Internal::Type::BaseModel
|
6
6
|
# @!attribute address
|
7
7
|
# KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
|
8
|
-
#
|
8
|
+
# acceptable; APO/FPO are acceptable.
|
9
9
|
#
|
10
10
|
# @return [Lithic::Models::Address]
|
11
11
|
required :address, -> { Lithic::Models::Address }
|
@@ -48,8 +48,8 @@ module Lithic
|
|
48
48
|
|
49
49
|
# @!attribute [r] business_account_token
|
50
50
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
51
|
-
#
|
52
|
-
#
|
51
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
52
|
+
# with the AUTHORIZED_USER in this field.
|
53
53
|
#
|
54
54
|
# @return [String, nil]
|
55
55
|
optional :business_account_token, String
|
@@ -60,7 +60,7 @@ module Lithic
|
|
60
60
|
|
61
61
|
# @!attribute [r] external_id
|
62
62
|
# A user provided id that can be used to link an account holder with an external
|
63
|
-
#
|
63
|
+
# system
|
64
64
|
#
|
65
65
|
# @return [String, nil]
|
66
66
|
optional :external_id, String
|
@@ -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]
|
@@ -40,10 +40,10 @@ module Lithic
|
|
40
40
|
|
41
41
|
# @!attribute [r] end_
|
42
42
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
43
|
-
#
|
43
|
+
# will be included. UTC time zone.
|
44
44
|
#
|
45
45
|
# @return [Time, nil]
|
46
|
-
optional :end_, Time
|
46
|
+
optional :end_, Time
|
47
47
|
|
48
48
|
# @!parse
|
49
49
|
# # @return [Time]
|
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
|
52
52
|
# @!attribute [r] ending_before
|
53
53
|
# A cursor representing an item's token before which a page of results should end.
|
54
|
-
#
|
54
|
+
# Used to retrieve the previous page of results before this item.
|
55
55
|
#
|
56
56
|
# @return [String, nil]
|
57
57
|
optional :ending_before, String
|
@@ -62,7 +62,7 @@ module Lithic
|
|
62
62
|
|
63
63
|
# @!attribute [r] financial_account_token
|
64
64
|
# Globally unique identifier for the financial account. Accepted type dependent on
|
65
|
-
#
|
65
|
+
# the program's use case.
|
66
66
|
#
|
67
67
|
# @return [String, nil]
|
68
68
|
optional :financial_account_token, String
|
@@ -83,7 +83,7 @@ module Lithic
|
|
83
83
|
|
84
84
|
# @!attribute [r] starting_after
|
85
85
|
# A cursor representing an item's token after which a page of results should
|
86
|
-
#
|
86
|
+
# begin. Used to retrieve the next page of results after this item.
|
87
87
|
#
|
88
88
|
# @return [String, nil]
|
89
89
|
optional :starting_after, String
|