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.0"
".": "0.18.1"
}
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-47e9f78d22682623e313f1689f5fa7e3420575ff285a14a2f4704c49ffb6b72e.yml
openapi_spec_hash: 4797fe46d942cb32e648a79015783d01
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-d83e3ddb148bc0c81ff97bd31b82027d5b37efc110f5981103e7b9a2ae281c86.yml
openapi_spec_hash: f607b0571c4ed82a93a3df7bc9e9351b
config_hash: 5bb913c05ebeb301ec925b16e75bb251
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.18.1 (2026-06-25)

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

### Documentation

* **types:** update cash_amount field description in CardAuthorization ([1385cde](https://github.com/lithic-com/lithic-ruby/commit/1385cde62aca3c83a7525150b535decc016c8ed4))

## 0.18.0 (2026-06-23)

Full Changelog: [v0.17.0...v0.18.0](https://github.com/lithic-com/lithic-ruby/compare/v0.17.0...v0.18.0)
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.0)
lithic (0.18.1)
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.0"
gem "lithic", "~> 0.18.1"
```

<!-- x-release-please-end -->
Expand Down
13 changes: 7 additions & 6 deletions lib/lithic/models/card_authorization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ class CardAuthorization < Lithic::Internal::Type::BaseModel
required :cardholder_currency, String

# @!attribute cash_amount
# The portion of the transaction requested as cash back by the cardholder, and
# does not include any acquirer fees. The amount field includes the purchase
# amount, the requested cash back amount, and any acquirer fees.
# The amount of cash requested by the cardholder, in the cardholder billing
# currency's smallest unit. For purchase-with-cashback transactions this is the
# cashback portion only; for ATM transactions this is the full amount. This amount
# includes all acquirer fees.
#
# If no cash back was requested, the value of this field will be 0, and the field
# will always be present.
# If no cash was requested, the value of this field will be 0, and the field will
# always be present.
#
# @return [Integer]
required :cash_amount, Integer
Expand Down Expand Up @@ -263,7 +264,7 @@ class CardAuthorization < Lithic::Internal::Type::BaseModel
#
# @param cardholder_currency [String] Deprecated, use `amounts`. 3-character alphabetic ISO 4217 code for cardholder's
#
# @param cash_amount [Integer] The portion of the transaction requested as cash back by the cardholder, and doe
# @param cash_amount [Integer] The amount of cash requested by the cardholder, in the cardholder billing curren
#
# @param created [Time] Date and time when the transaction first occurred in UTC.
#
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.0"
VERSION = "0.18.1"
end
22 changes: 12 additions & 10 deletions rbi/lithic/models/card_authorization.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,13 @@ module Lithic
sig { returns(String) }
attr_accessor :cardholder_currency

# The portion of the transaction requested as cash back by the cardholder, and
# does not include any acquirer fees. The amount field includes the purchase
# amount, the requested cash back amount, and any acquirer fees.
# The amount of cash requested by the cardholder, in the cardholder billing
# currency's smallest unit. For purchase-with-cashback transactions this is the
# cashback portion only; for ATM transactions this is the full amount. This amount
# includes all acquirer fees.
#
# If no cash back was requested, the value of this field will be 0, and the field
# will always be present.
# If no cash was requested, the value of this field will be 0, and the field will
# always be present.
sig { returns(Integer) }
attr_accessor :cash_amount

Expand Down Expand Up @@ -328,12 +329,13 @@ module Lithic
# Deprecated, use `amounts`. 3-character alphabetic ISO 4217 code for cardholder's
# billing currency.
cardholder_currency:,
# The portion of the transaction requested as cash back by the cardholder, and
# does not include any acquirer fees. The amount field includes the purchase
# amount, the requested cash back amount, and any acquirer fees.
# The amount of cash requested by the cardholder, in the cardholder billing
# currency's smallest unit. For purchase-with-cashback transactions this is the
# cashback portion only; for ATM transactions this is the full amount. This amount
# includes all acquirer fees.
#
# If no cash back was requested, the value of this field will be 0, and the field
# will always be present.
# If no cash was requested, the value of this field will be 0, and the field will
# always be present.
cash_amount:,
# Date and time when the transaction first occurred in UTC.
created:,
Expand Down