Releases: stripe/stripe-python
Releases · stripe/stripe-python
v8.8.0b1
- #1270 Update generated code for beta
- Add support for new resources
Billing.MeterEventAdjustment
,Billing.MeterEvent
, andBilling.Meter
- Add support for
create
,deactivate
,list
,modify
,reactivate
, andretrieve
methods on resourceMeter
- Add support for
create
method on resourcesMeterEventAdjustment
andMeterEvent
- Add support for
create
test helper method on resourceConfirmationToken
- Add support for
add_lines
,remove_lines
, andupdate_lines
methods on resourceInvoice
- Add support for new resources
- #1266 Beta: record usage of async interface
v8.7.0
- #1269 Update generated code
- Add support for
personalization_design
on parameter classesCardService.CreateParams
,CardService.ListParams
,CardService.UpdateParams
,stripe.issuing.Card.CreateParams
,stripe.issuing.Card.ListParams
, andstripe.issuing.Card.ModifyParams
and resourcestripe.issuing.Card
- Add support for
sepa_debit
on parameter classesSubscriptionService.CreateParamsPaymentSettingsPaymentMethodOptions
,SubscriptionService.UpdateParamsPaymentSettingsPaymentMethodOptions
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptions
, andstripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions
and resource classstripe.Subscription.PaymentSettings.PaymentMethodOptions
- Add support for resource
stripe.issuing.PersonalizationDesign
- Add support for resource
stripe.issuing.PhysicalBundle
- Change type from
float
toLiteral['']|float
ofapplication_fee_percent
on fieldsstripe.Subscription.CreateParams
,stripe.Subscription.ModifyParams
,SubscriptionService.UpdateParams
, andSubscriptionService.CreateParams
- Add support for
v8.7.0b1
- #1265 Update generated code for beta
- Add support for new value
billing_period_end
on enumsQuote.CreateParamsLineEndsAt.type
,QuoteLine.EndsAt.type
, andQuote.ModifyParamsLineEndsAt.type
- Add support for new value
v8.6.0
- #1267 Update generated code
- Add support for
documents
onAccountSession.Components
- Add support for
request_three_d_secure
onCheckout.Session.PaymentMethodOptionsCard
andCheckout.Session.CreateParams.PaymentMethodOptionsCard
- Add support for
created
onCreditNote.ListParams
- Add support for
sepa_debit
onInvoice.PaymentSettings.PaymentMethodOptions
,InvoiceCreateParams.PaymentSettings.PaymentMethodOptions
, andInvoiceUpdateParams.PaymentSettings.PaymentMethodOptions
- Add support for
- #1268 Update README.md
v8.6.0b1
v8.5.0
- #1255 Update generated code
- Change
identity.VerificationReport.type
to be required - Change type of
identity.VerificationSession.type
fromOptional[Literal["document", "id_number"]]
toLiteral["document", "id_number"]
- Add support for
number
onInvoice.CreateParams
andInvoice.ModifyParams
- Add support for
enable_customer_cancellation
onterminal.Reader.Action.ProcessPaymentIntent.process_config
,Terminal.Reader.Action.ProcessSetupIntent.process_config
,Terminal.Reader.ProcessPaymentIntentParams.process_config
, andTerminal.Reader.ProcessSetupIntentParams.process_config
- Add support for
refund_payment_config
onTerminal.Reader.Action.refund_payment
andTerminal.Reader.RefundPaymentParams
- Add support for
payment_method
onToken.CreateParams.bank_account
- Add
list_refunds
andretrieve_refund
methods on resourceCharge
.
- Change
- #1260 Update README to use add_beta_version
- #1250 Fix type of ErrorObject.code
v8.5.0b3
- #1262 Beta: fix ssl for AIOHTTP client
v8.5.0b2
- 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.
v8.5.0b1
-
#1246 Update generated code for beta
-
#1239 Beta: Collapse HTTPClientAsync into HTTPClient
⚠️ Removes thestripe.default_http_client_async
global and thestripe.HTTPClientAsync
class.- To set your own async-enabled http client, set
stripe.default_http_client
to a subclass ofstripe.HTTPClient
such asstripe.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 aHTTPXClient
when asynchronous methods are called.
- To set your own async-enabled http client, set
v8.4.0
- #1241 Update generated code
- Add
InvoiceLineItem.modify
method.
- Add
- #1244 Add TaxIds API
- Add support for
create
,retrieve
,delete
, andlist
methods on resourceTaxId
- The
instance_url
function on resourceTaxId
now returns the top-level/v1/tax_ids/{id}
path instead of the/v1/customers/{customer}/tax_ids/{id}
path.
- Add support for
- #1243 Remove http client base
- #1242 Testing: unify http client mock