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.20.0"
".": "0.21.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-38a020a15ab14f79c7fea3290822406cf80a9d43d46ab3295632a9723f5e42cd.yml
openapi_spec_hash: 5a7357a17c5119bc91d8f5e42297fac3
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-61d6a4ff8361065995b3a743d6034b7deb3d307e3f3d0c9ef24010dd1b71d692.yml
openapi_spec_hash: 736b5c82d6b4a14788140fe05e0fbc30
config_hash: 27fa50e251754c8982e3dc615ef6da41
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.21.0 (2026-09-03)

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

### Features

* **api:** add EXTERNAL_STABLECOIN category and events to payment resources ([518aebb](https://github.com/lithic-com/lithic-ruby/commit/518aebb0cf94cbc0b1ca1ef85a94a71c5bf1983e))
* **api:** add OTHER enum value to auth_rules type field ([1bb4cc8](https://github.com/lithic-com/lithic-ruby/commit/1bb4cc80ab6e025ebf0d6fcdd88c5b62cbb602a0))

## 0.20.0 (2026-08-31)

Full Changelog: [v0.19.0...v0.20.0](https://github.com/lithic-com/lithic-ruby/compare/v0.19.0...v0.20.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.20.0)
lithic (0.21.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.20.0"
gem "lithic", "~> 0.21.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 1 addition & 0 deletions lib/lithic/models/account_activity_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
EXTERNAL_WIRE = :EXTERNAL_WIRE
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
Expand Down
1 change: 1 addition & 0 deletions lib/lithic/models/account_activity_list_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
EXTERNAL_WIRE = :EXTERNAL_WIRE
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
EXTERNAL_WIRE = :EXTERNAL_WIRE
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
Expand Down
5 changes: 5 additions & 0 deletions lib/lithic/models/auth_rules/auth_rule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ class AuthRule < Lithic::Internal::Type::BaseModel
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @return [Symbol, Lithic::Models::AuthRules::AuthRule::Type]
required :type, enum: -> { Lithic::AuthRules::AuthRule::Type }
Expand Down Expand Up @@ -339,6 +341,8 @@ module State
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @see Lithic::Models::AuthRules::AuthRule#type
module Type
Expand All @@ -349,6 +353,7 @@ module Type
MERCHANT_LOCK = :MERCHANT_LOCK
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
OTHER = :OTHER

# @!method self.values
# @return [Array<Symbol>]
Expand Down
15 changes: 15 additions & 0 deletions lib/lithic/models/auth_rules/v2_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class AccountLevelRule < Lithic::Internal::Type::BaseModel
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule::Type]
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Type }
Expand Down Expand Up @@ -143,6 +145,8 @@ module Parameters
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @see Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule#type
module Type
Expand All @@ -153,6 +157,7 @@ module Type
MERCHANT_LOCK = :MERCHANT_LOCK
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
OTHER = :OTHER

# @!method self.values
# @return [Array<Symbol>]
Expand Down Expand Up @@ -188,6 +193,8 @@ class CardLevelRule < Lithic::Internal::Type::BaseModel
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule::Type]
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Type }
Expand Down Expand Up @@ -268,6 +275,8 @@ module Parameters
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @see Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule#type
module Type
Expand All @@ -278,6 +287,7 @@ module Type
MERCHANT_LOCK = :MERCHANT_LOCK
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
OTHER = :OTHER

# @!method self.values
# @return [Array<Symbol>]
Expand Down Expand Up @@ -313,6 +323,8 @@ class ProgramLevelRule < Lithic::Internal::Type::BaseModel
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule::Type]
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::ProgramLevelRule::Type }
Expand Down Expand Up @@ -417,6 +429,8 @@ module Parameters
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
#
# @see Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule#type
module Type
Expand All @@ -427,6 +441,7 @@ module Type
MERCHANT_LOCK = :MERCHANT_LOCK
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
OTHER = :OTHER

# @!method self.values
# @return [Array<Symbol>]
Expand Down
6 changes: 6 additions & 0 deletions lib/lithic/models/external_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER

# @!method self.values
Expand Down Expand Up @@ -247,6 +248,11 @@ module Type
EXTERNAL_RTP_SETTLED = :EXTERNAL_RTP_SETTLED
EXTERNAL_RTP_REVERSED = :EXTERNAL_RTP_REVERSED
EXTERNAL_RTP_RELEASED = :EXTERNAL_RTP_RELEASED
EXTERNAL_STABLECOIN_INITIATED = :EXTERNAL_STABLECOIN_INITIATED
EXTERNAL_STABLECOIN_CANCELED = :EXTERNAL_STABLECOIN_CANCELED
EXTERNAL_STABLECOIN_SETTLED = :EXTERNAL_STABLECOIN_SETTLED
EXTERNAL_STABLECOIN_REVERSED = :EXTERNAL_STABLECOIN_REVERSED
EXTERNAL_STABLECOIN_RELEASED = :EXTERNAL_STABLECOIN_RELEASED

# @!method self.values
# @return [Array<Symbol>]
Expand Down
1 change: 1 addition & 0 deletions lib/lithic/models/external_payment_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER

# @!method self.values
Expand Down
1 change: 1 addition & 0 deletions lib/lithic/models/external_payment_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER

# @!method self.values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
EXTERNAL_WIRE = :EXTERNAL_WIRE
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
Expand Down Expand Up @@ -234,6 +235,11 @@ module EventType
EXTERNAL_RTP_RELEASED = :EXTERNAL_RTP_RELEASED
EXTERNAL_RTP_REVERSED = :EXTERNAL_RTP_REVERSED
EXTERNAL_RTP_SETTLED = :EXTERNAL_RTP_SETTLED
EXTERNAL_STABLECOIN_CANCELED = :EXTERNAL_STABLECOIN_CANCELED
EXTERNAL_STABLECOIN_INITIATED = :EXTERNAL_STABLECOIN_INITIATED
EXTERNAL_STABLECOIN_RELEASED = :EXTERNAL_STABLECOIN_RELEASED
EXTERNAL_STABLECOIN_REVERSED = :EXTERNAL_STABLECOIN_REVERSED
EXTERNAL_STABLECOIN_SETTLED = :EXTERNAL_STABLECOIN_SETTLED
EXTERNAL_TRANSFER_CANCELED = :EXTERNAL_TRANSFER_CANCELED
EXTERNAL_TRANSFER_INITIATED = :EXTERNAL_TRANSFER_INITIATED
EXTERNAL_TRANSFER_RELEASED = :EXTERNAL_TRANSFER_RELEASED
Expand Down
5 changes: 5 additions & 0 deletions lib/lithic/models/financial_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ module Type
EXTERNAL_RTP_RELEASED = :EXTERNAL_RTP_RELEASED
EXTERNAL_RTP_REVERSED = :EXTERNAL_RTP_REVERSED
EXTERNAL_RTP_SETTLED = :EXTERNAL_RTP_SETTLED
EXTERNAL_STABLECOIN_CANCELED = :EXTERNAL_STABLECOIN_CANCELED
EXTERNAL_STABLECOIN_INITIATED = :EXTERNAL_STABLECOIN_INITIATED
EXTERNAL_STABLECOIN_RELEASED = :EXTERNAL_STABLECOIN_RELEASED
EXTERNAL_STABLECOIN_REVERSED = :EXTERNAL_STABLECOIN_REVERSED
EXTERNAL_STABLECOIN_SETTLED = :EXTERNAL_STABLECOIN_SETTLED
EXTERNAL_TRANSFER_CANCELED = :EXTERNAL_TRANSFER_CANCELED
EXTERNAL_TRANSFER_INITIATED = :EXTERNAL_TRANSFER_INITIATED
EXTERNAL_TRANSFER_RELEASED = :EXTERNAL_TRANSFER_RELEASED
Expand Down
1 change: 1 addition & 0 deletions lib/lithic/models/payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ module Category
EXTERNAL_CHECK = :EXTERNAL_CHECK
EXTERNAL_FEDNOW = :EXTERNAL_FEDNOW
EXTERNAL_RTP = :EXTERNAL_RTP
EXTERNAL_STABLECOIN = :EXTERNAL_STABLECOIN
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
EXTERNAL_WIRE = :EXTERNAL_WIRE
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
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.20.0"
VERSION = "0.21.0"
end
5 changes: 5 additions & 0 deletions rbi/lithic/models/account_activity_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,11 @@ module Lithic
:EXTERNAL_RTP,
Lithic::AccountActivityListParams::Category::TaggedSymbol
)
EXTERNAL_STABLECOIN =
T.let(
:EXTERNAL_STABLECOIN,
Lithic::AccountActivityListParams::Category::TaggedSymbol
)
EXTERNAL_TRANSFER =
T.let(
:EXTERNAL_TRANSFER,
Expand Down
5 changes: 5 additions & 0 deletions rbi/lithic/models/account_activity_list_response.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ module Lithic
:EXTERNAL_RTP,
Lithic::Models::AccountActivityListResponse::Internal::Category::TaggedSymbol
)
EXTERNAL_STABLECOIN =
T.let(
:EXTERNAL_STABLECOIN,
Lithic::Models::AccountActivityListResponse::Internal::Category::TaggedSymbol
)
EXTERNAL_TRANSFER =
T.let(
:EXTERNAL_TRANSFER,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ module Lithic
:EXTERNAL_RTP,
Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Category::TaggedSymbol
)
EXTERNAL_STABLECOIN =
T.let(
:EXTERNAL_STABLECOIN,
Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Category::TaggedSymbol
)
EXTERNAL_TRANSFER =
T.let(
:EXTERNAL_TRANSFER,
Expand Down
7 changes: 7 additions & 0 deletions rbi/lithic/models/auth_rules/auth_rule.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ module Lithic
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
sig { returns(Lithic::AuthRules::AuthRule::Type::TaggedSymbol) }
attr_accessor :type

Expand Down Expand Up @@ -167,6 +169,8 @@ module Lithic
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
type:,
# Account tokens to which the Auth Rule does not apply.
excluded_account_tokens: nil,
Expand Down Expand Up @@ -517,6 +521,8 @@ module Lithic
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
# ACH_PAYMENT_UPDATE event stream.
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
# are read-only; `OTHER` cannot be used when creating a rule.
module Type
extend Lithic::Internal::Type::Enum

Expand Down Expand Up @@ -549,6 +555,7 @@ module Lithic
:TYPESCRIPT_CODE,
Lithic::AuthRules::AuthRule::Type::TaggedSymbol
)
OTHER = T.let(:OTHER, Lithic::AuthRules::AuthRule::Type::TaggedSymbol)

sig do
override.returns(
Expand Down
Loading