Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.5.0"
".": "0.6.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 177
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c24eebe942f400bff8922a6fbef1ce551ad14f61eb4da21b50d823a62ca42586.yml
openapi_spec_hash: b79ed927e625dedff69cea29131a34d9
config_hash: 693dddc4721eef512d75ab6c60897794
configured_endpoints: 185
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-a45946df228eec554b3cd2491f658bd5a45cb91509da0a9f92d50468ea88072f.yml
openapi_spec_hash: 24c7c13e1e7385cab5442ca66091ffc6
config_hash: 50031f78031362c2e4900222b9ce7ada
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## 0.6.0 (2026-02-27)

Full Changelog: [v0.5.0...v0.6.0](https://github.com/lithic-com/lithic-ruby/compare/v0.5.0...v0.6.0)

### Features

* **api:** Add account holder entity endpoints ([508b031](https://github.com/lithic-com/lithic-ruby/commit/508b0315e2ec79e74014759a97e82d209259e2cf))
* **api:** Add INTEREST_AND_FEES_PAUSED substatus to financial account ([23c7be9](https://github.com/lithic-com/lithic-ruby/commit/23c7be999b5a04a770dd18d2d34ff3967c68a85a))
* **api:** Expose MIL interest schedules and loan tape configuration endpoints ([a07d19f](https://github.com/lithic-com/lithic-ruby/commit/a07d19f3933cc1e282073f015bec87421a9a76d6))


### Bug Fixes

* **api:** Correct token_metadata field name in tokenization.approval_request schema ([a4d5ae7](https://github.com/lithic-com/lithic-ruby/commit/a4d5ae7a5754d8901469be17c57b020c6c246839))
* properly mock time in ruby ci tests ([ac193de](https://github.com/lithic-com/lithic-ruby/commit/ac193de27a9ce3b9f5bf3162a57a95da2ea88352))


### Chores

* update mock server docs ([8abd2ee](https://github.com/lithic-com/lithic-ruby/commit/8abd2eee9b45f88f1a5e821200cb657b07c48084))


### Documentation

* Remove CONDITIONAL_BLOCK from docs ([993ab5c](https://github.com/lithic-com/lithic-ruby/commit/993ab5cda8b310bab4083f59713043549cc154f1))

## 0.5.0 (2026-02-13)

Full Changelog: [v0.4.0...v0.5.0](https://github.com/lithic-com/lithic-ruby/compare/v0.4.0...v0.5.0)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ $ bundle exec rake

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.

```bash
$ npx prism mock path/to/your/openapi.yml
```sh
$ ./scripts/mock
```

```bash
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GIT
PATH
remote: .
specs:
lithic (0.5.0)
lithic (0.6.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "lithic", "~> 0.5.0"
gem "lithic", "~> 0.6.0"
```

<!-- x-release-please-end -->
Expand Down
19 changes: 18 additions & 1 deletion lib/lithic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
require_relative "lithic/models/external_bank_account"
require_relative "lithic/models/external_payment"
require_relative "lithic/models/financial_account"
require_relative "lithic/models/financial_accounts/interest_tier_schedule"
require_relative "lithic/models/funding_event"
require_relative "lithic/models/internal_transaction"
require_relative "lithic/models/financial_accounts/loan_tape"
Expand All @@ -91,6 +92,10 @@
require_relative "lithic/models/account_holder_list_params"
require_relative "lithic/models/account_holder_retrieve_document_params"
require_relative "lithic/models/account_holder_retrieve_params"
require_relative "lithic/models/account_holders/account_holder_entity"
require_relative "lithic/models/account_holders/entity_create_params"
require_relative "lithic/models/account_holders/entity_create_response"
require_relative "lithic/models/account_holders/entity_delete_params"
require_relative "lithic/models/account_holder_simulate_enrollment_document_review_params"
require_relative "lithic/models/account_holder_simulate_enrollment_review_params"
require_relative "lithic/models/account_holder_simulate_enrollment_review_response"
Expand Down Expand Up @@ -209,7 +214,6 @@
require_relative "lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event"
require_relative "lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event"
require_relative "lithic/models/digital_wallet_tokenization_updated_webhook_event"
require_relative "lithic/models/digital_wallet_token_metadata"
require_relative "lithic/models/dispute_create_params"
require_relative "lithic/models/dispute_delete_evidence_params"
require_relative "lithic/models/dispute_delete_params"
Expand Down Expand Up @@ -280,13 +284,22 @@
require_relative "lithic/models/financial_account_retrieve_params"
require_relative "lithic/models/financial_accounts/balance_list_params"
require_relative "lithic/models/financial_accounts/category_balances"
require_relative "lithic/models/financial_accounts/category_tier"
require_relative "lithic/models/financial_accounts/credit_configuration_retrieve_params"
require_relative "lithic/models/financial_accounts/credit_configuration_update_params"
require_relative "lithic/models/financial_accounts/financial_account_credit_config"
require_relative "lithic/models/financial_accounts/loan_tape_configuration"
require_relative "lithic/models/financial_accounts/statements"
require_relative "lithic/models/financial_accounts/financial_transaction_list_params"
require_relative "lithic/models/financial_accounts/financial_transaction_retrieve_params"
require_relative "lithic/models/financial_accounts/interest_tier_schedule_create_params"
require_relative "lithic/models/financial_accounts/interest_tier_schedule_delete_params"
require_relative "lithic/models/financial_accounts/interest_tier_schedule_list_params"
require_relative "lithic/models/financial_accounts/interest_tier_schedule_retrieve_params"
require_relative "lithic/models/financial_accounts/interest_tier_schedule_update_params"
require_relative "lithic/models/financial_accounts/loan_tape_configuration_retrieve_params"
require_relative "lithic/models/financial_accounts/loan_tape_list_params"
require_relative "lithic/models/financial_accounts/loan_tape_rebuild_configuration"
require_relative "lithic/models/financial_accounts/loan_tape_retrieve_params"
require_relative "lithic/models/financial_accounts/statement_list_params"
require_relative "lithic/models/financial_accounts/statement_retrieve_params"
Expand Down Expand Up @@ -402,6 +415,7 @@
require_relative "lithic/models/tokenization_unpause_params"
require_relative "lithic/models/tokenization_update_digital_card_art_params"
require_relative "lithic/models/tokenization_updated_webhook_event"
require_relative "lithic/models/token_metadata"
require_relative "lithic/models/transaction_expire_authorization_params"
require_relative "lithic/models/transaction_list_params"
require_relative "lithic/models/transaction_retrieve_params"
Expand Down Expand Up @@ -433,6 +447,7 @@
require_relative "lithic/models"
require_relative "lithic/resources/account_activity"
require_relative "lithic/resources/account_holders"
require_relative "lithic/resources/account_holders/entities"
require_relative "lithic/resources/accounts"
require_relative "lithic/resources/auth_rules"
require_relative "lithic/resources/auth_rules/v2"
Expand Down Expand Up @@ -461,6 +476,8 @@
require_relative "lithic/resources/financial_accounts/balances"
require_relative "lithic/resources/financial_accounts/credit_configuration"
require_relative "lithic/resources/financial_accounts/financial_transactions"
require_relative "lithic/resources/financial_accounts/interest_tier_schedule"
require_relative "lithic/resources/financial_accounts/loan_tape_configuration"
require_relative "lithic/resources/financial_accounts/loan_tapes"
require_relative "lithic/resources/financial_accounts/statements"
require_relative "lithic/resources/financial_accounts/statements/line_items"
Expand Down
6 changes: 4 additions & 2 deletions lib/lithic/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ module Lithic

AccountHolderRetrieveParams = Lithic::Models::AccountHolderRetrieveParams

AccountHolders = Lithic::Models::AccountHolders

AccountHolderSimulateEnrollmentDocumentReviewParams =
Lithic::Models::AccountHolderSimulateEnrollmentDocumentReviewParams

Expand Down Expand Up @@ -227,8 +229,6 @@ module Lithic
DigitalWalletTokenizationUpdatedWebhookEvent =
Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent

DigitalWalletTokenMetadata = Lithic::Models::DigitalWalletTokenMetadata

Dispute = Lithic::Models::Dispute

DisputeCreateParams = Lithic::Models::DisputeCreateParams
Expand Down Expand Up @@ -536,6 +536,8 @@ module Lithic

TokenizationUpdatedWebhookEvent = Lithic::Models::TokenizationUpdatedWebhookEvent

TokenMetadata = Lithic::Models::TokenMetadata

Transaction = Lithic::Models::Transaction

TransactionExpireAuthorizationParams = Lithic::Models::TransactionExpireAuthorizationParams
Expand Down
183 changes: 183 additions & 0 deletions lib/lithic/models/account_holders/account_holder_entity.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
# frozen_string_literal: true

module Lithic
module Models
module AccountHolders
# @see Lithic::Resources::AccountHolders::Entities#delete
class AccountHolderEntity < Lithic::Internal::Type::BaseModel
# @!attribute token
# Globally unique identifier for the entity
#
# @return [String]
required :token, String

# @!attribute account_holder_token
# Globally unique identifier for the account holder
#
# @return [String]
required :account_holder_token, String

# @!attribute address
# Individual's current address
#
# @return [Lithic::Models::AccountHolders::AccountHolderEntity::Address]
required :address, -> { Lithic::AccountHolders::AccountHolderEntity::Address }

# @!attribute dob
# Individual's date of birth, as an RFC 3339 date
#
# @return [String, nil]
required :dob, String, nil?: true

# @!attribute email
# Individual's email address
#
# @return [String, nil]
required :email, String, nil?: true

# @!attribute first_name
# Individual's first name, as it appears on government-issued identity documents
#
# @return [String, nil]
required :first_name, String, nil?: true

# @!attribute last_name
# Individual's last name, as it appears on government-issued identity documents
#
# @return [String, nil]
required :last_name, String, nil?: true

# @!attribute phone_number
# Individual's phone number, entered in E.164 format
#
# @return [String, nil]
required :phone_number, String, nil?: true

# @!attribute status
# The status of the entity
#
# @return [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Status]
required :status, enum: -> { Lithic::AccountHolders::AccountHolderEntity::Status }

# @!attribute type
# The type of entity
#
# @return [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Type]
required :type, enum: -> { Lithic::AccountHolders::AccountHolderEntity::Type }

# @!method initialize(token:, account_holder_token:, address:, dob:, email:, first_name:, last_name:, phone_number:, status:, type:)
# Information about an entity associated with an account holder
#
# @param token [String] Globally unique identifier for the entity
#
# @param account_holder_token [String] Globally unique identifier for the account holder
#
# @param address [Lithic::Models::AccountHolders::AccountHolderEntity::Address] Individual's current address
#
# @param dob [String, nil] Individual's date of birth, as an RFC 3339 date
#
# @param email [String, nil] Individual's email address
#
# @param first_name [String, nil] Individual's first name, as it appears on government-issued identity documents
#
# @param last_name [String, nil] Individual's last name, as it appears on government-issued identity documents
#
# @param phone_number [String, nil] Individual's phone number, entered in E.164 format
#
# @param status [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Status] The status of the entity
#
# @param type [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Type] The type of entity

# @see Lithic::Models::AccountHolders::AccountHolderEntity#address
class Address < Lithic::Internal::Type::BaseModel
# @!attribute address1
# Valid deliverable address (no PO boxes).
#
# @return [String]
required :address1, String

# @!attribute city
# Name of city.
#
# @return [String]
required :city, String

# @!attribute country
# Valid country code. Only USA is currently supported, entered in uppercase ISO
# 3166-1 alpha-3 three-character format.
#
# @return [String]
required :country, String

# @!attribute postal_code
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
# five-digit ZIP or nine-digit ZIP+4.
#
# @return [String]
required :postal_code, String

# @!attribute state
# Valid state code. Only USA state codes are currently supported, entered in
# uppercase ISO 3166-2 two-character format.
#
# @return [String]
required :state, String

# @!attribute address2
# Unit or apartment number (if applicable).
#
# @return [String, nil]
optional :address2, String

# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
# Some parameter documentations has been truncated, see
# {Lithic::Models::AccountHolders::AccountHolderEntity::Address} for more details.
#
# Individual's current address
#
# @param address1 [String] Valid deliverable address (no PO boxes).
#
# @param city [String] Name of city.
#
# @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
#
# @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
#
# @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
#
# @param address2 [String] Unit or apartment number (if applicable).
end

# The status of the entity
#
# @see Lithic::Models::AccountHolders::AccountHolderEntity#status
module Status
extend Lithic::Internal::Type::Enum

ACCEPTED = :ACCEPTED
INACTIVE = :INACTIVE
PENDING_REVIEW = :PENDING_REVIEW
REJECTED = :REJECTED

# @!method self.values
# @return [Array<Symbol>]
end

# The type of entity
#
# @see Lithic::Models::AccountHolders::AccountHolderEntity#type
module Type
extend Lithic::Internal::Type::Enum

BENEFICIAL_OWNER_INDIVIDUAL = :BENEFICIAL_OWNER_INDIVIDUAL
CONTROL_PERSON = :CONTROL_PERSON

# @!method self.values
# @return [Array<Symbol>]
end
end
end

AccountHolderEntity = AccountHolders::AccountHolderEntity
end
end
Loading