Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
4fb066b
Update generated code for v2295 and 6f145c2614d8c9cc87bf358f4f93c44e3…
stripe-openapi[bot] Jun 12, 2026
8c63427
Update generated code for v2296 and 8a1c7d2f1fe275b292b3211f80a7833af…
stripe-openapi[bot] Jun 12, 2026
8015506
Update generated code for v2297 and 3111dcf5bcfa362f9fc8da776e0892504…
stripe-openapi[bot] Jun 12, 2026
482874d
Update generated code for v2298 and 7665b3a0f31b86696e50b95679348d8b1…
stripe-openapi[bot] Jun 12, 2026
df4ab28
Update generated code for v2299 and 161b47dfc5d5f9332c906a572b90ce855…
stripe-openapi[bot] Jun 12, 2026
a7b32ef
Update generated code for v2300 and 310a8f6be0f5ff9f63d26e1cfac9d08b2…
stripe-openapi[bot] Jun 12, 2026
561277e
Update generated code for v2301 and c20e0e5333d06539a914faeb375b14916…
stripe-openapi[bot] Jun 12, 2026
4b48a65
Update generated code for v2302 and 10e358891bc1660a5bd7a6e82a6c7b3df…
stripe-openapi[bot] Jun 12, 2026
0f01f70
Update generated code for v2303 and 368e28dbde85e762b031f0eadf904591c…
stripe-openapi[bot] Jun 12, 2026
b87b35e
Remove retired manual API tests covered by GeneratedExamplesTest (#2236)
jar-stripe Jun 12, 2026
815a57b
Merge upstream and update generated code for v2305 and 82247e059d3b5a…
stripe-openapi[bot] Jun 13, 2026
0fb52d0
Update generated code for v2307 and cdaaf636cf151ac703fe3aa014b5ab640…
stripe-openapi[bot] Jun 15, 2026
c39bef1
Update generated code for v2309 and dbad6fd3f98cb69a53ab27765bb6ca923…
stripe-openapi[bot] Jun 15, 2026
6eaab2a
Update generated code for v2310 and fcc6f448e0f2cf3352ae49d4484a2ca89…
stripe-openapi[bot] Jun 16, 2026
fed4870
Update generated code for v2311 and 9f1b026510bc9d939dc89ab90fff40d27…
stripe-openapi[bot] Jun 16, 2026
86b7868
Update generated code for v2312 and 5f0e6efdb502d18c3a10c3f57a04bf916…
stripe-openapi[bot] Jun 16, 2026
a07aafd
Update generated code for v2313 and b64acdd8dfaa2a49ba973692e6ba333da…
stripe-openapi[bot] Jun 16, 2026
1731512
Add PR disclaimer to README (#2237)
xavdid Jun 16, 2026
608fcbf
Merge upstream and update generated code for v2314 and d4c29f23507218…
stripe-openapi[bot] Jun 16, 2026
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 @@
aa10ab9548143dbe396ae1e91e443c64473cbdc2
d4c29f2350721870596931042bd8edf49187fe0c
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2294
v2314
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ New features and bug fixes are released on the latest major version of the Strip

## Development

> [!WARNING]
> External contributions to this repo from first-time contributors are currently on hiatus. If you'd like to see a change made to the package, please open an issue.

[Contribution guidelines for this project](CONTRIBUTING.md)

JDK 17 is required to build the Stripe Java library. By default, tests use the same Java runtime as the build.
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,14 @@ public static class Features extends StripeObject {
@SerializedName("bill_management")
Boolean billManagement;

/**
* Whether Stripe user authentication is disabled. This value can only be {@code true} for
* accounts where {@code controller.requirement_collection} is {@code application} for the
* account. This is {@code false} by default.
*/
@SerializedName("disable_stripe_user_authentication")
Boolean disableStripeUserAuthentication;

/**
* Whether to enable the send money feature that grants access to bill creation and payment.
*/
Expand Down
25 changes: 21 additions & 4 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,9 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("swish")
Swish swish;

@SerializedName("tamara")
Tamara tamara;

@SerializedName("twint")
Twint twint;

Expand Down Expand Up @@ -2077,11 +2080,12 @@ public static class Card extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class AccountFunding extends StripeObject {
/**
* The transaction type of the card transaction. One of {@code account_funding} or {@code
* purchase}.
* Indicates whether or not this charge is a funding transaction.
*
* <p>One of {@code disabled}, or {@code enabled}.
*/
@SerializedName("processed_transaction_type")
String processedTransactionType;
@SerializedName("status")
String status;
}

/**
Expand Down Expand Up @@ -4456,6 +4460,19 @@ public static class Swish extends StripeObject {
String verifiedPhoneLast4;
}

/**
* For more details about Tamara, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Tamara extends StripeObject {
/** The Tamara transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
* For more details about Twint, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
20 changes: 14 additions & 6 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,9 @@ public static class PaymentMethodPreview extends StripeObject {
@SerializedName("swish")
Swish swish;

@SerializedName("tamara")
Tamara tamara;

@SerializedName("twint")
Twint twint;

Expand All @@ -490,8 +493,8 @@ public static class PaymentMethodPreview extends StripeObject {
* paypal}, {@code paypay}, {@code payto}, {@code pix}, {@code promptpay}, {@code qris}, {@code
* rechnung}, {@code revolut_pay}, {@code samsung_pay}, {@code satispay}, {@code scalapay},
* {@code sepa_debit}, {@code shopeepay}, {@code sofort}, {@code stripe_balance}, {@code
* sunbit}, {@code swish}, {@code twint}, {@code upi}, {@code us_bank_account}, {@code
* wechat_pay}, or {@code zip}.
* sunbit}, {@code swish}, {@code tamara}, {@code twint}, {@code upi}, {@code us_bank_account},
* {@code wechat_pay}, or {@code zip}.
*/
@SerializedName("type")
String type;
Expand Down Expand Up @@ -1805,10 +1808,6 @@ public static class GiftCard extends StripeObject {
@SerializedName("fingerprint")
String fingerprint;

/** The first six digits of the gift card number. */
@SerializedName("first6")
String first6;

/** The last four digits of the gift card number. */
@SerializedName("last4")
String last4;
Expand Down Expand Up @@ -2597,6 +2596,15 @@ public static class Sunbit extends StripeObject {}
@EqualsAndHashCode(callSuper = false)
public static class Swish extends StripeObject {}

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

/**
* For more details about Twint, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
22 changes: 11 additions & 11 deletions src/main/java/com/stripe/model/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,15 @@ public class Event extends ApiResource implements HasId {
* account.external_account.updated}, {@code account.updated}, {@code account_notice.created},
* {@code account_notice.updated}, {@code application_fee.created}, {@code
* application_fee.refund.updated}, {@code application_fee.refunded}, {@code balance.available},
* {@code balance_settings.updated}, {@code billing.alert.triggered}, {@code
* billing.credit_grant.created}, {@code billing_portal.configuration.created}, {@code
* billing_portal.configuration.updated}, {@code billing_portal.session.created}, {@code
* capability.updated}, {@code capital.financing_offer.accepted}, {@code
* capital.financing_offer.accepted_other_offer}, {@code capital.financing_offer.canceled}, {@code
* capital.financing_offer.created}, {@code capital.financing_offer.expired}, {@code
* capital.financing_offer.fully_repaid}, {@code capital.financing_offer.paid_out}, {@code
* capital.financing_offer.rejected}, {@code capital.financing_offer.replacement_created}, {@code
* {@code balance_settings.updated}, {@code billing.alert.recovered}, {@code
* billing.alert.triggered}, {@code billing.credit_grant.created}, {@code
* billing_portal.configuration.created}, {@code billing_portal.configuration.updated}, {@code
* billing_portal.session.created}, {@code capability.updated}, {@code
* capital.financing_offer.accepted}, {@code capital.financing_offer.accepted_other_offer}, {@code
* capital.financing_offer.canceled}, {@code capital.financing_offer.created}, {@code
* capital.financing_offer.expired}, {@code capital.financing_offer.fully_repaid}, {@code
* capital.financing_offer.paid_out}, {@code capital.financing_offer.rejected}, {@code
* capital.financing_offer.replacement_created}, {@code
* capital.financing_summary.line_of_credit_update}, {@code
* capital.financing_transaction.created}, {@code cash_balance.funds_available}, {@code
* charge.captured}, {@code charge.dispute.closed}, {@code charge.dispute.created}, {@code
Expand Down Expand Up @@ -184,8 +185,8 @@ public class Event extends ApiResource implements HasId {
* {@code issuing_transaction.created}, {@code
* issuing_transaction.purchase_details_receipt_updated}, {@code issuing_transaction.updated},
* {@code mandate.updated}, {@code payment_intent.amount_capturable_updated}, {@code
* payment_intent.canceled}, {@code payment_intent.created}, {@code
* payment_intent.partially_funded}, {@code payment_intent.payment_failed}, {@code
* payment_intent.canceled}, {@code payment_intent.created}, {@code payment_intent.expired},
* {@code payment_intent.partially_funded}, {@code payment_intent.payment_failed}, {@code
* payment_intent.processing}, {@code payment_intent.requires_action}, {@code
* payment_intent.succeeded}, {@code payment_link.created}, {@code payment_link.updated}, {@code
* payment_method.attached}, {@code payment_method.automatically_updated}, {@code
Expand Down Expand Up @@ -242,7 +243,6 @@ public class Event extends ApiResource implements HasId {
* treasury.outbound_transfer.tracking_details_updated}, {@code treasury.received_credit.created},
* {@code treasury.received_credit.failed}, {@code treasury.received_credit.succeeded}, {@code
* treasury.received_debit.created}, {@code invoice_payment.detached}, {@code
* billing.alert.recovered}, {@code payment_intent.expired}, {@code
* billing.credit_balance_transaction.created}, {@code billing.credit_grant.updated}, {@code
* billing.meter.created}, {@code billing.meter.deactivated}, {@code billing.meter.reactivated},
* or {@code billing.meter.updated}.
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/com/stripe/model/GiftCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ public class GiftCard extends ApiResource implements HasId {
@SerializedName("exp_year")
Long expYear;

/**
* Uniquely identifies this particular gift card number. You can use this attribute to check
* whether two gift cards are the same.
*/
@SerializedName("fingerprint")
String fingerprint;

/** Unique identifier for the object. */
@Getter(onMethod_ = {@Override})
@SerializedName("id")
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/stripe/model/Mandate.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("bacs_debit")
BacsDebit bacsDebit;

@SerializedName("blik")
Blik blik;

@SerializedName("card")
Card card;

Expand Down Expand Up @@ -420,6 +423,27 @@ public static class BacsDebit extends StripeObject {
String url;
}

/**
* For more details about Blik, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Blik extends StripeObject {
/** Date at which the mandate expires. */
@SerializedName("expires_after")
Long expiresAfter;

/**
* Type of the mandate.
*
* <p>One of {@code off_session}, or {@code on_session}.
*/
@SerializedName("type")
String type;
}

/**
* For more details about Card, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
9 changes: 8 additions & 1 deletion src/main/java/com/stripe/model/Order.java
Original file line number Diff line number Diff line change
Expand Up @@ -1524,10 +1524,17 @@ public static class WechatPay extends StripeObject {
@SerializedName("app_id")
String appId;

/**
* The unique buyer ID for the app ID registered with WeChat Pay. Only required when
* client is mini_program.
*/
@SerializedName("buyer_id")
String buyerId;

/**
* The client type that the end customer will pay from
*
* <p>One of {@code android}, {@code ios}, or {@code web}.
* <p>One of {@code android}, {@code ios}, {@code mini_program}, or {@code web}.
*/
@SerializedName("client")
String client;
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/stripe/model/PaymentAttemptRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,9 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("swish")
Swish swish;

@SerializedName("tamara")
Tamara tamara;

@SerializedName("twint")
Twint twint;

Expand Down Expand Up @@ -3801,6 +3804,19 @@ public static class Swish extends StripeObject {
String verifiedPhoneLast4;
}

/**
* For more details about Tamara, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Tamara extends StripeObject {
/** The Tamara transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
* For more details about Twint, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
Loading
Loading