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 CODEGEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
25e6bd225852aa44d783e9fb3b9895af39479331
b0095e1dae0437fa60f0933a38f0914e8bba44ff
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2206
v2207
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 = "2026-03-04.preview";
public static final String CURRENT = "2026-03-25.preview";
}
23 changes: 21 additions & 2 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
import lombok.Setter;

/**
* This is an object representing a Stripe account. You can retrieve it to see properties on the
* For new integrations, we recommend using the <a
* href="https://stripe.com/api/v2/core/accounts">Accounts v2 API</a>, in place of /v1/accounts and
* /v1/customers to represent a user.
*
* <p>This is an object representing a Stripe account. You can retrieve it to see properties on the
* account like its current requirements or if the account is enabled to make live charges or
* receive payouts.
*
Expand Down Expand Up @@ -169,6 +173,10 @@ public class Account extends ApiResource implements MetadataStore<Account>, Paym
@SerializedName("risk_controls")
RiskControls riskControls;

/** A hash containing information about risk signal collection. */
@SerializedName("risk_signals")
RiskSignals riskSignals;

/** Options for customizing how the account functions within Stripe. */
@SerializedName("settings")
Settings settings;
Expand Down Expand Up @@ -1497,6 +1505,15 @@ public static class Capabilities extends StripeObject {
@SerializedName("twint_payments")
String twintPayments;

/**
* The status of the upi payments capability of the account, or whether the account can directly
* process upi charges.
*
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
*/
@SerializedName("upi_payments")
String upiPayments;

/**
* The status of the US bank account ACH payments capability of the account, or whether the
* account can directly process US bank account charges.
Expand Down Expand Up @@ -3076,7 +3093,8 @@ public static class PaypayPayments extends StripeObject {
List<String> additionalFiles;

/**
* Whether your business sells digital content or not.
* The type of goods your business sells. Use {@code digital_content} if you sell digital
* content. Use {@code other} for all other types of goods or services.
*
* <p>One of {@code digital_content}, or {@code other}.
*/
Expand Down Expand Up @@ -3290,6 +3308,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(individual, responseGetter);
trySetResponseGetter(requirements, responseGetter);
trySetResponseGetter(riskControls, responseGetter);
trySetResponseGetter(riskSignals, responseGetter);
trySetResponseGetter(settings, responseGetter);
trySetResponseGetter(tosAcceptance, responseGetter);
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/AccountNotice.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public class AccountNotice extends ApiResource implements HasId, MetadataStore<A
LinkedObjects linkedObjects;

/**
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
* object exists in test mode.
* If the object exists in live mode, the value is {@code true}. If the object exists in test
* mode, the value is {@code false}.
*/
@SerializedName("livemode")
Boolean livemode;
Expand Down
70 changes: 68 additions & 2 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public class AccountSession extends ApiResource {
Long expiresAt;

/**
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
* object exists in test mode.
* If the object exists in live mode, the value is {@code true}. If the object exists in test
* mode, the value is {@code false}.
*/
@SerializedName("livemode")
Boolean livemode;
Expand Down Expand Up @@ -169,6 +169,14 @@ public static class Components extends StripeObject {
@SerializedName("financial_account")
FinancialAccount financialAccount;

/**
* Configuration for the <a
* href="https://stripe.com/connect/supported-embedded-components/financial-account-rewards/">financial
* account rewards</a> embedded component.
*/
@SerializedName("financial_account_rewards")
FinancialAccountRewards financialAccountRewards;

@SerializedName("financial_account_transactions")
FinancialAccountTransactions financialAccountTransactions;

Expand All @@ -181,6 +189,14 @@ public static class Components extends StripeObject {
@SerializedName("issuing_cards_list")
IssuingCardsList issuingCardsList;

/**
* Configuration for the <a
* href="https://stripe.com/connect/supported-embedded-components/nesting-demo/">Nestingdemo</a>
* embedded component.
*/
@SerializedName("nesting_demo")
NestingDemo nestingDemo;

/**
* Configuration for the <a
* href="https://stripe.com/connect/supported-embedded-components/network-cost-passthrough-report/">network
Expand Down Expand Up @@ -640,6 +656,31 @@ public static class Features extends StripeObject {
}
}

/**
* For more details about FinancialAccountRewards, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class FinancialAccountRewards extends StripeObject {
/** Whether the embedded component is enabled. */
@SerializedName("enabled")
Boolean enabled;

@SerializedName("features")
Features features;

/**
* For more details about Features, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {}
}

/**
* For more details about FinancialAccountTransactions, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -813,6 +854,31 @@ public static class Features extends StripeObject {
}
}

/**
* For more details about NestingDemo, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class NestingDemo extends StripeObject {
/** Whether the embedded component is enabled. */
@SerializedName("enabled")
Boolean enabled;

@SerializedName("features")
Features features;

/**
* For more details about Features, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {}
}

/**
* For more details about NetworkCostPassthroughReport, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down
78 changes: 77 additions & 1 deletion src/main/java/com/stripe/model/AccountSignals.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ public class AccountSignals extends ApiResource {
@SerializedName("delinquency")
Delinquency delinquency;

/** The fraud intent signal of the account. */
@SerializedName("fraud_intent")
FraudIntent fraudIntent;

/**
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
* object exists in test mode.
Expand Down Expand Up @@ -146,7 +150,78 @@ public static class Indicator extends StripeObject {
* <p>One of {@code account_balance}, {@code aov}, {@code charge_concentration}, {@code
* dispute_window}, {@code disputes}, {@code duplicates}, {@code exposure}, {@code
* firmographic}, {@code lifetime_metrics}, {@code payment_processing}, {@code
* payment_volume}, {@code payouts}, {@code refunds}, {@code tenure}, or {@code transfers}.
* payment_volume}, {@code payouts}, {@code refunds}, {@code related_accounts}, {@code
* tenure}, or {@code transfers}.
*/
@SerializedName("indicator")
String indicator;
}
}

/**
* For more details about FraudIntent, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class FraudIntent extends StripeObject {
/** Time at which the signal was evaluated, measured in seconds since the Unix epoch. */
@SerializedName("evaluated_at")
Long evaluatedAt;

/**
* Array of objects representing individual factors that contributed to the calculated
* probability of fraud intent.
*/
@SerializedName("indicators")
List<AccountSignals.FraudIntent.Indicator> indicators;

/** The probability of fraud intent. Can be between 0.00 and 100.00 */
@SerializedName("probability")
BigDecimal probability;

/**
* Categorical assessment of the fraud intent risk based on probability.
*
* <p>One of {@code elevated}, {@code highest}, {@code low}, {@code normal}, {@code
* not_assessed}, or {@code unknown}.
*/
@SerializedName("risk_level")
String riskLevel;

/** Unique identifier for the fraud intent signal. */
@SerializedName("signal_id")
String signalId;

/**
* For more details about Indicator, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Indicator extends StripeObject {
/** A brief explanation of how this indicator contributed to the delinquency probability. */
@SerializedName("description")
String description;

/**
* The effect this indicator had on the overall risk level.
*
* <p>One of {@code decrease}, {@code neutral}, {@code slight_increase}, or {@code
* strong_increase}.
*/
@SerializedName("impact")
String impact;

/**
* The name of the specific indicator used in the risk assessment.
*
* <p>One of {@code bank_account}, {@code business_information_and_account_activity}, {@code
* disputes}, {@code failures}, {@code geo_location}, {@code other}, {@code
* other_related_accounts}, {@code other_transaction_activity}, {@code owner_email}, or {@code
* web_presence}.
*/
@SerializedName("indicator")
String indicator;
Expand All @@ -157,5 +232,6 @@ public static class Indicator extends StripeObject {
public void setResponseGetter(StripeResponseGetter responseGetter) {
super.setResponseGetter(responseGetter);
trySetResponseGetter(delinquency, responseGetter);
trySetResponseGetter(fraudIntent, responseGetter);
}
}
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/ApplePayDomain.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public class ApplePayDomain extends ApiResource implements HasId {
String id;

/**
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
* object exists in test mode.
* If the object exists in live mode, the value is {@code true}. If the object exists in test
* mode, the value is {@code false}.
*/
@SerializedName("livemode")
Boolean livemode;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/ApplicationFee.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ public class ApplicationFee extends ApiResource implements BalanceTransactionSou
String id;

/**
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
* object exists in test mode.
* If the object exists in live mode, the value is {@code true}. If the object exists in test
* mode, the value is {@code false}.
*/
@SerializedName("livemode")
Boolean livemode;
Expand Down
Loading
Loading