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 @@
aa10ab9548143dbe396ae1e91e443c64473cbdc2
161b2a6978a9cd8c0c376d83ae012fd5a7da2fe1
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2294
v2315
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
14 changes: 10 additions & 4 deletions stripe/_charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,11 +481,9 @@ class Boleto(StripeObject):

class Card(StripeObject):
class AccountFunding(StripeObject):
processed_transaction_type: Optional[
Literal["account_funding", "purchase"]
]
status: Literal["disabled", "enabled"]
"""
The transaction type of the card transaction. One of `account_funding` or `purchase`.
Indicates whether or not this charge is a funding transaction.
"""

class Benefits(StripeObject):
Expand Down Expand Up @@ -2237,6 +2235,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 +2378,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 +2455,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
12 changes: 12 additions & 0 deletions stripe/_mandate.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@ class BacsDebit(StripeObject):
The URL that will contain the mandate that the customer has signed.
"""

class Blik(StripeObject):
expires_after: Optional[int]
"""
Date at which the mandate expires.
"""
type: Literal["off_session", "on_session"]
"""
Type of the mandate.
"""

class Card(StripeObject):
pass

Expand Down Expand Up @@ -290,6 +300,7 @@ class UsBankAccount(StripeObject):
amazon_pay: Optional[AmazonPay]
au_becs_debit: Optional[AuBecsDebit]
bacs_debit: Optional[BacsDebit]
blik: Optional[Blik]
card: Optional[Card]
cashapp: Optional[Cashapp]
kakao_pay: Optional[KakaoPay]
Expand All @@ -315,6 +326,7 @@ class UsBankAccount(StripeObject):
"amazon_pay": AmazonPay,
"au_becs_debit": AuBecsDebit,
"bacs_debit": BacsDebit,
"blik": Blik,
"card": Card,
"cashapp": Cashapp,
"kakao_pay": KakaoPay,
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