Skip to content
Open
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ This release changes the pinned API version to 2026-05-27.private.
* Add support for snapshot event `payment_intent.expired` with resource `PaymentIntent`
* Add support for event notifications `V2CoreHealthElementsErrorFiringEvent`, `V2CoreHealthElementsErrorResolvedEvent`, `V2CoreHealthInvoiceCountDroppedFiringEvent`, and `V2CoreHealthInvoiceCountDroppedResolvedEvent`

## 15.2.1 - 2026-06-12
* [#1825](https://github.com/stripe/stripe-python/pull/1825) Add "source" field to user-agent header

## 15.2.0 - 2026-05-27
This release changes the pinned API version to 2026-05-27.dahlia.

Expand Down
2 changes: 1 addition & 1 deletion CODEGEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aa10ab9548143dbe396ae1e91e443c64473cbdc2
c26e09541d712091b4cadc0d5fc3c08c5e21cd3d
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2294
v2305
4 changes: 4 additions & 0 deletions stripe/_account_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ class Features(StripeObject):
"""
Whether to enable the bill management feature that grants access to bill creation and payment.
"""
disable_stripe_user_authentication: bool
"""
Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. This is `false` by default.
"""
send_money: bool
"""
Whether to enable the send money feature that grants access to bill creation and payment.
Expand Down
8 changes: 8 additions & 0 deletions stripe/_charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -2237,6 +2237,12 @@ class Swish(StripeObject):
The last four digits of the Swish account phone number
"""

class Tamara(StripeObject):
transaction_id: Optional[str]
"""
The Tamara transaction ID associated with this payment.
"""

class Twint(StripeObject):
mandate: Optional[str]
"""
Expand Down Expand Up @@ -2374,6 +2380,7 @@ class Zip(StripeObject):
stripe_balance: Optional[StripeBalance]
sunbit: Optional[Sunbit]
swish: Optional[Swish]
tamara: Optional[Tamara]
twint: Optional[Twint]
type: str
"""
Expand Down Expand Up @@ -2450,6 +2457,7 @@ class Zip(StripeObject):
"stripe_balance": StripeBalance,
"sunbit": Sunbit,
"swish": Swish,
"tamara": Tamara,
"twint": Twint,
"upi": Upi,
"us_bank_account": UsBankAccount,
Expand Down
10 changes: 6 additions & 4 deletions stripe/_confirmation_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,10 +999,6 @@ class GiftCard(StripeObject):
"""
Uniquely identifies the gift card.
"""
first6: str
"""
The first six digits of the gift card number.
"""
last4: Optional[str]
"""
The last four digits of the gift card number.
Expand Down Expand Up @@ -1465,6 +1461,9 @@ class Sunbit(StripeObject):
class Swish(StripeObject):
pass

class Tamara(StripeObject):
pass

class Twint(StripeObject):
pass

Expand Down Expand Up @@ -1644,6 +1643,7 @@ class Zip(StripeObject):
stripe_balance: Optional[StripeBalance]
sunbit: Optional[Sunbit]
swish: Optional[Swish]
tamara: Optional[Tamara]
twint: Optional[Twint]
type: Literal[
"acss_debit",
Expand Down Expand Up @@ -1706,6 +1706,7 @@ class Zip(StripeObject):
"stripe_balance",
"sunbit",
"swish",
"tamara",
"twint",
"upi",
"us_bank_account",
Expand Down Expand Up @@ -1780,6 +1781,7 @@ class Zip(StripeObject):
"stripe_balance": StripeBalance,
"sunbit": Sunbit,
"swish": Swish,
"tamara": Tamara,
"twint": Twint,
"upi": Upi,
"us_bank_account": UsBankAccount,
Expand Down
4 changes: 4 additions & 0 deletions stripe/_gift_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ class GiftCard(CreateableAPIResource["GiftCard"]):
"""
The expiration year of the gift card.
"""
fingerprint: str
"""
Uniquely identifies this particular gift card number. You can use this attribute to check whether two gift cards are the same.
"""
id: str
"""
Unique identifier for the object.
Expand Down
8 changes: 7 additions & 1 deletion stripe/_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,13 @@ class WechatPay(StripeObject):
"""
The app ID registered with WeChat Pay. Only required when client is ios or android.
"""
client: Optional[Literal["android", "ios", "web"]]
buyer_id: Optional[str]
"""
The unique buyer ID for the app ID registered with WeChat Pay. Only required when client is mini_program.
"""
client: Optional[
Literal["android", "ios", "mini_program", "web"]
]
"""
The client type that the end customer will pay from
"""
Expand Down
8 changes: 8 additions & 0 deletions stripe/_payment_attempt_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -1973,6 +1973,12 @@ class Swish(StripeObject):
The last four digits of the Swish account phone number
"""

class Tamara(StripeObject):
transaction_id: Optional[str]
"""
The Tamara transaction ID associated with this payment.
"""

class Twint(StripeObject):
mandate: Optional[str]
"""
Expand Down Expand Up @@ -2127,6 +2133,7 @@ class Zip(StripeObject):
stripe_balance: Optional[StripeBalance]
sunbit: Optional[Sunbit]
swish: Optional[Swish]
tamara: Optional[Tamara]
twint: Optional[Twint]
type: str
"""
Expand Down Expand Up @@ -2205,6 +2212,7 @@ class Zip(StripeObject):
"stripe_balance": StripeBalance,
"sunbit": Sunbit,
"swish": Swish,
"tamara": Tamara,
"twint": Twint,
"upi": Upi,
"us_bank_account": UsBankAccount,
Expand Down
Loading
Loading