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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,18 @@ jobs:
run: ./scripts/build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/lithic-java'
if: |-
github.repository == 'stainless-sdks/lithic-java' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Build and upload Maven artifacts
if: github.repository == 'stainless-sdks/lithic-java'
if: |-
github.repository == 'stainless-sdks/lithic-java' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
Expand Down
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.119.0"
".": "0.120.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: 185
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-ee8607f0a2cdcaee420935050334a439db8dd097be83023fccdaf1d6f9a7de14.yml
openapi_spec_hash: 0f21c68cdddb7c5bd99f42356d507393
config_hash: fb5070d41fcabdedbc084b83964b592a
configured_endpoints: 189
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-ee2b9f00d3a9e0000e25abc0774615d6ad3300ce17b2f094e71b0229a907760f.yml
openapi_spec_hash: 01d2cbf4ac692dba2f3831462db929e4
config_hash: a45e6da4e7b46db4ff6819d1dba5d815
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.120.0 (2026-03-07)

Full Changelog: [v0.119.0...v0.120.0](https://github.com/lithic-com/lithic-java/compare/v0.119.0...v0.120.0)

### Features

* **api:** add EARLY_DIRECT_DEPOSIT_FLOAT type to financial account ([e333879](https://github.com/lithic-com/lithic-java/commit/e333879612c488e74effb36cca27da4fe9ed134f))


### Chores

* **internal:** codegen related update ([10b1473](https://github.com/lithic-com/lithic-java/commit/10b14732a71e84708c2da1234a47664b19354c97))

## 0.119.0 (2026-03-05)

Full Changelog: [v0.118.0...v0.119.0](https://github.com/lithic-com/lithic-java/compare/v0.118.0...v0.119.0)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.119.0)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.119.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.119.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.120.0)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.120.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.120.0)

<!-- x-release-please-end -->

Expand All @@ -22,7 +22,7 @@ Use the Lithic MCP Server to enable AI assistants to interact with this API, all

<!-- x-release-please-start-version -->

The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.119.0).
The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.120.0).

<!-- x-release-please-end -->

Expand All @@ -33,7 +33,7 @@ The REST API documentation can be found on [docs.lithic.com](https://docs.lithic
### Gradle

```kotlin
implementation("com.lithic.api:lithic-java:0.119.0")
implementation("com.lithic.api:lithic-java:0.120.0")
```

### Maven
Expand All @@ -42,7 +42,7 @@ implementation("com.lithic.api:lithic-java:0.119.0")
<dependency>
<groupId>com.lithic.api</groupId>
<artifactId>lithic-java</artifactId>
<version>0.119.0</version>
<version>0.120.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

allprojects {
group = "com.lithic.api"
version = "0.119.0" // x-release-please-version
version = "0.120.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import com.lithic.api.services.blocking.ExternalPaymentService
import com.lithic.api.services.blocking.FinancialAccountService
import com.lithic.api.services.blocking.FraudService
import com.lithic.api.services.blocking.FundingEventService
import com.lithic.api.services.blocking.HoldService
import com.lithic.api.services.blocking.InternalTransactionService
import com.lithic.api.services.blocking.ManagementOperationService
import com.lithic.api.services.blocking.NetworkProgramService
Expand Down Expand Up @@ -139,6 +140,8 @@ interface LithicClient {

fun networkPrograms(): NetworkProgramService

fun holds(): HoldService

fun accountActivity(): AccountActivityService

fun transferLimits(): TransferLimitService
Expand Down Expand Up @@ -245,6 +248,8 @@ interface LithicClient {

fun networkPrograms(): NetworkProgramService.WithRawResponse

fun holds(): HoldService.WithRawResponse

fun accountActivity(): AccountActivityService.WithRawResponse

fun transferLimits(): TransferLimitService.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.lithic.api.services.async.ExternalPaymentServiceAsync
import com.lithic.api.services.async.FinancialAccountServiceAsync
import com.lithic.api.services.async.FraudServiceAsync
import com.lithic.api.services.async.FundingEventServiceAsync
import com.lithic.api.services.async.HoldServiceAsync
import com.lithic.api.services.async.InternalTransactionServiceAsync
import com.lithic.api.services.async.ManagementOperationServiceAsync
import com.lithic.api.services.async.NetworkProgramServiceAsync
Expand Down Expand Up @@ -139,6 +140,8 @@ interface LithicClientAsync {

fun networkPrograms(): NetworkProgramServiceAsync

fun holds(): HoldServiceAsync

fun accountActivity(): AccountActivityServiceAsync

fun transferLimits(): TransferLimitServiceAsync
Expand Down Expand Up @@ -248,6 +251,8 @@ interface LithicClientAsync {

fun networkPrograms(): NetworkProgramServiceAsync.WithRawResponse

fun holds(): HoldServiceAsync.WithRawResponse

fun accountActivity(): AccountActivityServiceAsync.WithRawResponse

fun transferLimits(): TransferLimitServiceAsync.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ import com.lithic.api.services.async.FraudServiceAsync
import com.lithic.api.services.async.FraudServiceAsyncImpl
import com.lithic.api.services.async.FundingEventServiceAsync
import com.lithic.api.services.async.FundingEventServiceAsyncImpl
import com.lithic.api.services.async.HoldServiceAsync
import com.lithic.api.services.async.HoldServiceAsyncImpl
import com.lithic.api.services.async.InternalTransactionServiceAsync
import com.lithic.api.services.async.InternalTransactionServiceAsyncImpl
import com.lithic.api.services.async.ManagementOperationServiceAsync
Expand Down Expand Up @@ -221,6 +223,8 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
NetworkProgramServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val holds: HoldServiceAsync by lazy { HoldServiceAsyncImpl(clientOptionsWithUserAgent) }

private val accountActivity: AccountActivityServiceAsync by lazy {
AccountActivityServiceAsyncImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -301,6 +305,8 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl

override fun networkPrograms(): NetworkProgramServiceAsync = networkPrograms

override fun holds(): HoldServiceAsync = holds

override fun accountActivity(): AccountActivityServiceAsync = accountActivity

override fun transferLimits(): TransferLimitServiceAsync = transferLimits
Expand Down Expand Up @@ -443,6 +449,10 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
NetworkProgramServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val holds: HoldServiceAsync.WithRawResponse by lazy {
HoldServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val accountActivity: AccountActivityServiceAsync.WithRawResponse by lazy {
AccountActivityServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -530,6 +540,8 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl

override fun networkPrograms(): NetworkProgramServiceAsync.WithRawResponse = networkPrograms

override fun holds(): HoldServiceAsync.WithRawResponse = holds

override fun accountActivity(): AccountActivityServiceAsync.WithRawResponse =
accountActivity

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ import com.lithic.api.services.blocking.FraudService
import com.lithic.api.services.blocking.FraudServiceImpl
import com.lithic.api.services.blocking.FundingEventService
import com.lithic.api.services.blocking.FundingEventServiceImpl
import com.lithic.api.services.blocking.HoldService
import com.lithic.api.services.blocking.HoldServiceImpl
import com.lithic.api.services.blocking.InternalTransactionService
import com.lithic.api.services.blocking.InternalTransactionServiceImpl
import com.lithic.api.services.blocking.ManagementOperationService
Expand Down Expand Up @@ -204,6 +206,8 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
NetworkProgramServiceImpl(clientOptionsWithUserAgent)
}

private val holds: HoldService by lazy { HoldServiceImpl(clientOptionsWithUserAgent) }

private val accountActivity: AccountActivityService by lazy {
AccountActivityServiceImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -281,6 +285,8 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient

override fun networkPrograms(): NetworkProgramService = networkPrograms

override fun holds(): HoldService = holds

override fun accountActivity(): AccountActivityService = accountActivity

override fun transferLimits(): TransferLimitService = transferLimits
Expand Down Expand Up @@ -423,6 +429,10 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
NetworkProgramServiceImpl.WithRawResponseImpl(clientOptions)
}

private val holds: HoldService.WithRawResponse by lazy {
HoldServiceImpl.WithRawResponseImpl(clientOptions)
}

private val accountActivity: AccountActivityService.WithRawResponse by lazy {
AccountActivityServiceImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -509,6 +519,8 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient

override fun networkPrograms(): NetworkProgramService.WithRawResponse = networkPrograms

override fun holds(): HoldService.WithRawResponse = holds

override fun accountActivity(): AccountActivityService.WithRawResponse = accountActivity

override fun transferLimits(): TransferLimitService.WithRawResponse = transferLimits
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ private constructor(
managementOperation: ManagementOperationTransaction
): Optional<String> =
managementOperation._token().getOptional("token")

override fun visitHold(hold: Hold): Optional<String> =
hold._token().getOptional("token")
}
)
)
Expand Down Expand Up @@ -104,6 +107,9 @@ private constructor(
managementOperation: ManagementOperationTransaction
): Optional<String> =
managementOperation._token().getOptional("token")

override fun visitHold(hold: Hold): Optional<String> =
hold._token().getOptional("token")
}
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ private constructor(
managementOperation: ManagementOperationTransaction
): Optional<String> =
managementOperation._token().getOptional("token")

override fun visitHold(hold: Hold): Optional<String> =
hold._token().getOptional("token")
}
)
)
Expand Down Expand Up @@ -107,6 +110,9 @@ private constructor(
managementOperation: ManagementOperationTransaction
): Optional<String> =
managementOperation._token().getOptional("token")

override fun visitHold(hold: Hold): Optional<String> =
hold._token().getOptional("token")
}
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ private constructor(
fun addData(managementOperation: ManagementOperationTransaction) =
addData(AccountActivityListResponse.ofManagementOperation(managementOperation))

/** Alias for calling [addData] with `AccountActivityListResponse.ofHold(hold)`. */
fun addData(hold: Hold) = addData(AccountActivityListResponse.ofHold(hold))

/** Indicates if there are more transactions available for pagination */
fun hasMore(hasMore: Boolean) = hasMore(JsonField.of(hasMore))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ private constructor(

@JvmField val MANAGEMENT_DISBURSEMENT = of("MANAGEMENT_DISBURSEMENT")

@JvmField val HOLD = of("HOLD")

@JvmField val PROGRAM_FUNDING = of("PROGRAM_FUNDING")

@JvmStatic fun of(value: String) = TransactionCategory(JsonField.of(value))
Expand All @@ -450,6 +452,7 @@ private constructor(
MANAGEMENT_FEE,
MANAGEMENT_REWARD,
MANAGEMENT_DISBURSEMENT,
HOLD,
PROGRAM_FUNDING,
}

Expand Down Expand Up @@ -482,6 +485,7 @@ private constructor(
MANAGEMENT_FEE,
MANAGEMENT_REWARD,
MANAGEMENT_DISBURSEMENT,
HOLD,
PROGRAM_FUNDING,
/**
* An enum member indicating that [TransactionCategory] was instantiated with an unknown
Expand Down Expand Up @@ -518,6 +522,7 @@ private constructor(
MANAGEMENT_FEE -> Value.MANAGEMENT_FEE
MANAGEMENT_REWARD -> Value.MANAGEMENT_REWARD
MANAGEMENT_DISBURSEMENT -> Value.MANAGEMENT_DISBURSEMENT
HOLD -> Value.HOLD
PROGRAM_FUNDING -> Value.PROGRAM_FUNDING
else -> Value._UNKNOWN
}
Expand Down Expand Up @@ -552,6 +557,7 @@ private constructor(
MANAGEMENT_FEE -> Known.MANAGEMENT_FEE
MANAGEMENT_REWARD -> Known.MANAGEMENT_REWARD
MANAGEMENT_DISBURSEMENT -> Known.MANAGEMENT_DISBURSEMENT
HOLD -> Known.HOLD
PROGRAM_FUNDING -> Known.PROGRAM_FUNDING
else -> throw LithicInvalidDataException("Unknown TransactionCategory: $value")
}
Expand Down
Loading