diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 091bee159..d05d9de1b 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.461.0"
+ ".": "0.462.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index aefb489f8..61c2836eb 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-4699565aad7b519933c0f8789762574139b2ca7ad57c008b747eebe6a3f91eec.yml
-openapi_spec_hash: 3c7cf6b8f8d59763cbdac549682f61c3
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-010fcebf036b735c59221760be7726699913ed68102323b49939ddd880a12e32.yml
+openapi_spec_hash: 92d7bc1bf2f3034735206e358249ba5c
config_hash: dda988c5565c2f15cc708122984d7691
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2016429e8..7cf2f294f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.462.0 (2026-03-11)
+
+Full Changelog: [v0.461.0...v0.462.0](https://github.com/Increase/increase-java/compare/v0.461.0...v0.462.0)
+
+### Features
+
+* **api:** api update ([cc74a41](https://github.com/Increase/increase-java/commit/cc74a41519ee42024ccc481b976604a356a34acb))
+
## 0.461.0 (2026-03-10)
Full Changelog: [v0.460.0...v0.461.0](https://github.com/Increase/increase-java/compare/v0.460.0...v0.461.0)
diff --git a/README.md b/README.md
index 1317fa0ae..b9d04761f 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.461.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.461.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.462.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.462.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.461.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.462.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.461.0")
+implementation("com.increase.api:increase-java:0.462.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.461.0")
com.increase.api
increase-java
- 0.461.0
+ 0.462.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index d55906969..c15bccf1e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.461.0" // x-release-please-version
+ version = "0.462.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt
index 8c483e517..5f39c548c 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/cardpayments/CardPayment.kt
@@ -3910,6 +3910,7 @@ private constructor(
private val attempts: JsonField>,
private val createdAt: JsonField,
private val oneTimeCode: JsonField,
+ private val realTimeDecisionId: JsonField,
private val verificationMethod: JsonField,
private val verificationValue: JsonField,
private val additionalProperties: MutableMap,
@@ -3926,6 +3927,9 @@ private constructor(
@JsonProperty("one_time_code")
@ExcludeMissing
oneTimeCode: JsonField = JsonMissing.of(),
+ @JsonProperty("real_time_decision_id")
+ @ExcludeMissing
+ realTimeDecisionId: JsonField = JsonMissing.of(),
@JsonProperty("verification_method")
@ExcludeMissing
verificationMethod: JsonField = JsonMissing.of(),
@@ -3936,6 +3940,7 @@ private constructor(
attempts,
createdAt,
oneTimeCode,
+ realTimeDecisionId,
verificationMethod,
verificationValue,
mutableMapOf(),
@@ -3969,6 +3974,15 @@ private constructor(
*/
fun oneTimeCode(): String = oneTimeCode.getRequired("one_time_code")
+ /**
+ * The identifier of the Real-Time Decision used to deliver this challenge.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type
+ * (e.g. if the server responded with an unexpected value).
+ */
+ fun realTimeDecisionId(): Optional =
+ realTimeDecisionId.getOptional("real_time_decision_id")
+
/**
* The method used to verify the Card Authentication Challenge.
*
@@ -4019,6 +4033,16 @@ private constructor(
@ExcludeMissing
fun _oneTimeCode(): JsonField = oneTimeCode
+ /**
+ * Returns the raw JSON value of [realTimeDecisionId].
+ *
+ * Unlike [realTimeDecisionId], this method doesn't throw if the JSON field has an
+ * unexpected type.
+ */
+ @JsonProperty("real_time_decision_id")
+ @ExcludeMissing
+ fun _realTimeDecisionId(): JsonField = realTimeDecisionId
+
/**
* Returns the raw JSON value of [verificationMethod].
*
@@ -4061,6 +4085,7 @@ private constructor(
* .attempts()
* .createdAt()
* .oneTimeCode()
+ * .realTimeDecisionId()
* .verificationMethod()
* .verificationValue()
* ```
@@ -4074,6 +4099,7 @@ private constructor(
private var attempts: JsonField>? = null
private var createdAt: JsonField? = null
private var oneTimeCode: JsonField? = null
+ private var realTimeDecisionId: JsonField? = null
private var verificationMethod: JsonField? = null
private var verificationValue: JsonField? = null
private var additionalProperties: MutableMap = mutableMapOf()
@@ -4083,6 +4109,7 @@ private constructor(
attempts = challenge.attempts.map { it.toMutableList() }
createdAt = challenge.createdAt
oneTimeCode = challenge.oneTimeCode
+ realTimeDecisionId = challenge.realTimeDecisionId
verificationMethod = challenge.verificationMethod
verificationValue = challenge.verificationValue
additionalProperties = challenge.additionalProperties.toMutableMap()
@@ -4145,6 +4172,28 @@ private constructor(
this.oneTimeCode = oneTimeCode
}
+ /** The identifier of the Real-Time Decision used to deliver this challenge. */
+ fun realTimeDecisionId(realTimeDecisionId: String?) =
+ realTimeDecisionId(JsonField.ofNullable(realTimeDecisionId))
+
+ /**
+ * Alias for calling [Builder.realTimeDecisionId] with
+ * `realTimeDecisionId.orElse(null)`.
+ */
+ fun realTimeDecisionId(realTimeDecisionId: Optional) =
+ realTimeDecisionId(realTimeDecisionId.getOrNull())
+
+ /**
+ * Sets [Builder.realTimeDecisionId] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.realTimeDecisionId] with a well-typed
+ * [String] value instead. This method is primarily for setting the field to an
+ * undocumented or not yet supported value.
+ */
+ fun realTimeDecisionId(realTimeDecisionId: JsonField) = apply {
+ this.realTimeDecisionId = realTimeDecisionId
+ }
+
/** The method used to verify the Card Authentication Challenge. */
fun verificationMethod(verificationMethod: VerificationMethod) =
verificationMethod(JsonField.of(verificationMethod))
@@ -4218,6 +4267,7 @@ private constructor(
* .attempts()
* .createdAt()
* .oneTimeCode()
+ * .realTimeDecisionId()
* .verificationMethod()
* .verificationValue()
* ```
@@ -4229,6 +4279,7 @@ private constructor(
checkRequired("attempts", attempts).map { it.toImmutable() },
checkRequired("createdAt", createdAt),
checkRequired("oneTimeCode", oneTimeCode),
+ checkRequired("realTimeDecisionId", realTimeDecisionId),
checkRequired("verificationMethod", verificationMethod),
checkRequired("verificationValue", verificationValue),
additionalProperties.toMutableMap(),
@@ -4245,6 +4296,7 @@ private constructor(
attempts().forEach { it.validate() }
createdAt()
oneTimeCode()
+ realTimeDecisionId()
verificationMethod().validate()
verificationValue()
validated = true
@@ -4269,6 +4321,7 @@ private constructor(
(attempts.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
(if (oneTimeCode.asKnown().isPresent) 1 else 0) +
+ (if (realTimeDecisionId.asKnown().isPresent) 1 else 0) +
(verificationMethod.asKnown().getOrNull()?.validity() ?: 0) +
(if (verificationValue.asKnown().isPresent) 1 else 0)
@@ -4803,6 +4856,7 @@ private constructor(
attempts == other.attempts &&
createdAt == other.createdAt &&
oneTimeCode == other.oneTimeCode &&
+ realTimeDecisionId == other.realTimeDecisionId &&
verificationMethod == other.verificationMethod &&
verificationValue == other.verificationValue &&
additionalProperties == other.additionalProperties
@@ -4813,6 +4867,7 @@ private constructor(
attempts,
createdAt,
oneTimeCode,
+ realTimeDecisionId,
verificationMethod,
verificationValue,
additionalProperties,
@@ -4822,7 +4877,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "Challenge{attempts=$attempts, createdAt=$createdAt, oneTimeCode=$oneTimeCode, verificationMethod=$verificationMethod, verificationValue=$verificationValue, additionalProperties=$additionalProperties}"
+ "Challenge{attempts=$attempts, createdAt=$createdAt, oneTimeCode=$oneTimeCode, realTimeDecisionId=$realTimeDecisionId, verificationMethod=$verificationMethod, verificationValue=$verificationValue, additionalProperties=$additionalProperties}"
}
/** The reason why this authentication attempt was denied, if it was. */
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt
index 81d56d850..c222ee718 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentListPageResponseTest.kt
@@ -71,6 +71,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
@@ -2247,6 +2250,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
@@ -4423,6 +4429,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
@@ -6599,6 +6608,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
@@ -8815,6 +8827,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -10868,6 +10883,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -12921,6 +12939,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -14974,6 +14995,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -17073,6 +17097,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
@@ -19249,6 +19276,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
@@ -21425,6 +21455,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
@@ -23601,6 +23634,9 @@ internal class CardPaymentListPageResponseTest {
OffsetDateTime.parse("2020-01-31T23:59:59Z")
)
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication
.Challenge
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt
index 8ea97f929..30d2c1ec5 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/cardpayments/CardPaymentTest.kt
@@ -62,6 +62,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -1992,6 +1995,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -3922,6 +3928,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -5852,6 +5861,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -7812,6 +7824,7 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -9542,6 +9555,7 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -11272,6 +11286,7 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -13002,6 +13017,7 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId("real_time_decision_j76n2e810ezcg3zh5qtn")
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -14776,6 +14792,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -16706,6 +16725,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -18636,6 +18658,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod
@@ -20566,6 +20591,9 @@ internal class CardPaymentTest {
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.oneTimeCode("123456")
+ .realTimeDecisionId(
+ "real_time_decision_j76n2e810ezcg3zh5qtn"
+ )
.verificationMethod(
CardPayment.Element.CardAuthentication.Challenge
.VerificationMethod