Skip to content
Open
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.18.1"
".": "0.18.2"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 214
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-9e397c65ffb81e2928b8ecf979769a79131ae6058b6fb373a5e930dc8a168732.yml
openapi_spec_hash: 93aea3855d2d1c390107d223762aa818
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-021aecb037a2f6b44056d6ebe08129e55f2dd95d8a6944c6e2c1c8e2bede56b4.yml
openapi_spec_hash: 3567c6592916d79ce38248d922cd0db6
config_hash: 5bb913c05ebeb301ec925b16e75bb251
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.18.2 (2026-07-16)

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

### Documentation

* **api:** clarify simulate_clearing supports multiple calls in transactions ([7a7e783](https://github.com/lithic-com/lithic-ruby/commit/7a7e78338a405f4edb463df0de5f64cf157c0334))
* **api:** update category parameter description in external_payments ([db7d72a](https://github.com/lithic-com/lithic-ruby/commit/db7d72a41aaee552817197d85b7989d85f6399c3))

## 0.18.1 (2026-06-29)

Full Changelog: [v0.18.0...v0.18.1](https://github.com/lithic-com/lithic-ruby/compare/v0.18.0...v0.18.1)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
lithic (0.18.1)
lithic (0.18.2)
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.18.1"
gem "lithic", "~> 0.18.2"
```

<!-- x-release-please-end -->
Expand Down
6 changes: 3 additions & 3 deletions lib/lithic/models/external_payment_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ExternalPaymentListParams < Lithic::Internal::Type::BaseModel
optional :business_account_token, String

# @!attribute category
# External Payment category to be returned.
# The external rail the funds moved on
#
# @return [Symbol, Lithic::Models::ExternalPaymentListParams::Category, nil]
optional :category, enum: -> { Lithic::ExternalPaymentListParams::Category }
Expand Down Expand Up @@ -79,7 +79,7 @@ class ExternalPaymentListParams < Lithic::Internal::Type::BaseModel
#
# @param business_account_token [String]
#
# @param category [Symbol, Lithic::Models::ExternalPaymentListParams::Category] External Payment category to be returned.
# @param category [Symbol, Lithic::Models::ExternalPaymentListParams::Category] The external rail the funds moved on
#
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
#
Expand All @@ -97,7 +97,7 @@ class ExternalPaymentListParams < Lithic::Internal::Type::BaseModel
#
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]

# External Payment category to be returned.
# The external rail the funds moved on
module Category
extend Lithic::Internal::Type::Enum

Expand Down
7 changes: 4 additions & 3 deletions lib/lithic/models/transaction_simulate_clearing_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ class TransactionSimulateClearingParams < Lithic::Internal::Type::BaseModel
# example, entering 100 in this field will result in a -100 amount in the
# transaction, if the original authorization is a credit authorization.
#
# If `amount` is not set, the full amount of the transaction will be cleared.
# Transactions that have already cleared, either partially or fully, cannot be
# cleared again using this endpoint.
# If `amount` is not set, the full amount of the transaction will be cleared. This
# endpoint may be called multiple times against the same authorization to simulate
# a multiple-completion scenario, with each call creating a separate clearing
# event.
#
# @return [Integer, nil]
optional :amount, Integer
Expand Down
2 changes: 1 addition & 1 deletion lib/lithic/resources/external_payments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def retrieve(external_payment_token, params = {})
#
# @param business_account_token [String]
#
# @param category [Symbol, Lithic::Models::ExternalPaymentListParams::Category] External Payment category to be returned.
# @param category [Symbol, Lithic::Models::ExternalPaymentListParams::Category] The external rail the funds moved on
#
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
#
Expand Down
7 changes: 4 additions & 3 deletions lib/lithic/resources/transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,10 @@ def simulate_authorization_advice(params)
# Clears an existing authorization, either debit or credit. After this event, the
# transaction transitions from `PENDING` to `SETTLED` status.
#
# If `amount` is not set, the full amount of the transaction will be cleared.
# Transactions that have already cleared, either partially or fully, cannot be
# cleared again using this endpoint.
# If `amount` is not set, the full amount of the transaction will be cleared. This
# endpoint may be called multiple times against the same authorization to simulate
# a multiple-completion scenario, with each call creating a separate clearing
# event.
#
# @overload simulate_clearing(token:, amount: nil, request_options: {})
#
Expand Down
2 changes: 1 addition & 1 deletion lib/lithic/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Lithic
VERSION = "0.18.1"
VERSION = "0.18.2"
end
6 changes: 3 additions & 3 deletions rbi/lithic/models/external_payment_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Lithic
sig { params(business_account_token: String).void }
attr_writer :business_account_token

# External Payment category to be returned.
# The external rail the funds moved on
sig do
returns(
T.nilable(Lithic::ExternalPaymentListParams::Category::OrSymbol)
Expand Down Expand Up @@ -121,7 +121,7 @@ module Lithic
# will be included. UTC time zone.
begin_: nil,
business_account_token: nil,
# External Payment category to be returned.
# The external rail the funds moved on
category: nil,
# Date string in RFC 3339 format. Only entries created before the specified time
# will be included. UTC time zone.
Expand Down Expand Up @@ -165,7 +165,7 @@ module Lithic
def to_hash
end

# External Payment category to be returned.
# The external rail the funds moved on
module Category
extend Lithic::Internal::Type::Enum

Expand Down
14 changes: 8 additions & 6 deletions rbi/lithic/models/transaction_simulate_clearing_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ module Lithic
# example, entering 100 in this field will result in a -100 amount in the
# transaction, if the original authorization is a credit authorization.
#
# If `amount` is not set, the full amount of the transaction will be cleared.
# Transactions that have already cleared, either partially or fully, cannot be
# cleared again using this endpoint.
# If `amount` is not set, the full amount of the transaction will be cleared. This
# endpoint may be called multiple times against the same authorization to simulate
# a multiple-completion scenario, with each call creating a separate clearing
# event.
sig { returns(T.nilable(Integer)) }
attr_reader :amount

Expand All @@ -49,9 +50,10 @@ module Lithic
# example, entering 100 in this field will result in a -100 amount in the
# transaction, if the original authorization is a credit authorization.
#
# If `amount` is not set, the full amount of the transaction will be cleared.
# Transactions that have already cleared, either partially or fully, cannot be
# cleared again using this endpoint.
# If `amount` is not set, the full amount of the transaction will be cleared. This
# endpoint may be called multiple times against the same authorization to simulate
# a multiple-completion scenario, with each call creating a separate clearing
# event.
amount: nil,
request_options: {}
)
Expand Down
2 changes: 1 addition & 1 deletion rbi/lithic/resources/external_payments.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module Lithic
# will be included. UTC time zone.
begin_: nil,
business_account_token: nil,
# External Payment category to be returned.
# The external rail the funds moved on
category: nil,
# Date string in RFC 3339 format. Only entries created before the specified time
# will be included. UTC time zone.
Expand Down
14 changes: 8 additions & 6 deletions rbi/lithic/resources/transactions.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,10 @@ module Lithic
# Clears an existing authorization, either debit or credit. After this event, the
# transaction transitions from `PENDING` to `SETTLED` status.
#
# If `amount` is not set, the full amount of the transaction will be cleared.
# Transactions that have already cleared, either partially or fully, cannot be
# cleared again using this endpoint.
# If `amount` is not set, the full amount of the transaction will be cleared. This
# endpoint may be called multiple times against the same authorization to simulate
# a multiple-completion scenario, with each call creating a separate clearing
# event.
sig do
params(
token: String,
Expand All @@ -227,9 +228,10 @@ module Lithic
# example, entering 100 in this field will result in a -100 amount in the
# transaction, if the original authorization is a credit authorization.
#
# If `amount` is not set, the full amount of the transaction will be cleared.
# Transactions that have already cleared, either partially or fully, cannot be
# cleared again using this endpoint.
# If `amount` is not set, the full amount of the transaction will be cleared. This
# endpoint may be called multiple times against the same authorization to simulate
# a multiple-completion scenario, with each call creating a separate clearing
# event.
amount: nil,
request_options: {}
)
Expand Down