Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2c452c5
Update generated code for v1774 and 2025-05-28.preview
stripe-openapi[bot] May 30, 2025
93e8eb0
Update generated code for v1779 and 2025-05-28.preview
stripe-openapi[bot] Jun 2, 2025
dc97747
Update generated code for v1780 and 2025-05-28.preview
stripe-openapi[bot] Jun 3, 2025
c5a0400
Merge upstream and update generated code for v1781 and 2025-05-28.pre…
stripe-openapi[bot] Jun 3, 2025
7adcce1
Update generated code for v1782 and 2025-05-28.preview
stripe-openapi[bot] Jun 3, 2025
8f71412
Update generated code for v1784 and 2025-05-28.preview
stripe-openapi[bot] Jun 4, 2025
b47827f
Update generated code for v1785 and 2025-05-28.preview
stripe-openapi[bot] Jun 4, 2025
0d08163
Update generated code for v1787 and 2025-05-28.preview
stripe-openapi[bot] Jun 4, 2025
9b02509
Update generated code for v1789 and 2025-05-28.preview
stripe-openapi[bot] Jun 6, 2025
be5c2fe
Update generated code for v1789 and 2025-05-28.preview
stripe-openapi[bot] Jun 6, 2025
25aac50
Update generated code for v1789 and 2025-05-28.preview
stripe-openapi[bot] Jun 9, 2025
e6caab9
Update generated code for v1791 and 2025-05-28.preview
stripe-openapi[bot] Jun 10, 2025
e7f31d0
Merge upstream and update generated code for v1795 and 2025-05-28.pre…
stripe-openapi[bot] Jun 12, 2025
624e693
Update generated code for v1796 and 2025-05-28.preview
stripe-openapi[bot] Jun 12, 2025
715b140
Update generated code for v1796 and 2025-05-28.preview
stripe-openapi[bot] Jun 12, 2025
c2b89c8
Update generated code for v1797 and 2025-05-28.preview
stripe-openapi[bot] Jun 13, 2025
cba26e3
Update generated code for v1799 and 2025-05-28.preview
stripe-openapi[bot] Jun 16, 2025
3166f06
Update generated code for v1800 and 2025-05-28.preview
stripe-openapi[bot] Jun 17, 2025
030ff52
Update generated code for v1800 and 2025-05-28.preview
stripe-openapi[bot] Jun 17, 2025
becb89b
Update generated code for v1801 and 2025-05-28.preview
stripe-openapi[bot] Jun 17, 2025
2c7e7f3
Update generated code for v1803 and 2025-05-28.preview
stripe-openapi[bot] Jun 18, 2025
4be5722
Update generated code for v1805 and 2025-05-28.preview
stripe-openapi[bot] Jun 18, 2025
7aab921
Update generated code for v1806 and 2025-06-30.preview
stripe-openapi[bot] Jun 18, 2025
fe2c5c0
Update generated code for v1807 and 2025-06-30.preview
stripe-openapi[bot] Jun 18, 2025
c543c72
Update generated code for v1808 and 2025-06-30.preview
stripe-openapi[bot] Jun 18, 2025
1f4389b
Update generated code for v1809 and 2025-06-30.preview
stripe-openapi[bot] Jun 18, 2025
10ca17f
Update generated code for v1811 and 2025-06-30.preview
stripe-openapi[bot] Jun 18, 2025
89925f9
Update generated code for v1812 and 2025-06-30.preview
stripe-openapi[bot] Jun 18, 2025
ec2d2c3
Update generated code for v1814 and 2025-06-30.preview
stripe-openapi[bot] Jun 19, 2025
25d6169
Update generated code for v1815 and 2025-06-30.preview
stripe-openapi[bot] Jun 20, 2025
4b4b5fb
Update generated code for v1816 and 2025-06-30.preview
stripe-openapi[bot] Jun 20, 2025
852cc07
Update generated code for v1817 and 2025-06-30.preview
stripe-openapi[bot] Jun 20, 2025
083fb3f
Update generated code for v1818 and 2025-06-30.preview
stripe-openapi[bot] Jun 23, 2025
a85b4fc
Update generated code for v1819 and 2025-06-30.preview
stripe-openapi[bot] Jun 23, 2025
fe2dbfb
Merge upstream and update generated code for v1819 and 2025-06-30.pre…
stripe-openapi[bot] Jun 23, 2025
e2a6b81
Update generated code for v1819 and 2025-06-30.preview
stripe-openapi[bot] Jun 24, 2025
a0ed2cb
Update generated code for v1819 and 2025-06-30.preview
stripe-openapi[bot] Jun 24, 2025
3a25d52
Merge upstream and update generated code for v1819 and 2025-06-30.pre…
stripe-openapi[bot] Jun 26, 2025
09044e6
Update deploy.gradle (#2020)
mbroshi-stripe Jun 26, 2025
7bf11ff
Specify nexusUrl in deploy.gradle (#2023)
mbroshi-stripe Jun 27, 2025
5f030d7
Merge branch 'beta' into latest-codegen-beta
prathmesh-stripe Jun 30, 2025
38d8572
Fixed test
prathmesh-stripe Jun 30, 2025
48791fb
Merge upstream and update generated code for v1819 and 2025-06-30.pre…
stripe-openapi[bot] Jul 1, 2025
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
1 change: 1 addition & 0 deletions API_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-06-30.preview
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1773
v1819
5 changes: 4 additions & 1 deletion deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def getReleaseRepositoryUrl() {

def getSnapshotRepositoryUrl() {
return hasProperty("SNAPSHOT_REPOSITORY_URL") ? SNAPSHOT_REPOSITORY_URL
: "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
: "https://central.sonatype.com/repository/maven-snapshots/"
}

def getRepositoryUsername() {
Expand All @@ -37,6 +37,9 @@ nexusPublishing {

repositories {
sonatype {
// The default nexusUrl is the sunsetted endpoint "https://oss.sonatype.org/service/local/"
// This URL comes from https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/.
nexusUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/")
username = getRepositoryUsername()
password = getRepositoryPassword()
}
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-05-28.preview";
public static final String CURRENT = "2025-06-30.preview";
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
import com.stripe.model.StripeObject;
import com.stripe.net.StripeResponseGetter;

/**
* Error returned when recipient does not have the active features required to receive funds from
* this OutboundPayment request.
*/
/** The required storer capabilities are missing. */
public final class FeatureNotEnabledException extends ApiException {
private static final long serialVersionUID = 2L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/**
* Error returned when the balance of provided financial account and balance type in the
* OutboundPayment request does not have enough funds.
* OutboundPayment/OutboundTransfer request does not have enough funds.
*/
public final class InsufficientFundsException extends ApiException {
private static final long serialVersionUID = 2L;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/stripe/exception/StripeException.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ public static StripeException parseV2Exception(
case "financial_account_not_open":
return com.stripe.exception.FinancialAccountNotOpenException.parse(
body, statusCode, requestId, responseGetter);
case "feature_not_enabled":
return com.stripe.exception.FeatureNotEnabledException.parse(
body, statusCode, requestId, responseGetter);
case "blocked_by_stripe":
return com.stripe.exception.BlockedByStripeException.parse(
body, statusCode, requestId, responseGetter);
Expand All @@ -134,9 +137,6 @@ public static StripeException parseV2Exception(
case "recipient_not_notifiable":
return com.stripe.exception.RecipientNotNotifiableException.parse(
body, statusCode, requestId, responseGetter);
case "feature_not_enabled":
return com.stripe.exception.FeatureNotEnabledException.parse(
body, statusCode, requestId, responseGetter);
case "invalid_payout_method":
return com.stripe.exception.InvalidPayoutMethodException.parse(
body, statusCode, requestId, responseGetter);
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,15 @@ public static class Capabilities extends StripeObject {
@SerializedName("cashapp_payments")
String cashappPayments;

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

/**
* The status of the EPS payments capability of the account, or whether the account can directly
* process EPS charges.
Expand Down Expand Up @@ -2980,12 +2989,27 @@ public static class Schedule extends StripeObject {
@SerializedName("monthly_anchor")
Long monthlyAnchor;

/**
* The days of the month funds will be paid out. Only shown if {@code interval} is monthly.
* Payouts scheduled between the 29th and 31st of the month are sent on the last day of
* shorter months.
*/
@SerializedName("monthly_payout_days")
List<Long> monthlyPayoutDays;

/**
* The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only
* shown if {@code interval} is weekly.
*/
@SerializedName("weekly_anchor")
String weeklyAnchor;

/**
* The days of the week when available funds are paid out, specified as an array, for
* example, [{@code monday}, {@code tuesday}]. Only shown if {@code interval} is weekly.
*/
@SerializedName("weekly_payout_days")
List<String> weeklyPayoutDays;
}
}

Expand Down
Loading
Loading