Skip to content

Commit

Permalink
Codegen for openapi v204
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-stripe committed Nov 1, 2022
1 parent 16812ae commit 8951071
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v196
v204
4 changes: 4 additions & 0 deletions stripe/api_resources/refund.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class Refund(
but not yet refunded. Funds will be refunded to the credit or debit card that
was originally charged.
Stripe Tax users with recurring payments and invoices can create [Credit Notes](https://stripe.com/docs/api/credit_notes),
which reduce overall tax liability because tax is correctly recalculated and
apportioned to the related invoice.
Related guide: [Refunds](https://stripe.com/docs/refunds).
"""

Expand Down
4 changes: 4 additions & 0 deletions stripe/api_resources/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ class Source(CreateableAPIResource, UpdateableAPIResource):
just like a `Card` object: once chargeable, they can be charged, or can be
attached to customers.
Stripe doesn't recommend using the deprecated [Sources API](https://stripe.com/docs/api/sources).
We recommend that you adopt the [PaymentMethods API](https://stripe.com/docs/api/payment_methods).
This newer API provides access to our latest features and payment method types.
Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers).
"""

Expand Down

0 comments on commit 8951071

Please sign in to comment.