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 @@
2025-07-30.basil
2025-08-27.basil
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1868
v1932
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,6 +2,6 @@
package com.stripe;

final class ApiVersion {
public static final String CURRENT = "2025-07-30.basil";
public static final String CURRENT = "2025-08-27.basil";
public static final String CURRENT_MAJOR = "basil";
}
6 changes: 4 additions & 2 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,8 @@ public static class Document extends StripeObject {
/**
* The back of a document returned by a <a
* href="https://stripe.com/docs/api#create_file">file upload</a> with a {@code purpose}
* value of {@code additional_verification}.
* value of {@code additional_verification}. Note that {@code additional_verification} files
* are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
*/
@SerializedName("back")
@Getter(lombok.AccessLevel.NONE)
Expand All @@ -1740,7 +1741,8 @@ public static class Document extends StripeObject {
/**
* The front of a document returned by a <a
* href="https://stripe.com/docs/api#create_file">file upload</a> with a {@code purpose}
* value of {@code additional_verification}.
* value of {@code additional_verification}. Note that {@code additional_verification} files
* are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
*/
@SerializedName("front")
@Getter(lombok.AccessLevel.NONE)
Expand Down
84 changes: 84 additions & 0 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ public static class Components extends StripeObject {
@SerializedName("account_onboarding")
AccountOnboarding accountOnboarding;

@SerializedName("balance_report")
BalanceReport balanceReport;

@SerializedName("balances")
Balances balances;

Expand Down Expand Up @@ -168,6 +171,12 @@ public static class Components extends StripeObject {
@SerializedName("payments")
Payments payments;

@SerializedName("payout_details")
PayoutDetails payoutDetails;

@SerializedName("payout_reconciliation_report")
PayoutReconciliationReport payoutReconciliationReport;

@SerializedName("payouts")
Payouts payouts;

Expand Down Expand Up @@ -268,6 +277,31 @@ public static class Features extends StripeObject {
}
}

/**
* For more details about BalanceReport, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BalanceReport 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 Balances, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -823,6 +857,56 @@ public static class Features extends StripeObject {
}
}

/**
* For more details about PayoutDetails, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PayoutDetails 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 PayoutReconciliationReport, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PayoutReconciliationReport 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 Payouts, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
13 changes: 5 additions & 8 deletions src/main/java/com/stripe/model/Balance.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@
* This is an object representing your Stripe balance. You can retrieve it to see the balance
* currently on your Stripe account.
*
* <p>You can also retrieve the balance history, which contains a list of <a
* href="https://stripe.com/docs/reporting/balance-transaction-types">transactions</a> that
* contributed to the balance (charges, payouts, and so forth).
* <p>The top-level {@code available} and {@code pending} comprise your &quot;payments
* balance.&quot;
*
* <p>The available and pending amounts for each currency are broken down further by payment source
* types.
*
* <p>Related guide: <a href="https://stripe.com/docs/connect/account-balances">Understanding
* Connect account balances</a>
* <p>Related guide: <a href="https://stripe.com/docs/payments/balances">Balances and settlement
* time</a>, <a href="https://stripe.com/docs/connect/account-balances">Understanding Connect
* account balances</a>
*/
@Getter
@Setter
Expand Down
87 changes: 79 additions & 8 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,8 @@ public static class Outcome extends StripeObject {
String networkAdviceCode;

/**
* For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates
* the reason the authorization failed.
* For charges declined by the network, an alphanumeric code which indicates the reason the
* charge failed.
*/
@SerializedName("network_decline_code")
String networkDeclineCode;
Expand All @@ -1052,9 +1052,10 @@ public static class Outcome extends StripeObject {
* An enumerated value providing a more detailed explanation of the outcome's {@code type}.
* Charges blocked by Radar's default block rule have the value {@code highest_risk_level}.
* Charges placed in review by Radar's default review rule have the value {@code
* elevated_risk_level}. Charges authorized, blocked, or placed in review by custom rules have
* the value {@code rule}. See <a href="https://stripe.com/docs/declines">understanding
* declines</a> for more details.
* elevated_risk_level}. Charges blocked because the payment is unlikely to be authorized have
* the value {@code low_probability_of_authorization}. Charges authorized, blocked, or placed in
* review by custom rules have the value {@code rule}. See <a
* href="https://stripe.com/docs/declines">understanding declines</a> for more details.
*/
@SerializedName("reason")
String reason;
Expand Down Expand Up @@ -1504,7 +1505,27 @@ public static class Alipay extends StripeObject {
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Alma extends StripeObject {}
public static class Alma extends StripeObject {
@SerializedName("installments")
Installments installments;

/** The Alma transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;

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

/**
* For more details about AmazonPay, please refer to the <a
Expand All @@ -1517,6 +1538,10 @@ public static class AmazonPay extends StripeObject {
@SerializedName("funding")
Funding funding;

/** The Amazon Pay transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;

/**
* For more details about Funding, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -1738,7 +1763,11 @@ public void setGeneratedSepaDebitMandateObject(Mandate expandableObject) {
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Billie extends StripeObject {}
public static class Billie extends StripeObject {
/** The Billie transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
* For more details about Blik, please refer to the <a href="https://docs.stripe.com/api">API
Expand Down Expand Up @@ -3101,6 +3130,10 @@ public static class KakaoPay extends StripeObject {
/** A unique identifier for the buyer as determined by the local payment processor. */
@SerializedName("buyer_id")
String buyerId;

/** The Kakao Pay transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
Expand Down Expand Up @@ -3223,6 +3256,10 @@ public static class KrCard extends StripeObject {
/** The last four digits of the card. This may not be present for American Express cards. */
@SerializedName("last4")
String last4;

/** The Korean Card transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
Expand Down Expand Up @@ -3311,6 +3348,10 @@ public static class NaverPay extends StripeObject {
/** A unique identifier for the buyer as determined by the local payment processor. */
@SerializedName("buyer_id")
String buyerId;

/** The Naver Pay transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
Expand Down Expand Up @@ -3416,6 +3457,10 @@ public static class Payco extends StripeObject {
/** A unique identifier for the buyer as determined by the local payment processor. */
@SerializedName("buyer_id")
String buyerId;

/** The Payco transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
Expand All @@ -3426,6 +3471,20 @@ public static class Payco extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Paynow extends StripeObject {
/**
* ID of the <a href="https://stripe.com/docs/api/terminal/locations">location</a> that this
* transaction's reader is assigned to.
*/
@SerializedName("location")
String location;

/**
* ID of the <a href="https://stripe.com/docs/api/terminal/readers">reader</a> this
* transaction was made on.
*/
@SerializedName("reader")
String reader;

/** Reference number associated with this PayNow payment. */
@SerializedName("reference")
String reference;
Expand Down Expand Up @@ -3535,6 +3594,10 @@ public static class RevolutPay extends StripeObject {
@SerializedName("funding")
Funding funding;

/** The Revolut Pay transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;

/**
* For more details about Funding, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -3610,6 +3673,10 @@ public static class SamsungPay extends StripeObject {
/** A unique identifier for the buyer as determined by the local payment processor. */
@SerializedName("buyer_id")
String buyerId;

/** The Samsung Pay transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
Expand All @@ -3619,7 +3686,11 @@ public static class SamsungPay extends StripeObject {
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Satispay extends StripeObject {}
public static class Satispay extends StripeObject {
/** The Satispay transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
* For more details about SepaCreditTransfer, please refer to the <a
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/com/stripe/model/Dispute.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ public class Dispute extends ApiResource
String reason;

/**
* Current status of dispute. Possible values are {@code warning_needs_response}, {@code
* The current status of a dispute. Possible values include:{@code warning_needs_response}, {@code
* warning_under_review}, {@code warning_closed}, {@code needs_response}, {@code under_review},
* {@code won}, or {@code lost}.
* {@code won}, {@code lost}, or {@code prevented}.
*
* <p>One of {@code lost}, {@code needs_response}, {@code under_review}, {@code warning_closed},
* {@code warning_needs_response}, {@code warning_under_review}, or {@code won}.
Expand Down Expand Up @@ -1166,7 +1166,8 @@ public static class Card extends StripeObject {
* The type of dispute opened. Different case types may have varying fees and financial
* impact.
*
* <p>One of {@code chargeback}, {@code compliance}, or {@code inquiry}.
* <p>One of {@code block}, {@code chargeback}, {@code compliance}, {@code inquiry}, or {@code
* resolution}.
*/
@SerializedName("case_type")
String caseType;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/File.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public class File extends ApiResource implements HasId {
* document_provider_identity_document}, {@code finance_report_run}, {@code
* financial_account_statement}, {@code identity_document}, {@code
* identity_document_downloadable}, {@code issuing_regulatory_reporting}, {@code pci_document},
* {@code selfie}, {@code sigma_scheduled_query}, {@code tax_document_user_upload}, or {@code
* terminal_reader_splashscreen}.
* {@code selfie}, {@code sigma_scheduled_query}, {@code tax_document_user_upload}, {@code
* terminal_android_apk}, or {@code terminal_reader_splashscreen}.
*/
@SerializedName("purpose")
String purpose;
Expand Down
Loading