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
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6d15a7f20cb77c2c22091a30e499cb89d7e3248c
441c0fcde75bcbf836f1a1810d5b9cfe8e8a7da4
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2111
v2116
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ Stripe has features in the [private preview phase](https://docs.stripe.com/relea

### Custom requests

> This feature is only available from version 27 of this SDK.

If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `rawRequest` method on `StripeClient`.

```java
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/stripe/ApiVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
package com.stripe;

final class ApiVersion {
public static final String CURRENT = "2025-09-30.preview";
public static final String CURRENT = "2025-10-29.preview";
}
50 changes: 50 additions & 0 deletions src/main/java/com/stripe/model/Person.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ public class Person extends ApiResource implements HasId, MetadataStore<Person>
@SerializedName("requirements")
Requirements requirements;

@SerializedName("self_reported_income")
SelfReportedIncome selfReportedIncome;

@SerializedName("self_reported_monthly_housing_payment")
SelfReportedMonthlyHousingPayment selfReportedMonthlyHousingPayment;

/**
* Whether the last four digits of the person's Social Security number have been provided (U.S.
* only).
Expand Down Expand Up @@ -836,6 +842,48 @@ public static class Errors extends StripeObject {
}
}

/**
* For more details about SelfReportedIncome, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SelfReportedIncome extends StripeObject {
/** Amount in the minor currency unit (e.g., cents for USD). */
@SerializedName("amount")
Long amount;

/**
* Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency
* code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported
* currency</a>.
*/
@SerializedName("currency")
String currency;
}

/**
* For more details about SelfReportedMonthlyHousingPayment, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class SelfReportedMonthlyHousingPayment extends StripeObject {
/** Amount in the minor currency unit (e.g., cents for USD). */
@SerializedName("amount")
Long amount;

/**
* Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency
* code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported
* currency</a>.
*/
@SerializedName("currency")
String currency;
}

/**
* For more details about UsCfpbData, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -1116,6 +1164,8 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(registeredAddress, responseGetter);
trySetResponseGetter(relationship, responseGetter);
trySetResponseGetter(requirements, responseGetter);
trySetResponseGetter(selfReportedIncome, responseGetter);
trySetResponseGetter(selfReportedMonthlyHousingPayment, responseGetter);
trySetResponseGetter(usCfpbData, responseGetter);
trySetResponseGetter(verification, responseGetter);
}
Expand Down
Loading
Loading