Change identity.VerificationReport.type to be required
Change type of identity.VerificationSession.type from Optional[Literal["document", "id_number"]] to Literal["document", "id_number"]
Add support for number on Invoice.CreateParams and Invoice.ModifyParams
Add support for enable_customer_cancellation on terminal.Reader.Action.ProcessPaymentIntent.process_config, Terminal.Reader.Action.ProcessSetupIntent.process_config, Terminal.Reader.ProcessPaymentIntentParams.process_config, and Terminal.Reader.ProcessSetupIntentParams.process_config
Add support for refund_payment_config on Terminal.Reader.Action.refund_payment and Terminal.Reader.RefundPaymentParams
Add support for payment_method on Token.CreateParams.bank_account
Add list_refunds and retrieve_refund methods on resource Charge.
Python async - In this beta release, async support is now "feature complete". If you notice missing async support for something, it's probably a bug! Usage instructions for the async interface are available in the README.md.
#1253 Beta: Support 'allow_sync_methods=False' in HTTPXClient
#1239 Beta: Collapse HTTPClientAsync into HTTPClient
⚠️ Removes the stripe.default_http_client_async global and the stripe.HTTPClientAsync class.
To set your own async-enabled http client, set stripe.default_http_client to a subclass of stripe.HTTPClient such as stripe.HTTPXClient that implements .request_async, .sleep_async, .request_stream_async, and .close_async.
The default http client of the library is still RequestsClient for synchronous methods, that "falls back" to a HTTPXClient when asynchronous methods are called.
Change identity.VerificationReport.type to be required
Change type of identity.VerificationSession.type from Optional[Literal["document", "id_number"]] to Literal["document", "id_number"]
Add support for number on Invoice.CreateParams and Invoice.ModifyParams
Add support for enable_customer_cancellation on terminal.Reader.Action.ProcessPaymentIntent.process_config, Terminal.Reader.Action.ProcessSetupIntent.process_config, Terminal.Reader.ProcessPaymentIntentParams.process_config, and Terminal.Reader.ProcessSetupIntentParams.process_config
Add support for refund_payment_config on Terminal.Reader.Action.refund_payment and Terminal.Reader.RefundPaymentParams
Add support for payment_method on Token.CreateParams.bank_account
Add list_refunds and retrieve_refund methods on resource Charge.
Add support for networks on Card, PaymentMethod.CreateParamsCard, PaymentMethod.ModifyParamsCard, and Token.CreateParamsCard
Add support for new value no_voec on enums Checkout.Session.CustomerDetails.TaxId.type, Invoice.CustomerTaxId.type, Tax.Calculation.CustomerDetails.TaxId.type, Tax.Transaction.CustomerDetails.TaxId.type, and TaxId.type
Add support for new value no_voec on enums Customer.CreateParams.tax_id_data[].type, Invoice.UpcomingLinesParams.customer_details.tax_ids[].type, Invoice.UpcomingParams.customer_details.tax_ids[].type, and Tax.Calculation.CreateParams.customer_details.tax_ids[].type
Add support for new value financial_connections.account.refreshed_ownership on enum Event.type
Add support for display_brand on PaymentMethod.card
Add support for new value financial_connections.account.refreshed_ownership on enums WebhookEndpoint.CreateParams.enabled_events[] and WebhookEndpoint.UpdateParams.enabled_events[]
Bugfix: remove support for CreditNoteLineItem.list, CustomerCashBalanceTransaction.list, and CustomerCashBalanceTransaction.retrieve. These methods were included in the library unintentionally and never functioned.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps stripe from 6.1.0 to 8.5.0.
Release notes
Sourced from stripe's releases.
... (truncated)
Changelog
Sourced from stripe's changelog.
... (truncated)
Commits
9e67ba3
Bump version to 8.5.0dc8b811
Update generated code (#1255)26d940f
Update README to use add_beta_version (#1260)341b23f
Fix type of ErrorObject.code (#1250)58feb24
Bump version to 8.4.0db4bd1d
Update generated code (#1241)94d5e92
Add TaxIds API (#1244)8ee92b4
Remove http client base (#1243)aa7d8bf
Testing: unify http client mock (#1242)3e2a1e3
Bump version to 8.3.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show