Skip to content

Commit 5d2eccc

Browse files
Update generated code (#1450)
* Update generated code for v1463 * Update generated code for v1494 * Update generated code for v1495 * Update generated code for v1501 * Update generated code for v1505 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: prathmesh-stripe <[email protected]>
1 parent 3b38f6f commit 5d2eccc

31 files changed

+592
-107
lines changed

CONTRIBUTING.md

-25
This file was deleted.

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1455
1+
v1505

stripe/_api_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
# File generated from our OpenAPI spec
33
class _ApiVersion:
4-
CURRENT = "2025-01-27.acacia"
4+
CURRENT = "2025-02-24.acacia"

stripe/_balance.py

+18-18
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ class Available(StripeObject):
2828
class SourceTypes(StripeObject):
2929
bank_account: Optional[int]
3030
"""
31-
Amount for bank account.
31+
Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
3232
"""
3333
card: Optional[int]
3434
"""
35-
Amount for card.
35+
Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
3636
"""
3737
fpx: Optional[int]
3838
"""
39-
Amount for FPX.
39+
Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
4040
"""
4141

4242
amount: int
@@ -54,15 +54,15 @@ class ConnectReserved(StripeObject):
5454
class SourceTypes(StripeObject):
5555
bank_account: Optional[int]
5656
"""
57-
Amount for bank account.
57+
Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
5858
"""
5959
card: Optional[int]
6060
"""
61-
Amount for card.
61+
Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
6262
"""
6363
fpx: Optional[int]
6464
"""
65-
Amount for FPX.
65+
Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
6666
"""
6767

6868
amount: int
@@ -81,15 +81,15 @@ class NetAvailable(StripeObject):
8181
class SourceTypes(StripeObject):
8282
bank_account: Optional[int]
8383
"""
84-
Amount for bank account.
84+
Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
8585
"""
8686
card: Optional[int]
8787
"""
88-
Amount for card.
88+
Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
8989
"""
9090
fpx: Optional[int]
9191
"""
92-
Amount for FPX.
92+
Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
9393
"""
9494

9595
amount: int
@@ -106,15 +106,15 @@ class SourceTypes(StripeObject):
106106
class SourceTypes(StripeObject):
107107
bank_account: Optional[int]
108108
"""
109-
Amount for bank account.
109+
Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
110110
"""
111111
card: Optional[int]
112112
"""
113-
Amount for card.
113+
Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
114114
"""
115115
fpx: Optional[int]
116116
"""
117-
Amount for FPX.
117+
Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
118118
"""
119119

120120
amount: int
@@ -140,15 +140,15 @@ class Available(StripeObject):
140140
class SourceTypes(StripeObject):
141141
bank_account: Optional[int]
142142
"""
143-
Amount for bank account.
143+
Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
144144
"""
145145
card: Optional[int]
146146
"""
147-
Amount for card.
147+
Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
148148
"""
149149
fpx: Optional[int]
150150
"""
151-
Amount for FPX.
151+
Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
152152
"""
153153

154154
amount: int
@@ -172,15 +172,15 @@ class Pending(StripeObject):
172172
class SourceTypes(StripeObject):
173173
bank_account: Optional[int]
174174
"""
175-
Amount for bank account.
175+
Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
176176
"""
177177
card: Optional[int]
178178
"""
179-
Amount for card.
179+
Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
180180
"""
181181
fpx: Optional[int]
182182
"""
183-
Amount for FPX.
183+
Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
184184
"""
185185

186186
amount: int

stripe/_charge.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ class ShippingAddress(StripeObject):
836836
"""
837837
network_transaction_id: Optional[str]
838838
"""
839-
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
839+
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
840840
"""
841841
overcapture: Optional[Overcapture]
842842
regulated_status: Optional[Literal["regulated", "unregulated"]]
@@ -998,7 +998,7 @@ class Wallet(StripeObject):
998998
"""
999999
network_transaction_id: Optional[str]
10001000
"""
1001-
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1001+
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
10021002
"""
10031003
offline: Optional[Offline]
10041004
"""
@@ -1321,7 +1321,7 @@ class Receipt(StripeObject):
13211321
"""
13221322
network_transaction_id: Optional[str]
13231323
"""
1324-
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1324+
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
13251325
"""
13261326
preferred_locales: Optional[List[str]]
13271327
"""
@@ -1853,7 +1853,7 @@ class Zip(StripeObject):
18531853
twint: Optional[Twint]
18541854
type: str
18551855
"""
1856-
The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
1856+
The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
18571857
An additional hash is included on `payment_method_details` with a name matching this value.
18581858
It contains information specific to the payment method.
18591859
"""

stripe/_confirmation_token.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ class Wallet(StripeObject):
355355
"""
356356
network_transaction_id: Optional[str]
357357
"""
358-
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
358+
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
359359
"""
360360
offline: Optional[Offline]
361361
"""
@@ -418,7 +418,7 @@ class Wallet(StripeObject):
418418
class Networks(StripeObject):
419419
available: List[str]
420420
"""
421-
All available networks for the card.
421+
All networks available for selection via [payment_method_options.card.network](https://stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
422422
"""
423423
preferred: Optional[str]
424424
"""
@@ -710,7 +710,7 @@ class CardPresent(StripeObject):
710710
class Networks(StripeObject):
711711
available: List[str]
712712
"""
713-
All available networks for the card.
713+
All networks available for selection via [payment_method_options.card.network](https://stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
714714
"""
715715
preferred: Optional[str]
716716
"""
@@ -958,7 +958,7 @@ class InteracPresent(StripeObject):
958958
class Networks(StripeObject):
959959
available: List[str]
960960
"""
961-
All available networks for the card.
961+
All networks available for selection via [payment_method_options.card.network](https://stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
962962
"""
963963
preferred: Optional[str]
964964
"""

stripe/_credit_note.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ class Tax(StripeObject):
8484
"""
8585
rate: "TaxRate"
8686
"""
87-
Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.
87+
Tax rates can be applied to [invoices](https://stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
8888
89-
Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)
89+
Related guide: [Tax rates](https://stripe.com/billing/taxes/tax-rates)
9090
"""
9191
taxability_reason: Optional[
9292
Literal[

stripe/_invoice.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -865,9 +865,9 @@ class Tax(StripeObject):
865865
"""
866866
rate: "TaxRate"
867867
"""
868-
Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.
868+
Tax rates can be applied to [invoices](https://stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
869869
870-
Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)
870+
Related guide: [Tax rates](https://stripe.com/billing/taxes/tax-rates)
871871
"""
872872
taxability_reason: Optional[
873873
Literal[

stripe/_line_item.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ class Tax(StripeObject):
3737
"""
3838
rate: "TaxRate"
3939
"""
40-
Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.
40+
Tax rates can be applied to [invoices](https://stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
4141
42-
Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)
42+
Related guide: [Tax rates](https://stripe.com/billing/taxes/tax-rates)
4343
"""
4444
taxability_reason: Optional[
4545
Literal[

0 commit comments

Comments
 (0)