diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index bdceeb244..6604dfb4c 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.472.0"
+ ".": "0.473.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 9fd9919ff..47042c860 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 236
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2aab30efad14c2af42a235cff57e4f530dcc7f223df00093d9d171186d5f2c5e.yml
-openapi_spec_hash: 08496939ae1bdbbe2aee358b693020f8
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-842d7a1e6cff968c70110dc90a9e51da05e2f781e902d6f5ca71940e4b9688e1.yml
+openapi_spec_hash: c3aabecf5bb2135391d6b8faef4ac1b3
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 13b558735..79490dcdb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.473.0 (2026-03-12)
+
+Full Changelog: [v0.472.0...v0.473.0](https://github.com/Increase/increase-java/compare/v0.472.0...v0.473.0)
+
+### Features
+
+* **api:** api update ([4f635e9](https://github.com/Increase/increase-java/commit/4f635e9e929225b8188a07d827e068e7d0ae42ab))
+
## 0.472.0 (2026-03-12)
Full Changelog: [v0.471.0...v0.472.0](https://github.com/Increase/increase-java/compare/v0.471.0...v0.472.0)
diff --git a/README.md b/README.md
index e19c5e0c4..a2125e3b9 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.472.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.472.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.473.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.473.0)
@@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe
-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.472.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.473.0).
@@ -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.472.0")
+implementation("com.increase.api:increase-java:0.473.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.472.0")
com.increase.api
increase-java
- 0.472.0
+ 0.473.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index c645b93ad..e456df49e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.472.0" // x-release-please-version
+ version = "0.473.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt
index bc8aa43bc..f3d724509 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransfer.kt
@@ -29,6 +29,7 @@ private constructor(
private val approval: JsonField,
private val businessApplicationIdentifier: JsonField,
private val cancellation: JsonField,
+ private val cardTokenId: JsonField,
private val createdAt: JsonField,
private val createdBy: JsonField,
private val decline: JsonField,
@@ -67,6 +68,9 @@ private constructor(
@JsonProperty("cancellation")
@ExcludeMissing
cancellation: JsonField = JsonMissing.of(),
+ @JsonProperty("card_token_id")
+ @ExcludeMissing
+ cardTokenId: JsonField = JsonMissing.of(),
@JsonProperty("created_at")
@ExcludeMissing
createdAt: JsonField = JsonMissing.of(),
@@ -131,6 +135,7 @@ private constructor(
approval,
businessApplicationIdentifier,
cancellation,
+ cardTokenId,
createdAt,
createdBy,
decline,
@@ -208,6 +213,14 @@ private constructor(
*/
fun cancellation(): Optional = cancellation.getOptional("cancellation")
+ /**
+ * The ID of the Card Token that was used to validate the card.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
+ * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
+ */
+ fun cardTokenId(): String = cardTokenId.getRequired("card_token_id")
+
/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the transfer
* was created.
@@ -440,6 +453,15 @@ private constructor(
@ExcludeMissing
fun _cancellation(): JsonField = cancellation
+ /**
+ * Returns the raw JSON value of [cardTokenId].
+ *
+ * Unlike [cardTokenId], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("card_token_id")
+ @ExcludeMissing
+ fun _cardTokenId(): JsonField = cardTokenId
+
/**
* Returns the raw JSON value of [createdAt].
*
@@ -654,6 +676,7 @@ private constructor(
* .approval()
* .businessApplicationIdentifier()
* .cancellation()
+ * .cardTokenId()
* .createdAt()
* .createdBy()
* .decline()
@@ -689,6 +712,7 @@ private constructor(
private var approval: JsonField? = null
private var businessApplicationIdentifier: JsonField? = null
private var cancellation: JsonField? = null
+ private var cardTokenId: JsonField? = null
private var createdAt: JsonField? = null
private var createdBy: JsonField? = null
private var decline: JsonField? = null
@@ -720,6 +744,7 @@ private constructor(
approval = cardPushTransfer.approval
businessApplicationIdentifier = cardPushTransfer.businessApplicationIdentifier
cancellation = cardPushTransfer.cancellation
+ cardTokenId = cardPushTransfer.cardTokenId
createdAt = cardPushTransfer.createdAt
createdBy = cardPushTransfer.createdBy
decline = cardPushTransfer.decline
@@ -845,6 +870,18 @@ private constructor(
this.cancellation = cancellation
}
+ /** The ID of the Card Token that was used to validate the card. */
+ fun cardTokenId(cardTokenId: String) = cardTokenId(JsonField.of(cardTokenId))
+
+ /**
+ * Sets [Builder.cardTokenId] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.cardTokenId] with a well-typed [String] value instead.
+ * This method is primarily for setting the field to an undocumented or not yet supported
+ * value.
+ */
+ fun cardTokenId(cardTokenId: JsonField) = apply { this.cardTokenId = cardTokenId }
+
/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the
* transfer was created.
@@ -1210,6 +1247,7 @@ private constructor(
* .approval()
* .businessApplicationIdentifier()
* .cancellation()
+ * .cardTokenId()
* .createdAt()
* .createdBy()
* .decline()
@@ -1243,6 +1281,7 @@ private constructor(
checkRequired("approval", approval),
checkRequired("businessApplicationIdentifier", businessApplicationIdentifier),
checkRequired("cancellation", cancellation),
+ checkRequired("cardTokenId", cardTokenId),
checkRequired("createdAt", createdAt),
checkRequired("createdBy", createdBy),
checkRequired("decline", decline),
@@ -1281,6 +1320,7 @@ private constructor(
approval().ifPresent { it.validate() }
businessApplicationIdentifier().validate()
cancellation().ifPresent { it.validate() }
+ cardTokenId()
createdAt()
createdBy().ifPresent { it.validate() }
decline().ifPresent { it.validate() }
@@ -1326,6 +1366,7 @@ private constructor(
(approval.asKnown().getOrNull()?.validity() ?: 0) +
(businessApplicationIdentifier.asKnown().getOrNull()?.validity() ?: 0) +
(cancellation.asKnown().getOrNull()?.validity() ?: 0) +
+ (if (cardTokenId.asKnown().isPresent) 1 else 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
(createdBy.asKnown().getOrNull()?.validity() ?: 0) +
(decline.asKnown().getOrNull()?.validity() ?: 0) +
@@ -6857,6 +6898,7 @@ private constructor(
approval == other.approval &&
businessApplicationIdentifier == other.businessApplicationIdentifier &&
cancellation == other.cancellation &&
+ cardTokenId == other.cardTokenId &&
createdAt == other.createdAt &&
createdBy == other.createdBy &&
decline == other.decline &&
@@ -6889,6 +6931,7 @@ private constructor(
approval,
businessApplicationIdentifier,
cancellation,
+ cardTokenId,
createdAt,
createdBy,
decline,
@@ -6917,5 +6960,5 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "CardPushTransfer{id=$id, acceptance=$acceptance, accountId=$accountId, approval=$approval, businessApplicationIdentifier=$businessApplicationIdentifier, cancellation=$cancellation, createdAt=$createdAt, createdBy=$createdBy, decline=$decline, idempotencyKey=$idempotencyKey, merchantCategoryCode=$merchantCategoryCode, merchantCityName=$merchantCityName, merchantName=$merchantName, merchantNamePrefix=$merchantNamePrefix, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, presentmentAmount=$presentmentAmount, recipientName=$recipientName, senderAddressCity=$senderAddressCity, senderAddressLine1=$senderAddressLine1, senderAddressPostalCode=$senderAddressPostalCode, senderAddressState=$senderAddressState, senderName=$senderName, sourceAccountNumberId=$sourceAccountNumberId, status=$status, submission=$submission, type=$type, additionalProperties=$additionalProperties}"
+ "CardPushTransfer{id=$id, acceptance=$acceptance, accountId=$accountId, approval=$approval, businessApplicationIdentifier=$businessApplicationIdentifier, cancellation=$cancellation, cardTokenId=$cardTokenId, createdAt=$createdAt, createdBy=$createdBy, decline=$decline, idempotencyKey=$idempotencyKey, merchantCategoryCode=$merchantCategoryCode, merchantCityName=$merchantCityName, merchantName=$merchantName, merchantNamePrefix=$merchantNamePrefix, merchantPostalCode=$merchantPostalCode, merchantState=$merchantState, presentmentAmount=$presentmentAmount, recipientName=$recipientName, senderAddressCity=$senderAddressCity, senderAddressLine1=$senderAddressLine1, senderAddressPostalCode=$senderAddressPostalCode, senderAddressState=$senderAddressState, senderName=$senderName, sourceAccountNumberId=$sourceAccountNumberId, status=$status, submission=$submission, type=$type, additionalProperties=$additionalProperties}"
}
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponseTest.kt
index aefad2b85..00e21677d 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferListPageResponseTest.kt
@@ -42,6 +42,7 @@ internal class CardPushTransferListPageResponseTest {
.canceledBy(null)
.build()
)
+ .cardTokenId("outbound_card_token_zlt0ml6youq3q7vcdlg0")
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.createdBy(
CardPushTransfer.CreatedBy.builder()
@@ -137,6 +138,7 @@ internal class CardPushTransferListPageResponseTest {
.canceledBy(null)
.build()
)
+ .cardTokenId("outbound_card_token_zlt0ml6youq3q7vcdlg0")
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.createdBy(
CardPushTransfer.CreatedBy.builder()
@@ -236,6 +238,7 @@ internal class CardPushTransferListPageResponseTest {
.canceledBy(null)
.build()
)
+ .cardTokenId("outbound_card_token_zlt0ml6youq3q7vcdlg0")
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.createdBy(
CardPushTransfer.CreatedBy.builder()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferTest.kt
index a84e0bc4c..433eaeb01 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpushtransfers/CardPushTransferTest.kt
@@ -40,6 +40,7 @@ internal class CardPushTransferTest {
.canceledBy(null)
.build()
)
+ .cardTokenId("outbound_card_token_zlt0ml6youq3q7vcdlg0")
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.createdBy(
CardPushTransfer.CreatedBy.builder()
@@ -131,6 +132,8 @@ internal class CardPushTransferTest {
.canceledBy(null)
.build()
)
+ assertThat(cardPushTransfer.cardTokenId())
+ .isEqualTo("outbound_card_token_zlt0ml6youq3q7vcdlg0")
assertThat(cardPushTransfer.createdAt())
.isEqualTo(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
assertThat(cardPushTransfer.createdBy())
@@ -224,6 +227,7 @@ internal class CardPushTransferTest {
.canceledBy(null)
.build()
)
+ .cardTokenId("outbound_card_token_zlt0ml6youq3q7vcdlg0")
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.createdBy(
CardPushTransfer.CreatedBy.builder()