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
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
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.480.0"
".": "0.481.0"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.481.0 (2026-03-17)

Full Changelog: [v0.480.0...v0.481.0](https://github.com/Increase/increase-java/compare/v0.480.0...v0.481.0)

### Features

* **webhooks:** replace hand-written webhook services with codegen events ([9fdb89d](https://github.com/Increase/increase-java/commit/9fdb89d43911e4b931159df63672dc37ea865a7c))


### Chores

* **internal:** tweak CI branches ([58afbd1](https://github.com/Increase/increase-java/commit/58afbd14594edc9c338068523c1d02906507762e))

## 0.480.0 (2026-03-16)

Full Changelog: [v0.479.0...v0.480.0](https://github.com/Increase/increase-java/compare/v0.479.0...v0.480.0)
Expand Down
16 changes: 7 additions & 9 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.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.480.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.480.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.480.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.481.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.481.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.481.0)

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

Expand All @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe

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

The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.480.0).
The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.481.0).

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

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

```kotlin
implementation("com.increase.api:increase-java:0.480.0")
implementation("com.increase.api:increase-java:0.481.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.480.0")
<dependency>
<groupId>com.increase.api</groupId>
<artifactId>increase-java</artifactId>
<version>0.480.0</version>
<version>0.481.0</version>
</dependency>
```

Expand Down Expand Up @@ -430,11 +430,9 @@ export INCREASE_LOG=debug

We provide helper methods for verifying that a webhook request came from Increase, and not a malicious third party.

You can use `increase.webhooks().verifySignature(body, headers, secret?)` or `increase.webhooks().unwrap(body, headers, secret?)`,
both of which will raise an error if the signature is invalid. If secret is omitted, the body will be unwrapped without any validation.
You can use `increase.events().unwrap(UnwrapWebhookParams)` to both verify the signature and parse the event body into a typed `UnwrapWebhookEvent`. An `IncreaseWebhookException` will be thrown if the signature is invalid.

Note that the "body" parameter must be the raw JSON string sent from the server (do not parse it first).
The `.unwrap()` method can parse this JSON for you.
Note that the `body` parameter must be the raw JSON string sent from the server (do not parse it first). If `headers` is omitted, the body will be unwrapped without any signature validation.

## ProGuard and R8

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.increase.api"
version = "0.480.0" // x-release-please-version
version = "0.481.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import com.increase.api.services.blocking.SimulationService
import com.increase.api.services.blocking.SupplementalDocumentService
import com.increase.api.services.blocking.SwiftTransferService
import com.increase.api.services.blocking.TransactionService
import com.increase.api.services.blocking.WebhookService
import com.increase.api.services.blocking.WireDrawdownRequestService
import com.increase.api.services.blocking.WireTransferService
import java.util.function.Consumer
Expand Down Expand Up @@ -200,8 +199,6 @@ interface IncreaseClient {

fun oauthConnections(): OAuthConnectionService

fun webhooks(): WebhookService

fun oauthTokens(): OAuthTokenService

fun intrafiAccountEnrollments(): IntrafiAccountEnrollmentService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import com.increase.api.services.async.SimulationServiceAsync
import com.increase.api.services.async.SupplementalDocumentServiceAsync
import com.increase.api.services.async.SwiftTransferServiceAsync
import com.increase.api.services.async.TransactionServiceAsync
import com.increase.api.services.async.WebhookServiceAsync
import com.increase.api.services.async.WireDrawdownRequestServiceAsync
import com.increase.api.services.async.WireTransferServiceAsync
import java.util.function.Consumer
Expand Down Expand Up @@ -200,8 +199,6 @@ interface IncreaseClientAsync {

fun oauthConnections(): OAuthConnectionServiceAsync

fun webhooks(): WebhookServiceAsync

fun oauthTokens(): OAuthTokenServiceAsync

fun intrafiAccountEnrollments(): IntrafiAccountEnrollmentServiceAsync
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ import com.increase.api.services.async.SwiftTransferServiceAsync
import com.increase.api.services.async.SwiftTransferServiceAsyncImpl
import com.increase.api.services.async.TransactionServiceAsync
import com.increase.api.services.async.TransactionServiceAsyncImpl
import com.increase.api.services.async.WebhookServiceAsync
import com.increase.api.services.async.WebhookServiceAsyncImpl
import com.increase.api.services.async.WireDrawdownRequestServiceAsync
import com.increase.api.services.async.WireDrawdownRequestServiceAsyncImpl
import com.increase.api.services.async.WireTransferServiceAsync
Expand Down Expand Up @@ -338,8 +336,6 @@ class IncreaseClientAsyncImpl(private val clientOptions: ClientOptions) : Increa
OAuthConnectionServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val webhooks: WebhookServiceAsync by lazy { WebhookServiceAsyncImpl(clientOptions) }

private val oauthTokens: OAuthTokenServiceAsync by lazy {
OAuthTokenServiceAsyncImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -493,8 +489,6 @@ class IncreaseClientAsyncImpl(private val clientOptions: ClientOptions) : Increa

override fun intrafiExclusions(): IntrafiExclusionServiceAsync = intrafiExclusions

override fun webhooks(): WebhookServiceAsync = webhooks

override fun cardTokens(): CardTokenServiceAsync = cardTokens

override fun cardPushTransfers(): CardPushTransferServiceAsync = cardPushTransfers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ import com.increase.api.services.blocking.SwiftTransferService
import com.increase.api.services.blocking.SwiftTransferServiceImpl
import com.increase.api.services.blocking.TransactionService
import com.increase.api.services.blocking.TransactionServiceImpl
import com.increase.api.services.blocking.WebhookService
import com.increase.api.services.blocking.WebhookServiceImpl
import com.increase.api.services.blocking.WireDrawdownRequestService
import com.increase.api.services.blocking.WireDrawdownRequestServiceImpl
import com.increase.api.services.blocking.WireTransferService
Expand Down Expand Up @@ -339,8 +337,6 @@ class IncreaseClientImpl(private val clientOptions: ClientOptions) : IncreaseCli
IntrafiExclusionServiceImpl(clientOptionsWithUserAgent)
}

private val webhooks: WebhookService by lazy { WebhookServiceImpl(clientOptionsWithUserAgent) }

private val cardTokens: CardTokenService by lazy {
CardTokenServiceImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -476,8 +472,6 @@ class IncreaseClientImpl(private val clientOptions: ClientOptions) : IncreaseCli

override fun intrafiExclusions(): IntrafiExclusionService = intrafiExclusions

override fun webhooks(): WebhookService = webhooks

override fun cardTokens(): CardTokenService = cardTokens

override fun cardPushTransfers(): CardPushTransferService = cardPushTransfers
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading