From 29423e84db6481e3e09c7dc1ec238c2fcafe767c Mon Sep 17 00:00:00 2001 From: David Brownman Date: Fri, 11 Sep 2026 01:20:39 -0700 Subject: [PATCH 01/11] migrate to hark --- .github/pull_request_template.md | 12 +- .github/workflows/changelog.yml | 23 + .github/zizmor.yml | 1 + ...2-06-21_pakrym_use-generated-api.change.md | 5 + .../2022-06-30_dcr_api-updates-beta.change.md | 8 + ...22-07-07_pakrym_api-updates-beta.change.md | 9 + ...22-07-19_pakrym_api-updates-beta.change.md | 9 + .../2022-07-21_dcr_api-updates-beta.change.md | 9 + ...22-08-03_pakrym_api-updates-beta.change.md | 9 + ...22-08-11_pakrym_api-updates-beta.change.md | 9 + ...22-08-23_pakrym_api-updates-beta.change.md | 9 + .../2022-08-25_dcr_api-updates-beta.change.md | 9 + ...22-09-26_pakrym_api-updates-beta.change.md | 9 + ...0-14_ramya_update-changelog-gift.change.md | 5 + ...-10-14_richardm_api-updates-beta.change.md | 8 + ...022-11-02_kamil_api-updates-beta.change.md | 8 + ...22-11-10_anniel_api-updates-beta.change.md | 8 + ...22-12-08_pakrym_api-updates-beta.change.md | 8 + ...22-12-15_anniel_api-updates-beta.change.md | 11 + ...-12-22_richardm_api-updates-beta.change.md | 9 + ...23-01-05_anniel_api-updates-beta.change.md | 9 + ...-01-12_richardm_api-updates-beta.change.md | 10 + ...23-01-19_pakrym_api-updates-beta.change.md | 9 + ...23-01-27_anniel_api-updates-beta.change.md | 9 + ...-02-02_richardm_api-updates-beta.change.md | 10 + ...-02-24_richardm_api-updates-beta.change.md | 8 + ...23-03-03_pakrym_api-updates-beta.change.md | 11 + ...23-03-09_anniel_api-updates-beta.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 10 + ...7_richardm_update-generated-code.change.md | 8 + ...-23_pakrym_update-generated-code.change.md | 9 + ...-30_anniel_update-generated-code.change.md | 6 + ...6_richardm_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 6 + ...2023-05-19_anniel_add-rawrequest.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 8 + ..._anniel_handle-developer-message.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 9 + ...-28_anniel_consolidate-beta-sdks.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 8 + ...-openapi_update-generated-code_2.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 9 + ...krym_remove-developermes-support.change.md | 5 + ...ym_remove-developermes-support_2.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 8 + ...rdm_adds-typeannotati-dependency.change.md | 5 + ...pe-openapi_1017-update-generated.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 8 + ...-openapi_update-generated-code_2.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 11 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 8 + ...-openapi_update-generated-code_2.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 10 + ...11_richardm_types-inner-resource.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 13 + ...pe-openapi_update-generated-code.change.md | 6 + ...1_unknown_add-support-components.change.md | 4 + ...nown_rename-receipient-recipient.change.md | 4 + ...pe-openapi_update-generated-code.change.md | 6 + ...2-08_richardm_beta-revert-broken.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 6 + ...richardm_beta-rawrequestas-httpx.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 8 + ..._richardm_beta-report-rawrequest.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 8 + ...-openapi_update-generated-code_2.change.md | 10 + ...pe-openapi_update-generated-code.change.md | 8 + ...-26_richardm_beta-better-support.change.md | 7 + ...26_richardm_beta-fix-httpxclient.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 10 + ...5_richardm_beta-codegenned-async.change.md | 5 + ...4-02-05_richardm_beta-more-async.change.md | 5 + ...24-02-08_richardm_beta-add-async.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 8 + ...14_richardm_beta-async-streaming.change.md | 5 + ..._richardm_beta-stripestream-read.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 9 + ...hardm_beta-collapse-httpclientas.change.md | 10 + ...pe-openapi_update-generated-code.change.md | 6 + ...-02-27_unknown_python-async-beta.change.md | 8 + ...024-02-28_helenye_add-helper-add.change.md | 5 + ...2024-02-28_richardm_beta-fix-ssl.change.md | 5 + ...hardm_remove-unconditiona-import.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 8 + ...03-13_richardm_beta-record-usage.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 12 + ...chardm_support-aiohttpclien-init.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 9 + ...28_ramya_fix-unneccessary-quotes.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 35 + ...pe-openapi_update-generated-code.change.md | 26 + ...pe-openapi_update-generated-code.change.md | 24 + ...pe-openapi_update-generated-code.change.md | 11 + ...pe-openapi_update-generated-code.change.md | 13 + ...pe-openapi_update-generated-code.change.md | 8 + ...024-05-13_xavdid_beta-swap-black.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 6 + ...pe-openapi_update-generated-code.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 10 + ...pe-openapi_update-generated-code.change.md | 15 + ...pe-openapi_update-generated-code.change.md | 14 + ...pe-openapi_update-generated-code.change.md | 21 + ...pe-openapi_update-generated-code.change.md | 18 + ...pe-openapi_update-generated-code.change.md | 14 + ...pe-openapi_update-generated-code.change.md | 11 + ...-22_xavdid_update-generated-code.change.md | 16 + ...pe-openapi_update-generated-code.change.md | 14 + ...pe-openapi_update-generated-code.change.md | 13 + ...pe-openapi_update-generated-code.change.md | 17 + ...pe-openapi_update-generated-code.change.md | 13 + ...24-10-02_jar_updates-beta-branch.change.md | 12 + ...pe-openapi_update-generated-code.change.md | 28 + ...pe-openapi_update-generated-code.change.md | 52 + ...pe-openapi_update-generated-code.change.md | 21 + ...pe-openapi_update-generated-code.change.md | 45 + ...pe-openapi_update-generated-code.change.md | 11 + ...pe-openapi_update-generated-code.change.md | 20 + ...pe-openapi_update-generated-code.change.md | 13 + ...pe-openapi_update-generated-code.change.md | 29 + ...pe-openapi_update-generated-code.change.md | 26 + ...pe-openapi_update-generated-code.change.md | 20 + ..._prathmesh_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 14 + ...025-03-17_ramya_beta-sdk-updates.change.md | 8 + ..._stripe-openapi_1477-1482-update.change.md | 5 + ...broshi_update-addbetaversi-logic.change.md | 9 + ...unknown_add-support-acknowledgec.change.md | 5 + ...4-02_unknown_add-support-archive.change.md | 5 + ...02_unknown_add-support-archive_2.change.md | 5 + ...04-02_unknown_add-support-billie.change.md | 5 + ...04-02_unknown_add-support-cancel.change.md | 5 + ...-02_unknown_add-support-cancel_2.change.md | 5 + ...-04-02_unknown_add-support-close.change.md | 5 + ...unknown_add-support-confirmation.change.md | 5 + ...4-02_unknown_add-support-context.change.md | 5 + ...04-02_unknown_add-support-create.change.md | 5 + ...-02_unknown_add-support-create_2.change.md | 5 + ...-02_unknown_add-support-create_3.change.md | 5 + ...-02_unknown_add-support-create_4.change.md | 5 + ...unknown_add-support-customeracco.change.md | 5 + ...025-04-02_unknown_add-support-id.change.md | 5 + ...unknown_add-support-installments.change.md | 5 + ...unknown_add-support-interchangef.change.md | 5 + ...5-04-02_unknown_add-support-list.change.md | 5 + ...04-02_unknown_add-support-modify.change.md | 5 + ..._unknown_add-support-networkdata.change.md | 5 + ...25-04-02_unknown_add-support-new.change.md | 5 + ...04-02_unknown_add-support-new_10.change.md | 5 + ...04-02_unknown_add-support-new_11.change.md | 5 + ...04-02_unknown_add-support-new_12.change.md | 5 + ...04-02_unknown_add-support-new_13.change.md | 5 + ...04-02_unknown_add-support-new_14.change.md | 5 + ...04-02_unknown_add-support-new_15.change.md | 5 + ...04-02_unknown_add-support-new_16.change.md | 5 + ...04-02_unknown_add-support-new_17.change.md | 5 + ...04-02_unknown_add-support-new_18.change.md | 5 + ...-04-02_unknown_add-support-new_2.change.md | 5 + ...-04-02_unknown_add-support-new_3.change.md | 5 + ...-04-02_unknown_add-support-new_4.change.md | 5 + ...-04-02_unknown_add-support-new_5.change.md | 5 + ...-04-02_unknown_add-support-new_6.change.md | 5 + ...-04-02_unknown_add-support-new_7.change.md | 5 + ...-04-02_unknown_add-support-new_8.change.md | 5 + ...-04-02_unknown_add-support-new_9.change.md | 5 + ...unknown_add-support-paymentmetho.change.md | 5 + ...unknown_add-support-payoutmethod.change.md | 5 + ...-02_unknown_add-support-provider.change.md | 5 + ...unknown_add-support-relatedcusto.change.md | 5 + ...2_unknown_add-support-reportedby.change.md | 5 + ...-02_unknown_add-support-retrieve.change.md | 5 + ...unknown_add-support-stripebalanc.change.md | 5 + ...known_add-support-stripebalanc_2.change.md | 5 + ...unknown_add-support-taxcalculati.change.md | 5 + ...unknown_add-support-updatelineit.change.md | 5 + ...unknown_add-support-updateshippi.change.md | 5 + ...n_change-checkoutsess-permission.change.md | 6 + ...nknown_change-creditnote-refunds.change.md | 5 + ...change-customersess-createparams.change.md | 5 + ...nown_change-invoice-amountoverpa.change.md | 5 + ...change-paymentattem-paymentmetho.change.md | 6 + ...change-paymentrecor-reportpaymen.change.md | 5 + ...4-02_unknown_change-type-invoice.change.md | 5 + ...unknown_change-type-invoicepayme.change.md | 5 + ...-04-02_unknown_change-type-order.change.md | 6 + ...unknown_change-type-paymentattem.change.md | 6 + ...known_change-type-paymentattem_2.change.md | 6 + ...known_change-type-paymentattem_3.change.md | 5 + ...unknown_change-type-paymentrecor.change.md | 6 + ...unknown_change-type-quotepreview.change.md | 6 + ...nown_remove-support-amountoverpa.change.md | 6 + ...nown_remove-support-applicationf.change.md | 6 + ...nown_remove-support-billingthres.change.md | 6 + ...02_unknown_remove-support-coupon.change.md | 6 + ...nown_remove-support-ratecardsubs.change.md | 6 + ...02_unknown_remove-support-values.change.md | 6 + ..._mbroshi_handle-external-account.change.md | 7 + ...pe-openapi_update-generated-code.change.md | 26 + ...pe-openapi_update-generated-code.change.md | 27 + ...pe-openapi_update-generated-code.change.md | 15 + ...pe-openapi_update-generated-code.change.md | 10 + ...pe-openapi_update-generated-code.change.md | 49 + ..._ramya_pull-offsessionpa-changes.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 41 + ...-09_helenye_pull-v2-financialacc.change.md | 17 + ...pe-openapi_update-generated-code.change.md | 30 + ...5-08-08_ramya_bring-back-invoice.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 39 + ...pe-openapi_update-generated-code.change.md | 32 + ...pe-openapi_update-generated-code.change.md | 36 + ...pe-openapi_update-generated-code.change.md | 11 + ...pe-openapi_update-generated-code.change.md | 9 + ...-openapi_update-generated-code_2.change.md | 9 + ...pe-openapi_update-generated-code.change.md | 32 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 37 + ...pe-openapi_update-generated-code.change.md | 46 + ..._xavdid_add-eventnotific-example.change.md | 5 + ...25-12-16_xavdid_add-eventnotific.change.md | 7 + ...pe-openapi_update-generated-code.change.md | 37 + ...pe-openapi_update-generated-code.change.md | 18 + ...-25_ramya_delete-apiversion-file.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 50 + ...pe-openapi_update-generated-code.change.md | 8 + ...pe-openapi_update-generated-code.change.md | 6 + ...1_unknown_please-refer-changelog.change.md | 4 + ...pe-openapi_update-generated-code.change.md | 32 + ...pe-openapi_update-generated-code.change.md | 34 + ...pe-openapi_update-generated-code.change.md | 26 + ...pe-openapi_update-generated-code.change.md | 46 + ...pe-openapi_update-generated-code.change.md | 33 + ...26-08-19_xavdid_add-non-verified.change.md | 5 + ...pe-openapi_update-generated-code.change.md | 31 + .hark/intros/intro-12.1.0b1.md | 3 + .hark/intros/intro-13.1.0b1.md | 1 + .hark/intros/intro-13.2.0b1.md | 1 + .hark/intros/intro-15.1.0b1.md | 1 + .hark/intros/intro-6.1.0b1.md | 1 + .hark/versions.json | 755 ++++ CHANGELOG.md | 3413 ++--------------- 264 files changed, 3676 insertions(+), 3187 deletions(-) create mode 100644 .github/workflows/changelog.yml create mode 100644 .hark/changes/2022-06-21_pakrym_use-generated-api.change.md create mode 100644 .hark/changes/2022-06-30_dcr_api-updates-beta.change.md create mode 100644 .hark/changes/2022-07-07_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2022-07-19_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2022-07-21_dcr_api-updates-beta.change.md create mode 100644 .hark/changes/2022-08-03_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2022-08-11_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2022-08-23_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2022-08-25_dcr_api-updates-beta.change.md create mode 100644 .hark/changes/2022-09-26_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2022-10-14_ramya_update-changelog-gift.change.md create mode 100644 .hark/changes/2022-10-14_richardm_api-updates-beta.change.md create mode 100644 .hark/changes/2022-11-02_kamil_api-updates-beta.change.md create mode 100644 .hark/changes/2022-11-10_anniel_api-updates-beta.change.md create mode 100644 .hark/changes/2022-12-08_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2022-12-15_anniel_api-updates-beta.change.md create mode 100644 .hark/changes/2022-12-22_richardm_api-updates-beta.change.md create mode 100644 .hark/changes/2023-01-05_anniel_api-updates-beta.change.md create mode 100644 .hark/changes/2023-01-12_richardm_api-updates-beta.change.md create mode 100644 .hark/changes/2023-01-19_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2023-01-27_anniel_api-updates-beta.change.md create mode 100644 .hark/changes/2023-02-02_richardm_api-updates-beta.change.md create mode 100644 .hark/changes/2023-02-24_richardm_api-updates-beta.change.md create mode 100644 .hark/changes/2023-03-03_pakrym_api-updates-beta.change.md create mode 100644 .hark/changes/2023-03-09_anniel_api-updates-beta.change.md create mode 100644 .hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-03-17_richardm_update-generated-code.change.md create mode 100644 .hark/changes/2023-03-23_pakrym_update-generated-code.change.md create mode 100644 .hark/changes/2023-03-30_anniel_update-generated-code.change.md create mode 100644 .hark/changes/2023-04-06_richardm_update-generated-code.change.md create mode 100644 .hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-05-19_anniel_add-rawrequest.change.md create mode 100644 .hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-05-25_anniel_handle-developer-message.change.md create mode 100644 .hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md create mode 100644 .hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md create mode 100644 .hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md create mode 100644 .hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md create mode 100644 .hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md create mode 100644 .hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md create mode 100644 .hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md create mode 100644 .hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md create mode 100644 .hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-10-11_richardm_types-inner-resource.change.md create mode 100644 .hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-11-21_unknown_add-support-components.change.md create mode 100644 .hark/changes/2023-11-21_unknown_rename-receipient-recipient.change.md create mode 100644 .hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-12-08_richardm_beta-revert-broken.change.md create mode 100644 .hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md create mode 100644 .hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md create mode 100644 .hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md create mode 100644 .hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-01-26_richardm_beta-better-support.change.md create mode 100644 .hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md create mode 100644 .hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md create mode 100644 .hark/changes/2024-02-05_richardm_beta-more-async.change.md create mode 100644 .hark/changes/2024-02-08_richardm_beta-add-async.change.md create mode 100644 .hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-02-14_richardm_beta-async-streaming.change.md create mode 100644 .hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md create mode 100644 .hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md create mode 100644 .hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-02-27_unknown_python-async-beta.change.md create mode 100644 .hark/changes/2024-02-28_helenye_add-helper-add.change.md create mode 100644 .hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md create mode 100644 .hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md create mode 100644 .hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-03-13_richardm_beta-record-usage.change.md create mode 100644 .hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md create mode 100644 .hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md create mode 100644 .hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-05-13_xavdid_beta-swap-black.change.md create mode 100644 .hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-08-22_xavdid_update-generated-code.change.md create mode 100644 .hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-10-02_jar_updates-beta-branch.change.md create mode 100644 .hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-01-23_prathmesh_update-generated-code.change.md create mode 100644 .hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md create mode 100644 .hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md create mode 100644 .hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-acknowledgec.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-archive.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-archive_2.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-billie.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-cancel.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-cancel_2.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-close.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-confirmation.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-context.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-create.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-create_2.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-create_3.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-create_4.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-customeracco.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-id.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-installments.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-interchangef.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-list.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-modify.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-networkdata.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_10.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_11.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_12.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_13.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_14.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_15.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_16.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_17.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_18.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_2.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_3.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_4.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_5.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_6.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_7.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_8.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-new_9.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-paymentmetho.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-payoutmethod.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-provider.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-relatedcusto.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-reportedby.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-retrieve.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-stripebalanc.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-stripebalanc_2.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-taxcalculati.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-updatelineit.change.md create mode 100644 .hark/changes/2025-04-02_unknown_add-support-updateshippi.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-creditnote-refunds.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-customersess-createparams.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-invoice-amountoverpa.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-paymentrecor-reportpaymen.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-invoice.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-invoicepayme.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-order.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-paymentattem_3.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md create mode 100644 .hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md create mode 100644 .hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md create mode 100644 .hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md create mode 100644 .hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md create mode 100644 .hark/changes/2025-04-02_unknown_remove-support-coupon.change.md create mode 100644 .hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md create mode 100644 .hark/changes/2025-04-02_unknown_remove-support-values.change.md create mode 100644 .hark/changes/2025-04-08_mbroshi_handle-external-account.change.md create mode 100644 .hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md create mode 100644 .hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md create mode 100644 .hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-08-08_ramya_bring-back-invoice.change.md create mode 100644 .hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md create mode 100644 .hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md create mode 100644 .hark/changes/2025-12-16_xavdid_add-eventnotific.change.md create mode 100644 .hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md create mode 100644 .hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-04-01_unknown_please-refer-changelog.change.md create mode 100644 .hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/changes/2026-08-19_xavdid_add-non-verified.change.md create mode 100644 .hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md create mode 100644 .hark/intros/intro-12.1.0b1.md create mode 100644 .hark/intros/intro-13.1.0b1.md create mode 100644 .hark/intros/intro-13.2.0b1.md create mode 100644 .hark/intros/intro-15.1.0b1.md create mode 100644 .hark/intros/intro-6.1.0b1.md create mode 100644 .hark/versions.json diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 4e1cbb2de..c7d166a31 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,14 +10,6 @@ List out the key changes made in this PR, e.g. ### See Also -## Changelog - +- [ ] `skip-changefile`: This PR is not a user-facing change, so there's no changefile. diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..b8261d5a1 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,23 @@ +name: Changelog + +on: + pull_request: + # opened, synchronize and reopened are the defaults; `edited` is what makes this + # re-run when someone toggles an opt-out box in the description + types: [opened, synchronize, reopened, edited] + +permissions: {} + +jobs: + changefile: + runs-on: ubuntu-24.04 + permissions: + contents: read # check out the repo so `hark validate` can read .hark/ + pull-requests: read # list the files this pull request adds + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: stripe/hark/actions/require-changefile@v1 + - uses: stripe/hark/actions/require-migration-guide@v1 + - uses: stripe/hark/actions/check-pr-links@v1 diff --git a/.github/zizmor.yml b/.github/zizmor.yml index 25cd8201c..c0f321f1a 100644 --- a/.github/zizmor.yml +++ b/.github/zizmor.yml @@ -6,3 +6,4 @@ rules: config: policies: "stripe/openapi/*": ref-pin + "stripe/hark/*": ref-pin diff --git a/.hark/changes/2022-06-21_pakrym_use-generated-api.change.md b/.hark/changes/2022-06-21_pakrym_use-generated-api.change.md new file mode 100644 index 000000000..f3ae75fe8 --- /dev/null +++ b/.hark/changes/2022-06-21_pakrym_use-generated-api.change.md @@ -0,0 +1,5 @@ +--- +title: Use the generated API version +pr_link: https://github.com/stripe/stripe-python/pull/826 +released_in_version: 3.6.0b1 +--- diff --git a/.hark/changes/2022-06-30_dcr_api-updates-beta.change.md b/.hark/changes/2022-06-30_dcr_api-updates-beta.change.md new file mode 100644 index 000000000..414b22eb9 --- /dev/null +++ b/.hark/changes/2022-06-30_dcr_api-updates-beta.change.md @@ -0,0 +1,8 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/834 +is_stripe_api_change: true +released_in_version: 3.6.0b1 +--- + +- Updated stable APIs to the latest version diff --git a/.hark/changes/2022-07-07_pakrym_api-updates-beta.change.md b/.hark/changes/2022-07-07_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..340bd15f9 --- /dev/null +++ b/.hark/changes/2022-07-07_pakrym_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/837 +is_stripe_api_change: true +released_in_version: 3.6.0b1 +--- + +- Include `server_side_confirmation_beta=v1` beta +- Add `secretKeyConfirmation` to `PaymentIntent` diff --git a/.hark/changes/2022-07-19_pakrym_api-updates-beta.change.md b/.hark/changes/2022-07-19_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..494280673 --- /dev/null +++ b/.hark/changes/2022-07-19_pakrym_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/840 +is_stripe_api_change: true +released_in_version: 3.6.0b1 +--- + +- Updated stable APIs to the latest version +- Add `SubscriptionSchedule.amend` method. diff --git a/.hark/changes/2022-07-21_dcr_api-updates-beta.change.md b/.hark/changes/2022-07-21_dcr_api-updates-beta.change.md new file mode 100644 index 000000000..efcee9cc5 --- /dev/null +++ b/.hark/changes/2022-07-21_dcr_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/843 +is_stripe_api_change: true +released_in_version: 3.6.0b1 +--- + +- Updated stable APIs to the latest version +- Add `QuotePhase` resource diff --git a/.hark/changes/2022-08-03_pakrym_api-updates-beta.change.md b/.hark/changes/2022-08-03_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..310bcfcc4 --- /dev/null +++ b/.hark/changes/2022-08-03_pakrym_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/848 +is_stripe_api_change: true +released_in_version: 4.1.0b1 +--- + +- Updated stable APIs to the latest version +- Added the `Order` resource support diff --git a/.hark/changes/2022-08-11_pakrym_api-updates-beta.change.md b/.hark/changes/2022-08-11_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..13b2e57b3 --- /dev/null +++ b/.hark/changes/2022-08-11_pakrym_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/859 +is_stripe_api_change: true +released_in_version: 4.1.0b2 +--- + +- Updated stable APIs to the latest version +- Add `refund_payment` method to Terminal resource diff --git a/.hark/changes/2022-08-23_pakrym_api-updates-beta.change.md b/.hark/changes/2022-08-23_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..af182ac1d --- /dev/null +++ b/.hark/changes/2022-08-23_pakrym_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/866 +is_stripe_api_change: true +released_in_version: 4.2.0b1 +--- + +- Updated stable APIs to the latest version +- `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-dotnet/blob/master/README.md#beta-sdks) diff --git a/.hark/changes/2022-08-25_dcr_api-updates-beta.change.md b/.hark/changes/2022-08-25_dcr_api-updates-beta.change.md new file mode 100644 index 000000000..238f74896 --- /dev/null +++ b/.hark/changes/2022-08-25_dcr_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/869 +is_stripe_api_change: true +released_in_version: 4.2.0b2 +--- + +* Updated stable APIs to the latest version +* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards). diff --git a/.hark/changes/2022-09-26_pakrym_api-updates-beta.change.md b/.hark/changes/2022-09-26_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..9aa623f81 --- /dev/null +++ b/.hark/changes/2022-09-26_pakrym_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/878 +is_stripe_api_change: true +released_in_version: 4.3.0b1 +--- + +* Updated stable APIs to the latest version +* Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources. diff --git a/.hark/changes/2022-10-14_ramya_update-changelog-gift.change.md b/.hark/changes/2022-10-14_ramya_update-changelog-gift.change.md new file mode 100644 index 000000000..f4ffb2988 --- /dev/null +++ b/.hark/changes/2022-10-14_ramya_update-changelog-gift.change.md @@ -0,0 +1,5 @@ +--- +title: Update changelog for the Gift Card API +pr_link: https://github.com/stripe/stripe-python/pull/885 +released_in_version: 4.3.0b3 +--- diff --git a/.hark/changes/2022-10-14_richardm_api-updates-beta.change.md b/.hark/changes/2022-10-14_richardm_api-updates-beta.change.md new file mode 100644 index 000000000..2f862cbe9 --- /dev/null +++ b/.hark/changes/2022-10-14_richardm_api-updates-beta.change.md @@ -0,0 +1,8 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/884 +is_stripe_api_change: true +released_in_version: 4.3.0b3 +--- + +* Updated stable APIs to the latest version diff --git a/.hark/changes/2022-11-02_kamil_api-updates-beta.change.md b/.hark/changes/2022-11-02_kamil_api-updates-beta.change.md new file mode 100644 index 000000000..f76c1e37d --- /dev/null +++ b/.hark/changes/2022-11-02_kamil_api-updates-beta.change.md @@ -0,0 +1,8 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/890 +is_stripe_api_change: true +released_in_version: 4.3.0b3 +--- + +* Updated beta APIs to the latest stable version diff --git a/.hark/changes/2022-11-10_anniel_api-updates-beta.change.md b/.hark/changes/2022-11-10_anniel_api-updates-beta.change.md new file mode 100644 index 000000000..b2e3dd37b --- /dev/null +++ b/.hark/changes/2022-11-10_anniel_api-updates-beta.change.md @@ -0,0 +1,8 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/898 +is_stripe_api_change: true +released_in_version: 5.1.0b1 +--- + +* Updated stable APIs to the latest version diff --git a/.hark/changes/2022-12-08_pakrym_api-updates-beta.change.md b/.hark/changes/2022-12-08_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..7b9d6ddb0 --- /dev/null +++ b/.hark/changes/2022-12-08_pakrym_api-updates-beta.change.md @@ -0,0 +1,8 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/902 +is_stripe_api_change: true +released_in_version: 5.1.0b1 +--- + +* Updated stable APIs to the latest version diff --git a/.hark/changes/2022-12-15_anniel_api-updates-beta.change.md b/.hark/changes/2022-12-15_anniel_api-updates-beta.change.md new file mode 100644 index 000000000..2b0137162 --- /dev/null +++ b/.hark/changes/2022-12-15_anniel_api-updates-beta.change.md @@ -0,0 +1,11 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/906 +is_stripe_api_change: true +released_in_version: 5.1.0b2 +--- + +* Updated stable APIs to the latest version +* Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction` +* Add support for `create` and `list_line_items` methods on resource `TaxCalculation` +* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction` diff --git a/.hark/changes/2022-12-22_richardm_api-updates-beta.change.md b/.hark/changes/2022-12-22_richardm_api-updates-beta.change.md new file mode 100644 index 000000000..a4ff54bf8 --- /dev/null +++ b/.hark/changes/2022-12-22_richardm_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/910 +is_stripe_api_change: true +released_in_version: 5.1.0b3 +--- + +* Updated stable APIs to the latest version +* Move `stripe.TaxCalculation` and `stripe.TaxTranscation` to `stripe.tax.Calculation` and `stripe.tax.Transaction`. diff --git a/.hark/changes/2023-01-05_anniel_api-updates-beta.change.md b/.hark/changes/2023-01-05_anniel_api-updates-beta.change.md new file mode 100644 index 000000000..5bd69938f --- /dev/null +++ b/.hark/changes/2023-01-05_anniel_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/912 +is_stripe_api_change: true +released_in_version: 5.1.0b4 +--- + +* Updated stable APIs to the latest version +* Add support for `mark_stale_quote` method on resource `Quote` diff --git a/.hark/changes/2023-01-12_richardm_api-updates-beta.change.md b/.hark/changes/2023-01-12_richardm_api-updates-beta.change.md new file mode 100644 index 000000000..bdbd9d2c6 --- /dev/null +++ b/.hark/changes/2023-01-12_richardm_api-updates-beta.change.md @@ -0,0 +1,10 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/914 +is_stripe_api_change: true +released_in_version: 5.1.0b5 +--- + +* Updated stable APIs to the latest version +* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft` +* Add support for `tax.Registration` resource diff --git a/.hark/changes/2023-01-19_pakrym_api-updates-beta.change.md b/.hark/changes/2023-01-19_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..92b480f17 --- /dev/null +++ b/.hark/changes/2023-01-19_pakrym_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/915 +is_stripe_api_change: true +released_in_version: 5.1.0b6 +--- + +* Updated stable APIs to the latest version +* Add support for `Tax.Settings` resource. diff --git a/.hark/changes/2023-01-27_anniel_api-updates-beta.change.md b/.hark/changes/2023-01-27_anniel_api-updates-beta.change.md new file mode 100644 index 000000000..49e938435 --- /dev/null +++ b/.hark/changes/2023-01-27_anniel_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/917 +is_stripe_api_change: true +released_in_version: 5.1.0b7 +--- + +* Updated stable APIs to the latest version +* Add support for `list_transactions` method on resource `Tax.Transaction` diff --git a/.hark/changes/2023-02-02_richardm_api-updates-beta.change.md b/.hark/changes/2023-02-02_richardm_api-updates-beta.change.md new file mode 100644 index 000000000..0d1e33ac2 --- /dev/null +++ b/.hark/changes/2023-02-02_richardm_api-updates-beta.change.md @@ -0,0 +1,10 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/921 +is_stripe_api_change: true +released_in_version: 5.2.0b1 +--- + +* Updated stable APIs to the latest version +* Add support for new resource `FinancialConnections.Transaction` +* Add support for `list` method on resource `Transaction` diff --git a/.hark/changes/2023-02-24_richardm_api-updates-beta.change.md b/.hark/changes/2023-02-24_richardm_api-updates-beta.change.md new file mode 100644 index 000000000..4048629f2 --- /dev/null +++ b/.hark/changes/2023-02-24_richardm_api-updates-beta.change.md @@ -0,0 +1,8 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/931 +is_stripe_api_change: true +released_in_version: 5.3.0b1 +--- + +* Updated stable APIs to the latest version diff --git a/.hark/changes/2023-03-03_pakrym_api-updates-beta.change.md b/.hark/changes/2023-03-03_pakrym_api-updates-beta.change.md new file mode 100644 index 000000000..5f6c5a721 --- /dev/null +++ b/.hark/changes/2023-03-03_pakrym_api-updates-beta.change.md @@ -0,0 +1,11 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/935 +is_stripe_api_change: true +released_in_version: 5.3.0b2 +--- + +* Updated stable APIs to the latest version +* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign` +* Add support for `list` and `retrieve` methods on resource `CardBundle` +* Add support for `list`, `modify`, and `retrieve` methods on resource `CardDesign` diff --git a/.hark/changes/2023-03-09_anniel_api-updates-beta.change.md b/.hark/changes/2023-03-09_anniel_api-updates-beta.change.md new file mode 100644 index 000000000..235b5f610 --- /dev/null +++ b/.hark/changes/2023-03-09_anniel_api-updates-beta.change.md @@ -0,0 +1,9 @@ +--- +title: API Updates for beta branch +pr_link: https://github.com/stripe/stripe-python/pull/936 +is_stripe_api_change: true +released_in_version: 5.3.0b3 +--- + +* Updated stable APIs to the latest version +* Remove support for `list_transactions` method on resource `Tax.Transaction` diff --git a/.hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..28d2d2835 --- /dev/null +++ b/.hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,10 @@ +--- +title: Update generated code for beta (new) +pr_link: https://github.com/stripe/stripe-python/pull/938 +is_stripe_api_change: true +released_in_version: 5.3.0b4 +--- + +* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary` +* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer` +* Remove support for `retrieve` method on resource `FinancingSummary` diff --git a/.hark/changes/2023-03-17_richardm_update-generated-code.change.md b/.hark/changes/2023-03-17_richardm_update-generated-code.change.md new file mode 100644 index 000000000..8df36deb2 --- /dev/null +++ b/.hark/changes/2023-03-17_richardm_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta (new) +pr_link: https://github.com/stripe/stripe-python/pull/940 +is_stripe_api_change: true +released_in_version: 5.3.0b4 +--- + +* Add support for `create_from_calculation` method on resource `Tax.Transaction` diff --git a/.hark/changes/2023-03-23_pakrym_update-generated-code.change.md b/.hark/changes/2023-03-23_pakrym_update-generated-code.change.md new file mode 100644 index 000000000..4c7f3dab8 --- /dev/null +++ b/.hark/changes/2023-03-23_pakrym_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta (new) +pr_link: https://github.com/stripe/stripe-python/pull/941 +is_stripe_api_change: true +released_in_version: 5.4.0b1 +--- + +* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem` +* Add support for `collect_inputs` method on resource `Terminal.Reader` diff --git a/.hark/changes/2023-03-30_anniel_update-generated-code.change.md b/.hark/changes/2023-03-30_anniel_update-generated-code.change.md new file mode 100644 index 000000000..8f4840c90 --- /dev/null +++ b/.hark/changes/2023-03-30_anniel_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/950 +is_stripe_api_change: true +released_in_version: 5.5.0b1 +--- diff --git a/.hark/changes/2023-04-06_richardm_update-generated-code.change.md b/.hark/changes/2023-04-06_richardm_update-generated-code.change.md new file mode 100644 index 000000000..8667107d0 --- /dev/null +++ b/.hark/changes/2023-04-06_richardm_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/953 +is_stripe_api_change: true +released_in_version: 5.5.0b2 +--- diff --git a/.hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..fc953174a --- /dev/null +++ b/.hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/954 +is_stripe_api_change: true +released_in_version: 5.5.0b2 +--- + +* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader` diff --git a/.hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..416f10c95 --- /dev/null +++ b/.hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/961 +is_stripe_api_change: true +released_in_version: 5.5.0b3 +--- diff --git a/.hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..7f1ce2373 --- /dev/null +++ b/.hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/964 +is_stripe_api_change: true +released_in_version: 5.5.0b3 +--- diff --git a/.hark/changes/2023-05-19_anniel_add-rawrequest.change.md b/.hark/changes/2023-05-19_anniel_add-rawrequest.change.md new file mode 100644 index 000000000..f8d9fec6e --- /dev/null +++ b/.hark/changes/2023-05-19_anniel_add-rawrequest.change.md @@ -0,0 +1,5 @@ +--- +title: Add raw_request +pr_link: https://github.com/stripe/stripe-python/pull/965 +released_in_version: 5.5.0b3 +--- diff --git a/.hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..f04c4523f --- /dev/null +++ b/.hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/966 +is_stripe_api_change: true +released_in_version: 5.5.0b3 +--- + +* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account` diff --git a/.hark/changes/2023-05-25_anniel_handle-developer-message.change.md b/.hark/changes/2023-05-25_anniel_handle-developer-message.change.md new file mode 100644 index 000000000..9891fa42d --- /dev/null +++ b/.hark/changes/2023-05-25_anniel_handle-developer-message.change.md @@ -0,0 +1,5 @@ +--- +title: Handle developer message in preview error responses +pr_link: https://github.com/stripe/stripe-python/pull/971 +released_in_version: 5.5.0b4 +--- diff --git a/.hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..d002db3dc --- /dev/null +++ b/.hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/969 +is_stripe_api_change: true +released_in_version: 5.5.0b4 +--- diff --git a/.hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..1ed92b605 --- /dev/null +++ b/.hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/973 +is_stripe_api_change: true +released_in_version: 5.5.0b4 +--- diff --git a/.hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..a8e2375b6 --- /dev/null +++ b/.hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/976 +is_stripe_api_change: true +released_in_version: 5.5.0b5 +--- diff --git a/.hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..998de48b9 --- /dev/null +++ b/.hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/979 +is_stripe_api_change: true +released_in_version: 5.5.0b5 +--- diff --git a/.hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..861049ad1 --- /dev/null +++ b/.hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/982 +is_stripe_api_change: true +released_in_version: 5.5.0b5 +--- + +* Add support for new resource `CustomerSession` +* Add support for `create` method on resource `CustomerSession` diff --git a/.hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md b/.hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md new file mode 100644 index 000000000..be71729fd --- /dev/null +++ b/.hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md @@ -0,0 +1,5 @@ +--- +title: Consolidate beta SDKs section +pr_link: https://github.com/stripe/stripe-python/pull/986 +released_in_version: 5.6.0b1 +--- diff --git a/.hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..5c1869948 --- /dev/null +++ b/.hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/985 +is_stripe_api_change: true +released_in_version: 5.6.0b1 +--- diff --git a/.hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..ea3ff7b4d --- /dev/null +++ b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/991 +is_stripe_api_change: true +released_in_version: 5.6.0b1 +--- + +Release specs are identical. diff --git a/.hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md new file mode 100644 index 000000000..1465da1f3 --- /dev/null +++ b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/989 +is_stripe_api_change: true +released_in_version: 5.6.0b1 +--- + +* Add support for new resource `PaymentMethodConfiguration` +* Add support for `create`, `list`, `modify`, and `retrieve` methods on resource `PaymentMethodConfiguration` diff --git a/.hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..4ddefb336 --- /dev/null +++ b/.hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/992 +is_stripe_api_change: true +released_in_version: 5.6.0b2 +--- diff --git a/.hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..3d7a2453f --- /dev/null +++ b/.hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/995 +is_stripe_api_change: true +released_in_version: 5.6.0b2 +--- + +* Add support for new resource `Tax.Form` +* Add support for `list`, `pdf`, and `retrieve` methods on resource `Form` diff --git a/.hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md b/.hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md new file mode 100644 index 000000000..2f6b883d7 --- /dev/null +++ b/.hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md @@ -0,0 +1,5 @@ +--- +title: Remove developer_message support +pr_link: https://github.com/stripe/stripe-python/pull/997 +released_in_version: 6.7.0b2 +--- diff --git a/.hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md b/.hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md new file mode 100644 index 000000000..1dd6f7751 --- /dev/null +++ b/.hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md @@ -0,0 +1,5 @@ +--- +title: Remove developer_message support +pr_link: https://github.com/stripe/stripe-python/pull/997 +released_in_version: 5.6.0b3 +--- diff --git a/.hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..04a7cc12c --- /dev/null +++ b/.hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/999 +is_stripe_api_change: true +released_in_version: 5.6.0b3 +--- diff --git a/.hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..84927f40f --- /dev/null +++ b/.hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1004 +is_stripe_api_change: true +released_in_version: 5.6.0b3 +--- + +* Add support for `submit_card` test helper method on resource `Issuing.Card` diff --git a/.hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md b/.hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md new file mode 100644 index 000000000..dd2c8a976 --- /dev/null +++ b/.hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md @@ -0,0 +1,5 @@ +--- +title: Adds type_annotations, and dependency on `typing_extensions`. +pr_link: https://github.com/stripe/stripe-python/pull/1020 +released_in_version: 6.1.0b2 +--- diff --git a/.hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md b/.hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md new file mode 100644 index 000000000..9d88e09e0 --- /dev/null +++ b/.hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md @@ -0,0 +1,5 @@ +--- +title: "[#1017](https://github.com/stripe/stripe-python/pull/1017) Update generated code for beta" +pr_link: https://github.com/stripe/stripe-python/pull/1006 +released_in_version: 6.1.0b2 +--- diff --git a/.hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..9a5b838c7 --- /dev/null +++ b/.hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1029 +is_stripe_api_change: true +released_in_version: 6.3.0b1 +--- + +* Rename `Quote.preview_invoices` and `Quote.preview_subscription_schedules` to `Quote.list_preview_invoices` and `Quote.list_preview_schedules`. diff --git a/.hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..def1b88ed --- /dev/null +++ b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1045 +is_stripe_api_change: true +released_in_version: 6.5.0b1 +--- + +* Release specs are identical. diff --git a/.hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md new file mode 100644 index 000000000..45f43d999 --- /dev/null +++ b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1034 +is_stripe_api_change: true +released_in_version: 6.5.0b1 +--- + +* Remove support for `submit_card` test helper method on resource `Issuing.Card` diff --git a/.hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..077ce0ce4 --- /dev/null +++ b/.hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,11 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1048 +is_stripe_api_change: true +released_in_version: 6.6.0b1 +--- + +* Add support for new resource `ConfirmationToken` +* Add support for `retrieve` method on resource `ConfirmationToken` +* Add support for `create` method on resource `Issuing.CardDesign` +* Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign` diff --git a/.hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..d70687535 --- /dev/null +++ b/.hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1053 +is_stripe_api_change: true +released_in_version: 6.7.0b1 +--- diff --git a/.hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..72d8c6a55 --- /dev/null +++ b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1059 +is_stripe_api_change: true +released_in_version: 6.8.0b1 +--- + +* Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` diff --git a/.hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md new file mode 100644 index 000000000..502c7649a --- /dev/null +++ b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1059 +is_stripe_api_change: true +released_in_version: 6.7.0b2 +--- + +* Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` diff --git a/.hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..24860f12d --- /dev/null +++ b/.hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,10 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1066 +is_stripe_api_change: true +released_in_version: 6.8.0b1 +--- + +* Add support for `mark_draft` and `mark_stale` methods on resource `Quote` +* Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote` +* Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote` diff --git a/.hark/changes/2023-10-11_richardm_types-inner-resource.change.md b/.hark/changes/2023-10-11_richardm_types-inner-resource.change.md new file mode 100644 index 000000000..5573b15ed --- /dev/null +++ b/.hark/changes/2023-10-11_richardm_types-inner-resource.change.md @@ -0,0 +1,5 @@ +--- +title: "Types: inner resource classes" +pr_link: https://github.com/stripe/stripe-python/pull/1061 +released_in_version: 6.8.0b2 +--- diff --git a/.hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..8a6be7b9a --- /dev/null +++ b/.hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1073 +is_stripe_api_change: true +released_in_version: 6.8.0b2 +--- + +Release specs are identical. diff --git a/.hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..84aa0ba18 --- /dev/null +++ b/.hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1083 +is_stripe_api_change: true +released_in_version: 7.1.0b1 +--- diff --git a/.hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..cd1222fe2 --- /dev/null +++ b/.hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1084 +is_stripe_api_change: true +released_in_version: 7.1.0b1 +--- + +- Update pinned API version to `2023-10-16` diff --git a/.hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..dc8a19df3 --- /dev/null +++ b/.hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1107 +is_stripe_api_change: true +released_in_version: 7.2.0b1 +--- + +* Add support for new resource `Margin` +* Add support for `create`, `list`, `modify`, and `retrieve` methods on resource `Margin` diff --git a/.hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..ac5ac0b87 --- /dev/null +++ b/.hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1110 +is_stripe_api_change: true +released_in_version: 7.4.0b1 +--- + +* Add support for `attach_payment_intent` method on resource `Invoice` diff --git a/.hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..1d0fbe97b --- /dev/null +++ b/.hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1120 +is_stripe_api_change: true +released_in_version: 7.5.0b1 +--- diff --git a/.hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..3e5a2bfcd --- /dev/null +++ b/.hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,13 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1128 +is_stripe_api_change: true +released_in_version: 7.6.0b1 +--- + +* Add support for `issuing_card` and `issuing_cards_list` on `AccountSession.CreateParamsComponents` +* Add support for `event_details` and `subscription` on `payment_details` types +* Add support for `affiliate` and `delivery` on `payment_details.flight`, `payment_details.lodging`, and `payment_details.car_rental` types +* Add support for `drivers` on `payment_details.car_rental` types +* Add support for `passengers` on `payment_details.flight` and `payment_details.lodging` types +* Add support for `created` on `CustomerSession` diff --git a/.hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..e13a85caf --- /dev/null +++ b/.hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1141 +is_stripe_api_change: true +released_in_version: 7.7.0b1 +--- diff --git a/.hark/changes/2023-11-21_unknown_add-support-components.change.md b/.hark/changes/2023-11-21_unknown_add-support-components.change.md new file mode 100644 index 000000000..bcc795d51 --- /dev/null +++ b/.hark/changes/2023-11-21_unknown_add-support-components.change.md @@ -0,0 +1,4 @@ +--- +title: Add support for `components` on parameter class `CustomerSession.CreateParams` and resource `CustomerSession` +released_in_version: 7.7.0b1 +--- diff --git a/.hark/changes/2023-11-21_unknown_rename-receipient-recipient.change.md b/.hark/changes/2023-11-21_unknown_rename-receipient-recipient.change.md new file mode 100644 index 000000000..b1bdd50e2 --- /dev/null +++ b/.hark/changes/2023-11-21_unknown_rename-receipient-recipient.change.md @@ -0,0 +1,4 @@ +--- +title: Rename `receipient` to `recipient` beneath `PaymentDetails` on `Charge` and `PaymentIntent` APIs.* Add support for `electronic_commerce_indicator` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure` and `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure` +released_in_version: 7.7.0b1 +--- diff --git a/.hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..bee906578 --- /dev/null +++ b/.hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1148 +is_stripe_api_change: true +released_in_version: 7.8.0b1 +--- diff --git a/.hark/changes/2023-12-08_richardm_beta-revert-broken.change.md b/.hark/changes/2023-12-08_richardm_beta-revert-broken.change.md new file mode 100644 index 000000000..15e655e73 --- /dev/null +++ b/.hark/changes/2023-12-08_richardm_beta-revert-broken.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: revert broken logger" +pr_link: https://github.com/stripe/stripe-python/pull/1164 +released_in_version: 7.10.0b1 +--- diff --git a/.hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..3d81769b5 --- /dev/null +++ b/.hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1163 +is_stripe_api_change: true +released_in_version: 7.9.0b1 +--- + +* Add support for `retrieve` method on resource `FinancialConnections.Transaction` diff --git a/.hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..d784d5906 --- /dev/null +++ b/.hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1166 +is_stripe_api_change: true +released_in_version: 7.10.0b1 +--- diff --git a/.hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..9c1c93680 --- /dev/null +++ b/.hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1177 +is_stripe_api_change: true +released_in_version: 7.11.0b1 +--- diff --git a/.hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md b/.hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md new file mode 100644 index 000000000..6fd5934d4 --- /dev/null +++ b/.hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: raw_request_async with HTTPX" +pr_link: https://github.com/stripe/stripe-python/pull/1165 +released_in_version: 7.13.0b1 +--- diff --git a/.hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..b512643e7 --- /dev/null +++ b/.hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1187 +is_stripe_api_change: true +released_in_version: 7.12.0b1 +--- + +* Updated stable APIs to the latest version diff --git a/.hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md b/.hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md new file mode 100644 index 000000000..e790d4358 --- /dev/null +++ b/.hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: report `raw_request` usage" +pr_link: https://github.com/stripe/stripe-python/pull/1191 +released_in_version: 7.13.0b1 +--- diff --git a/.hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..64b6b72b8 --- /dev/null +++ b/.hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1189 +is_stripe_api_change: true +released_in_version: 7.13.0b1 +--- diff --git a/.hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..a72f26ced --- /dev/null +++ b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1197 +is_stripe_api_change: true +released_in_version: 7.14.0b1 +--- + +Release specs are identical. diff --git a/.hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md new file mode 100644 index 000000000..0c622b964 --- /dev/null +++ b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md @@ -0,0 +1,10 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1192 +is_stripe_api_change: true +released_in_version: 7.14.0b1 +--- + +* Add support for new value `nn` on enum `ConfirmationToken.PaymentMethodPreview.Ideal.bank` +* Add support for new value `NNBANL2G` on enum `ConfirmationToken.PaymentMethodPreview.Ideal.bic` +* Change `Invoice.AutomaticTax.liability`, `Invoice.issuer`, and `Subscription.AutomaticTax.liability` to be required diff --git a/.hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..a815e0049 --- /dev/null +++ b/.hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1198 +is_stripe_api_change: true +released_in_version: 8.1.0b1 +--- + +* Add support for `create_preview` method on resource `Invoice` diff --git a/.hark/changes/2024-01-26_richardm_beta-better-support.change.md b/.hark/changes/2024-01-26_richardm_beta-better-support.change.md new file mode 100644 index 000000000..b508bfd22 --- /dev/null +++ b/.hark/changes/2024-01-26_richardm_beta-better-support.change.md @@ -0,0 +1,7 @@ +--- +title: "Beta: better support for trio in HTTPClientAsync" +pr_link: https://github.com/stripe/stripe-python/pull/1210 +released_in_version: 8.2.0b1 +--- + +* Fixes support for `trio` on HttpClientAsync. diff --git a/.hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md b/.hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md new file mode 100644 index 000000000..e126f5255 --- /dev/null +++ b/.hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: Fix HTTPXClient retries" +pr_link: https://github.com/stripe/stripe-python/pull/1209 +released_in_version: 8.2.0b1 +--- diff --git a/.hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..6cf31d3df --- /dev/null +++ b/.hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,10 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1218 +is_stripe_api_change: true +released_in_version: 8.2.0b1 +--- + +* Add support for new resources `Entitlements.Event` and `Entitlements.Feature` +* Add support for `create` method on resource `Event` +* Add support for `create` and `list` methods on resource `Feature` diff --git a/.hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md b/.hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md new file mode 100644 index 000000000..998f4bc9c --- /dev/null +++ b/.hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: codegenned async methods on resources" +pr_link: https://github.com/stripe/stripe-python/pull/1171 +released_in_version: 8.2.0b1 +--- diff --git a/.hark/changes/2024-02-05_richardm_beta-more-async.change.md b/.hark/changes/2024-02-05_richardm_beta-more-async.change.md new file mode 100644 index 000000000..e7ba40019 --- /dev/null +++ b/.hark/changes/2024-02-05_richardm_beta-more-async.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: more async infrastructure" +pr_link: https://github.com/stripe/stripe-python/pull/1219 +released_in_version: 8.2.0b1 +--- diff --git a/.hark/changes/2024-02-08_richardm_beta-add-async.change.md b/.hark/changes/2024-02-08_richardm_beta-add-async.change.md new file mode 100644 index 000000000..e94fb4a19 --- /dev/null +++ b/.hark/changes/2024-02-08_richardm_beta-add-async.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: add `_async` methods for StripeClient" +pr_link: https://github.com/stripe/stripe-python/pull/1228 +released_in_version: 8.3.0b1 +--- diff --git a/.hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..12b13277c --- /dev/null +++ b/.hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1226 +is_stripe_api_change: true +released_in_version: 8.3.0b1 +--- + +* Add support for `payment_method_options` on `ConfirmationToken` diff --git a/.hark/changes/2024-02-14_richardm_beta-async-streaming.change.md b/.hark/changes/2024-02-14_richardm_beta-async-streaming.change.md new file mode 100644 index 000000000..eaec32c91 --- /dev/null +++ b/.hark/changes/2024-02-14_richardm_beta-async-streaming.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: async streaming" +pr_link: https://github.com/stripe/stripe-python/pull/1233 +released_in_version: 8.4.0b1 +--- diff --git a/.hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md b/.hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md new file mode 100644 index 000000000..6c21ed2a7 --- /dev/null +++ b/.hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: StripeStreamResponseAsync.read helper" +pr_link: https://github.com/stripe/stripe-python/pull/1236 +released_in_version: 8.4.0b1 +--- diff --git a/.hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..457cfe12f --- /dev/null +++ b/.hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1235 +is_stripe_api_change: true +released_in_version: 8.4.0b1 +--- + +* Add support for `payto` and `twint` payment methods throughout the API +* Add support for `decrement_authorization` method on resource `PaymentIntent` diff --git a/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md b/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md new file mode 100644 index 000000000..1b35df3b9 --- /dev/null +++ b/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md @@ -0,0 +1,10 @@ +--- +title: "Beta: Collapse HTTPClientAsync into HTTPClient" +pr_link: https://github.com/stripe/stripe-python/pull/1239 +is_breaking: true +released_in_version: 8.5.0b1 +--- + +* ⚠️ 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. diff --git a/.hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..caf12f91b --- /dev/null +++ b/.hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1246 +is_stripe_api_change: true +released_in_version: 8.5.0b1 +--- diff --git a/.hark/changes/2024-02-27_unknown_python-async-beta.change.md b/.hark/changes/2024-02-27_unknown_python-async-beta.change.md new file mode 100644 index 000000000..02566b064 --- /dev/null +++ b/.hark/changes/2024-02-27_unknown_python-async-beta.change.md @@ -0,0 +1,8 @@ +--- +title: "**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](https://github.com/stripe/stripe-python/blob/beta/README.md#async)." +released_in_version: 8.5.0b2 +--- + +* [#1253](https://github.com/stripe/stripe-python/pull/1253) Beta: Support 'allow_sync_methods=False' in HTTPXClient +* [#1254](https://github.com/stripe/stripe-python/pull/1254) Beta: add AIOHTTP http client +* [#1247](https://github.com/stripe/stripe-python/pull/1247) Make `ListObject.auto_paging_iter()` implement `AsyncIterator` diff --git a/.hark/changes/2024-02-28_helenye_add-helper-add.change.md b/.hark/changes/2024-02-28_helenye_add-helper-add.change.md new file mode 100644 index 000000000..f1dfd88f2 --- /dev/null +++ b/.hark/changes/2024-02-28_helenye_add-helper-add.change.md @@ -0,0 +1,5 @@ +--- +title: Add helper to add beta version +pr_link: https://github.com/stripe/stripe-python/pull/1259 +released_in_version: 8.6.0b1 +--- diff --git a/.hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md b/.hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md new file mode 100644 index 000000000..bc314e5bf --- /dev/null +++ b/.hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: fix ssl for AIOHTTP client" +pr_link: https://github.com/stripe/stripe-python/pull/1262 +released_in_version: 8.5.0b3 +--- diff --git a/.hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md b/.hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md new file mode 100644 index 000000000..ab760abdd --- /dev/null +++ b/.hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md @@ -0,0 +1,5 @@ +--- +title: Remove unconditional import of TCPConnector from aiohttp in _http_client +pr_link: https://github.com/stripe/stripe-python/pull/1264 +released_in_version: 8.6.0b1 +--- diff --git a/.hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..32b23f9dc --- /dev/null +++ b/.hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1251 +is_stripe_api_change: true +released_in_version: 8.6.0b1 +--- + +* Remove support for resource `Entitlements.Event` diff --git a/.hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..07f64476d --- /dev/null +++ b/.hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1265 +is_stripe_api_change: true +released_in_version: 8.7.0b1 +--- + +* Add support for new value `billing_period_end` on enums `Quote.CreateParamsLineEndsAt.type`, `QuoteLine.EndsAt.type`, and `Quote.ModifyParamsLineEndsAt.type` diff --git a/.hark/changes/2024-03-13_richardm_beta-record-usage.change.md b/.hark/changes/2024-03-13_richardm_beta-record-usage.change.md new file mode 100644 index 000000000..672844d8b --- /dev/null +++ b/.hark/changes/2024-03-13_richardm_beta-record-usage.change.md @@ -0,0 +1,5 @@ +--- +title: "Beta: record usage of async interface" +pr_link: https://github.com/stripe/stripe-python/pull/1266 +released_in_version: 8.8.0b1 +--- diff --git a/.hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..adf4a3633 --- /dev/null +++ b/.hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,12 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1270 +is_stripe_api_change: true +released_in_version: 8.8.0b1 +--- + +* Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` +* Add support for `create`, `deactivate`, `list`, `modify`, `reactivate`, and `retrieve` methods on resource `Meter` +* Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent` +* Add support for `create` test helper method on resource `ConfirmationToken` +* Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice` diff --git a/.hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md b/.hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md new file mode 100644 index 000000000..99d03825a --- /dev/null +++ b/.hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md @@ -0,0 +1,5 @@ +--- +title: Support AIOHTTPClient init without running event loop +pr_link: https://github.com/stripe/stripe-python/pull/1271 +released_in_version: 8.9.0b1 +--- diff --git a/.hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..2db03eeef --- /dev/null +++ b/.hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1272 +is_stripe_api_change: true +released_in_version: 8.9.0b1 +--- + +* Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement` +* Add support for `list` method on resource `ActiveEntitlement` diff --git a/.hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md b/.hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md new file mode 100644 index 000000000..d1fcaa2ba --- /dev/null +++ b/.hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md @@ -0,0 +1,5 @@ +--- +title: Fix unneccessary quotes +pr_link: https://github.com/stripe/stripe-python/pull/1283 +released_in_version: 8.10.0b1 +--- diff --git a/.hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..0ffa70a25 --- /dev/null +++ b/.hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1277 +is_stripe_api_change: true +released_in_version: 8.10.0b1 +--- + +* Add support for `financial_account_transactions`, `financial_account`, `issuing_card`, and `issuing_cards_list` on `AccountSession.CreateParamsComponents` and `AccountSessionService.CreateParamsComponents` +* Remove support for `subscription_billing_cycle_anchor`, `subscription_cancel_at_period_end`, `subscription_cancel_at`, `subscription_cancel_now`, `subscription_default_tax_rates`, `subscription_items`, `subscription_prebilling`, `subscription_proration_behavior`, `subscription_proration_date`, `subscription_resume_at`, `subscription_start_date`, and `subscription_trial_end` on `Invoice.CreatePreviewParams` and `InvoiceService.CreatePreviewParams` diff --git a/.hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..d2afc2ac0 --- /dev/null +++ b/.hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,35 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1293 +is_stripe_api_change: true +released_in_version: 8.11.0b1 +--- + +* Add support for `risk_controls` on parameter class `stripe.Account.CreateParams` and resource `stripe.Account` +* Add support for `promotion_code` on parameter classes `stripe.Invoice.AddLinesParamsLineDiscount`, `stripe.Invoice.CreateParamsDiscount`, `stripe.Invoice.ModifyParamsDiscount`, `stripe.Invoice.UpdateLinesParamsLineDiscount`, `stripe.InvoiceItem.CreateParamsDiscount`, `stripe.InvoiceItem.ModifyParamsDiscount`, `stripe.InvoiceLineItem.ModifyParamsDiscount`, `stripe.Quote.CreateParamsDiscount`, `stripe.Quote.CreateParamsLineActionAddDiscount`, `stripe.Quote.CreateParamsLineItemDiscount`, `stripe.Quote.CreateParamsPhaseLineItemDiscount`, `stripe.Quote.ModifyParamsDiscount`, `stripe.Quote.ModifyParamsLineActionAddDiscount`, `stripe.Quote.ModifyParamsLineItemDiscount`, and `stripe.Quote.ModifyParamsPhaseLineItemDiscount` +* Add support for `zip` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` +* Add support for `offline` on resource class `stripe.SetupAttempt.PaymentMethodDetails.CardPresent` +* Add support for `card_present` on parameter classes `stripe.SetupIntent.ConfirmParamsPaymentMethodOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodOptions`, and `stripe.SetupIntent.ModifyParamsPaymentMethodOptions` and resource class `stripe.SetupIntent.PaymentMethodOptions` +* Add support for `modify` on resource `stripe.entitlements.Feature` +* Add support for `email` on resource `stripe.identity.VerificationReport`, parameter classes `stripe.identity.VerificationSession.CreateParamsOptions` and `stripe.identity.VerificationSession.ModifyParamsOptions`, and resource classes `stripe.identity.VerificationSession.Options` and `stripe.identity.VerificationSession.VerifiedOutputs` +* Add support for `phone` on resource `stripe.identity.VerificationReport`, parameter classes `stripe.identity.VerificationSession.CreateParamsOptions` and `stripe.identity.VerificationSession.ModifyParamsOptions`, and resource classes `stripe.identity.VerificationSession.Options` and `stripe.identity.VerificationSession.VerifiedOutputs` +* Add support for `verification_flow` on resources `stripe.identity.VerificationReport` and `stripe.identity.VerificationSession` and parameter class `stripe.identity.VerificationSession.CreateParams` +* Add support for `provided_details` on parameter classes `stripe.identity.VerificationSession.CreateParams` and `stripe.identity.VerificationSession.ModifyParams` and resource `stripe.identity.VerificationSession` +* Add support for `allowed_merchant_countries` on parameter classes `stripe.issuing.Card.CreateParamsSpendingControls`, `stripe.issuing.Card.ModifyParamsSpendingControls`, `stripe.issuing.Cardholder.CreateParamsSpendingControls`, and `stripe.issuing.Cardholder.ModifyParamsSpendingControls` and resource classes `stripe.issuing.Card.SpendingControls` and `stripe.issuing.Cardholder.SpendingControls` +* Add support for `blocked_merchant_countries` on parameter classes `stripe.issuing.Card.CreateParamsSpendingControls`, `stripe.issuing.Card.ModifyParamsSpendingControls`, `stripe.issuing.Cardholder.CreateParamsSpendingControls`, and `stripe.issuing.Cardholder.ModifyParamsSpendingControls` and resource classes `stripe.issuing.Card.SpendingControls` and `stripe.issuing.Cardholder.SpendingControls` +* Change type of field `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSwish` from `Literal['']|str` to `str` of `reference` +* Add support for `verification_flow` on enums `stripe.identity.VerificationReport.type` and `stripe.identity.VerificationSession.type` +* Add support for `email_unverified_other` on enum `stripe.identity.VerificationSession.LastError.code` +* Add support for `email_verification_declined` on enum `stripe.identity.VerificationSession.LastError.code` +* Add support for `phone_unverified_other` on enum `stripe.identity.VerificationSession.LastError.code` +* Add support for `phone_verification_declined` on enum `stripe.identity.VerificationSession.LastError.code` +* Add support for `mobile_phone_reader` on enums `stripe.terminal.Reader.device_type` and `stripe.terminal.Reader.ListParams.device_type` +* Change type of field `stripe.identity.VerificationSession.CreateParams` from `Literal['document', 'id_number']` to `NotRequired[Literal['document', 'id_number']]` of `type` +* Change type of fields `stripe.Invoice`, `stripe.InvoiceLineItem`, `stripe.QuotePreviewInvoice`, `stripe.Subscription`, and `stripe.SubscriptionItem` from `Optional[List[ExpandableField[Discount]]]` to `List[ExpandableField[Discount]]` of `discounts` +* Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode` from `Optional[str]` to `str` of `data` +* Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode` from `Optional[str]` to `str` of `image_url_png` +* Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode` from `Optional[str]` to `str` of `image_url_svg` +* Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[str]` to `str` of `hosted_instructions_url` +* Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[str]` to `str` of `mobile_auth_url` +* Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[QrCode]` to `QrCode` of `qr_code` +* Change type of fields `stripe.QuoteLine.Action.AddItem`, `stripe.QuoteLine.Action.SetItem`, `stripe.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem`, `stripe.QuotePreviewSubscriptionSchedule.Phase.Item`, `stripe.QuotePreviewSubscriptionSchedule.Phase`, `stripe.SubscriptionSchedule.Phase.AddInvoiceItem`, `stripe.SubscriptionSchedule.Phase.Item`, and `stripe.SubscriptionSchedule.Phase` from `Optional[List[Discount]]` to `List[Discount]` of `discounts` diff --git a/.hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..3c45e85b4 --- /dev/null +++ b/.hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,26 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1296 +is_stripe_api_change: true +released_in_version: 9.2.0b1 +--- + +* Add support for `external_account_collection` on resource class `stripe.AccountSession.Components.AccountOnboarding.Features` and parameter class `stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures` +* Add support for `account_management` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `notification_banner` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `amazon_pay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.PaymentIntent.PaymentMethodOptions`, `stripe.Refund.DestinationDetails`, `stripe.SetupIntent.PaymentMethodOptions`, and `stripe.checkout.Session.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodOptions`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptions`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` +* Add support for `capture_method` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRevolutPay`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRevolutPay`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRevolutPay` and resource class `stripe.PaymentIntent.PaymentMethodOptions.RevolutPay` +* Change type of field `stripe.billing.MeterEventAdjustment` from `Cancel` to `Optional[Cancel]` of `cancel` +* Change type of field `stripe.billing.MeterEventAdjustment.Cancel` from `str` to `Optional[str]` of `identifier` +* Change type of field `stripe.billing.MeterEventAdjustment.CreateParamsCancel` from `str` to `NotRequired[str]` of `identifier` +* Change type of field `stripe.billing.MeterEventAdjustment.CreateParams` from `MeterEventAdjustment.CreateParamsCancel` to `NotRequired[MeterEventAdjustment.CreateParamsCancel]` of `cancel` +* Change type of field `stripe.billing.MeterEventAdjustment.CreateParams` from `NotRequired[Literal['cancel']]` to `Literal['cancel']` of `type` +* Add support for `bh_vat` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, `stripe.QuotePreviewInvoice.CustomerTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` +* Add support for `kz_bin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, `stripe.QuotePreviewInvoice.CustomerTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` +* Add support for `ng_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, `stripe.QuotePreviewInvoice.CustomerTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` +* Add support for `om_vat` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, `stripe.QuotePreviewInvoice.CustomerTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` +* Add support for `amazon_pay` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `billing_policy_remote_function_response_invalid` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` +* Add support for `billing_policy_remote_function_timeout` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` +* Add support for `billing_policy_remote_function_unexpected_status_code` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` +* Add support for `billing_policy_remote_function_unreachable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` diff --git a/.hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..f932d592a --- /dev/null +++ b/.hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,24 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1302 +is_stripe_api_change: true +released_in_version: 9.4.0b1 +--- + +* Add support for `balances` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `payouts_list` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `capital_overview` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `tax_registrations` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `tax_settings` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `external_account_collection` on parameter class `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures` +* Add support for `allow_redisplay` on parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.Customer.ListPaymentMethodsParams`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData` +* Add support for `subscription_trial_from_plan` on parameter classes `stripe.Invoice.UpcomingLinesParams` and `stripe.Invoice.UpcomingParams` +* Add support for `swish` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` +* Add support for `payment_method_data` on parameter class `stripe.checkout.Session.CreateParams` +* Add support for `saved_payment_method_options` on parameter class `stripe.checkout.Session.CreateParams` and resource `stripe.checkout.Session` +* Add support for `mobilepay` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptions` and resource class `stripe.checkout.Session.PaymentMethodOptions` +* Remove support for `config` on parameter class `stripe.forwarding.Request.CreateParams` and resource `stripe.forwarding.Request` +* Change type of fields `stripe.AccountSession.Components.PaymentDetails.Features` and `stripe.AccountSession.Components.Payments.Features` from `Optional[bool]` to `bool` of `destination_on_behalf_of_charge_management` +* Change type of field `stripe.billing.MeterEvent.CreateParams` from `int` to `NotRequired[int]` of `timestamp` +* Add support for `mobilepay` on enum `stripe.checkout.Session.CreateParams.payment_method_types` +* Add support for `other` on enums `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit` diff --git a/.hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..b47e75f5c --- /dev/null +++ b/.hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,11 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1308 +is_stripe_api_change: true +released_in_version: 9.5.0b1 +--- + +* Add support for `payment_method_settings` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `cancel_subscription_schedule` on parameter classes `stripe.Quote.CreateParamsLine` and `stripe.Quote.ModifyParamsLine` and resource `stripe.QuoteLine` +* Add support for `amazon_pay` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` +* Add support for `revolut_pay` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` diff --git a/.hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..560569902 --- /dev/null +++ b/.hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,13 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1318 +is_stripe_api_change: true +released_in_version: 9.6.0b1 +--- + +* Add support for `rechnung_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `rechnung` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Add support for `multibanco` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptions` and resource class `stripe.checkout.Session.PaymentMethodOptions` +* Add support for `multibanco` on enum `stripe.checkout.Session.CreateParams.payment_method_types` +* Add support for `rechnung` on enums `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Change type of `transactions` on `stripe.gift_cards.Card` from `ListObject[Transaction]` to `Optional[ListObject[Transaction]]` diff --git a/.hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..49a3209a0 --- /dev/null +++ b/.hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1321 +is_stripe_api_change: true +released_in_version: 9.7.0b1 +--- + +* No new beta features. Merging changes from the main branch. diff --git a/.hark/changes/2024-05-13_xavdid_beta-swap-black.change.md b/.hark/changes/2024-05-13_xavdid_beta-swap-black.change.md new file mode 100644 index 000000000..a882e45c6 --- /dev/null +++ b/.hark/changes/2024-05-13_xavdid_beta-swap-black.change.md @@ -0,0 +1,5 @@ +--- +title: (beta) swap from `black` to `ruff` for formatting +pr_link: https://github.com/stripe/stripe-python/pull/1330 +released_in_version: 9.8.0b1 +--- diff --git a/.hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..81ba00380 --- /dev/null +++ b/.hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1327 +is_stripe_api_change: true +released_in_version: 9.8.0b1 +--- diff --git a/.hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..b63584107 --- /dev/null +++ b/.hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1331 +is_stripe_api_change: true +released_in_version: 9.9.0b1 +--- + +* Change type of `refund` on `stripe.CreditNote.CreateParamsRefund`, `stripe.CreditNote.PreviewParamsRefund`, and `stripe.CreditNote.PreviewLinesParamsRefund` from `str` to `NotRequired[str]` +* Add support for `terminal_reader_invalid_location_for_payment` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` diff --git a/.hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..c73454c5c --- /dev/null +++ b/.hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1334 +is_stripe_api_change: true +released_in_version: 9.10.0b1 +--- + +* Add support for `en-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` +* Add support for `ro-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` diff --git a/.hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..4fd0979b7 --- /dev/null +++ b/.hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1339 +is_stripe_api_change: true +released_in_version: 9.11.0b1 +--- + +* Add support for `twint` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions` and resource class `stripe.PaymentIntent.PaymentMethodOptions` +* Add support for `swish` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` diff --git a/.hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..02bc95073 --- /dev/null +++ b/.hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1343 +is_stripe_api_change: true +released_in_version: 9.12.0b1 +--- + +* Add support for `de_stn` on enums `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` diff --git a/.hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..271775491 --- /dev/null +++ b/.hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,10 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1349 +is_stripe_api_change: true +released_in_version: 10.2.0b1 +--- + +* Add support for `filters` on resource class `stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections` +* Remove support for `payment_method_set_as_default` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures` +* Add support for `ch_uid` on enums `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` diff --git a/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..2da64d8eb --- /dev/null +++ b/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,15 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1355 +is_breaking: true +is_stripe_api_change: true +released_in_version: 10.3.0b1 +--- + +* ⚠️ Remove support for `payment_method_update` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures`. Users are expected to completely migrate from using payment_method_update. +* Add support for `payment_method_allow_redisplay_filters`, `payment_method_redisplay`, `payment_method_save_usage` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures` +* Add support for `institution` on parameter classes `stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, and `stripe.financial_connections.Session.CreateParamsFilters` and resource classes `stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, and `stripe.financial_connections.Session.Filters` +* Add support for resource `stripe.financial_connections.Institution` +* Add support for `balance` on enums `stripe.financial_connections.Account.subscriptions`, `stripe.financial_connections.Account.SubscribeParams.features`, and `stripe.financial_connections.Account.UnsubscribeParams.features` +* Add support for `financial_connections_institution_unavailable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` +* Add support for `payment_intent_fx_quote_invalid` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` diff --git a/.hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..49e3d33e7 --- /dev/null +++ b/.hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,14 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1356 +is_stripe_api_change: true +released_in_version: 10.4.0b1 +--- + +* Change type of `payment_element` on `stripe.CustomerSession.Components` from `Optional[PaymentElement]` to `PaymentElement` +* Add support for `not_qualified` on enum `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status` +* Remove support for `billing_policy_remote_function_response_invalid` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` +* Remove support for `billing_policy_remote_function_timeout` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` +* Remove support for `billing_policy_remote_function_unexpected_status_code` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` +* Remove support for `billing_policy_remote_function_unreachable` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` +* Remove support for `payment_intent_fx_quote_invalid` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` diff --git a/.hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..a486d7400 --- /dev/null +++ b/.hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,21 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1361 +is_stripe_api_change: true +released_in_version: 10.6.0b1 +--- + +* Add support for `capital` on parameter class `stripe.Account.CreateParamsSettings` and resource class `stripe.Account.Settings` +* Add support for `payment` on resource `stripe.InvoicePayment` +* Add support for `async_workflows` on parameter classes `stripe.PaymentIntent.CaptureParams`, `stripe.PaymentIntent.ConfirmParams`, `stripe.PaymentIntent.CreateParams`, `stripe.PaymentIntent.DecrementAuthorizationParams`, `stripe.PaymentIntent.IncrementAuthorizationParams`, and `stripe.PaymentIntent.ModifyParams` and resource `stripe.PaymentIntent` +* Add support for `payto` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` +* Add support for resource `stripe.billing.Alert` +* Add support for resource `stripe.tax.Association` +* Add support for `display_name` on parameter classes `stripe.treasury.FinancialAccount.CreateParams` and `stripe.treasury.FinancialAccount.ModifyParams` and resource `stripe.treasury.FinancialAccount` +* Remove support for `charge` on resource `stripe.InvoicePayment` +* Remove support for `payment_intent` on resource `stripe.InvoicePayment` +* Add support for `issuing.account_closed_for_not_providing_business_model_clarification` on enum `stripe.AccountNotice.reason` +* Add support for `issuing.account_closed_for_not_providing_url_clarification` on enum `stripe.AccountNotice.reason` +* Add support for `issuing.account_closed_for_not_providing_use_case_clarification` on enum `stripe.AccountNotice.reason` +* Add support for `billing.alert.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `multibanco` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` diff --git a/.hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..9b188ec99 --- /dev/null +++ b/.hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,18 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1370 +is_stripe_api_change: true +released_in_version: 10.7.0b1 +--- + +* Add support for `app_install` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `app_viewport` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `_cls_attach_payment` on resource `stripe.Invoice` +* Add support for `attach_payment` on resource `stripe.Invoice` +* Add support for `lines_invalid` on resource class `stripe.Quote.StatusDetails.Stale.LastReason` +* Add support for `last_price_migration_error` on resources `stripe.QuotePreviewSubscriptionSchedule`, `stripe.Subscription`, and `stripe.SubscriptionSchedule` +* Remove support for `partner_rejected_details` on resource class `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3` +* Add support for `customer.subscription.price_migration_failed` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `subscription_schedule.price_migration_failed` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `lines_invalid` on enum `stripe.Quote.StatusDetails.Stale.LastReason.type` +* Add support for `charge_exceeds_transaction_limit` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` diff --git a/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..2eadfd0c6 --- /dev/null +++ b/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,14 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1372 +is_breaking: true +is_stripe_api_change: true +released_in_version: 10.8.0b1 +--- + +* Add support for `capital_financing` on resource class `stripe.AccountSession.Components` +* Add support for `payto` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptions` and resource class `stripe.checkout.Session.PaymentMethodOptions` +* ⚠️ Remove support for `risk_correlation_id` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRechnung`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRechnung`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRechnung` and resource class `stripe.PaymentIntent.PaymentMethodOptions.Rechnung` +* Add support for `custom` on enums `stripe.checkout.Session.ui_mode` and `stripe.checkout.Session.CreateParams.ui_mode` +* Add support for `payto` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` +* Add support for `invalid_mandate_reference_prefix_format` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` diff --git a/.hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..19520ba91 --- /dev/null +++ b/.hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,11 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1375 +is_stripe_api_change: true +released_in_version: 10.9.0b1 +--- + +* Add support for `capital_financing` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `permissions` on parameter class `stripe.checkout.Session.CreateParams` and resource `stripe.checkout.Session` +* Add support for `collected_information` on parameter class `stripe.checkout.Session.ModifyParams` and resource `stripe.checkout.Session` +* Add support for `shipping_options` on parameter class `stripe.checkout.Session.ModifyParams` diff --git a/.hark/changes/2024-08-22_xavdid_update-generated-code.change.md b/.hark/changes/2024-08-22_xavdid_update-generated-code.change.md new file mode 100644 index 000000000..fbfd97088 --- /dev/null +++ b/.hark/changes/2024-08-22_xavdid_update-generated-code.change.md @@ -0,0 +1,16 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1377 +is_stripe_api_change: true +released_in_version: 10.9.0b2 +--- + +* Add support for `mb_way_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `mb_way` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Remove support for `phases` on parameter classes `stripe.Quote.CreateParams` and `stripe.Quote.ModifyParams` +* Remove support for `from_schedule` on parameter class `stripe.Quote.CreateParamsSubscriptionData` +* Add support for `mb_way` on enums `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `hr_oib` on enums `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Remove support for `accepted` on enum `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status` +* Remove support for `partner_rejected` on enum `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status` +* Remove support for `submitted` on enum `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status` diff --git a/.hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..1e1a0caa3 --- /dev/null +++ b/.hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,14 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1380 +is_stripe_api_change: true +released_in_version: 10.11.0b1 +--- + +* Add support for `email` on resource class `stripe.checkout.Session.CollectedInformation` +* Add support for `phone` on resource class `stripe.checkout.Session.CollectedInformation` +* Add support for `regulatory_reporting_file` on parameter classes `stripe.issuing.CreditUnderwritingRecord.CorrectParams`, `stripe.issuing.CreditUnderwritingRecord.CreateFromProactiveReviewParams`, and `stripe.issuing.CreditUnderwritingRecord.ReportDecisionParams` and resource `stripe.issuing.CreditUnderwritingRecord` +* Add support for resource `stripe.terminal.ReaderCollectedData` +* Remove support for `rechnung` on parameter class `stripe.PaymentMethod.ModifyParams` +* Add support for `mb_way` on enum `stripe.checkout.Session.CreateParams.payment_method_types` +* Add support for `terminal_reader_collected_data_invalid` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` diff --git a/.hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..dfac00b6b --- /dev/null +++ b/.hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,13 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1387 +is_stripe_api_change: true +released_in_version: 10.11.0b1 +--- + +* Add support for `recipients` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for resource `stripe.billing.MeterErrorReport` +* Add support for `business_name` on resource class `stripe.checkout.Session.CollectedInformation` +* Add support for `tax_ids` on resource class `stripe.checkout.Session.CollectedInformation` +* Add support for `billing.meter_error_report.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `mb_way` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` diff --git a/.hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..84f5986cb --- /dev/null +++ b/.hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,17 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1389 +is_stripe_api_change: true +released_in_version: 10.12.0b1 +--- + +* Add support for `template` on resource class `stripe.QuotePreviewInvoice.Rendering` +* Add support for resource `stripe.issuing.DisputeSettlementDetail` +* Add support for resource `stripe.issuing.Settlement` +* Add support for `settlement` on parameter class `stripe.issuing.Transaction.ListParams` and resource `stripe.issuing.Transaction` +* Remove support for `list` on resource `stripe.QuotePhase` +* Add support for `rechnung` on enum `stripe.checkout.Session.CreateParams.payment_method_types` +* Add support for `issuing_dispute_settlement_detail.created` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `issuing_dispute_settlement_detail.updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `issuing_settlement.created` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `issuing_settlement.updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` diff --git a/.hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..3c88d6592 --- /dev/null +++ b/.hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,13 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1395 +is_stripe_api_change: true +released_in_version: 10.13.0b1 +--- + +* Add support for `send_money` on parameter class `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures` +* Add support for `transfer_balance` on parameter class `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures` +* Add support for `automatically_finalizes_at` on resource `stripe.QuotePreviewInvoice` +* Remove support for resource `stripe.QuotePhase` +* Add support for `rechnung` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` +* Add support for `terminal_reader_invalid_location_for_activation` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` diff --git a/.hark/changes/2024-10-02_jar_updates-beta-branch.change.md b/.hark/changes/2024-10-02_jar_updates-beta-branch.change.md new file mode 100644 index 000000000..45243199d --- /dev/null +++ b/.hark/changes/2024-10-02_jar_updates-beta-branch.change.md @@ -0,0 +1,12 @@ +--- +title: Updates beta branch with changes in master & update generated code +pr_link: https://github.com/stripe/stripe-python/pull/1407 +released_in_version: 11.2.0b1 +--- + +* Add support for `reporting_chart` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `total_pretax_credit_amounts` on resource `stripe.QuotePreviewInvoice` +* Add support for `allow_redisplay` on parameter class `stripe.terminal.Reader.CollectPaymentMethodParamsCollectConfig` +* Remove support for `from_schedule` on resource class `stripe.Quote.SubscriptionData` +* Move `raw_request` and related methods from `_raw_request` module to the `StripeClient` class +* Remove `_preview` module; use raw request methods in the `StripeClient` class instead diff --git a/.hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..af0f77fbb --- /dev/null +++ b/.hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,28 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1396 +is_stripe_api_change: true +released_in_version: 11.2.0b2 +--- + +* Add support for `groups` on parameter class `stripe.Account.CreateParams` and resource `stripe.Account` +* Add support for `disable_stripe_user_authentication` on resource classes `stripe.AccountSession.Components.AccountManagement.Features`, `stripe.AccountSession.Components.AccountOnboarding.Features`, `stripe.AccountSession.Components.Balances.Features`, `stripe.AccountSession.Components.NotificationBanner.Features`, and `stripe.AccountSession.Components.Payouts.Features` and parameter classes `stripe.AccountSession.CreateParamsComponentsAccountManagementFeatures`, `stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures`, `stripe.AccountSession.CreateParamsComponentsBalancesFeatures`, `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures`, `stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures`, and `stripe.AccountSession.CreateParamsComponentsPayoutsFeatures` +* Add support for `card_spend_dispute_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures` +* Add support for `spend_control_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures` +* Add support for `kakao_pay` and `kr_card` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.Mandate.PaymentMethodDetails`, `stripe.PaymentIntent.PaymentMethodOptions`, and `stripe.SetupAttempt.PaymentMethodDetails`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Add support for `naver_pay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Add support for `payco` and `samsung_pay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Add support for `line_items` on parameter classes `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsPaypal`, `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsPaypal`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsPaypal`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsPaypal`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsPaypal` and resource classes `stripe.Order.Payment.Settings.PaymentMethodOptions.Paypal` and `stripe.PaymentIntent.PaymentMethodOptions.Paypal` +* Add support for `flat_amount` on resource `stripe.TaxRate` and resource class `stripe.tax.Calculation.TaxBreakdown.TaxRateDetails` +* Add support for `rate_type` on resource `stripe.TaxRate` and resource class `stripe.tax.Calculation.TaxBreakdown.TaxRateDetails` +* Add support for `metadata` on resource `stripe.forwarding.Request` +* Add support for `_cls_submit_card` on resource `stripe.issuing.Card` +* Add support for `submit_card` on resource `stripe.issuing.Card` +* Add support for `by`, `cr`, `ec`, `ma`, `md`, `rs`, `ru`, `tz`, and `uz` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` +* Add support for `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, `stripe.QuotePreviewInvoice.CustomerTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` +* Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `refund.failed` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `payout_statement_descriptor_profanity` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` +* Add support for `retail_delivery_fee` on enums `stripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type`, `stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.TaxRate.tax_type`, `stripe.TaxRate.CreateParams.tax_type`, and `stripe.TaxRate.ModifyParams.tax_type` +* Add support for `expired` on enums `stripe.issuing.Authorization.status` and `stripe.issuing.Authorization.ListParams.status` +* Add support for `state_retail_delivery_fee` on enums `stripe.tax.Registration.CountryOptions.Us.type` and `stripe.tax.Registration.CreateParamsCountryOptionsUs.type` diff --git a/.hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..2e1be8d1f --- /dev/null +++ b/.hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,52 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1413 +is_stripe_api_change: true +released_in_version: 11.2.0b3 +--- + +* Add support for `alma_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `gopay_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `kakao_pay_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `kr_card_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `naver_pay_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `payco_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `qris_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `samsung_pay_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `shopeepay_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `treasury_evolve` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `treasury_fifth_third` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `treasury_goldman_sachs` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `alma` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.PaymentIntent.PaymentMethodOptions`, and `stripe.Refund.DestinationDetails`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` +* Add support for `gopay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Add support for `qris` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Add support for `shopeepay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` +* Add support for `amazon_pay` on resource `stripe.PaymentMethodDomain` +* Add support for `schedule_at_period_end` on parameter classes `stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate` and `stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdate` and resource class `stripe.billing_portal.Configuration.Features.SubscriptionUpdate` +* Add support for `metadata` on parameter class `stripe.forwarding.Request.CreateParams` +* Add support for `external_reference` on parameter class `stripe.tax.Form.ListParamsPayee` and resource class `stripe.tax.Form.Payee` +* Add support for `au_serr` on resource `stripe.tax.Form` +* Add support for `ca_mrdp` on resource `stripe.tax.Form` +* Add support for `eu_dac7` on resource `stripe.tax.Form` +* Add support for `gb_mrdp` on resource `stripe.tax.Form` +* Add support for `nz_mrdp` on resource `stripe.tax.Form` +* Add support for `pln` on parameter classes `stripe.terminal.Configuration.CreateParamsTipping` and `stripe.terminal.Configuration.ModifyParamsTipping` and resource class `stripe.terminal.Configuration.Tipping` +* Add support for `bank` on parameter classes `stripe.treasury.FinancialAccount.CreateParamsFeaturesFinancialAddressesAba`, `stripe.treasury.FinancialAccount.ModifyParamsFeaturesFinancialAddressesAba`, and `stripe.treasury.FinancialAccount.UpdateFeaturesParamsFinancialAddressesAba` and resource class `stripe.treasury.FinancialAccountFeatures.FinancialAddresses.Aba` +* Change type of `business_profile` on `stripe.billing_portal.Configuration.CreateParams` from `Configuration.CreateParamsBusinessProfile` to `NotRequired[Configuration.CreateParamsBusinessProfile]` +* Add support for `alma` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `gopay` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `qris` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `shopeepay` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `auto` on enum `stripe.Customer.ModifyParamsTax.validate_location` +* Add support for `jp_credit_transfer` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` +* Add support for `kakao_pay` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` +* Add support for `kr_card` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` +* Add support for `naver_pay` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` +* Add support for `payco` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` +* Add support for `au_serr` on enums `stripe.tax.Form.type` and `stripe.tax.Form.ListParams.type` +* Add support for `ca_mrdp` on enums `stripe.tax.Form.type` and `stripe.tax.Form.ListParams.type` +* Add support for `eu_dac7` on enums `stripe.tax.Form.type` and `stripe.tax.Form.ListParams.type` +* Add support for `gb_mrdp` on enums `stripe.tax.Form.type` and `stripe.tax.Form.ListParams.type` +* Add support for `nz_mrdp` on enums `stripe.tax.Form.type` and `stripe.tax.Form.ListParams.type` +* Add support for `external_reference` on enums `stripe.tax.Form.Payee.type` and `stripe.tax.Form.ListParamsPayee.type` +* Remove support for `expired` on enums `stripe.issuing.Authorization.status` and `stripe.issuing.Authorization.ListParams.status` diff --git a/.hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..ea22520b8 --- /dev/null +++ b/.hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,21 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1417 +is_stripe_api_change: true +released_in_version: 11.3.0b1 +--- + +* Add support for `id_bank_transfer_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `bank_bca_onboarding` on parameter class `stripe.Account.CreateParamsSettings` and resource class `stripe.Account.Settings` +* Add support for `send_money` on parameter class `stripe.AccountSession.CreateParamsComponentsRecipientsFeatures` +* Add support for `id_bank_transfer` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.Invoice.PaymentSettings.PaymentMethodOptions`, `stripe.PaymentIntent.PaymentMethodOptions`, `stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions`, `stripe.Refund.DestinationDetails`, `stripe.SetupAttempt.PaymentMethodDetails`, and `stripe.Subscription.PaymentSettings.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptions`, `stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptions`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptions`, and `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` +* Add support for `_cls_trigger_action` on resource `stripe.PaymentIntent` +* Add support for `trigger_action` on resource `stripe.PaymentIntent` +* Add support for `gopay` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` +* Add support for `qris` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` +* Add support for `shopeepay` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` +* Add support for `id_bank_transfer` on enums `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, `stripe.SetupIntent.ModifyParamsPaymentMethodData.type`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` +* Change type of `enhanced_eligibility_types` on `stripe.Dispute` from `Optional[List[Literal['visa_compelling_evidence_3']]]` to `List[Literal['visa_compelling_evidence_3']]` +* Change type of `enhanced_evidence` on `stripe.Dispute.Evidence` from `Optional[EnhancedEvidence]` to `EnhancedEvidence` +* Change type of `enhanced_eligibility` on `stripe.Dispute.EvidenceDetails` from `Optional[EnhancedEligibility]` to `EnhancedEligibility` +* Remove support for `payout_statement_descriptor_profanity` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` diff --git a/.hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..904057a58 --- /dev/null +++ b/.hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,45 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1421 +is_stripe_api_change: true +released_in_version: 11.3.0b2 +--- + +* Add support for `card_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures` +* Add support for `card_spend_dispute_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures` +* Add support for `cardholder_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures` +* Add support for `spend_control_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures` +* Add support for `disable_stripe_user_authentication` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures` +* Add support for `account_holder_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift` +* Add support for `account_holder_name` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift` +* Add support for `account_type` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift` +* Add support for `bank_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift` +* Add support for `payment_record` on parameter class `stripe.Invoice.AttachPaymentParams` and resource class `stripe.InvoicePayment.Payment` +* Add support for `amount_overpaid` on resources `stripe.Invoice` and `stripe.QuotePreviewInvoice` +* Add support for resource `stripe.PaymentAttemptRecord` +* Add support for `submit_type` on parameter class `stripe.PaymentLink.ModifyParams` +* Add support for resource `stripe.PaymentRecord` +* Add support for `adaptive_pricing` on parameter class `stripe.checkout.Session.CreateParams` and resource `stripe.checkout.Session` +* Add support for `mandate_options` on parameter classes `stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit` and `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit` and resource classes `stripe.checkout.Session.PaymentMethodOptions.BacsDebit` and `stripe.checkout.Session.PaymentMethodOptions.SepaDebit` +* Add support for `request_decremental_authorization` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` +* Add support for `request_extended_authorization` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` +* Add support for `request_incremental_authorization` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` +* Add support for `request_multicapture` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` +* Add support for `request_overcapture` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` +* Add support for `capture_method` on parameter classes `stripe.checkout.Session.CreateParamsPaymentMethodOptionsKakaoPay`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsKrCard`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsNaverPay`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsPayco`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSamsungPay` +* Add support for `merchant_amount` on parameter class `stripe.issuing.Authorization.CreateParams` +* Add support for `merchant_currency` on parameter class `stripe.issuing.Authorization.CreateParams` +* Add support for resource `stripe.issuing.FraudLiabilityDebit` +* Remove support for `money_movement` on parameter class `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures` +* Remove support for `out_of_band_payment` on parameter class `stripe.Invoice.AttachPaymentParams` and resource class `stripe.InvoicePayment.Payment` +* Change type of `disabled_reason` on `stripe.Account.FutureRequirements` and `stripe.Account.Requirements` from `str` to `Literal['action_required.requested_capabilities', 'listed', 'other', 'platform_paused', 'rejected.fraud', 'rejected.incomplete_verification', 'rejected.listed', 'rejected.other', 'rejected.platform_fraud', 'rejected.platform_other', 'rejected.platform_terms_of_service', 'rejected.terms_of_service', 'requirements.past_due', 'requirements.pending_verification', 'under_review']` +* Change type of `disable_stripe_user_authentication` on `stripe.AccountSession.Components.AccountManagement.Features`, `stripe.AccountSession.Components.AccountOnboarding.Features`, `stripe.AccountSession.Components.Balances.Features`, `stripe.AccountSession.Components.NotificationBanner.Features`, and `stripe.AccountSession.Components.Payouts.Features` from `Optional[bool]` to `bool` +* Add support for `li_vat` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, `stripe.QuotePreviewInvoice.CustomerTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` +* Add support for `invoice.payment_attempt_required` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `issuing_fraud_liability_debit.created` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` +* Add support for `custom` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` +* Add support for `service_tax` on enums `stripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type`, `stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.TaxRate.tax_type`, `stripe.TaxRate.CreateParams.tax_type`, and `stripe.TaxRate.ModifyParams.tax_type` +* Add support for `payment_record` on enum `stripe.InvoicePayment.Payment.type` +* Add support for `link` on enums `stripe.PaymentIntent.PaymentMethodOptions.Card.network`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.PaymentMethodOptions.Card.network`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network`, and `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network` +* Change type of `amount` on `stripe.issuing.Authorization.CreateParams` from `int` to `NotRequired[int]` +* Change type of `origin_payment_method` on `stripe.treasury.InboundTransfer` from `str` to `Optional[str]` diff --git a/.hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..6e4471da1 --- /dev/null +++ b/.hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,11 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1422 +is_stripe_api_change: true +released_in_version: 11.3.0b3 +--- + +* Add support for `account_holder_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin` +* Add support for `bank_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin` +* Add support for `account_holder_name` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei` and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei` +* Add support for `subscribe` on enum `stripe.PaymentLink.ModifyParams.submit_type` diff --git a/.hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..3eae266c8 --- /dev/null +++ b/.hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,20 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1425 +is_stripe_api_change: true +released_in_version: 11.4.0b1 +--- + +* Add support for `network_advice_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.QuotePreviewInvoice.LastFinalizationError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` +* Add support for `network_decline_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.QuotePreviewInvoice.LastFinalizationError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` +* Add support for `funding` on resource classes `stripe.Charge.PaymentMethodDetails.AmazonPay` and `stripe.Charge.PaymentMethodDetails.RevolutPay` +* Add support for `amount_requested` on resource class `stripe.Charge.PaymentMethodDetails.Card` +* Add support for `partial_authorization` on resource class `stripe.Charge.PaymentMethodDetails.Card` +* Add support for `adjustable_quantity` on resource `stripe.LineItem` +* Add support for `display` on resource `stripe.LineItem` +* Add support for `metadata` on resource `stripe.LineItem` and parameter class `stripe.checkout.Session.CreateParamsLineItem` +* Add support for `request_partial_authorization` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard` and resource class `stripe.PaymentIntent.PaymentMethodOptions.Card` +* Add support for `payment_method_options` on parameter class `stripe.PaymentIntent.IncrementAuthorizationParams` +* Add support for `line_items` on parameter classes `stripe.checkout.Session.CreateParamsPermissionsUpdate` and `stripe.checkout.Session.ModifyParams` and resource class `stripe.checkout.Session.Permissions.Update` +* Change type of `schedule_at_period_end` on `stripe.billing_portal.Configuration.Features.SubscriptionUpdate` from `Optional[ScheduleAtPeriodEnd]` to `ScheduleAtPeriodEnd` +* Add support for `invoice.overpaid` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` diff --git a/.hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..8064076fe --- /dev/null +++ b/.hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,13 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1426 +is_stripe_api_change: true +released_in_version: 11.4.0b2 +--- + +* Add support for `automatic_indirect_tax` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `disabled_reason` on resource classes `stripe.Invoice.AutomaticTax`, `stripe.QuotePreviewInvoice.AutomaticTax`, `stripe.QuotePreviewSubscriptionSchedule.DefaultSettings.AutomaticTax`, `stripe.QuotePreviewSubscriptionSchedule.Phase.AutomaticTax`, `stripe.Subscription.AutomaticTax`, `stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax`, and `stripe.SubscriptionSchedule.Phase.AutomaticTax` +* Add support for `reference_prefix` on parameter classes `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions` and resource classes `stripe.Order.Payment.Settings.PaymentMethodOptions.SepaDebit.MandateOptions`, `stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions`, `stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions`, `stripe.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions`, `stripe.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions`, `stripe.checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions`, and `stripe.checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions` +* Add support for `trial_period_days` on parameter class `stripe.PaymentLink.ModifyParamsSubscriptionData` +* Add support for `payout_minimum_balance_hold` on enum `stripe.BalanceTransaction.type` +* Add support for `payout_minimum_balance_release` on enum `stripe.BalanceTransaction.type` diff --git a/.hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..1841142a9 --- /dev/null +++ b/.hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,29 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1429 +is_stripe_api_change: true +released_in_version: 11.4.0b3 +--- + +* Add support for `allow_redisplay` on resources `stripe.Card` and `stripe.Source` +* Add support for `account` on resource classes `stripe.terminal.Reader.Action.CollectPaymentMethod`, `stripe.terminal.Reader.Action.ConfirmPaymentIntent`, `stripe.terminal.Reader.Action.ProcessPaymentIntent`, and `stripe.terminal.Reader.Action.RefundPayment` +* Remove support for `amount_refunded` on resource `stripe.PaymentRecord` +* Add support for `am_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `ao_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `ba_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `bb_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `bs_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `cd_nif` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `gn_nif` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `kh_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `me_pib` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `mk_vat` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `mr_nif` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `np_pan` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `sn_ninea` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `sr_fin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `tj_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `ug_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `zm_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `zw_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `network_fallback` on enum `stripe.issuing.Authorization.RequestHistory.reason` diff --git a/.hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..e152b5e5d --- /dev/null +++ b/.hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,26 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1433 +is_stripe_api_change: true +released_in_version: 11.5.0b1 +--- + +* Add support for `directorship_declaration` on resource class `stripe.Account.Company` +* Add support for `ownership_exemption_reason` on resource class `stripe.Account.Company` and parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` +* Add support for `brand_product` on resource `stripe.Card` and resource classes `stripe.Source.Card`, `stripe.Source.CardPresent`, and `stripe.Source.ThreeDSecure` +* Add support for `advice_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.QuotePreviewInvoice.LastFinalizationError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` +* Add support for `country` on resource classes `stripe.Charge.PaymentMethodDetails.Paypal`, `stripe.ConfirmationToken.PaymentMethodPreview.Paypal`, and `stripe.PaymentMethod.Paypal` +* Add support for `phone_number_collection` on parameter class `stripe.PaymentLink.ModifyParams` +* Add support for `nickname` on parameter classes `stripe.treasury.FinancialAccount.CreateParams` and `stripe.treasury.FinancialAccount.ModifyParams` and resource `stripe.treasury.FinancialAccount` +* Add support for `forwarding_settings` on parameter class `stripe.treasury.FinancialAccount.ModifyParams` +* Add support for `_cls_close` on resource `stripe.treasury.FinancialAccount` +* Add support for `close` on resource `stripe.treasury.FinancialAccount` +* Add support for `is_default` on resource `stripe.treasury.FinancialAccount` +* Add support for `destination_payment_method_data` on parameter class `stripe.treasury.OutboundTransfer.CreateParams` +* Add support for `financial_account` on resource class `stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails` +* Add support for `outbound_transfer` on resource class `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails` +* Remove support for `always_invoice` on enums `stripe.billing_portal.Configuration.Features.SubscriptionCancel.proration_behavior`, `stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionCancel.proration_behavior`, and `stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionCancel.proration_behavior` +* Add support for `al_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` +* Add support for `financial_account` on enum `stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type` +* Add support for `outbound_transfer` on enums `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type` and `stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type` +* Change type of `pretax_credit_amounts` on `stripe.CreditNote` and `stripe.CreditNoteLineItem` from `Optional[List[PretaxCreditAmount]]` to `List[PretaxCreditAmount]` diff --git a/.hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..c5e46ef8d --- /dev/null +++ b/.hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,20 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1439 +is_stripe_api_change: true +released_in_version: 11.5.0b2 +--- + +* Add support for `pay_by_bank_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` +* Add support for `directorship_declaration` on parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` +* Add support for `proof_of_ultimate_beneficial_ownership` on parameter class `stripe.Account.CreateParamsDocuments` +* Add support for `financial_account` on resource class `stripe.AccountSession.Components` +* Add support for `issuing_card` on resource class `stripe.AccountSession.Components` +* Add support for `tax_threshold_monitoring` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `pay_by_bank` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` +* Add support for `discounts` on resource `stripe.checkout.Session` +* Add support for `jpy` on parameter classes `stripe.terminal.Configuration.CreateParamsTipping` and `stripe.terminal.Configuration.ModifyParamsTipping` and resource class `stripe.terminal.Configuration.Tipping` +* Add support for `always_invoice` on enums `stripe.billing_portal.Configuration.Features.SubscriptionCancel.proration_behavior`, `stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionCancel.proration_behavior`, and `stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionCancel.proration_behavior` +* Add support for `SD` on enums `stripe.checkout.Session.ShippingAddressCollection.allowed_countries`, `stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries`, `stripe.PaymentLink.ShippingAddressCollection.allowed_countries`, `stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries`, and `stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries` +* Add support for `pay_by_bank` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` +* Add support for `2025-01-27.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` diff --git a/.hark/changes/2025-01-23_prathmesh_update-generated-code.change.md b/.hark/changes/2025-01-23_prathmesh_update-generated-code.change.md new file mode 100644 index 000000000..1f0b534dd --- /dev/null +++ b/.hark/changes/2025-01-23_prathmesh_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1447 +is_stripe_api_change: true +released_in_version: 11.5.0b3 +--- + +* Remove support for `stripe_account` on resource classes `stripe.terminal.Reader.Action.CollectPaymentMethod`, `stripe.terminal.Reader.Action.ConfirmPaymentIntent`, `stripe.terminal.Reader.Action.ProcessPaymentIntent`, and `stripe.terminal.Reader.Action.RefundPayment` diff --git a/.hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..9a9f74a5e --- /dev/null +++ b/.hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,14 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1449 +is_stripe_api_change: true +released_in_version: 11.6.0b1 +--- + +* Add support for `rejected_reason` on resource class `stripe.Account.RiskControls` +* Add support for `product_tax_code_selector` on parameter class `stripe.AccountSession.CreateParamsComponents` +* Add support for `brand_product` on resource classes `stripe.Charge.PaymentMethodDetails.AmazonPay.Funding.Card` and `stripe.Charge.PaymentMethodDetails.RevolutPay.Funding.Card` +* Add support for `prices` on parameter classes `stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope` and `stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope` and resource class `stripe.billing.CreditGrant.ApplicabilityConfig.Scope` +* Add support for `restrictions` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` +* Change type of `political_exposure` on `stripe.Account.CreatePersonParams`, `stripe.Account.ModifyPersonParams`, and `stripe.Token.CreateParamsPerson` from `str` to `Literal['existing', 'none']` +* Change type of `price_type` on `stripe.billing.CreditGrant.ApplicabilityConfig.Scope` from `Literal['metered']` to `Optional[Literal['metered']]` diff --git a/.hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md b/.hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md new file mode 100644 index 000000000..706958f32 --- /dev/null +++ b/.hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md @@ -0,0 +1,8 @@ +--- +title: Beta SDK updates between Open API versions 1473 and 1505 +pr_link: https://github.com/stripe/stripe-python/pull/1469 +released_in_version: 11.7.0b1 +--- + +* Add support for `target_date` on parameter classes `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit`, `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit` and resource classes `stripe.Order.Payment.Settings.PaymentMethodOptions.AcssDebit` and `stripe.Order.Payment.Settings.PaymentMethodOptions.SepaDebit` +* Add support for `succeed_input_collection` and `timeout_input_collection` on resource `stripe.terminal.Reader` diff --git a/.hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md b/.hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md new file mode 100644 index 000000000..57767f010 --- /dev/null +++ b/.hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md @@ -0,0 +1,5 @@ +--- +title: ", [#1477](https://github.com/stripe/stripe-python/pull/1477), [#1482](https://github.com/stripe/stripe-python/pull/1482) Update generated code for beta" +pr_link: https://github.com/stripe/stripe-python/pull/1455 +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md b/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md new file mode 100644 index 000000000..ddec855e7 --- /dev/null +++ b/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md @@ -0,0 +1,9 @@ +--- +title: Update add_beta_version logic +pr_link: https://github.com/stripe/stripe-python/pull/1476 +is_breaking: true +section: Changes +released_in_version: 12.1.0b1 +--- + +* ⚠️ stripe.add_beta_version` will use the highest version number used for a beta feature instead of raising an `Exception` on a conflict as it had done previously. diff --git a/.hark/changes/2025-04-02_unknown_add-support-acknowledgec.change.md b/.hark/changes/2025-04-02_unknown_add-support-acknowledgec.change.md new file mode 100644 index 000000000..36bda889b --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-acknowledgec.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `acknowledge_confirmation_of_payee`, `archive`, `create`, `initiate_confirmation_of_payee`, and `retrieve` methods on resource `V2.Core.Vault.GbBankAccount` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-archive.change.md b/.hark/changes/2025-04-02_unknown_add-support-archive.change.md new file mode 100644 index 000000000..5a3946637 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-archive.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `V2.MoneyManagement.PayoutMethod` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-archive_2.change.md b/.hark/changes/2025-04-02_unknown_add-support-archive_2.change.md new file mode 100644 index 000000000..833f5748b --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-archive_2.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `archive`, `create`, `modify`, and `retrieve` methods on resource `V2.Core.Vault.UsBankAccount` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-billie.change.md b/.hark/changes/2025-04-02_unknown_add-support-billie.change.md new file mode 100644 index 000000000..7d44e1a34 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-billie.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `billie` on `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, and `PaymentIntent.UpdateParamsPaymentMethodOption` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-cancel.change.md b/.hark/changes/2025-04-02_unknown_add-support-cancel.change.md new file mode 100644 index 000000000..2e1ce1d34 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-cancel.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `cancel`, `create`, `list`, and `retrieve` methods on resources `V2.MoneyManagement.OutboundPayment` and `V2.MoneyManagement.OutboundTransfer` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-cancel_2.change.md b/.hark/changes/2025-04-02_unknown_add-support-cancel_2.change.md new file mode 100644 index 000000000..13e74315c --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-cancel_2.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `cancel`, `create`, `list`, `modify`, and `retrieve` methods on resource `V2.MoneyManagement.OutboundSetupIntent` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-close.change.md b/.hark/changes/2025-04-02_unknown_add-support-close.change.md new file mode 100644 index 000000000..b2321e03b --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-close.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `close`, `create`, `list`, `modify`, and `retrieve` methods on resource `V2.Core.Account` +section: New APIs for Accounts v2 in private preview +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-confirmation.change.md b/.hark/changes/2025-04-02_unknown_add-support-confirmation.change.md new file mode 100644 index 000000000..66a8bfc83 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-confirmation.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `confirmation_secret`, `parent`, and `total_taxes` on `QuotePreviewInvoice` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-context.change.md b/.hark/changes/2025-04-02_unknown_add-support-context.change.md new file mode 100644 index 000000000..55f71097b --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-context.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `context` on `Event` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-create.change.md b/.hark/changes/2025-04-02_unknown_add-support-create.change.md new file mode 100644 index 000000000..003701322 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-create.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `create`, `delete`, `list`, `modify`, and `retrieve` methods on a new `ExternalAccountService` to access cards and bank accounts made available in the new path `v1/external_accounts` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-create_2.change.md b/.hark/changes/2025-04-02_unknown_add-support-create_2.change.md new file mode 100644 index 000000000..82dab95f5 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-create_2.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `create` method on resource `V2.MoneyManagement.OutboundPaymentQuote` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-create_3.change.md b/.hark/changes/2025-04-02_unknown_add-support-create_3.change.md new file mode 100644 index 000000000..59bb17de5 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-create_3.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `create`, `list`, and `retrieve` methods on resources `V2.MoneyManagement.FinancialAddress` and `V2.MoneyManagement.InboundTransfer` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-create_4.change.md b/.hark/changes/2025-04-02_unknown_add-support-create_4.change.md new file mode 100644 index 000000000..a6b4aef51 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-create_4.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `create` method on resource `V2.Core.AccountLink` +section: New APIs for Accounts v2 in private preview +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-customeracco.change.md b/.hark/changes/2025-04-02_unknown_add-support-customeracco.change.md new file mode 100644 index 000000000..2f7d37b91 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-customeracco.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `customer_account` on `BillingCreditBalanceSummary`, `BillingCreditGrant`, `BillingPortalSession`, `CheckoutSession`, `ConfirmationToken.PaymentMethodPreview`, `CreditNote.ListParams`, `CreditNote`, `CustomerBalanceTransaction`, `CustomerCashBalanceTransaction`, `CustomerCashBalance`, `CustomerPaymentMethod`, `CustomerSession.CreateParams`, `CustomerSession`, `CustomerTaxId.Owner`, `CustomerTaxId`, `Customer`, `Discount`, `FinancialConnectionsAccount.AccountHolder`, `FinancialConnectionsSession.AccountHolder`, `Invoice.CreateParams`, `Invoice.CreatePreviewParams`, `Invoice.ListParams`, `InvoiceItem.CreateParams`, `InvoiceItem.ListParams`, `InvoiceItem`, `Invoice`, `PaymentIntent.CreateParams`, `PaymentIntent.ListParams`, `PaymentIntent.UpdateParams`, `PaymentIntent`, `PaymentMethod.AttachParams`, `PaymentMethod`, `PromotionCode.CreateParams`, `PromotionCode.ListParams`, `PromotionCode`, `Quote.CreateParams`, `Quote.ListParams`, `Quote.UpdateParams`, `QuotePreviewInvoice`, `QuotePreviewSubscriptionSchedule`, `Quote`, `SetupAttempt`, `SetupIntent.CreateParams`, `SetupIntent.ListParams`, `SetupIntent.UpdateParams`, `SetupIntent`, `Subscription.CreateParams`, `Subscription.ListParams`, `SubscriptionSchedule.CreateParams`, `SubscriptionSchedule.ListParams`, `SubscriptionSchedule`, `Subscription`, `TaxId.CreateParamsOwner`, `TaxId.ListParamsOwner`, `TaxId.Owner`, `TaxId`, `billing.CreditBalanceSummary.RetrieveParams`, `billing.CreditBalanceTransaction.ListParams`, `billing.CreditGrant.CreateParams`, `billing.CreditGrant.ListParams`, `billingportal.Session.CreateParams`, `checkout.Session.CreateParams`, `checkout.Session.ListParams`, `financialconnections.Account.ListParamsAccountHolder`, and `financialconnections.Session.CreateParamsAccountHolder` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-id.change.md b/.hark/changes/2025-04-02_unknown_add-support-id.change.md new file mode 100644 index 000000000..fe1ef8475 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-id.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `id` and `text` on `TerminalReader.Action.CollectInput.Input.Selection.Choice`, `TerminalReader.Action.CollectInput.Input.Selection`, and `terminal.Reader.CollectInputsParamsInputSelectionChoice` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-installments.change.md b/.hark/changes/2025-04-02_unknown_add-support-installments.change.md new file mode 100644 index 000000000..43bb5936d --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-installments.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `installments` on `ConfirmationToken.PaymentMethodOption.Card` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-interchangef.change.md b/.hark/changes/2025-04-02_unknown_add-support-interchangef.change.md new file mode 100644 index 000000000..592088ce6 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-interchangef.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `interchange_fees_amount`, `net_total_amount`, `network_fees_amount`, `other_fees_amount`, `other_fees_count`, and `transaction_amount` on `IssuingSettlement` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-list.change.md b/.hark/changes/2025-04-02_unknown_add-support-list.change.md new file mode 100644 index 000000000..f6ddf3df7 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-list.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `list` and `retrieve` methods on resources `V2.MoneyManagement.Adjustment`, `V2.MoneyManagement.FinancialAccount`, `V2.MoneyManagement.ReceivedCredit`, `V2.MoneyManagement.ReceivedDebit`, `V2.MoneyManagement.TransactionEntry`, and `V2.MoneyManagement.Transaction` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-modify.change.md b/.hark/changes/2025-04-02_unknown_add-support-modify.change.md new file mode 100644 index 000000000..ea6a161db --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-modify.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `modify` and `retrieve` methods on resource `BalanceSettings` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-networkdata.change.md b/.hark/changes/2025-04-02_unknown_add-support-networkdata.change.md new file mode 100644 index 000000000..604c8cd26 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-networkdata.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `network_data` on `IssuingDisputeSettlementDetail` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new.change.md b/.hark/changes/2025-04-02_unknown_add-support-new.change.md new file mode 100644 index 000000000..37590a80d --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `new resources` BalanceSettings +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_10.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_10.change.md new file mode 100644 index 000000000..358447108 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_10.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2MoneyManagementOutboundPaymentCanceledEvent`, `V2MoneyManagementOutboundPaymentCreatedEvent`, `V2MoneyManagementOutboundPaymentFailedEvent`, `V2MoneyManagementOutboundPaymentPostedEvent`, and `V2MoneyManagementOutboundPaymentReturnedEvent` with related object `V2.MoneyManagement.OutboundPayment` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_11.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_11.change.md new file mode 100644 index 000000000..60b9a61fa --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_11.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2MoneyManagementOutboundTransferCanceledEvent`, `V2MoneyManagementOutboundTransferCreatedEvent`, `V2MoneyManagementOutboundTransferFailedEvent`, `V2MoneyManagementOutboundTransferPostedEvent`, and `V2MoneyManagementOutboundTransferReturnedEvent` with related object `V2.MoneyManagement.OutboundTransfer` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_12.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_12.change.md new file mode 100644 index 000000000..62852545a --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_12.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2MoneyManagementReceivedCreditAvailableEvent`, `V2MoneyManagementReceivedCreditFailedEvent`, `V2MoneyManagementReceivedCreditReturnedEvent`, and `V2MoneyManagementReceivedCreditSucceededEvent` with related object `V2.MoneyManagement.ReceivedCredit` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_13.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_13.change.md new file mode 100644 index 000000000..85b5c1a51 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_13.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2MoneyManagementReceivedDebitCanceledEvent`, `V2MoneyManagementReceivedDebitFailedEvent`, `V2MoneyManagementReceivedDebitPendingEvent`, `V2MoneyManagementReceivedDebitSucceededEvent`, and `V2MoneyManagementReceivedDebitUpdatedEvent` with related object `V2.MoneyManagement.ReceivedDebit` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_14.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_14.change.md new file mode 100644 index 000000000..2d275a58c --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_14.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new error types `AlreadyCanceledError`, `BlockedByStripeError`, `ControlledByDashboardError`, `FeatureNotEnabledError`, `FinancialAccountNotOpenError`, `InsufficientFundsError`, `InvalidPayoutMethodError`, `NotCancelableError`, and `RecipientNotNotifiableError` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_15.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_15.change.md new file mode 100644 index 000000000..fbb574da5 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_15.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new resources `V2.Core.AccountLink`, `V2.Core.Account`, `V2.Core.Person`, `V2.Core.Vault.GbBankAccount`, `V2.Core.Vault.UsBankAccount` +section: New APIs for Accounts v2 in private preview +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_16.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_16.change.md new file mode 100644 index 000000000..5f65f4eef --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_16.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, and `V2CoreAccountIncludingRequirementsUpdatedEvent` +section: New APIs for Accounts v2 in private preview +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_17.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_17.change.md new file mode 100644 index 000000000..1201b9807 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_17.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin event `V2CoreAccountLinkCompletedEvent` with related object `V2.Core.AccountLink` +section: New APIs for Accounts v2 in private preview +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_18.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_18.change.md new file mode 100644 index 000000000..2676f618d --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_18.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2.Core.Person` +section: New APIs for Accounts v2 in private preview +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_2.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_2.change.md new file mode 100644 index 000000000..9a1c7f75b --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_2.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new values `stripe_balance_payment_debit_reversal` and `stripe_balance_payment_debit` on enum `BalanceTransaction.type` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_3.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_3.change.md new file mode 100644 index 000000000..5832a8d43 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_3.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new values `forwarding_api_retryable_upstream_error`, `setup_intent_mobile_wallet_unsupported`, `v2_account_disconnection_unsupported`, and `v2_account_missing_configuration` on enum `QuotePreviewInvoice.LastFinalizationError.code` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_4.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_4.change.md new file mode 100644 index 000000000..e6988367e --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_4.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new values `klarna`, `nz_bank_account`, and `stripe_balance` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_5.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_5.change.md new file mode 100644 index 000000000..a0972780d --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_5.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new resources `V2.FinancialAddressCreditSimulation`, `V2.FinancialAddressGeneratedMicrodeposits`, `V2.MoneyManagement.Adjustment`, `V2.MoneyManagement.FinancialAccount`, `V2.MoneyManagement.FinancialAddress`, `V2.MoneyManagement.InboundTransfer`, `V2.MoneyManagement.OutboundPaymentQuote`, `V2.MoneyManagement.OutboundPayment`, `V2.MoneyManagement.OutboundSetupIntent`, `V2.MoneyManagement.OutboundTransfer`, `V2.MoneyManagement.PayoutMethod`, `V2.MoneyManagement.PayoutMethodsBankAccountSpec`, `V2.MoneyManagement.ReceivedCredit`, `V2.MoneyManagement.ReceivedDebit`, `V2.MoneyManagement.TransactionEntry`, and `V2.MoneyManagement.Transaction` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_6.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_6.change.md new file mode 100644 index 000000000..65563da9d --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_6.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new values `account_number`, `fedwire_routing_number`, and `routing_number` on enum `InvalidPaymentMethod.invalid_param` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_7.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_7.change.md new file mode 100644 index 000000000..abd8ef47d --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_7.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin event `V2MoneyManagementFinancialAccountCreatedEvent` with related object `V2.MoneyManagement.FinancialAccount` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_8.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_8.change.md new file mode 100644 index 000000000..9bae96a53 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_8.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2MoneyManagementFinancialAddressActivatedEvent` and `V2MoneyManagementFinancialAddressFailedEvent` with related object `V2.MoneyManagement.FinancialAddress` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-new_9.change.md b/.hark/changes/2025-04-02_unknown_add-support-new_9.change.md new file mode 100644 index 000000000..d57549b37 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-new_9.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2.MoneyManagement.InboundTransfer` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-paymentmetho.change.md b/.hark/changes/2025-04-02_unknown_add-support-paymentmetho.change.md new file mode 100644 index 000000000..cfaa51271 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-paymentmetho.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `payment_method_options` on `ConfirmationToken.CreateParams` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-payoutmethod.change.md b/.hark/changes/2025-04-02_unknown_add-support-payoutmethod.change.md new file mode 100644 index 000000000..2486cc346 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-payoutmethod.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `payout_method` on `Payout.CreateParams` and `Payout` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-provider.change.md b/.hark/changes/2025-04-02_unknown_add-support-provider.change.md new file mode 100644 index 000000000..ce3661713 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-provider.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `provider` on `CheckoutSession.AutomaticTax`, `Invoice.AutomaticTax`, `Quote.AutomaticTax`, and `QuotePreviewInvoice.AutomaticTax` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-relatedcusto.change.md b/.hark/changes/2025-04-02_unknown_add-support-relatedcusto.change.md new file mode 100644 index 000000000..350e945a8 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-relatedcusto.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `related_customer_account` on `IdentityVerificationSession`, `identity.VerificationSession.CreateParams`, and `identity.VerificationSession.ListParams` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-reportedby.change.md b/.hark/changes/2025-04-02_unknown_add-support-reportedby.change.md new file mode 100644 index 000000000..5e0e8b4cc --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-reportedby.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `reported_by` on `PaymentAttemptRecord` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-retrieve.change.md b/.hark/changes/2025-04-02_unknown_add-support-retrieve.change.md new file mode 100644 index 000000000..c23cebb7b --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-retrieve.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `retrieve` method on resource `V2.MoneyManagement.PayoutMethodsBankAccountSpec` +section: New APIs for Money CardManagement +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-stripebalanc.change.md b/.hark/changes/2025-04-02_unknown_add-support-stripebalanc.change.md new file mode 100644 index 000000000..261a312f2 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-stripebalanc.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `stripe_balance_payments` on `Account.Capability`, `Account.CreateParamsCapability`, and `Account.UpdateParamsCapability` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-stripebalanc_2.change.md b/.hark/changes/2025-04-02_unknown_add-support-stripebalanc_2.change.md new file mode 100644 index 000000000..328f7b13d --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-stripebalanc_2.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `stripe_balance` on `Charge.PaymentMethodDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatum`, `ConfirmationToken.PaymentMethodPreview`, `CustomerPaymentMethod`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntent.ConfirmParamsPaymentMethodDatum`, `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodDatum`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentIntent.UpdateParamsPaymentMethodDatum`, `PaymentIntent.UpdateParamsPaymentMethodOption`, `PaymentMethod.CreateParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.ConfirmParamsPaymentMethodDatum`, `SetupIntent.CreateParamsPaymentMethodDatum`, and `SetupIntent.UpdateParamsPaymentMethodDatum` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-taxcalculati.change.md b/.hark/changes/2025-04-02_unknown_add-support-taxcalculati.change.md new file mode 100644 index 000000000..a825df361 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-taxcalculati.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `tax_calculation_reference` on `CreditNoteLineItem`, `CreditNotePreviewLines`, `InvoiceLineItem`, `LineItem`, `PaymentLinkLineItem`, `QuoteComputedUpfrontLineItems`, `QuoteLineItem`, and `SessionLineItem` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-updatelineit.change.md b/.hark/changes/2025-04-02_unknown_add-support-updatelineit.change.md new file mode 100644 index 000000000..f9693a055 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-updatelineit.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `update_line_items` on `CheckoutSession.Permission` and `checkout.Session.CreateParamsPermission` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_add-support-updateshippi.change.md b/.hark/changes/2025-04-02_unknown_add-support-updateshippi.change.md new file mode 100644 index 000000000..7bbd9a747 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_add-support-updateshippi.change.md @@ -0,0 +1,5 @@ +--- +title: Add support for `update_shipping_details` on `CheckoutSession.Permission` and `checkout.Session.CreateParamsPermission` +section: Additions +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md b/.hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md new file mode 100644 index 000000000..0f8fec912 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md @@ -0,0 +1,6 @@ +--- +title: Change `CheckoutSession.Permission.update` to be optional +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-creditnote-refunds.change.md b/.hark/changes/2025-04-02_unknown_change-creditnote-refunds.change.md new file mode 100644 index 000000000..a4b6646fe --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-creditnote-refunds.change.md @@ -0,0 +1,5 @@ +--- +title: Change `CreditNote.refunds` to be required +section: Changes +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-customersess-createparams.change.md b/.hark/changes/2025-04-02_unknown_change-customersess-createparams.change.md new file mode 100644 index 000000000..3454ef4f8 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-customersess-createparams.change.md @@ -0,0 +1,5 @@ +--- +title: Change `CustomerSession.CreateParams.customer`, `InvoiceItem.CreateParams.customer`, `PaymentMethod.AttachParams.customer`, `Subscription.CreateParams.customer`, `billing.CreditBalanceSummary.RetrieveParams.customer`, `billing.CreditBalanceTransaction.ListParams.customer`, `billing.CreditGrant.CreateParams.customer`, and `billingportal.Session.CreateParams.customer` to be optional +section: Changes +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-invoice-amountoverpa.change.md b/.hark/changes/2025-04-02_unknown_change-invoice-amountoverpa.change.md new file mode 100644 index 000000000..557d021b9 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-invoice-amountoverpa.change.md @@ -0,0 +1,5 @@ +--- +title: Change `Invoice.amount_overpaid` and `QuotePreviewInvoice.amount_overpaid` to be required +section: Changes +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md b/.hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md new file mode 100644 index 000000000..8d37c8174 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md @@ -0,0 +1,6 @@ +--- +title: Change `PaymentAttemptRecord.PaymentMethodDetail.custom` and `PaymentRecord.PaymentMethodDetail.custom` to be optional +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-paymentrecor-reportpaymen.change.md b/.hark/changes/2025-04-02_unknown_change-paymentrecor-reportpaymen.change.md new file mode 100644 index 000000000..be2c3b7da --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-paymentrecor-reportpaymen.change.md @@ -0,0 +1,5 @@ +--- +title: Change `PaymentRecord.ReportPaymentParams.payment_reference` to be optional +section: Changes +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-invoice.change.md b/.hark/changes/2025-04-02_unknown_change-type-invoice.change.md new file mode 100644 index 000000000..b02c1da26 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-invoice.change.md @@ -0,0 +1,5 @@ +--- +title: Change type of `Invoice.Parent.SubscriptionDetail.PauseCollection.behavior` and `QuotePreviewInvoice.Parent.SubscriptionDetail.PauseCollection.behavior` from `string` to `enum('keep_as_draft'|'mark_uncollectible'|'void')` +section: Changes +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-invoicepayme.change.md b/.hark/changes/2025-04-02_unknown_change-type-invoicepayme.change.md new file mode 100644 index 000000000..339729b1c --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-invoicepayme.change.md @@ -0,0 +1,5 @@ +--- +title: Change type of `InvoicePayment.is_default` from `nullable(boolean)` to `boolean` +section: Changes +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-order.change.md b/.hark/changes/2025-04-02_unknown_change-type-order.change.md new file mode 100644 index 000000000..91e4dee88 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-order.change.md @@ -0,0 +1,6 @@ +--- +title: Change type of `Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client` and `Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client` to be optional +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md b/.hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md new file mode 100644 index 000000000..6d3c59655 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md @@ -0,0 +1,6 @@ +--- +title: Change type of `PaymentAttemptRecord.PaymentMethodDetail.type` and `PaymentRecord.PaymentMethodDetail.type` from `literal('custom')` to `string` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md b/.hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md new file mode 100644 index 000000000..fcc4c8d8f --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md @@ -0,0 +1,6 @@ +--- +title: Change type of `PaymentAttemptRecord.payment_record` from `string` to `nullable(string)` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-paymentattem_3.change.md b/.hark/changes/2025-04-02_unknown_change-type-paymentattem_3.change.md new file mode 100644 index 000000000..56e80fdfb --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-paymentattem_3.change.md @@ -0,0 +1,5 @@ +--- +title: Change type of `PaymentAttemptRecord.PaymentMethodDetail.custom` and `PaymentRecord.PaymentMethodDetail.custom` from `nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails)` to `PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails` +section: Changes +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md b/.hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md new file mode 100644 index 000000000..219ed4cda --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md @@ -0,0 +1,6 @@ +--- +title: Change type of `PaymentRecord.latest_payment_attempt_record` from `string` to `nullable(string)` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md b/.hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md new file mode 100644 index 000000000..835863538 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md @@ -0,0 +1,6 @@ +--- +title: Change type of `QuotePreviewInvoice.Parent.SubscriptionDetail.subscription` from `string` to `expandable($Subscription)` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md b/.hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md new file mode 100644 index 000000000..ff3965504 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md @@ -0,0 +1,6 @@ +--- +title: Remove support for `AmountOverpaid` on `InvoicePayment` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md b/.hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md new file mode 100644 index 000000000..c6069adbb --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md @@ -0,0 +1,6 @@ +--- +title: Remove support for `ApplicationFeeAmount`, `PaidOutOfBand`, and `Paid` on `QuotePreviewInvoice` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md b/.hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md new file mode 100644 index 000000000..8cd02cc72 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md @@ -0,0 +1,6 @@ +--- +title: Remove support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule.DefaultSetting`, `QuotePreviewSubscriptionSchedule.Phase.Item`, and `QuotePreviewSubscriptionSchedule.Phase` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-coupon.change.md b/.hark/changes/2025-04-02_unknown_remove-support-coupon.change.md new file mode 100644 index 000000000..737bd2fdc --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_remove-support-coupon.change.md @@ -0,0 +1,6 @@ +--- +title: Remove support for `coupon` on `QuotePreviewSubscriptionSchedule.Phase` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md b/.hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md new file mode 100644 index 000000000..f4f76d973 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md @@ -0,0 +1,6 @@ +--- +title: Remove support for `RateCardSubscriptionDetails` on `InvoiceItemParent` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-values.change.md b/.hark/changes/2025-04-02_unknown_remove-support-values.change.md new file mode 100644 index 000000000..f8831fb23 --- /dev/null +++ b/.hark/changes/2025-04-02_unknown_remove-support-values.change.md @@ -0,0 +1,6 @@ +--- +title: Remove support for values `out_of_band_payment` and `payment_record` from enum `InvoicePayment.Payment.type` +is_breaking: true +section: "Breaking changes:" +released_in_version: 12.1.0b1 +--- diff --git a/.hark/changes/2025-04-08_mbroshi_handle-external-account.change.md b/.hark/changes/2025-04-08_mbroshi_handle-external-account.change.md new file mode 100644 index 000000000..643939eef --- /dev/null +++ b/.hark/changes/2025-04-08_mbroshi_handle-external-account.change.md @@ -0,0 +1,7 @@ +--- +title: Handle external account +pr_link: https://github.com/stripe/stripe-python/pull/1490 +released_in_version: 12.1.0b2 +--- + +- Changes `external_account` field in `external_account_service.create` from `string` to a union type. diff --git a/.hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..ffa32a897 --- /dev/null +++ b/.hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,26 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1489 +is_stripe_api_change: true +released_in_version: 12.1.0b2 +--- + +### Breaking changes +* Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)` +* Remove support for values `bank_accounts.local_uk`, `bank_accounts.wire_uk`, `cards_uk`, and `crypto_wallets_v2` from enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability` + +### Additions +* Add support for new resources `Privacy.RedactionJobRootObjects`, `Privacy.RedactionJobValidationError`, and `Privacy.RedactionJob` +* Add support for `cancel`, `create`, `list`, `modify`, `retrieve`, `run`, and `validate` methods on resource `RedactionJob` +* Add support for `list` and `retrieve` methods on resource `RedactionJobValidationError` +* Add support for `minority_owned_business_designation` on `Account.BusinessProfile`, `Account.CreateParamsBusinessProfile`, and `Account.UpdateParamsBusinessProfile` +* Add support for new value `verification_legal_entity_structure_mismatch` on enums `Account.FutureRequirement.Error.code`, `Account.Requirement.Error.code`, `AccountCapability.FutureRequirement.Error.code`, `AccountCapability.Requirement.Error.code`, `AccountPerson.FutureRequirement.Error.code`, `AccountPerson.Requirement.Error.code`, `BankAccount.FutureRequirement.Error.code`, and `BankAccount.Requirement.Error.code` +* Add support for `export_tax_transactions` and `payment_disputes` on `AccountSession.CreateParamsComponent` +* Add support for new value `tax_id_prohibited` on enums `Invoice.LastFinalizationError.code`, `PaymentIntent.LastPaymentError.code`, `QuotePreviewInvoice.LastFinalizationError.code`, `SetupAttempt.SetupError.code`, `SetupIntent.LastSetupError.code`, and `StripeError.code` +* Add support for new value `fixed_term_loan` on enum `CapitalFinancingOffer.type` +* Add support for `wallet_options` on `CheckoutSession` and `checkout.Session.CreateParams` +* Add support for new values `privacy.redaction_job.canceled`, `privacy.redaction_job.created`, `privacy.redaction_job.ready`, `privacy.redaction_job.succeeded`, and `privacy.redaction_job.validation_error` on enum `Event.type` +* Add support for `klarna` on `PaymentMethodDomain` +* Change type of `TaxCalculationLineItem.reference` from `nullable(string)` to `string` +* Add support for `in` on `TaxRegistration.CountryOption` and `tax.Registration.CreateParamsCountryOption` +* Add support for new values `privacy.redaction_job.canceled`, `privacy.redaction_job.created`, `privacy.redaction_job.ready`, `privacy.redaction_job.succeeded`, and `privacy.redaction_job.validation_error` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.UpdateParams.enabled_events` diff --git a/.hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..924355d15 --- /dev/null +++ b/.hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,27 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1495 +is_stripe_api_change: true +released_in_version: 12.1.0b3 +--- + +* Add support for new resources `FxQuote` and `PaymentIntentAmountDetailsLineItem` +* Add support for `create`, `list`, and `retrieve` methods on resource `FxQuote` +* Remove support for `attach_payment_intent` method on resource `Invoice` +* Add support for `registration_date` on `Account.Company`, `Account.CreateParamsCompany`, `Account.UpdateParamsCompany`, and `Token.CreateParamsAccountCompany` +* Add support for `customer_reference` and `order_reference` on `Charge.CaptureParamsPaymentDetail`, `Charge.UpdateParamsPaymentDetail`, `PaymentIntent.CaptureParamsPaymentDetail`, `PaymentIntent.ConfirmParamsPaymentDetail`, `PaymentIntent.CreateParamsPaymentDetail`, `PaymentIntent.PaymentDetail`, and `PaymentIntent.UpdateParamsPaymentDetail` +* Add support for `tax_id` on `Charge.BillingDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatumBillingDetail`, `ConfirmationToken.PaymentMethodPreview.BillingDetail`, `PaymentIntent.ConfirmParamsPaymentMethodDatumBillingDetail`, `PaymentIntent.CreateParamsPaymentMethodDatumBillingDetail`, `PaymentIntent.UpdateParamsPaymentMethodDatumBillingDetail`, `PaymentMethod.BillingDetail`, `PaymentMethod.CreateParamsBillingDetail`, `PaymentMethod.UpdateParamsBillingDetail`, `SetupIntent.ConfirmParamsPaymentMethodDatumBillingDetail`, `SetupIntent.CreateParamsPaymentMethodDatumBillingDetail`, `SetupIntent.UpdateParamsPaymentMethodDatumBillingDetail`, and `treasury.OutboundPayment.CreateParamsDestinationPaymentMethodDatumBillingDetail` +* Add support for `price_data` on `checkout.Session.UpdateParamsLineItem` +* Change type of `checkout.Session.UpdateParamsLineItem.quantity` from `longInteger` to `emptyable(longInteger)` +* Add support for `script` on `Coupon.CreateParams` and `Coupon` +* Add support for `type` on `Coupon` +* Add support for new value `fx_quote.expired` on enum `Event.type` +* Add support for new value `affirm` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `Invoice.UpdateParamsPaymentSetting.payment_method_types`, `QuotePreviewInvoice.PaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, and `Subscription.UpdateParamsPaymentSetting.payment_method_types` +* Add support for `fx_quote` on `PaymentIntent.ConfirmParams`, `PaymentIntent.CreateParams`, `PaymentIntent.UpdateParams`, `PaymentIntent`, `Transfer.CreateParams`, and `Transfer` +* Add support for `discount_amount`, `line_items`, `shipping`, and `tax` on `PaymentIntent.AmountDetail` +* Add support for `pix` on `PaymentMethodConfiguration.CreateParams`, `PaymentMethodConfiguration.UpdateParams`, and `PaymentMethodConfiguration` +* Add support for `us_cfpb_data` on `Person` and `Token.CreateParamsPerson` +* Add support for `pending_reason` on `Refund` +* Add support for `aw`, `az`, `bd`, `bj`, `et`, `kg`, `la`, and `ph` on `TaxRegistration.CountryOption` and `tax.Registration.CreateParamsCountryOption` +* Add support for new value `fx_quote.expired` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.UpdateParams.enabled_events` +* Add support for snapshot event `fx_quote.expired` with resource `FxQuote` diff --git a/.hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..8bb89a53d --- /dev/null +++ b/.hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,15 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1498 +is_stripe_api_change: true +released_in_version: 12.2.0b1 +--- + +* Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `Checkout.Session.CollectedInformation.TaxId.type`, `Checkout.Session.CustomerDetail.TaxId.type`, `Invoice.CustomerTaxId.type`, `Order.TaxDetail.TaxId.type`, `QuotePreviewInvoice.CustomerTaxId.type`, `Tax.Calculation.CustomerDetail.TaxId.type`, `Tax.Transaction.CustomerDetail.TaxId.type`, and `TaxId.type` +* Change `Checkout.Session.AutomaticTax.provider`, `Invoice.AutomaticTax.provider`, `Quote.AutomaticTax.provider`, and `QuotePreviewInvoice.AutomaticTax.provider` to be required +* Add support for `account_number` on `ConfirmationToken.PaymentMethodPreview.AcssDebit` and `PaymentMethod.AcssDebit` +* Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `Customer.CreateParams.type`, `Customer.CreateParamsTaxIdDatum.type`, `CustomerService.CreateParamsTaxIdDatum.type`, `CustomerTaxIdService.CreateParams.type`, `Invoice.CreatePreviewParamsCustomerDetailTaxId.type`, `InvoiceService.CreatePreviewParamsCustomerDetailTaxId.type`, `Order.CreateParamsTaxDetailTaxId.type`, `Order.ModifyParamsTaxDetailTaxId.type`, `OrderService.CreateParamsTaxDetailTaxId.type`, `OrderService.UpdateParamsTaxDetailTaxId.type`, `TaxId.CreateParams.type`, `TaxIdService.CreateParams.type`, `tax.Calculation.CreateParamsCustomerDetailTaxId.type`, and `tax.CalculationService.CreateParamsCustomerDetailTaxId.type` +* Change type of `InvoiceLineItem.Parent.SubscriptionItemDetail.subscription` from `string` to `nullable(string)` +* Add support for `billing_mode` on `Quote.CreateParamsSubscriptionDatum`, `QuoteService.CreateParamsSubscriptionDatum`, `Subscription.CreateParams`, `SubscriptionSchedule.CreateParams`, `SubscriptionScheduleService.CreateParams`, and `SubscriptionService.CreateParams` +* Add support for `bf`, `cm`, and `cv` on `Tax.Registration.CountryOption`, `tax.Registration.CreateParamsCountryOption`, and `tax.RegistrationService.CreateParamsCountryOption` +* Add support for new value `2025-04-30.basil` on enums `WebhookEndpoint.CreateParams.api_version` and `WebhookEndpointService.CreateParams.api_version` diff --git a/.hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..27a8216d2 --- /dev/null +++ b/.hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,10 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1501 +is_stripe_api_change: true +released_in_version: 12.2.0b1 +--- + +* Add support for `billing_mode` on `Invoice.CreatePreviewParamsScheduleDetail`, `Invoice.CreatePreviewParamsSubscriptionDetail`, `InvoiceService.CreatePreviewParamsScheduleDetail`, `InvoiceService.CreatePreviewParamsSubscriptionDetail`, `Quote.SubscriptionDatum`, `QuotePreviewSubscriptionSchedule`, `SubscriptionSchedule`, `Subscription`, `checkout.Session.CreateParamsSubscriptionDatum`, and `checkout.SessionService.CreateParamsSubscriptionDatum` +* Add support for new value `balance_settings.updated` on enum `Event.type` +* Add support for new value `balance_settings.updated` on enums `WebhookEndpoint.ModifyParams.enabled_events` and `WebhookEndpointService.UpdateParams.enabled_events` diff --git a/.hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..26e9db852 --- /dev/null +++ b/.hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,49 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1509 +is_stripe_api_change: true +released_in_version: 12.3.0b1 +--- + +### Breaking changes +* Remove support for deprecated previews + * Remove support for resources `billing.MeterErrorReport`, `gift_cards.Card`, `gift_cards.Transaction`, and `privacy.RedactionJobRootObjects` + * Remove support for `create`, `list`, `modify`, `retrieve`, and `validate` methods on resource `gift_cards.Card` + * Remove support for `cancel`, `confirm`, `create`, `list`, `modify`, and `retrieve` methods on resource `gift_cards.Transaction` + * Remove support for `provisioning` on `Product.CreateParams` and `Product` + * Remove support for snapshot event `billing.meter_error_report.triggered` with resource `billing.MeterErrorReport` + * Remove support for error codes `gift_card_balance_insufficient`, `gift_card_code_exists`, and `gift_card_inactive` on `QuotePreviewInvoice.LastFinalizationError` and `StripeError` +* Remove support for values `credits_attributed_to_debits` and `legacy_prorations` from enums `Invoice.CreatePreviewParamsScheduleDetail.billing_mode`, `Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode`, `Quote.CreateParamsSubscriptionDatum.billing_mode`, `Quote.SubscriptionDatum.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.CreateParams.billing_mode`, `Subscription.billing_mode`, `SubscriptionSchedule.CreateParams.billing_mode`, `SubscriptionSchedule.billing_mode`, and `checkout.Session.CreateParamsSubscriptionDatum.billing_mode` +* Change type of `checkout.Session.ModifyParamsLineItem.quantity` from `emptyable(longInteger)` to `longInteger` +* Change `CreditNote.post_payment_amount` to be required +* Change `CreditNote.pre_payment_amount` to be required +* Remove support for `credits` on `Order.CreateParams`, `Order.ModifyParams`, and `Order` +* Remove support for `amount_remaining` on `Order` +* Remove support for `amount_credit` on `Order.TotalDetail` +* Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `nullable(map(string: string))` to `map(string: string)` +* Remove support for `async_workflows` on `PaymentIntent.CaptureParams`, `PaymentIntent.ConfirmParams`, `PaymentIntent.CreateParams`, `PaymentIntent.DecrementAuthorizationParams`, `PaymentIntent.IncrementAuthorizationParams`, `PaymentIntent.ModifyParams`, and `PaymentIntent` +* Change type of `PaymentRecord.ReportPaymentAttemptCanceledParams.metadata`, `PaymentRecord.ReportPaymentAttemptFailedParams.metadata`, `PaymentRecord.ReportPaymentAttemptGuaranteedParams.metadata`, `PaymentRecord.ReportPaymentAttemptParams.metadata`, and `PaymentRecord.ReportPaymentParams.metadata` from `map(string: string)` to `emptyable(map(string: string))` +* Change type of `Privacy.RedactionJob.objects` from `$Privacy.RedactionJobRootObjects` to `RedactionResourceRootObjects` +* Change type of `Privacy.RedactionJob.status` from `string` to `enum` +* Change type of `Privacy.RedactionJob.validation_behavior` from `string` to `enum('error'|'fix')` +* Change type of `Privacy.RedactionJobValidationError.code` from `string` to `enum` +* Change type of `Privacy.RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject` +* Remove support for `status_details` and `status` on `Tax.Association` + +### Other changes +* Add support for `migrate` method on resource `Subscription` +* Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `Charge.CaptureParamsPaymentDetailCarRental`, `Charge.ModifyParamsPaymentDetailCarRental`, `PaymentIntent.CaptureParamsPaymentDetailCarRental`, `PaymentIntent.ConfirmParamsPaymentDetailCarRental`, `PaymentIntent.CreateParamsPaymentDetailCarRental`, `PaymentIntent.ModifyParamsPaymentDetailCarRental`, and `PaymentIntent.PaymentDetail.CarRental` +* Add support for `driver_identification_number` and `driver_tax_number` on `Charge.CaptureParamsPaymentDetailCarRentalDriver`, `Charge.ModifyParamsPaymentDetailCarRentalDriver`, `PaymentIntent.CaptureParamsPaymentDetailCarRentalDriver`, `PaymentIntent.ConfirmParamsPaymentDetailCarRentalDriver`, `PaymentIntent.CreateParamsPaymentDetailCarRentalDriver`, `PaymentIntent.ModifyParamsPaymentDetailCarRentalDriver`, and `PaymentIntent.PaymentDetail.CarRental.Driver` +* Add support for new values `classic` and `flexible` on enums `Invoice.CreatePreviewParamsScheduleDetail.billing_mode`, `Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode`, `Quote.CreateParamsSubscriptionDatum.billing_mode`, `Quote.SubscriptionDatum.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.CreateParams.billing_mode`, `Subscription.billing_mode`, `SubscriptionSchedule.CreateParams.billing_mode`, `SubscriptionSchedule.billing_mode`, and `checkout.Session.CreateParamsSubscriptionDatum.billing_mode` +* Add support for `institution` on `FinancialConnections.Account` +* Add support for `countries` on `FinancialConnections.Institution` +* Change type of `Invoice.CreatePreviewParamsSubscriptionDetail.cancel_at`, `Subscription.CreateParams.cancel_at`, and `Subscription.ModifyParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')` +* Add support for `location` and `reader` on `PaymentAttemptRecord.PaymentMethodDetail.Affirm`, `PaymentAttemptRecord.PaymentMethodDetail.WechatPay`, `PaymentRecord.PaymentMethodDetail.Affirm`, and `PaymentRecord.PaymentMethodDetail.WechatPay` +* Add support for `hooks` on `PaymentIntent.CaptureParams`, `PaymentIntent.ConfirmParams`, `PaymentIntent.CreateParams`, `PaymentIntent.DecrementAuthorizationParams`, `PaymentIntent.IncrementAuthorizationParams`, `PaymentIntent.ModifyParams`, and `PaymentIntent` +* Add support for `card_present` on `PaymentIntentAmountDetailsLineItem.PaymentMethodOption` +* Add support for `livemode` on `Privacy.RedactionJob` +* Add support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule.DefaultSetting`, `QuotePreviewSubscriptionSchedule.Phase.Item`, and `QuotePreviewSubscriptionSchedule.Phase` +* Add support for `billing_mode_details` on `Subscription` +* Add support for `tax_transaction_attempts` on `Tax.Association` +* Add support for `confirm_config` on `Terminal.Reader.Action.ConfirmPaymentIntent` and `terminal.Reader.ConfirmPaymentIntentParams` +* Add support for error code `forwarding_api_upstream_error` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md b/.hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md new file mode 100644 index 000000000..06dbb0fdf --- /dev/null +++ b/.hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md @@ -0,0 +1,5 @@ +--- +title: Pull in OffSessionPayment changes for the May release +pr_link: https://github.com/stripe/stripe-python/pull/1531 +released_in_version: 12.3.0b2 +--- diff --git a/.hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..50440295e --- /dev/null +++ b/.hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,41 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1520 +is_stripe_api_change: true +released_in_version: 12.4.0b1 +--- + +* Change type of `Invoice.CreatePreviewParamsScheduleDetail.billing_mode`, `Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode`, `Quote.CreateParamsSubscriptionDatum.billing_mode`, `Quote.SubscriptionDatum.billing_mode`, `Subscription.CreateParams.billing_mode`, `SubscriptionSchedule.CreateParams.billing_mode`, and `checkout.Session.CreateParamsSubscriptionDatum.billing_mode` from `enum('classic'|'flexible')` to `billing_mode` +* Add support for `submission_method` on `Dispute.EvidenceDetail` +* Add support for `on_demand` and `subscriptions` on `Order.CreateParamsPaymentSettingPaymentMethodOptionKlarna` and `Order.ModifyParamsPaymentSettingPaymentMethodOptionKlarna` +* Change type of `Order.CreateParamsPaymentSettingPaymentMethodOptionKlarna.setup_future_usage`, `Order.ModifyParamsPaymentSettingPaymentMethodOptionKlarna.setup_future_usage`, and `Order.Payment.Setting.PaymentMethodOption.Klarna.setup_future_usage` from `literal('none')` to `enum('none'|'off_session'|'on_session')` +* Add support for `crypto` on `PaymentAttemptRecord.PaymentMethodDetail` and `PaymentRecord.PaymentMethodDetail` +* Add support for new value `buut` on enums `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bank` and `PaymentRecord.PaymentMethodDetail.Ideal.bank` +* Add support for new value `BUUTNL2A` on enums `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bic` and `PaymentRecord.PaymentMethodDetail.Ideal.bic` +* Change type of `PaymentIntent.ConfirmParamsPaymentMethodOptionGopay.setup_future_usage`, `PaymentIntent.CreateParamsPaymentMethodOptionGopay.setup_future_usage`, `PaymentIntent.ModifyParamsPaymentMethodOptionGopay.setup_future_usage`, and `PaymentIntent.PaymentMethodOption.Gopay.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')` +* Change `Quote.SubscriptionDatum.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` to be required +* Add support for new value `crypto` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Change type of `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` from `enum('classic'|'flexible')` to `SubscriptionsResourceBillingMode` +* Change type of `Subscription.MigrateParams.billing_mode` from `literal('flexible')` to `billing_mode_migrate` +* Remove support for `billing_mode_details` on `Subscription` +* Add support for new value `xx` on enums `V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Location.country`, `V2.Core.Account.Configuration.Customer.Shipping.Address.country`, `V2.Core.Account.Configuration.Merchant.Support.Address.country`, `V2.Core.Account.Identity.BusinessDetail.Address.country`, `V2.Core.Account.Identity.BusinessDetail.ScriptAddress.Kana.country`, `V2.Core.Account.Identity.BusinessDetail.ScriptAddress.Kanji.country`, `V2.Core.Account.Identity.Individual.AdditionalAddress.country`, `V2.Core.Account.Identity.Individual.Address.country`, `V2.Core.Account.Identity.Individual.ScriptAddress.Kana.country`, `V2.Core.Account.Identity.Individual.ScriptAddress.Kanji.country`, `V2.Core.Account.Identity.country`, `V2.Core.Person.AdditionalAddress.country`, `V2.Core.Person.Address.country`, `V2.Core.Person.ScriptAddress.Kana.country`, `V2.Core.Person.ScriptAddress.Kanji.country`, `V2.MoneyManagement.FinancialAccount.country`, `v2.core.Account.CreateParamsConfigurationCustomerShippingAddress.country`, `v2.core.Account.CreateParamsConfigurationMerchantSupportAddress.country`, `v2.core.Account.CreateParamsIdentity.country`, `v2.core.Account.CreateParamsIdentityBusinessDetailAddress.country`, `v2.core.Account.CreateParamsIdentityBusinessDetailScriptAddressKana.country`, `v2.core.Account.CreateParamsIdentityBusinessDetailScriptAddressKanji.country`, `v2.core.Account.CreateParamsIdentityIndividualAdditionalAddress.country`, `v2.core.Account.CreateParamsIdentityIndividualAddress.country`, `v2.core.Account.CreateParamsIdentityIndividualScriptAddressKana.country`, `v2.core.Account.CreateParamsIdentityIndividualScriptAddressKanji.country`, `v2.core.Account.ModifyParamsConfigurationCustomerShippingAddress.country`, `v2.core.Account.ModifyParamsConfigurationMerchantSupportAddress.country`, `v2.core.Account.ModifyParamsIdentity.country`, `v2.core.Account.ModifyParamsIdentityBusinessDetailAddress.country`, `v2.core.Account.ModifyParamsIdentityBusinessDetailScriptAddressKana.country`, `v2.core.Account.ModifyParamsIdentityBusinessDetailScriptAddressKanji.country`, `v2.core.Account.ModifyParamsIdentityIndividualAdditionalAddress.country`, `v2.core.Account.ModifyParamsIdentityIndividualAddress.country`, `v2.core.Account.ModifyParamsIdentityIndividualScriptAddressKana.country`, `v2.core.Account.ModifyParamsIdentityIndividualScriptAddressKanji.country`, `v2.core.Person.CreateParamsAdditionalAddress.country`, `v2.core.Person.CreateParamsAddress.country`, `v2.core.Person.CreateParamsScriptAddressKana.country`, `v2.core.Person.CreateParamsScriptAddressKanji.country`, `v2.core.Person.ModifyParamsAdditionalAddress.country`, `v2.core.Person.ModifyParamsAddress.country`, `v2.core.Person.ModifyParamsScriptAddressKana.country`, and `v2.core.Person.ModifyParamsScriptAddressKanji.country` +* Add support for new value `unsupported_entity_type` on enums `V2.Core.Account.Configuration.Customer.Capability.AutomaticIndirectTax.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.AchDebitPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.AcssDebitPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.AffirmPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.AfterpayClearpayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.AlmaPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.AmazonPayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.AuBecsDebitPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.BacsDebitPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.BancontactPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.BlikPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.BoletoPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.CardPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.CartesBancairesPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.CashappPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.EpsPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.FpxPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.GbBankTransferPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.GrabpayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.IdealPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.JcbPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.JpBankTransferPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.KakaoPayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.KlarnaPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.KonbiniPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.KrCardPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.LinkPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.MobilepayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.MultibancoPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.MxBankTransferPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.NaverPayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.OxxoPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.P24Payment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.PayByBankPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.PaycoPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.PaynowPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.PromptpayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.RevolutPayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.SamsungPayPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.SepaBankTransferPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.SepaDebitPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.StripeBalance.Payout.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.SwishPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.TwintPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.UsBankTransferPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Merchant.Capability.ZipPayment.StatusDetail.code`, `V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Local.StatusDetail.code`, `V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Wire.StatusDetail.code`, `V2.Core.Account.Configuration.Recipient.Capability.Card.StatusDetail.code`, `V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.Payout.StatusDetail.code`, and `V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.StripeTransfer.StatusDetail.code` +* Add support for `proof_of_address` on `V2.Core.Account.Identity.BusinessDetail.Document`, `v2.core.Account.CreateParamsIdentityBusinessDetailDocument`, and `v2.core.Account.ModifyParamsIdentityBusinessDetailDocument` +* Add support for new value `xx` on enums `V2.Core.Account.Identity.Individual.nationalities`, `V2.Core.Person.nationalities`, `v2.core.Account.CreateParamsIdentityIndividual.nationalities`, `v2.core.Account.ModifyParamsIdentityIndividual.nationalities`, `v2.core.Person.CreateParams.nationalities`, and `v2.core.Person.ModifyParams.nationalities` +* Add support for `metadata` on `V2.MoneyManagement.FinancialAccount` +* Remove support for `description` on `V2.MoneyManagement.FinancialAccount` +* Add support for new value `pending` on enum `V2.MoneyManagement.FinancialAccount.status` +* Remove support for `attempts` on `V2.Payments.OffSessionPayment` +* Change type of `V2.Payments.OffSessionPayment.TransferDatum.amount` from `integer` to `nullable(integer)` +* Add support for `from_account`, `outbound_payment`, and `outbound_transfer` on `V2.MoneyManagement.ReceivedCredit.BalanceTransfer` +* Change type of `V2.MoneyManagement.ReceivedCredit.BalanceTransfer.type` from `literal('payout_v1')` to `enum('outbound_payment'|'outbound_transfer'|'payout_v1')` +* Change type of `V2.MoneyManagement.ReceivedCredit.BalanceTransfer.payout_v1` from `string` to `nullable(string)` +* Change `v2.payments.OffSessionPayment.CreateParamsTransferDatum.amount` to be optional +* Add support for error codes `recipient_feature_not_active`, `storer_capability_missing`, and `storer_capability_not_active` on `FeatureNotEnabledError` +* Remove support for error code `outbound_payment_recipient_feature_not_active` on `FeatureNotEnabledError` +* Add support for error code `insufficient_funds` on `InsufficientFundsError` +* Remove support for error codes `outbound_payment_insufficient_funds` and `outbound_transfer_insufficient_funds` on `InsufficientFundsError` +* Add support for error codes `recipient_amount_limit_exceeded` and `recipient_count_limit_exceeded` on `QuotaExceededError` +* Remove support for error codes `outbound_payment_recipient_amount_limit_exceeded` and `outbound_payment_recipient_count_limit_exceeded` on `QuotaExceededError` +* Add support for error code `recipient_email_does_not_exist` on `RecipientNotNotifiableError` +* Remove support for error code `outbound_payment_recipient_email_does_not_exist` on `RecipientNotNotifiableError` diff --git a/.hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md b/.hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md new file mode 100644 index 000000000..0ce581e75 --- /dev/null +++ b/.hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md @@ -0,0 +1,17 @@ +--- +title: Pull in V2 FinancialAccount changes for June release +pr_link: https://github.com/stripe/stripe-python/pull/1536 +is_stripe_api_change: true +released_in_version: 12.4.0b2 +--- + +* Add support for `close` and `create` methods on resource `v2.money_management.FinancialAccount` +* Add support for new value `storer` on enums `V2.Core.Account.applied_configurations` and `v2.core.Account.CloseParams.applied_configurations` +* Add support for `storer` on `V2.Core.Account.Configuration`, `v2.core.Account.CreateParamsConfiguration`, and `v2.core.Account.ModifyParamsConfiguration` +* Add support for new values `financial_addresses.bank_accounts`, `holds_currencies.gbp`, `inbound_transfers.financial_accounts`, `outbound_payments.bank_accounts`, `outbound_payments.cards`, `outbound_payments.financial_accounts`, `outbound_transfers.bank_accounts`, and `outbound_transfers.financial_accounts` on enum `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability` +* Add support for new value `storer` on enum `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.configuration` +* Add support for `status_details` on `V2.MoneyManagement.FinancialAccount` +* Add support for `status` on `v2.money_management.FinancialAccount.ListParams` +* Add support for new value `configuration.storer` on enums `v2.core.Account.CreateParams.include`, `v2.core.Account.ModifyParams.include`, and `v2.core.Account.RetrieveParams.include` +* Add support for thin events `V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationStorerUpdatedEvent` with related object `v2.core.Account` +* Add support for error types `AlreadyExistsError` and `NonZeroBalanceError` diff --git a/.hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..3a8ba68c0 --- /dev/null +++ b/.hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,30 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1535 +is_stripe_api_change: true +released_in_version: 12.5.0b1 +--- + +* Add support for new resources `billing.MeterUsageRow`, `billing.MeterUsage`, and `terminal.OnboardingLink` +* Add support for `retrieve` method on resource `billing.MeterUsage` +* Add support for `create` method on resource `terminal.OnboardingLink` +* Add support for `monthly_payout_days` and `weekly_payout_days` on `BalanceSettings.ModifyParamsPayoutSchedule` and `BalanceSettings.Payout.Schedule` +* Remove support for `monthly_anchor` and `weekly_anchor` on `BalanceSettings.ModifyParamsPayoutSchedule` and `BalanceSettings.Payout.Schedule` +* Add support for `delay_days_override` on `BalanceSettings.ModifyParamsSettlementTiming` +* Remove support for `delay_days` on `BalanceSettings.ModifyParamsSettlementTiming` +* Add support for `update_discounts` on `checkout.Session.CreateParamsPermission` +* Add support for `discounts` and `subscription_data` on `checkout.Session.ModifyParams` +* Add support for `smart_disputes` on `Dispute` +* Add support for `upi` on `Invoice.CreateParamsPaymentSettingPaymentMethodOption`, `Invoice.ModifyParamsPaymentSettingPaymentMethodOption`, `Invoice.PaymentSetting.PaymentMethodOption`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption`, `Subscription.CreateParamsPaymentSettingPaymentMethodOption`, `Subscription.ModifyParamsPaymentSettingPaymentMethodOption`, and `Subscription.PaymentSetting.PaymentMethodOption` +* Add support for new value `upi` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.ModifyParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `QuotePreviewInvoice.PaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.ModifyParamsPaymentSetting.payment_method_types`, and `Subscription.PaymentSetting.payment_method_types` +* Add support for `transaction_id` on `PaymentAttemptRecord.PaymentMethodDetail.Cashapp` and `PaymentRecord.PaymentMethodDetail.Cashapp` +* Add support for `amount_details` on `PaymentIntent.CaptureParams`, `PaymentIntent.ConfirmParams`, `PaymentIntent.CreateParams`, `PaymentIntent.IncrementAuthorizationParams`, and `PaymentIntent.ModifyParams` +* Add support for `payment_details` on `PaymentIntent.IncrementAuthorizationParams` +* Add support for `storer` on `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.Account.CreateParamsIdentityAttestationTermsOfService`, and `v2.core.Account.ModifyParamsIdentityAttestationTermsOfService` +* Add support for `collection_options` on `V2.Core.AccountLink.UseCase.AccountOnboarding`, `V2.Core.AccountLink.UseCase.AccountUpdate`, `v2.core.AccountLink.CreateParamsUseCaseAccountOnboarding`, and `v2.core.AccountLink.CreateParamsUseCaseAccountUpdate` +* Change type of `V2.Core.AccountLink.UseCase.AccountOnboarding.configurations`, `V2.Core.AccountLink.UseCase.AccountUpdate.configurations`, `v2.core.AccountLink.CreateParamsUseCaseAccountOnboarding.configurations`, and `v2.core.AccountLink.CreateParamsUseCaseAccountUpdate.configurations` from `literal('recipient')` to `enum('customer'|'merchant'|'recipient'|'storer')` +* Add support for `bank_account_type` on `V2.MoneyManagement.PayoutMethod.BankAccount` +* Add support for thin event `V2CoreAccountLinkReturnedEvent` +* Add support for thin event `V2MoneyManagementPayoutMethodUpdatedEvent` with related object `v2.money_management.PayoutMethod` +* Remove support for thin event `V2CoreAccountLinkCompletedEvent` +* Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `v2.payments.OffSessionPayment` diff --git a/.hark/changes/2025-08-08_ramya_bring-back-invoice.change.md b/.hark/changes/2025-08-08_ramya_bring-back-invoice.change.md new file mode 100644 index 000000000..722794dc1 --- /dev/null +++ b/.hark/changes/2025-08-08_ramya_bring-back-invoice.change.md @@ -0,0 +1,8 @@ +--- +title: Bring back invoice payments APIs that were missing in the public preview SDKs +pr_link: https://github.com/stripe/stripe-python/pull/1545 +released_in_version: 12.5.0b2 +--- + +* Add support for new resource `InvoicePayment` +* Add support for `list` and `retrieve` methods on resource `InvoicePayment` diff --git a/.hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..cad6d30ab --- /dev/null +++ b/.hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,39 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1542 +is_stripe_api_change: true +released_in_version: 12.6.0b1 +--- + +* Add support for `list` and `retrieve` methods on resource `InvoicePayment` +* Add support for `list` method on resource `Mandate` +* Add support for `applied` on `V2.Core.Account.Configuration.Customer`, `V2.Core.Account.Configuration.Merchant`, `V2.Core.Account.Configuration.Recipient`, `V2.Core.Account.Configuration.Storer`, `v2.core.Account.ModifyParamsConfigurationCustomer`, `v2.core.Account.ModifyParamsConfigurationMerchant`, `v2.core.Account.ModifyParamsConfigurationRecipient`, and `v2.core.Account.ModifyParamsConfigurationStorer` +* Add support for new values `ao_nif`, `az_tin`, `bd_etin`, `cr_cpj`, `cr_nite`, `do_rcn`, `gt_nit`, `kz_bin`, `mz_nuit`, `pe_ruc`, `pk_ntn`, `sa_crn`, and `sa_tin` on enums `V2.Core.Account.Identity.BusinessDetail.IdNumber.type`, `v2.core.Account.CreateParamsIdentityBusinessDetailIdNumber.type`, and `v2.core.Account.ModifyParamsIdentityBusinessDetailIdNumber.type` +* Add support for new values `ao_nif`, `az_tin`, `bd_brc`, `bd_etin`, `bd_nid`, `cr_cpf`, `cr_dimex`, `cr_nite`, `do_rcn`, `gt_nit`, `kz_iin`, `mz_nuit`, `pe_dni`, `pk_cnic`, `pk_snic`, and `sa_tin` on enums `V2.Core.Account.Identity.Individual.IdNumber.type`, `V2.Core.Person.IdNumber.type`, `v2.core.Account.CreateParamsIdentityIndividualIdNumber.type`, `v2.core.Account.ModifyParamsIdentityIndividualIdNumber.type`, `v2.core.Person.CreateParamsIdNumber.type`, and `v2.core.Person.ModifyParamsIdNumber.type` +* Change type of `Billing.AlertTriggered.value` from `longInteger` to `decimal_string` +* Add support for `display_name` on `V2.MoneyManagement.FinancialAccount` and `v2.money_management.FinancialAccount.CreateParams` +* Add support for new value `currency_conversion` on enums `V2.MoneyManagement.Transaction.category` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.category` +* Add support for `currency_conversion` on `V2.MoneyManagement.Transaction.Flow` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.Flow` +* Add support for new value `currency_conversion` on enums `V2.MoneyManagement.Transaction.Flow.type` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.Flow.type` +* Add support for `payments` on `BalanceSettings.ModifyParams` and `BalanceSettings` +* Remove support for `debit_negative_balances`, `payouts`, and `settlement_timing` on `BalanceSettings.ModifyParams` and `BalanceSettings` +* Add support for `mandate` on `Charge.PaymentMethodDetail.Pix`, `PaymentAttemptRecord.PaymentMethodDetail.Pix`, and `PaymentRecord.PaymentMethodDetail.Pix` +* Add support for `coupon_data` on `checkout.Session.CreateParamsDiscount` +* Add support for `mandate_options` on `Checkout.Session.PaymentMethodOption.Pix`, `PaymentIntent.ConfirmParamsPaymentMethodOptionPix`, `PaymentIntent.CreateParamsPaymentMethodOptionPix`, `PaymentIntent.ModifyParamsPaymentMethodOptionPix`, `PaymentIntent.PaymentMethodOption.Pix`, and `checkout.Session.CreateParamsPaymentMethodOptionPix` +* Change type of `Checkout.Session.PaymentMethodOption.Pix.setup_future_usage`, `PaymentIntent.ConfirmParamsPaymentMethodOptionPix.setup_future_usage`, `PaymentIntent.CreateParamsPaymentMethodOptionPix.setup_future_usage`, `PaymentIntent.ModifyParamsPaymentMethodOptionPix.setup_future_usage`, `PaymentIntent.PaymentMethodOption.Pix.setup_future_usage`, and `checkout.Session.CreateParamsPaymentMethodOptionPix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')` +* Add support for `amount` on `Mandate.MultiUse`, `PaymentAttemptRecord`, and `PaymentRecord` +* Add support for `currency` on `Mandate.MultiUse` +* Add support for `pix` on `Mandate.PaymentMethodDetail`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.ConfirmParamsPaymentMethodOption`, `SetupIntent.CreateParamsPaymentMethodOption`, `SetupIntent.ModifyParamsPaymentMethodOption`, and `SetupIntent.PaymentMethodOption` +* Add support for `limit` on `PaymentAttemptRecord.ListParams` +* Add support for `amount_authorized`, `amount_refunded`, and `application` on `PaymentAttemptRecord` and `PaymentRecord` +* Add support for `processor_details` on `PaymentAttemptRecord`, `PaymentRecord.ReportPaymentParams`, and `PaymentRecord` +* Remove support for `payment_reference` on `PaymentAttemptRecord`, `PaymentRecord.ReportPaymentParams`, and `PaymentRecord` +* Add support for `installments` on `PaymentAttemptRecord.PaymentMethodDetail.Alma` and `PaymentRecord.PaymentMethodDetail.Alma` +* Add support for `transaction_id` on `PaymentAttemptRecord.PaymentMethodDetail.Alma`, `PaymentAttemptRecord.PaymentMethodDetail.AmazonPay`, `PaymentAttemptRecord.PaymentMethodDetail.Billie`, `PaymentAttemptRecord.PaymentMethodDetail.KakaoPay`, `PaymentAttemptRecord.PaymentMethodDetail.KrCard`, `PaymentAttemptRecord.PaymentMethodDetail.NaverPay`, `PaymentAttemptRecord.PaymentMethodDetail.Payco`, `PaymentAttemptRecord.PaymentMethodDetail.RevolutPay`, `PaymentAttemptRecord.PaymentMethodDetail.SamsungPay`, `PaymentAttemptRecord.PaymentMethodDetail.Satispay`, `PaymentRecord.PaymentMethodDetail.Alma`, `PaymentRecord.PaymentMethodDetail.AmazonPay`, `PaymentRecord.PaymentMethodDetail.Billie`, `PaymentRecord.PaymentMethodDetail.KakaoPay`, `PaymentRecord.PaymentMethodDetail.KrCard`, `PaymentRecord.PaymentMethodDetail.NaverPay`, `PaymentRecord.PaymentMethodDetail.Payco`, `PaymentRecord.PaymentMethodDetail.RevolutPay`, `PaymentRecord.PaymentMethodDetail.SamsungPay`, and `PaymentRecord.PaymentMethodDetail.Satispay` +* Add support for `location` and `reader` on `PaymentAttemptRecord.PaymentMethodDetail.Paynow` and `PaymentRecord.PaymentMethodDetail.Paynow` +* Add support for `latest_active_mandate` on `PaymentMethod` +* Change `Payout.payout_method` to be required +* Add support for `metadata` and `period` on `QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem` +* Add support for `pix_display_qr_code` on `SetupIntent.NextAction` +* Add support for `reader_security` on `Terminal.Configuration`, `terminal.Configuration.CreateParams`, and `terminal.Configuration.ModifyParams` +* Add support for error codes `customer_session_expired` and `india_recurring_payment_mandate_canceled` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..30567e401 --- /dev/null +++ b/.hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,32 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1555 +is_stripe_api_change: true +released_in_version: 13.1.0b1 +--- + +* Add support for new resources `billing.analytics.MeterUsageRow` and `billing.analytics.MeterUsage` +* Remove support for resources `billing.MeterUsageRow` and `billing.MeterUsage` +* Add support for `retrieve` method on resource `billing.analytics.MeterUsage` +* Remove support for `retrieve` method on resource `billing.MeterUsage` +* Add support for `report_payment_attempt_informational` method on resource `PaymentRecord` +* Add support for `minimum_balance_by_currency` on `BalanceSettings.ModifyParamsPaymentPayout` and `BalanceSettings.Payment.Payout` +* Remove support for values `saturday` and `sunday` from enums `BalanceSettings.ModifyParamsPaymentPayoutSchedule.weekly_payout_days` and `BalanceSettings.Payment.Payout.Schedule.weekly_payout_days` +* Change type of `BalanceSettings.ModifyParamsPaymentSettlementTiming.delay_days_override` from `longInteger` to `emptyable(longInteger)` +* Change `BalanceSettings.ModifyParams.payments` to be optional +* Add support for `delay_days_override` on `BalanceSettings.Payment.SettlementTiming` +* Add support for `automatic_tax` and `invoice_creation` on `checkout.Session.ModifyParams` +* Add support for `unit_label` on `checkout.Session.ModifyParamsLineItemPriceDatumProductDatum` +* Add support for `invoice_settings` on `checkout.Session.ModifyParamsSubscriptionDatum` +* Change `Checkout.Session.CollectedInformation.business_name` to be required +* Add support for `intended_submission_method` on `Dispute.ModifyParams` and `Dispute` +* Change type of `Dispute.SmartDispute.recommended_evidence` from `string` to `array(string)` +* Add support for `pix` on `Invoice.CreateParamsPaymentSettingPaymentMethodOption`, `Invoice.ModifyParamsPaymentSettingPaymentMethodOption`, `Invoice.PaymentSetting.PaymentMethodOption`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption`, `Subscription.CreateParamsPaymentSettingPaymentMethodOption`, `Subscription.ModifyParamsPaymentSettingPaymentMethodOption`, and `Subscription.PaymentSetting.PaymentMethodOption` +* Add support for new value `pix` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.ModifyParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `QuotePreviewInvoice.PaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.ModifyParamsPaymentSetting.payment_method_types`, and `Subscription.PaymentSetting.payment_method_types` +* Add support for `billing_schedules` on `Invoice.CreatePreviewParamsSubscriptionDetail`, `Subscription.CreateParams`, `Subscription.ModifyParams`, and `Subscription` +* Add support for `paypay` on `PaymentAttemptRecord.PaymentMethodDetail` and `PaymentRecord.PaymentMethodDetail` +* Add support for `wallet` on `PaymentAttemptRecord.PaymentMethodDetail.Card` and `PaymentRecord.PaymentMethodDetail.Card` +* Change type of `PaymentAttemptRecord.ProcessorDetail.Custom.payment_reference` and `PaymentRecord.ProcessorDetail.Custom.payment_reference` from `string` to `nullable(string)` +* Add support for `flexible` on `QuotePreviewSubscriptionSchedule.BillingMode` +* Add support for `billed_until` on `SubscriptionItem` +* Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..c206c6342 --- /dev/null +++ b/.hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,36 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1584 +is_stripe_api_change: true +released_in_version: 13.1.0b1 +--- + +* Add support for new resources `v2.billing.BillSettingVersion`, `v2.billing.BillSetting`, `v2.billing.Cadence`, `v2.billing.CollectionSettingVersion`, `v2.billing.CollectionSetting`, and `v2.billing.Profile` +* Add support for `create`, `list`, `modify`, and `retrieve` methods on resources `v2.billing.BillSetting`, `v2.billing.CollectionSetting`, and `v2.billing.Profile` +* Add support for `list` and `retrieve` methods on resources `v2.billing.BillSettingVersion` and `v2.billing.CollectionSettingVersion` +* Add support for `cancel`, `create`, `list`, `modify`, and `retrieve` methods on resource `v2.billing.Cadence` +* Add support for new value `crypto_wallet` on enum `V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type` +* Add support for `profile` on `V2.Core.Account.Default`, `v2.core.Account.CreateParamsDefault`, and `v2.core.Account.ModifyParamsDefault` +* Add support for `i_p` on `V2.Core.Account.Identity.Attestation.DirectorshipDeclaration`, `V2.Core.Account.Identity.Attestation.OwnershipDeclaration`, `V2.Core.Account.Identity.Attestation.TermsOfService.Account`, `V2.Core.Account.Identity.Attestation.TermsOfService.Storer`, `V2.Core.Account.Identity.Individual.AdditionalTermsOfService.Account`, `V2.Core.Person.AdditionalTermsOfService.Account`, `v2.core.Account.CreateParamsIdentityAttestationTermsOfServiceAccount`, `v2.core.Account.CreateParamsIdentityAttestationTermsOfServiceStorer`, `v2.core.Account.ModifyParamsIdentityAttestationTermsOfServiceAccount`, `v2.core.Account.ModifyParamsIdentityAttestationTermsOfServiceStorer`, `v2.core.Person.CreateParamsAdditionalTermsOfServiceAccount`, and `v2.core.Person.ModifyParamsAdditionalTermsOfServiceAccount` +* Remove support for `ip` on `V2.Core.Account.Identity.Attestation.DirectorshipDeclaration`, `V2.Core.Account.Identity.Attestation.OwnershipDeclaration`, `V2.Core.Account.Identity.Attestation.TermsOfService.Account`, `V2.Core.Account.Identity.Attestation.TermsOfService.Storer`, `V2.Core.Account.Identity.Individual.AdditionalTermsOfService.Account`, `V2.Core.Person.AdditionalTermsOfService.Account`, `v2.core.Account.CreateParamsIdentityAttestationTermsOfServiceAccount`, `v2.core.Account.CreateParamsIdentityAttestationTermsOfServiceStorer`, `v2.core.Account.ModifyParamsIdentityAttestationTermsOfServiceAccount`, `v2.core.Account.ModifyParamsIdentityAttestationTermsOfServiceStorer`, `v2.core.Person.CreateParamsAdditionalTermsOfServiceAccount`, and `v2.core.Person.ModifyParamsAdditionalTermsOfServiceAccount` +* Remove support for `doing_business_as`, `product_description`, and `url` on `V2.Core.Account.Identity.BusinessDetail`, `v2.core.Account.CreateParamsIdentityBusinessDetail`, and `v2.core.Account.ModifyParamsIdentityBusinessDetail` +* Add support for `settlement_currency` on `V2.MoneyManagement.FinancialAddress` +* Add support for `sepa_bank_account` on `V2.MoneyManagement.FinancialAddress.Credential` and `V2.MoneyManagement.ReceivedCredit.BankTransfer` +* Add support for new value `sepa_bank_account` on enum `V2.MoneyManagement.FinancialAddress.Credential.type` +* Add support for `amount_details` and `payments_orchestration` on `V2.Payments.OffSessionPayment` and `v2.payments.OffSessionPayment.CreateParams` +* Add support for new value `authorization_expired` on enum `V2.Payments.OffSessionPayment.failure_reason` +* Add support for `retry_policy` on `V2.Payments.OffSessionPayment.RetryDetail` and `v2.payments.OffSessionPayment.CreateParamsRetryDetail` +* Add support for new values `heuristic` and `scheduled` on enums `V2.Payments.OffSessionPayment.RetryDetail.retry_strategy` and `v2.payments.OffSessionPayment.CreateParamsRetryDetail.retry_strategy` +* Change type of `V2.MoneyManagement.OutboundPaymentQuote.FxQuote.lock_duration` from `literal('five_minutes')` to `enum('five_minutes'|'none')` +* Change type of `V2.MoneyManagement.OutboundPaymentQuote.FxQuote.lock_expires_at` from `DateTime` to `nullable(DateTime)` +* Add support for new value `none` on enum `V2.MoneyManagement.OutboundPaymentQuote.FxQuote.lock_status` +* Add support for new value `crypto_wallet` on enums `V2.MoneyManagement.PayoutMethod.type`, `v2.money_management.OutboundSetupIntent.CreateParamsPayoutMethodDatum.type`, and `v2.money_management.OutboundSetupIntent.ModifyParamsPayoutMethodDatum.type` +* Add support for `origin_type` on `V2.MoneyManagement.ReceivedCredit.BankTransfer` +* Remove support for `payment_method_type` on `V2.MoneyManagement.ReceivedCredit.BankTransfer` +* Add support for `mandate_data` and `payment_method_options` on `v2.payments.OffSessionPayment.CreateParams` +* Add support for `type` on `v2.money_management.FinancialAddress.CreateParams` +* Remove support for `currency` on `v2.money_management.FinancialAddress.CreateParams` +* Add support for new values `financial_addressses.crypto_wallets`, `holds_currencies.usdc`, `outbound_payments.crypto_wallets`, and `outbound_transfers.crypto_wallets` on enum `EventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability` +* Add support for thin event `V2BillingBillSettingUpdatedEvent` with related object `v2.billing.BillSetting` +* Add support for error type `RateLimitError` +* Add support for error code `invalid_payout_method_crypto_wallet` on `InvalidPayoutMethodError` diff --git a/.hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..222bd3a73 --- /dev/null +++ b/.hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,11 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1597 +is_stripe_api_change: true +released_in_version: 13.1.0b1 +--- + +* Add support for `attach_cadence` method on resource `Subscription` +* Add support for `billing_cadence` on `Invoice.CreatePreviewParams`, `Subscription.CreateParams`, `Subscription.ModifyParams`, and `Subscription` +* Add support for `billing_cadence_details` on `Invoice.Parent` and `QuotePreviewInvoice.Parent` +* Add support for new value `billing_cadence_details` on enums `Invoice.Parent.type` and `QuotePreviewInvoice.Parent.type` diff --git a/.hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..bcd4ad767 --- /dev/null +++ b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1617 +is_stripe_api_change: true +released_in_version: 13.2.0b1 +--- + +* Add support for `last_seen_at` on `Terminal.Reader` +* Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version` diff --git a/.hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md new file mode 100644 index 000000000..5521ee885 --- /dev/null +++ b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md @@ -0,0 +1,9 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1617 +is_stripe_api_change: true +released_in_version: 13.1.1b1 +--- + +* Add support for `last_seen_at` on `Terminal.Reader` +* Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version` diff --git a/.hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..fb16e6e3a --- /dev/null +++ b/.hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,32 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1624 +is_stripe_api_change: true +released_in_version: 13.2.0b1 +--- + +* Add support for `modify` method on resource `v2.money_management.FinancialAccount` +* Add support for `confirm_microdeposits`, `list`, and `send_microdeposits` methods on resource `v2.core.vault.UsBankAccount` +* Add support for `list` method on resource `v2.core.vault.GbBankAccount` +* Add support for new value `verification_data_not_found` on enums `Account.FutureRequirement.Error.code`, `Account.Requirement.Error.code`, `BankAccount.FutureRequirement.Error.code`, `BankAccount.Requirement.Error.code`, `Capability.FutureRequirement.Error.code`, `Capability.Requirement.Error.code`, `Person.FutureRequirement.Error.code`, and `Person.Requirement.Error.code` +* Add support for `payment_portal_url` on `Charge.PaymentMethodDetail.Rechnung`, `PaymentAttemptRecord.PaymentMethodDetail.Rechnung`, and `PaymentRecord.PaymentMethodDetail.Rechnung` +* Add support for `tax_id_element` on `CustomerSession.Component` and `CustomerSessionCreateParamsComponent` +* Add support for `starting_after` on `PaymentAttemptRecordListParams` +* Add support for new value `solana` on enums `PaymentAttemptRecord.PaymentMethodDetail.Crypto.network` and `PaymentRecord.PaymentMethodDetail.Crypto.network` +* Add support for `reference` on `PaymentIntentAmountDetailsLineItem.PaymentMethodOption.Klarna`, `PaymentIntentCaptureParamsAmountDetailLineItemPaymentMethodOptionKlarna`, `PaymentIntentConfirmParamsAmountDetailLineItemPaymentMethodOptionKlarna`, `PaymentIntentCreateParamsAmountDetailLineItemPaymentMethodOptionKlarna`, `PaymentIntentIncrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionKlarna`, and `PaymentIntentModifyParamsAmountDetailLineItemPaymentMethodOptionKlarna` +* Change `PaymentIntent.PaymentDetail.customer_reference` to be required +* Change `PaymentIntent.PaymentDetail.order_reference` to be required +* Add support for `subscription_reference` on `PaymentIntentAmountDetailsLineItem.PaymentMethodOption.Klarna` +* Add support for `closed` on `V2.Core.Account` and `v2.core.AccountListParams` +* Add support for new value `payment_method` on enums `V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.location_source`, `v2.core.AccountCreateParamsConfigurationCustomerAutomaticIndirectTax.location_source`, and `v2.core.AccountModifyParamsConfigurationCustomerAutomaticIndirectTax.location_source` +* Add support for `usd` on `V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency`, `v2.core.AccountCreateParamsConfigurationStorerCapabilityHoldsCurrency`, and `v2.core.AccountModifyParamsConfigurationStorerCapabilityHoldsCurrency` +* Add support for new values `application_custom` and `application_express` on enums `V2.Core.Account.Default.Responsibility.fees_collector`, `v2.core.AccountCreateParamsDefaultResponsibility.fees_collector`, and `v2.core.AccountModifyParamsDefaultResponsibility.fees_collector` +* Add support for `representative_declaration` on `V2.Core.Account.Identity.Attestation`, `v2.core.AccountCreateParamsIdentityAttestation`, and `v2.core.AccountModifyParamsIdentityAttestation` +* Add support for new value `holds_currencies.usd` on enum `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability` +* Add support for `verification` on `V2.Core.Vault.UsBankAccount` +* Add support for `v1_id` on `EventsV2MoneyManagementTransactionCreatedEvent` +* Remove support for thin event `V2BillingBillSettingUpdatedEvent` with related object `v2.billing.BillSetting` +* Add support for error code `payment_intent_rate_limit_exceeded` on `QuotePreviewInvoice.LastFinalizationError` +* Add support for error codes `blocked_payout_method_crypto_wallet` and `unsupported_payout_method_crypto_wallet` on `BlockedByStripeError` +* Add support for error code `outbound_flow_from_closed_financial_account_unsupported` on `FeatureNotEnabledError` +* Add support for error code `limit_payout_method_crypto_wallet` on `QuotaExceededError` diff --git a/.hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..a725d43e3 --- /dev/null +++ b/.hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1655 +is_stripe_api_change: true +released_in_version: 13.2.0b1 +--- + +* Add support for `crypto_storer` on `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` diff --git a/.hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..bd70dcbc0 --- /dev/null +++ b/.hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,37 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1663 +is_stripe_api_change: true +released_in_version: 14.1.0b1 +--- + +* Add support for new resources `v2.core.AccountPersonToken` and `v2.core.AccountToken` +* Remove support for resource `v2.payments.OffSessionPayment` +* Add support for `create` and `retrieve` methods on resources `v2.core.AccountPersonToken` and `v2.core.AccountToken` +* Remove support for `cancel`, `capture`, `create`, `list`, and `retrieve` methods on resource `v2.payments.OffSessionPayment` +* Change `Tax.Association.tax_transaction_attempts` to be required +* Add support for `specified_commercial_transactions_act_url` on `Account.BusinessProfile`, `AccountCreateParamsBusinessProfile`, and `AccountModifyParamsBusinessProfile` +* Add support for `paypay_payments` on `Account.Setting`, `AccountCreateParamsSetting`, and `AccountModifyParamsSetting` +* Change type of `billing.analytics.MeterUsageRetrieveParamsMeter.dimension_filters` from `string` to `array(string)` +* Change type of `billing.analytics.MeterUsageRetrieveParamsMeter.tenant_filters` from `string` to `array(string)` +* Add support for `car_rental_data`, `flight_data`, and `lodging_data` on `ChargeCaptureParamsPaymentDetail`, `ChargeModifyParamsPaymentDetail`, `PaymentIntentCaptureParamsPaymentDetail`, `PaymentIntentConfirmParamsPaymentDetail`, `PaymentIntentCreateParamsPaymentDetail`, and `PaymentIntentModifyParamsPaymentDetail` +* Add support for `supplementary_purchase_data` on `OrderCreateParamsPaymentSettingPaymentMethodOptionKlarna`, `OrderModifyParamsPaymentSettingPaymentMethodOptionKlarna`, `PaymentIntentConfirmParamsPaymentMethodOptionKlarna`, `PaymentIntentCreateParamsPaymentMethodOptionKlarna`, and `PaymentIntentModifyParamsPaymentMethodOptionKlarna` +* Add support for `allow_redisplay` and `customer_account` on `PaymentMethodListParams` +* Add support for `future_requirements` on `V2.Core.Account` +* Add support for `konbini_payments` and `script_statement_descriptor` on `V2.Core.Account.Configuration.Merchant`, `v2.core.AccountCreateParamsConfigurationMerchant`, and `v2.core.AccountModifyParamsConfigurationMerchant` +* Add support for `eur` on `V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency`, `v2.core.AccountCreateParamsConfigurationStorerCapabilityHoldsCurrency`, and `v2.core.AccountModifyParamsConfigurationStorerCapabilityHoldsCurrency` +* Add support for `requirements_collector` on `V2.Core.Account.Default.Responsibility` +* Add support for new value `ar_cuit` on enums `V2.Core.Account.Identity.BusinessDetail.IdNumber.type`, `v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type`, and `v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type` +* Add support for new value `ar_dni` on enums `V2.Core.Account.Identity.Individual.IdNumber.type`, `V2.Core.AccountPerson.IdNumber.type`, `v2.core.AccountCreateParamsIdentityIndividualIdNumber.type`, `v2.core.AccountModifyParamsIdentityIndividualIdNumber.type`, `v2.core.AccountPersonCreateParamsIdNumber.type`, and `v2.core.AccountPersonModifyParamsIdNumber.type` +* Remove support for `collector` on `V2.Core.Account.Requirement` +* Add support for new value `holds_currencies.eur` on enum `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability` +* Add support for new values `payment_method` and `person` on enum `V2.Core.Account.Requirement.Entry.Reference.type` +* Remove support for value `resource` from enum `V2.Core.Account.Requirement.Entry.Reference.type` +* Remove support for value `future_requirements` from enum `V2.Core.Account.Requirement.Entry.RequestedReason.code` +* Add support for `changes` on `V2.Core.Event` +* Remove support for value `sepa_bank_account` from enums `V2.MoneyManagement.FinancialAddress.Credential.type` and `v2.money_management.FinancialAddressCreateParams.type` +* Add support for `account_token` on `v2.core.AccountCreateParams` and `v2.core.AccountModifyParams` +* Add support for new value `future_requirements` on enums `v2.core.AccountCreateParams.include`, `v2.core.AccountModifyParams.include`, and `v2.core.AccountRetrieveParams.include` +* Add support for `person_token` on `v2.core.AccountPersonCreateParams` and `v2.core.AccountPersonModifyParams` +* Add support for thin event `V2CoreHealthEventGenerationFailureResolvedEvent` +* Remove support for thin events `V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent`, `V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent`, `V2PaymentsOffSessionPaymentCanceledEvent`, `V2PaymentsOffSessionPaymentCreatedEvent`, `V2PaymentsOffSessionPaymentFailedEvent`, `V2PaymentsOffSessionPaymentRequiresCaptureEvent`, and `V2PaymentsOffSessionPaymentSucceededEvent` with related object `v2.payments.OffSessionPayment` diff --git a/.hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..b00f7abe8 --- /dev/null +++ b/.hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,46 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1680 +is_stripe_api_change: true +released_in_version: 14.2.0b1 +--- + +* Add support for new resources `reserve.Hold`, `reserve.Plan`, and `reserve.Release` +* Add support for `list` and `retrieve` methods on resources `reserve.Hold` and `reserve.Release` +* Add support for `retrieve` method on resource `reserve.Plan` +* Change `Billing.CreditBalanceSummary.customer_account`, `Billing.CreditGrant.customer_account`, `BillingPortal.Session.customer_account`, `CashBalance.customer_account`, `Checkout.Session.customer_account`, `ConfirmationToken.PaymentMethodPreview.customer_account`, `CreditNote.customer_account`, `CustomerBalanceTransaction.customer_account`, `CustomerCashBalanceTransaction.customer_account`, `CustomerSession.customer_account`, `Discount.customer_account`, `Invoice.customer_account`, `InvoiceItem.customer_account`, `PaymentIntent.customer_account`, `PaymentMethod.customer_account`, `PromotionCode.customer_account`, `Quote.customer_account`, `QuotePreviewInvoice.customer_account`, `QuotePreviewSubscriptionSchedule.customer_account`, `SetupAttempt.customer_account`, `Subscription.customer_account`, `SubscriptionSchedule.customer_account`, `TaxId.Owner.customer_account`, and `TaxId.customer_account` to be required +* Change type of `V2.FinancialAddressGeneratedMicrodeposits.amounts` from `amount` to `an object` +* Change type of `PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount`, `PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount`, `PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount`, `SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount`, `SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount`, `SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount`, and `checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.amount` from `longInteger` to `emptyable(longInteger)` +* Change type of `PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount_type`, `PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type`, `PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount_type`, `SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount_type`, `SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type`, `SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount_type`, and `checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type` from `enum('fixed'|'maximum')` to `emptyable(enum('fixed'|'maximum'))` +* Change type of `PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.end_date`, `PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.end_date`, `PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.end_date`, `SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.end_date`, `SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.end_date`, `SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.end_date`, and `checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.end_date` from `string` to `emptyable(string)` +* Change type of `PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payment_schedule`, `PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule`, `PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payment_schedule`, `SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payment_schedule`, `SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule`, `SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payment_schedule`, and `checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule` from `enum` to `emptyable(enum)` +* Change type of `PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payments_per_period`, `PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period`, `PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payments_per_period`, `SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payments_per_period`, `SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period`, `SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payments_per_period`, and `checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period` from `longInteger` to `emptyable(longInteger)` +* Change type of `PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.purpose`, `PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.purpose`, `PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.purpose`, `SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.purpose`, `SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.purpose`, `SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.purpose`, and `checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.purpose` from `enum` to `emptyable(enum)` +* Change type of `SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.start_date`, `SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.start_date`, `SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.start_date`, and `checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.start_date` from `string` to `emptyable(string)` +* Change `Identity.VerificationSession.related_customer_account` to be required +* Add support for `async_workflows` on `PaymentIntent` +* Add support for `payto` on `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption` +* Add support for new value `payto` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Remove support for `requested` on `V2.Core.Account.Configuration.Customer.Capability.AutomaticIndirectTax`, `V2.Core.Account.Configuration.Merchant.Capability.AchDebitPayment`, `V2.Core.Account.Configuration.Merchant.Capability.AcssDebitPayment`, `V2.Core.Account.Configuration.Merchant.Capability.AffirmPayment`, `V2.Core.Account.Configuration.Merchant.Capability.AfterpayClearpayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.AlmaPayment`, `V2.Core.Account.Configuration.Merchant.Capability.AmazonPayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.AuBecsDebitPayment`, `V2.Core.Account.Configuration.Merchant.Capability.BacsDebitPayment`, `V2.Core.Account.Configuration.Merchant.Capability.BancontactPayment`, `V2.Core.Account.Configuration.Merchant.Capability.BlikPayment`, `V2.Core.Account.Configuration.Merchant.Capability.BoletoPayment`, `V2.Core.Account.Configuration.Merchant.Capability.CardPayment`, `V2.Core.Account.Configuration.Merchant.Capability.CartesBancairesPayment`, `V2.Core.Account.Configuration.Merchant.Capability.CashappPayment`, `V2.Core.Account.Configuration.Merchant.Capability.EpsPayment`, `V2.Core.Account.Configuration.Merchant.Capability.FpxPayment`, `V2.Core.Account.Configuration.Merchant.Capability.GbBankTransferPayment`, `V2.Core.Account.Configuration.Merchant.Capability.GrabpayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.IdealPayment`, `V2.Core.Account.Configuration.Merchant.Capability.JcbPayment`, `V2.Core.Account.Configuration.Merchant.Capability.JpBankTransferPayment`, `V2.Core.Account.Configuration.Merchant.Capability.KakaoPayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.KlarnaPayment`, `V2.Core.Account.Configuration.Merchant.Capability.KonbiniPayment`, `V2.Core.Account.Configuration.Merchant.Capability.KrCardPayment`, `V2.Core.Account.Configuration.Merchant.Capability.LinkPayment`, `V2.Core.Account.Configuration.Merchant.Capability.MobilepayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.MultibancoPayment`, `V2.Core.Account.Configuration.Merchant.Capability.MxBankTransferPayment`, `V2.Core.Account.Configuration.Merchant.Capability.NaverPayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.OxxoPayment`, `V2.Core.Account.Configuration.Merchant.Capability.P24Payment`, `V2.Core.Account.Configuration.Merchant.Capability.PayByBankPayment`, `V2.Core.Account.Configuration.Merchant.Capability.PaycoPayment`, `V2.Core.Account.Configuration.Merchant.Capability.PaynowPayment`, `V2.Core.Account.Configuration.Merchant.Capability.PromptpayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.RevolutPayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.SamsungPayPayment`, `V2.Core.Account.Configuration.Merchant.Capability.SepaBankTransferPayment`, `V2.Core.Account.Configuration.Merchant.Capability.SepaDebitPayment`, `V2.Core.Account.Configuration.Merchant.Capability.StripeBalance.Payout`, `V2.Core.Account.Configuration.Merchant.Capability.SwishPayment`, `V2.Core.Account.Configuration.Merchant.Capability.TwintPayment`, `V2.Core.Account.Configuration.Merchant.Capability.UsBankTransferPayment`, `V2.Core.Account.Configuration.Merchant.Capability.ZipPayment`, `V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Local`, `V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Wire`, `V2.Core.Account.Configuration.Recipient.Capability.Card`, `V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.Payout`, `V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.StripeTransfer`, `V2.Core.Account.Configuration.Storer.Capability.FinancialAddress.BankAccount`, `V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Eur`, `V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Gbp`, `V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Usd`, `V2.Core.Account.Configuration.Storer.Capability.InboundTransfer.BankAccount`, `V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.BankAccount`, `V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.Card`, `V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.FinancialAccount`, `V2.Core.Account.Configuration.Storer.Capability.OutboundTransfer.BankAccount`, and `V2.Core.Account.Configuration.Storer.Capability.OutboundTransfer.FinancialAccount` +* Add support for new values `al_bank_account`, `am_bank_account`, `bn_bank_account`, `bw_bank_account`, `dz_bank_account`, `gy_bank_account`, `jm_bank_account`, `jo_bank_account`, `kw_bank_account`, `lk_bank_account`, `ma_bank_account`, `om_bank_account`, and `tz_bank_account` on enum `V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type` +* Change type of `V2.Core.Account.Identity.BusinessDetail.AnnualRevenue.amount`, `V2.Core.Account.Identity.BusinessDetail.MonthlyEstimatedRevenue.amount`, `V2.MoneyManagement.Adjustment.amount`, `V2.MoneyManagement.InboundTransfer.amount`, `V2.MoneyManagement.OutboundPayment.amount`, `V2.MoneyManagement.OutboundPaymentQuote.EstimatedFee.amount`, `V2.MoneyManagement.OutboundPaymentQuote.amount`, `V2.MoneyManagement.OutboundTransfer.amount`, `V2.MoneyManagement.ReceivedCredit.amount`, `V2.MoneyManagement.ReceivedDebit.amount`, `V2.MoneyManagement.Transaction.amount`, `v2.FinancialAddressCreditSimulationCreditParams.amount`, `v2.core.AccountCreateParamsIdentityBusinessDetailAnnualRevenue.amount`, `v2.core.AccountCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenue.amount`, `v2.core.AccountModifyParamsIdentityBusinessDetailAnnualRevenue.amount`, `v2.core.AccountModifyParamsIdentityBusinessDetailMonthlyEstimatedRevenue.amount`, `v2.core.AccountTokenCreateParamsIdentityBusinessDetailAnnualRevenue.amount`, `v2.core.AccountTokenCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenue.amount`, `v2.money_management.InboundTransferCreateParams.amount`, `v2.money_management.OutboundPaymentCreateParams.amount`, `v2.money_management.OutboundPaymentQuoteCreateParams.amount`, and `v2.money_management.OutboundTransferCreateParams.amount` from `amount` to `an object` +* Add support for new values `at_stn`, `at_vat`, `be_vat`, `bg_vat`, `ca_gst_hst`, `cy_he`, `cy_vat`, `cz_vat`, `de_stn`, `dk_vat`, `ee_vat`, `es_vat`, `fi_vat`, `fr_rna`, `gr_afm`, `gr_vat`, `hr_mbs`, `hr_oib`, `hr_vat`, `hu_tin`, `hu_vat`, `ie_trn`, `ie_vat`, `lt_vat`, `lu_nif`, `lu_vat`, `lv_vat`, `mt_tin`, `mt_vat`, `my_itn`, `nl_rsin`, `nl_vat`, `nz_ird`, `pl_nip`, `pl_vat`, `ro_orc`, `ro_vat`, `se_vat`, `si_tin`, `si_vat`, `sk_dic`, and `sk_vat` on enums `V2.Core.Account.Identity.BusinessDetail.IdNumber.type`, `v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type`, `v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type`, and `v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type` +* Remove support for value `hk_mbs` from enums `V2.Core.Account.Identity.BusinessDetail.IdNumber.type`, `v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type`, `v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type`, and `v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type` +* Add support for new values `ar_cuil`, `at_stn`, `be_nrn`, `bg_ucn`, `bn_nric`, `ca_sin`, `ch_oasi`, `cl_rut`, `cn_pp`, `co_nuip`, `cr_ci`, `cy_tic`, `cz_rc`, `dk_cpr`, `do_cie`, `ec_ci`, `ee_ik`, `es_nif`, `fi_hetu`, `fr_nir`, `gb_nino`, `gr_afm`, `hr_oib`, `hu_ad`, `id_nik`, `ie_ppsn`, `is_kt`, `it_cf`, `jp_inc`, `ke_pin`, `li_peid`, `lt_ak`, `lu_nif`, `lv_pk`, `ng_nin`, `no_nin`, `nz_ird`, `pl_pesel`, `pt_nif`, `ro_cnp`, `se_pin`, `sk_dic`, `tr_tin`, `uy_dni`, and `za_id` on enums `V2.Core.Account.Identity.Individual.IdNumber.type`, `V2.Core.AccountPerson.IdNumber.type`, `v2.core.AccountCreateParamsIdentityIndividualIdNumber.type`, `v2.core.AccountModifyParamsIdentityIndividualIdNumber.type`, `v2.core.AccountPersonCreateParamsIdNumber.type`, `v2.core.AccountPersonModifyParamsIdNumber.type`, `v2.core.AccountPersonTokenCreateParamsIdNumber.type`, and `v2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.type` +* Change `V2.Core.Account.Default.responsibilities` to be required +* Change `V2.Core.Account.Default.Responsibility.fees_collector` to be optional +* Change `V2.Core.Account.Default.Responsibility.losses_collector` to be optional +* Add support for `financial_connections_account` on `V2.Core.Vault.UsBankAccount` and `V2.MoneyManagement.PayoutMethod.BankAccount` +* Change type of `V2.MoneyManagement.FinancialAccount.Balance.available`, `V2.MoneyManagement.Transaction.BalanceImpact.available`, and `V2.MoneyManagement.TransactionEntry.BalanceImpact.available` from `amount` to `an object` +* Change type of `V2.MoneyManagement.FinancialAccount.Balance.inbound_pending`, `V2.MoneyManagement.Transaction.BalanceImpact.inbound_pending`, and `V2.MoneyManagement.TransactionEntry.BalanceImpact.inbound_pending` from `amount` to `an object` +* Change type of `V2.MoneyManagement.FinancialAccount.Balance.outbound_pending`, `V2.MoneyManagement.Transaction.BalanceImpact.outbound_pending`, and `V2.MoneyManagement.TransactionEntry.BalanceImpact.outbound_pending` from `amount` to `an object` +* Change type of `V2.MoneyManagement.InboundTransfer.From.debited`, `V2.MoneyManagement.OutboundPayment.From.debited`, `V2.MoneyManagement.OutboundPaymentQuote.From.debited`, and `V2.MoneyManagement.OutboundTransfer.From.debited` from `amount` to `an object` +* Change type of `V2.MoneyManagement.InboundTransfer.To.credited`, `V2.MoneyManagement.OutboundPayment.To.credited`, `V2.MoneyManagement.OutboundPaymentQuote.To.credited`, and `V2.MoneyManagement.OutboundTransfer.To.credited` from `amount` to `an object` +* Add support for `transfer` on `V2.MoneyManagement.ReceivedCredit.BalanceTransfer` +* Add support for new value `transfer` on enum `V2.MoneyManagement.ReceivedCredit.BalanceTransfer.type` +* Change `v2.core.AccountTokenCreateParams.identity` to be optional +* Change type of `v2.core.AccountListParams.applied_configurations` from `string` to `enum('customer'|'merchant'|'recipient'|'storer')` +* Add support for event notification `V2MoneyManagementPayoutMethodCreatedEvent` with related object `v2.money_management.PayoutMethod` +* Add support for error type `ControlledByAlternateResourceError` +* Remove support for error type `RateLimitError` +* Add support for error code `account_token_required_for_v2_account` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md b/.hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md new file mode 100644 index 000000000..ff2d513be --- /dev/null +++ b/.hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md @@ -0,0 +1,5 @@ +--- +title: Add EventNotificationHandler example +pr_link: https://github.com/stripe/stripe-python/pull/1701 +released_in_version: 14.4.0b1 +--- diff --git a/.hark/changes/2025-12-16_xavdid_add-eventnotific.change.md b/.hark/changes/2025-12-16_xavdid_add-eventnotific.change.md new file mode 100644 index 000000000..24364f117 --- /dev/null +++ b/.hark/changes/2025-12-16_xavdid_add-eventnotific.change.md @@ -0,0 +1,7 @@ +--- +title: Add EventNotificationHandler +pr_link: https://github.com/stripe/stripe-python/pull/1653 +released_in_version: 14.2.0b1 +--- + +* This is a new, simplified way to handle event notifications (AKA thin event webhooks). Learn more in the docs: https://docs.stripe.com/webhooks/event-notification-handlers diff --git a/.hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..a0086893b --- /dev/null +++ b/.hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,37 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1719 +is_stripe_api_change: true +released_in_version: 14.4.0b1 +--- + +* Add support for new resource `financial_connections.Authorization` +* Add support for `retrieve` method on resource `financial_connections.Authorization` +* Add support for `detach_payment` method on resource `Invoice` +* Remove support for `cancel`, `list_line_items`, and `reopen` methods on resource `Order` +* Remove support for `attach_cadence` method on resource `Subscription` +* Add support for `additional_files` and `site` on `Account.Setting.PaypayPayment`, `AccountCreateParamsSettingPaypayPayment`, and `AccountModifyParamsSettingPaypayPayment` +* Remove support for `capital` on `Account.Setting` +* Change type of `Charge.PaymentMethodDetail.StripeBalance.source_type`, `ConfirmationToken.PaymentMethodPreview.StripeBalance.source_type`, `PaymentAttemptRecord.PaymentMethodDetail.StripeBalance.source_type`, `PaymentMethod.StripeBalance.source_type`, and `PaymentRecord.PaymentMethodDetail.StripeBalance.source_type` from `enum('bank_account'|'card'|'fpx')` to `nullable(enum('bank_account'|'card'|'fpx'))` +* Add support for new value `pl_nip` on enums `Checkout.Session.CollectedInformation.TaxId.type`, `Order.TaxDetail.TaxId.type`, and `QuotePreviewInvoice.CustomerTaxId.type` +* Add support for new value `capital.financing_summary.line_of_credit_update` on enum `Event.type` +* Add support for `authorization` and `status_details` on `FinancialConnections.Account` +* Add support for `relink_options` on `FinancialConnections.Session` and `financial_connections.SessionCreateParams` +* Change `financial_connections.SessionCreateParams.account_holder` to be optional +* Add support for `relink_result` on `FinancialConnections.Session` +* Remove support for `billing_cadence` on `InvoiceCreatePreviewParams`, `SubscriptionCreateParams`, `SubscriptionModifyParams`, and `Subscription` +* Remove support for `billing_cadence_details` on `Invoice.Parent` and `QuotePreviewInvoice.Parent` +* Remove support for value `billing_cadence_details` from enums `Invoice.Parent.type` and `QuotePreviewInvoice.Parent.type` +* Add support for new value `pl_nip` on enums `OrderCreateParamsTaxDetailTaxId.type` and `OrderModifyParamsTaxDetailTaxId.type` +* Add support for `car_rental_data`, `flight_data`, and `lodging_data` on `PaymentIntent.PaymentDetail` +* Change `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.payto` to be required +* Add support for new value `capital.financing_summary.line_of_credit_update` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointModifyParams.enabled_events` +* Add support for new values `ae_bank_account`, `ag_bank_account`, `bh_bank_account`, `gm_bank_account`, `hk_bank_account`, `kh_bank_account`, `lc_bank_account`, `mc_bank_account`, `mg_bank_account`, `my_bank_account`, `qa_bank_account`, `rw_bank_account`, `th_bank_account`, `tt_bank_account`, and `vn_bank_account` on enum `V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type` +* Add support for `alternative_reference` on `V2.Core.Vault.GbBankAccount`, `V2.Core.Vault.UsBankAccount`, and `V2.MoneyManagement.PayoutMethod` +* Add support for `account_holder_address` and `account_holder_name` on `V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount` +* Add support for `fingerprint` on `V2.MoneyManagement.PayoutMethod.Card` +* Add support for snapshot event `invoice_payment.detached` with resource `InvoicePayment` +* Add support for error code `request_blocked` on `QuotePreviewInvoice.LastFinalizationError` +* Add support for error codes `blocked_payout_method` and `unsupported_payout_method` on `BlockedByStripeError` +* Add support for error code `invalid_payout_method_data` on `InvalidPayoutMethodError` +* Add support for error code `limit_payout_method` on `QuotaExceededError` diff --git a/.hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..41da256b8 --- /dev/null +++ b/.hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,18 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1727 +is_stripe_api_change: true +released_in_version: 14.5.0b1 +--- + +* Add support for `smart_disputes` on `Account.Setting`, `AccountCreateParamsSetting`, `AccountModifyParamsSetting`, `V2.Core.Account.Configuration.Merchant`, `v2.core.AccountCreateParamsConfigurationMerchant`, and `v2.core.AccountModifyParamsConfigurationMerchant` +* Add support for `email_customers_on_successful_payment` on `Account.Setting.Payment`, `AccountCreateParamsSettingPayment`, and `AccountModifyParamsSettingPayment` +* Add support for `managed_payments` on `Checkout.Session`, `PaymentIntent`, `SetupIntent`, `Subscription`, and `checkout.SessionCreateParams` +* Add support for new value `lk_vat` on enums `Checkout.Session.CollectedInformation.TaxId.type`, `Order.TaxDetail.TaxId.type`, and `QuotePreviewInvoice.CustomerTaxId.type` +* Add support for new value `lk_vat` on enums `OrderCreateParamsTaxDetailTaxId.type` and `OrderModifyParamsTaxDetailTaxId.type` +* Add support for new value `pay_by_bank` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Add support for new values `bt_bank_account`, `cr_bank_account`, `do_bank_account`, `gt_bank_account`, `md_bank_account`, `mk_bank_account`, `mo_bank_account`, `mz_bank_account`, `pe_bank_account`, `pk_bank_account`, `tw_bank_account`, and `uz_bank_account` on enum `V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type` +* Add support for `purpose` on `V2.MoneyManagement.OutboundPayment` and `v2.money_management.OutboundPaymentCreateParams` +* Add support for `branch_number` and `swift_code` on `V2.MoneyManagement.PayoutMethod.BankAccount` +* Change `V2.MoneyManagement.Transaction.flow` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.flow` to be optional +* Add support for error codes `storer_capability_missing` and `storer_capability_not_active` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md b/.hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md new file mode 100644 index 000000000..b25afa2c0 --- /dev/null +++ b/.hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md @@ -0,0 +1,5 @@ +--- +title: Delete API_VERSION file as it is no longer needed +pr_link: https://github.com/stripe/stripe-python/pull/1713 +released_in_version: 15.1.0b1 +--- diff --git a/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..81e4fb352 --- /dev/null +++ b/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,50 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1742 +is_breaking: true +is_stripe_api_change: true +released_in_version: 15.1.0b1 +--- + +* Add support for new resources `product_catalog.TrialOffer`, `tax.Location`, and `v2.core.BatchJob` +* Add support for `create` method on resource `product_catalog.TrialOffer` +* Add support for `create`, `list`, and `retrieve` methods on resource `tax.Location` +* Add support for `cancel`, `create`, and `retrieve` methods on resource `v2.core.BatchJob` +* Add support for `performance_location` on `Tax.CalculationLineItem` and `tax.CalculationCreateParamsLineItem` +* ⚠️ Add support for new value `performance` on enums `Tax.Calculation.ShippingCost.TaxBreakdown.sourcing`, `Tax.CalculationLineItem.TaxBreakdown.sourcing`, and `Tax.Transaction.ShippingCost.TaxBreakdown.sourcing` +* ⚠️ Add support for new values `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on enums `Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type`, `Tax.Calculation.TaxBreakdown.TaxRateDetail.tax_type`, `Tax.CalculationLineItem.TaxBreakdown.TaxRateDetail.tax_type`, and `Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type` +* Add support for `trial_offer` on `InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionAdd`, `InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionSet`, `InvoiceCreatePreviewParamsScheduleDetailPhaseItem`, `QuoteCreateParamsLineActionAddItem`, `QuoteCreateParamsLineActionSetItem`, `QuoteLine.Action.AddItem`, `QuoteLine.Action.SetItem`, `QuoteModifyParamsLineActionAddItem`, `QuoteModifyParamsLineActionSetItem`, `QuotePreviewSubscriptionSchedule.Phase.Item`, `SubscriptionSchedule.Phase.Item`, `SubscriptionScheduleAmendParamsAmendmentItemActionAdd`, `SubscriptionScheduleAmendParamsAmendmentItemActionSet`, `SubscriptionScheduleCreateParamsPhaseItem`, and `SubscriptionScheduleModifyParamsPhaseItem` +* Add support for `risk_reserved` on `Balance` +* ⚠️ Remove support for `source_type` on `Charge.PaymentMethodDetail.StripeBalance`, `ConfirmationToken.PaymentMethodPreview.StripeBalance`, `ConfirmationTokenCreateParamsPaymentMethodDatumStripeBalance`, `PaymentAttemptRecord.PaymentMethodDetail.StripeBalance`, `PaymentIntentConfirmParamsPaymentMethodDatumStripeBalance`, `PaymentIntentCreateParamsPaymentMethodDatumStripeBalance`, `PaymentIntentModifyParamsPaymentMethodDatumStripeBalance`, `PaymentMethod.StripeBalance`, `PaymentMethodCreateParamsStripeBalance`, `PaymentRecord.PaymentMethodDetail.StripeBalance`, `SetupIntentConfirmParamsPaymentMethodDatumStripeBalance`, `SetupIntentCreateParamsPaymentMethodDatumStripeBalance`, and `SetupIntentModifyParamsPaymentMethodDatumStripeBalance` +* Add support for `tax_details` on `InvoiceAddLinesParamsLinePriceDatumProductDatum`, `InvoiceLineItemModifyParamsPriceDatumProductDatum`, `InvoiceUpdateLinesParamsLinePriceDatumProductDatum`, `PaymentLinkCreateParamsLineItemPriceDatumProductDatum`, `PlanCreateParamsProduct`, `PriceCreateParamsProductDatum`, `ProductCreateParams`, `ProductModifyParams`, `checkout.SessionCreateParamsLineItemPriceDatumProductDatum`, and `checkout.SessionModifyParamsLineItemPriceDatumProductDatum` +* Add support for `pending_invoice_item_interval` on `checkout.SessionModifyParamsSubscriptionDatum` +* Add support for `hosted` and `ui_mode` on `FinancialConnections.Session` and `financial_connections.SessionCreateParams` +* Add support for `url` on `FinancialConnections.Session` +* Add support for `expires_after_seconds` on `Invoice.PaymentSetting.PaymentMethodOption.Pix`, `InvoiceCreateParamsPaymentSettingPaymentMethodOptionPix`, `InvoiceModifyParamsPaymentSettingPaymentMethodOptionPix`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.Pix`, `Subscription.PaymentSetting.PaymentMethodOption.Pix`, `SubscriptionCreateParamsPaymentSettingPaymentMethodOptionPix`, and `SubscriptionModifyParamsPaymentSettingPaymentMethodOptionPix` +* Add support for `current_trial` on `InvoiceCreatePreviewParamsSubscriptionDetailItem`, `SubscriptionCreateParamsItem`, `SubscriptionItemCreateParams`, `SubscriptionItemModifyParams`, `SubscriptionItem`, and `SubscriptionModifyParamsItem` +* Add support for `surcharge` on `PaymentIntent.AmountDetail`, `PaymentIntentCaptureParamsAmountDetail`, `PaymentIntentConfirmParamsAmountDetail`, `PaymentIntentCreateParamsAmountDetail`, `PaymentIntentIncrementAuthorizationParamsAmountDetail`, and `PaymentIntentModifyParamsAmountDetail` +* Add support for `amount_details` and `payment_details` on `PaymentIntentDecrementAuthorizationParams` +* Add support for `mandate_options` on `PaymentIntent.PaymentMethodOption.StripeBalance` +* Add support for `managed_payments` on `PaymentLinkCreateParams` and `PaymentLink` +* Add support for `stripe_balance` on `SetupIntent.PaymentMethodOption`, `SetupIntentConfirmParamsPaymentMethodOption`, `SetupIntentCreateParamsPaymentMethodOption`, and `SetupIntentModifyParamsPaymentMethodOption` +* Add support for `billing_cycle_anchor` on `Subscription.TrialSetting.EndBehavior`, `SubscriptionCreateParamsTrialSettingEndBehavior`, and `SubscriptionModifyParamsTrialSettingEndBehavior` +* ⚠️ Add support for new values `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on enums `Tax.Registration.CountryOption.Me.type` and `tax.RegistrationCreateParamsCountryOptionMe.type` +* Add support for `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on `Tax.Registration.CountryOption.Me` +* Add support for `requirements` on `TaxCode` +* ⚠️ Change type of `V2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.Card.MandateOption.amount`, `V2.Billing.CollectionSetting.PaymentMethodOption.Card.MandateOption.amount`, `V2.Billing.CollectionSettingVersion.PaymentMethodOption.Card.MandateOption.amount`, `v2.billing.CollectionSettingCreateParamsPaymentMethodOptionCardMandateOption.amount`, and `v2.billing.CollectionSettingModifyParamsPaymentMethodOptionCardMandateOption.amount` from `longInteger` to `int64_string` +* ⚠️ Add support for new values `ar_bank_account`, `co_bank_account`, and `eg_bank_account` on enum `V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type` +* Add support for `timezone` on `V2.Core.Account.Default`, `v2.core.AccountCreateParamsDefault`, and `v2.core.AccountModifyParamsDefault` +* Add support for `azure_event_grid` on `V2.Core.EventDestination` and `v2.core.EventDestinationCreateParams` +* ⚠️ Add support for new value `no_azure_partner_topic_exists` on enum `V2.Core.EventDestination.StatusDetail.Disabled.reason` +* ⚠️ Add support for new value `azure_event_grid` on enums `V2.Core.EventDestination.type` and `v2.core.EventDestinationCreateParams.type` +* Add support for `supported_currencies` on `V2.Core.Vault.GbBankAccount`, `V2.Core.Vault.UsBankAccount`, and `V2.MoneyManagement.PayoutMethod.Card` +* ⚠️ Change `V2.Core.Vault.GbBankAccount.sort_code` and `v2.core.vault.GbBankAccountCreateParams.sort_code` to be optional +* Add support for `restricted` on `V2.MoneyManagement.PayoutMethod` +* Add support for `currencies` on `V2.MoneyManagement.PayoutMethodsBankAccountSpec.Country.Field` +* Add support for `counterparty` and `description` on `V2.MoneyManagement.Transaction` +* ⚠️ Add support for `currency` on `v2.core.vault.GbBankAccountCreateParams`, `v2.core.vault.UsBankAccountCreateParams`, `v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount`, `v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumCard`, `v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount`, and `v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumCard` +* Add support for `iban` on `v2.core.vault.GbBankAccountCreateParams` +* Change `v2.core.vault.GbBankAccountCreateParams.account_number` to be optional +* ⚠️ Add support for new value `currency` on enum `InvalidPaymentMethodError.invalid_param` +* Add support for event notifications `V2CoreBatchJobBatchFailedEvent`, `V2CoreBatchJobCanceledEvent`, `V2CoreBatchJobCompletedEvent`, `V2CoreBatchJobCreatedEvent`, `V2CoreBatchJobReadyForUploadEvent`, `V2CoreBatchJobTimeoutEvent`, `V2CoreBatchJobUpdatedEvent`, `V2CoreBatchJobUploadTimeoutEvent`, `V2CoreBatchJobValidatingEvent`, and `V2CoreBatchJobValidationFailedEvent` with related object `v2.core.BatchJob` +* Add support for error code `service_period_coupon_with_metered_tiered_item_unsupported` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..72c907d32 --- /dev/null +++ b/.hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,8 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1772 +is_stripe_api_change: true +released_in_version: 15.1.0b1 +--- + +* Release specs are identical. diff --git a/.hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..62cf6a14d --- /dev/null +++ b/.hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,6 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1774 +is_stripe_api_change: true +released_in_version: 15.1.0b1 +--- diff --git a/.hark/changes/2026-04-01_unknown_please-refer-changelog.change.md b/.hark/changes/2026-04-01_unknown_please-refer-changelog.change.md new file mode 100644 index 000000000..dab1fa972 --- /dev/null +++ b/.hark/changes/2026-04-01_unknown_please-refer-changelog.change.md @@ -0,0 +1,4 @@ +--- +title: "Please refer to the changelog for [v15.0.1](https://github.com/stripe/stripe-python/blob/v15.0.1/CHANGELOG.md#1501---2026-04-01)" +released_in_version: 15.1.0b2 +--- diff --git a/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..752f19ecc --- /dev/null +++ b/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,32 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1777 +is_breaking: true +is_stripe_api_change: true +released_in_version: 15.2.0b1 +--- + +* Add support for new resources `shared_payment.GrantedToken` and `shared_payment.IssuedToken` +* Add support for `retrieve` method on resource `shared_payment.GrantedToken` +* Add support for `create` and `revoke` test helper methods on resource `shared_payment.GrantedToken` +* Add support for `create`, `retrieve`, and `revoke` methods on resource `shared_payment.IssuedToken` +* Add support for `blik` on `Invoice.PaymentSetting.PaymentMethodOption`, `InvoiceCreateParamsPaymentSettingPaymentMethodOption`, `InvoiceModifyParamsPaymentSettingPaymentMethodOption`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption`, `Subscription.PaymentSetting.PaymentMethodOption`, `SubscriptionCreateParamsPaymentSettingPaymentMethodOption`, `SubscriptionModifyParamsPaymentSettingPaymentMethodOption`, and `checkout.SessionCreateParamsPaymentMethodOption` +* ⚠️ Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `Checkout.Session.CollectedInformation.TaxId.type`, `Order.TaxDetail.TaxId.type`, and `QuotePreviewInvoice.CustomerTaxId.type` +* Change `Checkout.Session.managed_payments`, `PaymentIntent.managed_payments`, `PaymentLink.managed_payments`, and `Subscription.managed_payments` to be required +* Add support for `shared_payment_granted_token` on `ConfirmationTokenCreateParamsPaymentMethodDatum`, `PaymentIntentConfirmParamsPaymentMethodDatum`, `PaymentIntentCreateParamsPaymentMethodDatum`, `PaymentIntentModifyParamsPaymentMethodDatum`, `PaymentMethod`, `SetupIntentConfirmParamsPaymentMethodDatum`, `SetupIntentCreateParamsPaymentMethodDatum`, and `SetupIntentModifyParamsPaymentMethodDatum` +* Change `Invoice.PaymentSetting.PaymentMethodOption.pix`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.pix`, and `Subscription.PaymentSetting.PaymentMethodOption.pix` to be required +* Change `Invoice.PaymentSetting.PaymentMethodOption.upi`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.upi`, and `Subscription.PaymentSetting.PaymentMethodOption.upi` to be required +* Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `OrderCreateParamsTaxDetailTaxId.type` and `OrderModifyParamsTaxDetailTaxId.type` +* Add support for `validation_errors` on `Privacy.RedactionJob` +* Add support for `tax_details` on `Product` +* ⚠️ Add support for new value `blik` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* ⚠️ Change type of `QuotePreviewInvoice.TotalTax.TaxRateDetail.tax_rate` from `string` to `expandable($TaxRate)` +* ⚠️ Change type of `Radar.PaymentEvaluation.ClientDeviceMetadataDetail.radar_session` from `string` to `nullable(string)` +* Change `SetupIntent.NextAction.PixDisplayQrCode.data` to be required +* Change `SetupIntent.NextAction.PixDisplayQrCode.expires_at` to be required +* Change `SetupIntent.NextAction.PixDisplayQrCode.hosted_instructions_url` to be required +* Change `SetupIntent.NextAction.PixDisplayQrCode.image_url_png` to be required +* Change `SetupIntent.NextAction.PixDisplayQrCode.image_url_svg` to be required +* Add support for `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on `tax.RegistrationCreateParamsCountryOptionMe` +* Add support for `purpose` on `Treasury.OutboundPayment` and `treasury.OutboundPaymentCreateParams` +* Add support for error codes `action_blocked` and `approval_required` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..fb546cf21 --- /dev/null +++ b/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,34 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1797 +is_breaking: true +is_stripe_api_change: true +released_in_version: 15.2.0b2 +--- + +* Add support for new resources `v2.commerce.ProductCatalogImport`, `v2.data.reporting.QueryRun`, `v2.extend.WorkflowRun`, `v2.extend.Workflow`, `v2.iam.ActivityLog`, `v2.network.BusinessProfile`, and `v2.orchestrated_commerce.Agreement` +* Add support for `confirm`, `create`, `list`, `retrieve`, and `terminate` methods on resource `v2.orchestrated_commerce.Agreement` +* Add support for `me` and `retrieve` methods on resource `v2.network.BusinessProfile` +* Add support for `list` method on resource `v2.iam.ActivityLog` +* Add support for `list` and `retrieve` methods on resource `v2.extend.WorkflowRun` +* Add support for `invoke`, `list`, and `retrieve` methods on resource `v2.extend.Workflow` +* Add support for `create` and `retrieve` methods on resources `v2.commerce.ProductCatalogImport` and `v2.data.reporting.QueryRun` +* ⚠️ Change type of `V2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.konbini`, `V2.Billing.CollectionSetting.PaymentMethodOption.konbini`, `V2.Billing.CollectionSettingVersion.PaymentMethodOption.konbini`, `v2.billing.CollectionSettingCreateParamsPaymentMethodOption.konbini`, and `v2.billing.CollectionSettingModifyParamsPaymentMethodOption.konbini` from `map(string: dynamic)` to `an object` +* ⚠️ Change type of `V2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.sepa_debit`, `V2.Billing.CollectionSetting.PaymentMethodOption.sepa_debit`, `V2.Billing.CollectionSettingVersion.PaymentMethodOption.sepa_debit`, `v2.billing.CollectionSettingCreateParamsPaymentMethodOption.sepa_debit`, and `v2.billing.CollectionSettingModifyParamsPaymentMethodOption.sepa_debit` from `map(string: dynamic)` to `an object` +* ⚠️ Add support for new values `cn_bank_account` and `jp_bank_account` on enum `V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type` +* ⚠️ Add support for new values `futsu` and `toza` on enums `V2.Core.Vault.GbBankAccount.bank_account_type` and `V2.MoneyManagement.PayoutMethod.BankAccount.bank_account_type` +* ⚠️ Change type of `V2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_processing` from `map(string: dynamic)` to `an object` +* ⚠️ Change type of `V2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_queued` from `map(string: dynamic)` to `an object` +* ⚠️ Change type of `V2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_succeeded` from `map(string: dynamic)` to `an object` +* ⚠️ Add support for new value `payout_method_amount_limit_exceeded` on enum `V2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reason` +* ⚠️ Add support for new values `inbound_transfer_reversal`, `outbound_payment_reversal`, `outbound_transfer_reversal`, `received_credit_reversal`, `received_debit_reversal`, and `stripe_fee_tax` on enums `V2.MoneyManagement.Transaction.category` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.category` +* ⚠️ Remove support for value `return` from enums `V2.MoneyManagement.Transaction.category` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.category` +* Add support for new values `futsu` and `toza` on enums `v2.core.vault.GbBankAccountCreateParams.bank_account_type`, `v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount.bank_account_type`, and `v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount.bank_account_type` +* Change type of `v2.core.BatchJobCreateParamsEndpoint.http_method` from `literal('post')` to `enum('delete'|'post')` +* ⚠️ Add support for new value `meter_event_value_too_many_digits` on enums `EventsV1BillingMeterErrorReportTriggeredEvent.Reason.ErrorType.code` and `EventsV1BillingMeterNoMeterFoundEvent.Reason.ErrorType.code` +* Add support for `treasury_transaction` on `EventsV2MoneyManagementTransactionCreatedEvent` +* Add support for event notifications `V2CommerceProductCatalogImportsFailedEvent`, `V2CommerceProductCatalogImportsProcessingEvent`, `V2CommerceProductCatalogImportsSucceededEvent`, and `V2CommerceProductCatalogImportsSucceededWithErrorsEvent` with related object `v2.commerce.ProductCatalogImport` +* Add support for event notifications `V2DataReportingQueryRunCreatedEvent`, `V2DataReportingQueryRunFailedEvent`, `V2DataReportingQueryRunSucceededEvent`, and `V2DataReportingQueryRunUpdatedEvent` with related object `v2.data.reporting.QueryRun` +* Add support for event notifications `V2ExtendWorkflowRunFailedEvent`, `V2ExtendWorkflowRunStartedEvent`, and `V2ExtendWorkflowRunSucceededEvent` with related object `v2.extend.WorkflowRun` +* Add support for event notifications `V2OrchestratedCommerceAgreementConfirmedEvent`, `V2OrchestratedCommerceAgreementCreatedEvent`, `V2OrchestratedCommerceAgreementPartiallyConfirmedEvent`, and `V2OrchestratedCommerceAgreementTerminatedEvent` with related object `v2.orchestrated_commerce.Agreement` +* Add support for error type `CannotProceedError` diff --git a/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..a21e07c23 --- /dev/null +++ b/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,26 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1801 +is_breaking: true +is_stripe_api_change: true +released_in_version: 15.3.0b1 +--- + +* Add support for `pause` method on resource `Subscription` +* Add support for `retrieve` method on resource `v2.iam.ActivityLog` +* ⚠️ Add support for new value `mastercard` on enum `Issuing.Settlement.network` +* ⚠️ Change type of `ProductCatalog.TrialOffer.EndBehavior.Transition.price` from `string` to `expandable($Price)` +* Add support for `amount_paid_off_stripe` on `QuotePreviewInvoice` +* ⚠️ Add support for new value `twint` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Add support for `discountable` on `QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem` +* Add support for `bizum` and `scalapay` on `SharedPayment.GrantedToken.PaymentMethodDetail` +* ⚠️ Add support for new values `bizum` and `scalapay` on enum `SharedPayment.GrantedToken.PaymentMethodDetail.type` +* Change `SharedPayment.GrantedToken.agent_details` to be required +* Change type of `SubscriptionItem.billed_until` from `nullable(DateTime)` to `DateTime` +* Add support for `payment_behavior` on `SubscriptionResumeParams` +* Add support for `status_details` on `Subscription` +* Change `Subscription.billing_schedules` to be required +* ⚠️ Add support for new values `ao_bank_account`, `az_bank_account`, `bd_bank_account`, `bo_bank_account`, `br_bank_account`, `cl_bank_account`, `ga_bank_account`, `gh_bank_account`, `gi_bank_account`, `hn_bank_account`, `kr_bank_account`, `kz_bank_account`, `la_bank_account`, `ne_bank_account`, `ng_bank_account`, `ni_bank_account`, `py_bank_account`, `sa_bank_account`, `sm_bank_account`, and `uy_bank_account` on enum `V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type` +* ⚠️ Change type of `V2.MoneyManagement.ReceivedCredit.BankTransfer.GbBankAccount.network` from `literal('fps')` to `enum('chaps'|'fps')` +* Add support for new value `chaps` on enum `v2.FinancialAddressCreditSimulationCreditParams.network` +* Add support for error codes `payment_method_microdeposit_processing_error` and `siret_invalid` on `QuotePreviewInvoice.LastFinalizationError` diff --git a/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..309464527 --- /dev/null +++ b/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,46 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1819 +is_breaking: true +is_stripe_api_change: true +released_in_version: 15.4.0b1 +--- + +* Add support for `redaction` on `Card`, `Charge`, `Checkout.Session`, `Customer`, `Issuing.Authorization`, `Issuing.Card`, `Issuing.Cardholder`, `Issuing.Dispute`, `Issuing.Transaction`, `PaymentIntent`, `PaymentMethod`, `SetupIntent`, `Source`, and `Token` +* Add support for `disclaimer_variant` on `Capital.FinancingOffer` and `Capital.FinancingSummary.Detail` +* Add support for `active` on `FinancialConnections.Account.StatusDetail` and `FinancialConnections.Authorization.StatusDetail` +* ⚠️ Add support for new value `institution_requirement` on enum `FinancialConnections.Account.StatusDetail.Inactive.cause` +* Change type of `financial_connections.SessionCreateParamsLimit.accounts` from `longInteger` to `emptyable(longInteger)` +* Add support for `pause` on `InvoiceCreatePreviewParamsSubscriptionDetail` +* ⚠️ Add support for new value `satispay` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Add support for `release_details` on `Reserve.Hold` +* Add support for `buyer_id` on `SharedPayment.GrantedToken.PaymentMethodDetail.Bizum` and `SharedPayment.GrantedToken.PaymentMethodDetail.Blik` +* Add support for `fingerprint` on `SharedPayment.GrantedToken.PaymentMethodDetail.Pix` +* ⚠️ Remove support for value `invoice_payment.detached` from enum `WebhookEndpointModifyParams.enabled_events` +* ⚠️ Add support for new value `money_manager` on enums `EventsV2CoreAccountLinkReturnedEvent.configurations`, `V2.Core.AccountLink.UseCase.AccountOnboarding.configurations`, and `V2.Core.AccountLink.UseCase.AccountUpdate.configurations` +* ⚠️ Add support for new value `money_manager` on enums `V2.Core.Account.applied_configurations`, `v2.core.AccountCloseParams.applied_configurations`, and `v2.core.AccountListParams.applied_configurations` +* ⚠️ Remove support for value `storer` from enums `V2.Core.Account.applied_configurations`, `v2.core.AccountCloseParams.applied_configurations`, and `v2.core.AccountListParams.applied_configurations` +* Add support for `money_manager` on `V2.Core.Account.Configuration`, `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsConfiguration`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, `v2.core.AccountModifyParamsConfiguration`, and `v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService` +* ⚠️ Remove support for `storer` on `V2.Core.Account.Configuration`, `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsConfiguration`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, `v2.core.AccountModifyParamsConfiguration`, and `v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService` +* ⚠️ Add support for new values `business_storage.inbound.eur`, `business_storage.inbound.gbp`, `business_storage.inbound.usd`, `business_storage.outbound.eur`, `business_storage.outbound.gbp`, `business_storage.outbound.usd`, `received_credits.bank_accounts`, and `received_debits.bank_accounts` on enums `V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capability` and `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability` +* ⚠️ Add support for new value `money_manager` on enums `V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.configuration` and `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.configuration` +* ⚠️ Remove support for `maximum_rps` on `V2.Core.BatchJob` and `v2.core.BatchJobCreateParams` +* Add support for `bic` on `V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount` +* ⚠️ Remove support for `swift_code` on `V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount` +* Add support for `processing` on `V2.MoneyManagement.OutboundPayment.StatusDetail` and `V2.MoneyManagement.OutboundTransfer.StatusDetail` +* ⚠️ Add support for new values `fx_rate_drift_exceeded_after_review`, `payout_method_amount_limit_exceeded`, and `review_rejected` on enum `V2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reason` +* ⚠️ Add support for new values `fx_rate_drift_exceeded_after_review` and `review_rejected` on enum `V2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reason` +* Add support for `account_holder_name` on `V2.MoneyManagement.ReceivedCredit.BankTransfer.UsBankAccount` +* ⚠️ Add support for new value `capability_inactive` on enum `V2.MoneyManagement.ReceivedDebit.StatusDetail.Failed.reason` +* Add support for `statuses` on `v2.money_management.FinancialAccountListParams` +* ⚠️ Remove support for `status` on `v2.money_management.FinancialAccountListParams` +* Change `v2.core.BatchJobCreateParams.metadata` to be optional +* Add support for new value `money_manager` on enums `v2.core.AccountLinkCreateParamsUseCaseAccountOnboarding.configurations` and `v2.core.AccountLinkCreateParamsUseCaseAccountUpdate.configurations` +* ⚠️ Add support for new value `configuration.money_manager` on enums `v2.core.AccountCreateParams.include`, `v2.core.AccountModifyParams.include`, and `v2.core.AccountRetrieveParams.include` +* ⚠️ Remove support for value `configuration.storer` from enums `v2.core.AccountCreateParams.include`, `v2.core.AccountModifyParams.include`, and `v2.core.AccountRetrieveParams.include` +* Add support for event notifications `V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent` with related object `v2.core.Account` +* Add support for event notification `V2MoneyManagementOutboundPaymentUnderReviewEvent` with related object `v2.money_management.OutboundPayment` +* Add support for event notification `V2MoneyManagementOutboundTransferUnderReviewEvent` with related object `v2.money_management.OutboundTransfer` +* ⚠️ Remove support for event notifications `V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationStorerUpdatedEvent` with related object `v2.core.Account` +* Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `QuotePreviewInvoice.LastFinalizationError` +* Add support for error code `default_us_bank_account_cannot_be_archived` on `CannotProceedError` diff --git a/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..ade20ffd7 --- /dev/null +++ b/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,33 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1838 +is_breaking: true +is_stripe_api_change: true +released_in_version: 15.5.0b1 +--- + +* Add support for `list` and `retrieve` methods on resource `product_catalog.TrialOffer` +* Add support for `tax_items` on `ChargeCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeCaptureParamsPaymentDetailFlightDatumTotalTax`, `ChargeCaptureParamsPaymentDetailLodgingDatumTotalTax`, `ChargeModifyParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeModifyParamsPaymentDetailFlightDatumTotalTax`, `ChargeModifyParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntent.PaymentDetail.CarRentalDatum.Total.Tax`, `PaymentIntent.PaymentDetail.FlightDatum.Total.Tax`, `PaymentIntent.PaymentDetail.LodgingDatum.Total.Tax`, `PaymentIntentCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailFlightDatumTotalTax`, and `PaymentIntentModifyParamsPaymentDetailLodgingDatumTotalTax` +* ⚠️ Remove support for `taxes` on `ChargeCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeCaptureParamsPaymentDetailFlightDatumTotalTax`, `ChargeCaptureParamsPaymentDetailLodgingDatumTotalTax`, `ChargeModifyParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeModifyParamsPaymentDetailFlightDatumTotalTax`, `ChargeModifyParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntent.PaymentDetail.CarRentalDatum.Total.Tax`, `PaymentIntent.PaymentDetail.FlightDatum.Total.Tax`, `PaymentIntent.PaymentDetail.LodgingDatum.Total.Tax`, `PaymentIntentCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailFlightDatumTotalTax`, and `PaymentIntentModifyParamsPaymentDetailLodgingDatumTotalTax` +* Add support for `tax_id` on `Checkout.Session.CollectedInformation` +* ⚠️ Remove support for `tax_ids` on `Checkout.Session.CollectedInformation` +* Add support for new value `disabled` on enum `financial_connections.SessionCreateParamsManualEntry.mode` +* Add support for `mode` on `FinancialConnections.Session.ManualEntry` +* Add support for `name` on `issuing.CardholderModifyParams` +* Add support for new value `ic_nif` on enums `OrderCreateParamsTaxDetailTaxId.type` and `OrderModifyParamsTaxDetailTaxId.type` +* ⚠️ Add support for new value `ic_nif` on enums `Order.TaxDetail.TaxId.type` and `QuotePreviewInvoice.CustomerTaxId.type` +* Add support for new values `alipay` and `mb_way` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Add support for `custom_fields`, `description`, and `footer` on `QuotePreviewSubscriptionSchedule.DefaultSetting.InvoiceSetting` and `QuotePreviewSubscriptionSchedule.Phase.InvoiceSetting` +* Add support for `trial` on `QuotePreviewSubscriptionSchedule.Phase` +* ⚠️ Remove support for `acss_debit`, `afterpay_clearpay`, `alipay`, `alma`, `amazon_pay`, `au_becs_debit`, `bacs_debit`, `bancontact`, `billie`, `bizum`, `blik`, `boleto`, `card_present`, `cashapp`, `crypto`, `customer_balance`, `eps`, `fpx`, `giropay`, `gopay`, `grabpay`, `id_bank_transfer`, `ideal`, `interac_present`, `kakao_pay`, `konbini`, `kr_card`, `mb_way`, `mobilepay`, `multibanco`, `naver_pay`, `nz_bank_account`, `oxxo`, `p24`, `pay_by_bank`, `payco`, `paynow`, `paypal`, `paypay`, `payto`, `pix`, `promptpay`, `qris`, `rechnung`, `revolut_pay`, `samsung_pay`, `satispay`, `scalapay`, `sepa_debit`, `shopeepay`, `sofort`, `stripe_balance`, `sunbit`, `swish`, `twint`, `upi`, `us_bank_account`, `wechat_pay`, and `zip` on `SharedPayment.GrantedToken.PaymentMethodDetail` +* ⚠️ Remove support for values `acss_debit`, `afterpay_clearpay`, `alipay`, `alma`, `amazon_pay`, `au_becs_debit`, `bacs_debit`, `bancontact`, `billie`, `bizum`, `blik`, `boleto`, `card_present`, `cashapp`, `crypto`, `custom`, `customer_balance`, `eps`, `fpx`, `giropay`, `gopay`, `grabpay`, `id_bank_transfer`, `ideal`, `interac_present`, `kakao_pay`, `konbini`, `kr_card`, `mb_way`, `mobilepay`, `multibanco`, `naver_pay`, `nz_bank_account`, `oxxo`, `p24`, `pay_by_bank`, `payco`, `paynow`, `paypal`, `paypay`, `payto`, `pix`, `promptpay`, `qris`, `rechnung`, `revolut_pay`, `samsung_pay`, `satispay`, `scalapay`, `sepa_debit`, `shopeepay`, `sofort`, `stripe_balance`, `sunbit`, `swish`, `twint`, `upi`, `us_bank_account`, `wechat_pay`, and `zip` from enum `SharedPayment.GrantedToken.PaymentMethodDetail.type` +* Add support for `use_stripe_sdk` on `SharedPayment.IssuedToken` and `shared_payment.IssuedTokenCreateParams` +* Add support for `redirect_to_url` on `SharedPayment.IssuedToken.NextAction` +* ⚠️ Change type of `SharedPayment.IssuedToken.NextAction.type` from `literal('use_stripe_sdk')` to `enum('redirect_to_url'|'use_stripe_sdk')` +* Add support for `livemode` on `Tax.Location` +* Add support for `source` on `V2.Iam.ActivityLog.Detail.UserRole` +* Add support for `payout` on `V2.MoneyManagement.ReceivedCredit.BalanceTransfer` +* ⚠️ Remove support for `payout_v1` on `V2.MoneyManagement.ReceivedCredit.BalanceTransfer` +* Add support for new value `payout` on enum `V2.MoneyManagement.ReceivedCredit.BalanceTransfer.type` +* ⚠️ Change `V2.MoneyManagement.ReceivedDebit.BankTransfer.us_bank_account` to be optional +* Add support for error codes `us_bank_account_microdeposits_cannot_be_confirmed` and `us_bank_account_microdeposits_cannot_be_sent` on `ControlledByAlternateResourceError` diff --git a/.hark/changes/2026-08-19_xavdid_add-non-verified.change.md b/.hark/changes/2026-08-19_xavdid_add-non-verified.change.md new file mode 100644 index 000000000..221633273 --- /dev/null +++ b/.hark/changes/2026-08-19_xavdid_add-non-verified.change.md @@ -0,0 +1,5 @@ +--- +title: Add non-verified methods to managed handlers +pr_link: https://github.com/stripe/stripe-python/pull/1878 +released_in_version: 15.7.0b1 +--- diff --git a/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md new file mode 100644 index 000000000..213e7e678 --- /dev/null +++ b/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md @@ -0,0 +1,31 @@ +--- +title: Update generated code for beta +pr_link: https://github.com/stripe/stripe-python/pull/1858 +is_breaking: true +is_stripe_api_change: true +released_in_version: 15.7.0b1 +--- + +* Add support for new resources `v2.core.ApprovalRequest`, `v2.signals.AccountActivity`, `v2.signals.AccountEvaluation`, and `v2.signals.AccountSignal` +* Add support for `list` and `retrieve` methods on resource `v2.signals.AccountSignal` +* Add support for `create` and `retrieve` methods on resource `v2.signals.AccountEvaluation` +* Add support for `create`, `delete`, and `retrieve` methods on resource `v2.signals.AccountActivity` +* Add support for `cancel`, `list`, `modify`, and `retrieve` methods on resource `v2.core.ApprovalRequest` +* Add support for `disable` method on resource `v2.money_management.PayoutMethod` +* Add support for `disable_stripe_user_authentication` on `AccountSessionCreateParamsComponentPaymentMethodSettingFeature` +* ⚠️ Remove support for `payment_method_types` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentModifyParams`, `SetupIntentCreateParams`, and `SetupIntentModifyParams` +* ⚠️ Change type of `ProductCatalog.TrialOffer.EndBehavior.Transition.price` and `ProductCatalog.TrialOffer.price` from `$Price` to `deletable($Price)` +* Add support for `billie` on `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption` +* Add support for new value `billie` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Add support for `payout_methods` on `V2.Core.Account.Default` and `v2.core.AccountModifyParamsDefault` +* Add support for `restricted` on `V2.Core.Vault.GbBankAccount` and `V2.Core.Vault.UsBankAccount` +* Add support for `enabled_delivery_schemes` on `V2.MoneyManagement.PayoutMethod.BankAccount` +* ⚠️ Remove support for `enabled_delivery_options` on `V2.MoneyManagement.PayoutMethod.BankAccount` +* ⚠️ Add support for new value `disabled` on enum `V2.MoneyManagement.PayoutMethod.UsageStatus.payments` +* ⚠️ Add support for new value `disabled` on enum `V2.MoneyManagement.PayoutMethod.UsageStatus.transfers` +* Add support for new value `disabled` on enum `v2.money_management.PayoutMethodListParamsUsageStatus.payments` +* Add support for new value `disabled` on enum `v2.money_management.PayoutMethodListParamsUsageStatus.transfers` +* Add support for event notifications `V2CoreApprovalRequestApprovedEvent`, `V2CoreApprovalRequestCanceledEvent`, `V2CoreApprovalRequestCreatedEvent`, `V2CoreApprovalRequestExpiredEvent`, `V2CoreApprovalRequestFailedEvent`, `V2CoreApprovalRequestRejectedEvent`, and `V2CoreApprovalRequestSucceededEvent` with related object `v2.core.ApprovalRequest` +* Add support for event notification `V2SignalsAccountEvaluationCompleteEvent` with related object `v2.signals.AccountEvaluation` +* Add support for error codes `authentication_failure`, `capability_not_active`, `expired_payment_method`, `incorrect_postal_code`, `invalid_canceled_subscription_fields`, and `payment_method_restricted` on `QuotePreviewInvoice.LastFinalizationError` +* Add support for error code `default_payout_method_cannot_be_disabled` on `CannotProceedError` diff --git a/.hark/intros/intro-12.1.0b1.md b/.hark/intros/intro-12.1.0b1.md new file mode 100644 index 000000000..274c22439 --- /dev/null +++ b/.hark/intros/intro-12.1.0b1.md @@ -0,0 +1,3 @@ +#### New APIs for Accounts v2 in private preview + +See [SaaS platform payments with subscription billing using Accounts v2](https://docs.stripe.com/connect/accounts-v2/saas-platform-payments-billing) diff --git a/.hark/intros/intro-13.1.0b1.md b/.hark/intros/intro-13.1.0b1.md new file mode 100644 index 000000000..df6c869a2 --- /dev/null +++ b/.hark/intros/intro-13.1.0b1.md @@ -0,0 +1 @@ +It is built on top of SDK version 13.0.0 which contains breaking changes. Please review the [changelog for 13.0.0](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md#1300---2025-09-30) if upgrading from older SDK versions. diff --git a/.hark/intros/intro-13.2.0b1.md b/.hark/intros/intro-13.2.0b1.md new file mode 100644 index 000000000..46ed2b5a3 --- /dev/null +++ b/.hark/intros/intro-13.2.0b1.md @@ -0,0 +1 @@ +This release changes the pinned API version to `2025-10-29.preview`. diff --git a/.hark/intros/intro-15.1.0b1.md b/.hark/intros/intro-15.1.0b1.md new file mode 100644 index 000000000..85dd75388 --- /dev/null +++ b/.hark/intros/intro-15.1.0b1.md @@ -0,0 +1 @@ +It is built on top of SDK version 15.0.0 which contains breaking changes. Please review the [changelog for 15.0.0](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#1500---2026-03-25) if upgrading from older SDK versions. diff --git a/.hark/intros/intro-6.1.0b1.md b/.hark/intros/intro-6.1.0b1.md new file mode 100644 index 000000000..6300879aa --- /dev/null +++ b/.hark/intros/intro-6.1.0b1.md @@ -0,0 +1 @@ + * Updated stable APIs to the latest version diff --git a/.hark/versions.json b/.hark/versions.json new file mode 100644 index 000000000..82df06cf5 --- /dev/null +++ b/.hark/versions.json @@ -0,0 +1,755 @@ +{ + "versions": [ + { + "version": "15.7.0b1", + "released_on": "2026-08-26", + "pinned_api_version": "2026-08-26.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "15.5.0b1", + "released_on": "2026-07-29", + "pinned_api_version": "2026-07-29.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "15.4.0b1", + "released_on": "2026-06-24", + "pinned_api_version": "2026-06-24.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "15.3.0b1", + "released_on": "2026-05-27", + "pinned_api_version": "2026-05-27.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "15.2.0b2", + "released_on": "2026-04-24", + "pinned_api_version": "2026-04-22.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "15.2.0b1", + "released_on": "2026-04-23", + "pinned_api_version": "2026-04-22.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "15.1.0b2", + "released_on": "2026-04-01", + "pinned_api_version": "2026-03-25.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "15.1.0b1", + "released_on": "2026-03-25", + "pinned_api_version": "2026-03-25.preview", + "minimum_runtime_version": "3.9" + }, + { + "version": "14.5.0b1", + "released_on": "2026-02-25", + "pinned_api_version": "2026-02-25.preview", + "minimum_runtime_version": "3.7" + }, + { + "version": "14.4.0b1", + "released_on": "2026-01-28", + "pinned_api_version": "2026-01-28.preview", + "minimum_runtime_version": "3.7" + }, + { + "version": "14.2.0b1", + "released_on": "2025-12-16", + "pinned_api_version": "2025-12-15.preview", + "minimum_runtime_version": "3.7" + }, + { + "version": "14.1.0b1", + "released_on": "2025-11-18", + "pinned_api_version": "2025-11-17.preview", + "minimum_runtime_version": "3.7" + }, + { + "version": "13.2.0b1", + "released_on": "2025-10-29", + "pinned_api_version": "2025-10-29.preview", + "minimum_runtime_version": "3.7" + }, + { + "version": "13.1.1b1", + "released_on": "2025-10-03" + }, + { + "version": "13.1.0b1", + "released_on": "2025-09-30", + "pinned_api_version": "2025-09-30.preview", + "minimum_runtime_version": "3.7" + }, + { + "version": "12.6.0b1", + "released_on": "2025-08-27", + "pinned_api_version": "2025-08-27.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.5.0b2", + "released_on": "2025-08-08", + "pinned_api_version": "2025-07-30.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.5.0b1", + "released_on": "2025-07-30", + "pinned_api_version": "2025-07-30.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.4.0b2", + "released_on": "2025-07-09", + "pinned_api_version": "2025-06-30.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.4.0b1", + "released_on": "2025-07-01", + "pinned_api_version": "2025-06-30.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.3.0b2", + "released_on": "2025-06-26", + "pinned_api_version": "2025-05-28.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.3.0b1", + "released_on": "2025-05-29", + "pinned_api_version": "2025-05-28.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.2.0b1", + "released_on": "2025-04-30", + "pinned_api_version": "2025-04-30.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.1.0b3", + "released_on": "2025-04-17", + "pinned_api_version": "2025-03-31.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.1.0b2", + "released_on": "2025-04-10", + "pinned_api_version": "2025-03-31.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "12.1.0b1", + "released_on": "2025-04-02", + "pinned_api_version": "2025-03-31.preview", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.7.0b1", + "released_on": "2025-03-18", + "pinned_api_version": "2025-02-24.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.6.0b1", + "released_on": "2025-02-07", + "pinned_api_version": "2025-01-27.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.5.0b3", + "released_on": "2025-01-23", + "pinned_api_version": "2025-01-27.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.5.0b2", + "released_on": "2025-01-17", + "pinned_api_version": "2025-01-27.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.5.0b1", + "released_on": "2025-01-09", + "pinned_api_version": "2024-12-18.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.4.0b3", + "released_on": "2024-12-12", + "pinned_api_version": "2024-12-18.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.4.0b2", + "released_on": "2024-12-05", + "pinned_api_version": "2024-11-20.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.4.0b1", + "released_on": "2024-11-21", + "pinned_api_version": "2024-11-20.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.3.0b3", + "released_on": "2024-11-14", + "pinned_api_version": "2024-11-20.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.3.0b2", + "released_on": "2024-11-07", + "pinned_api_version": "2024-10-28.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.3.0b1", + "released_on": "2024-10-29", + "pinned_api_version": "2024-10-28.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.2.0b3", + "released_on": "2024-10-18", + "pinned_api_version": "2024-09-30.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.2.0b2", + "released_on": "2024-10-08", + "pinned_api_version": "2024-09-30.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "11.2.0b1", + "released_on": "2024-10-03", + "pinned_api_version": "2024-09-30.acacia", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.13.0b1", + "released_on": "2024-09-18", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.12.0b1", + "released_on": "2024-09-13", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.11.0b1", + "released_on": "2024-09-05", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.9.0b2", + "released_on": "2024-08-22", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.9.0b1", + "released_on": "2024-08-15", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.8.0b1", + "released_on": "2024-08-12", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.7.0b1", + "released_on": "2024-08-01", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.6.0b1", + "released_on": "2024-07-25", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.4.0b1", + "released_on": "2024-07-11", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.3.0b1", + "released_on": "2024-07-05", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "10.2.0b1", + "released_on": "2024-06-27", + "pinned_api_version": "2024-06-20", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.12.0b1", + "released_on": "2024-06-13", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.11.0b1", + "released_on": "2024-06-06", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.10.0b1", + "released_on": "2024-05-30", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.9.0b1", + "released_on": "2024-05-23", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.8.0b1", + "released_on": "2024-05-16", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.7.0b1", + "released_on": "2024-05-09", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.6.0b1", + "released_on": "2024-05-02", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.5.0b1", + "released_on": "2024-04-25", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.4.0b1", + "released_on": "2024-04-18", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "9.2.0b1", + "released_on": "2024-04-11", + "pinned_api_version": "2024-04-10", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.11.0b1", + "released_on": "2024-04-04", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.10.0b1", + "released_on": "2024-03-28", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.9.0b1", + "released_on": "2024-03-21", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.8.0b1", + "released_on": "2024-03-14", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.7.0b1", + "released_on": "2024-03-07", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.6.0b1", + "released_on": "2024-02-29", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.5.0b3", + "released_on": "2024-02-27", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.5.0b2", + "released_on": "2024-02-27", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.5.0b1", + "released_on": "2024-02-22", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.4.0b1", + "released_on": "2024-02-16", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.3.0b1", + "released_on": "2024-02-08", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.2.0b1", + "released_on": "2024-02-05", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "8.1.0b1", + "released_on": "2024-01-25", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.14.0b1", + "released_on": "2024-01-18", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.13.0b1", + "released_on": "2024-01-12", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.12.0b1", + "released_on": "2024-01-04", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.11.0b1", + "released_on": "2023-12-22", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.10.0b1", + "released_on": "2023-12-14", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.9.0b1", + "released_on": "2023-12-08", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.8.0b1", + "released_on": "2023-11-30", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.7.0b1", + "released_on": "2023-11-21", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.6.0b1", + "released_on": "2023-11-16", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.5.0b1", + "released_on": "2023-11-10", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.4.0b1", + "released_on": "2023-11-02", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.2.0b1", + "released_on": "2023-10-26", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "7.1.0b1", + "released_on": "2023-10-17", + "pinned_api_version": "2023-10-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.8.0b3", + "released_on": "2023-10-13", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.8.0b2", + "released_on": "2023-10-11", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.8.0b1", + "released_on": "2023-10-05", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.7.0b2", + "released_on": "2023-09-28", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.7.0b1", + "released_on": "2023-09-21", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.6.0b1", + "released_on": "2023-09-14", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.5.0b1", + "released_on": "2023-09-07", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.3.0b1", + "released_on": "2023-08-31", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.1.0b2", + "released_on": "2023-08-23", + "pinned_api_version": "2023-08-16", + "minimum_runtime_version": "3.6" + }, + { + "version": "6.1.0b1", + "released_on": "2023-08-23", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "3.6" + }, + { + "version": "5.6.0b3", + "released_on": "2023-08-03", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.6.0b2", + "released_on": "2023-07-28", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.6.0b1", + "released_on": "2023-07-13", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.5.0b5", + "released_on": "2023-06-22", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.5.0b4", + "released_on": "2023-06-02", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.5.0b3", + "released_on": "2023-05-19", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.5.0b2", + "released_on": "2023-04-13", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.5.0b1", + "released_on": "2023-03-30", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.4.0b1", + "released_on": "2023-03-23", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.3.0b4", + "released_on": "2023-03-16", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.3.0b3", + "released_on": "2023-03-09", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.3.0b2", + "released_on": "2023-03-03", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.3.0b1", + "released_on": "2023-02-23", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.2.0b1", + "released_on": "2023-02-02", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.1.0b7", + "released_on": "2023-01-26", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.1.0b6", + "released_on": "2023-01-19", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.1.0b5", + "released_on": "2023-01-12", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.1.0b4", + "released_on": "2023-01-05", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.1.0b3", + "released_on": "2022-12-22", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.1.0b2", + "released_on": "2022-12-15", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "5.1.0b1", + "released_on": "2022-12-08", + "pinned_api_version": "2022-11-15", + "minimum_runtime_version": "2.7" + }, + { + "version": "4.3.0b3", + "released_on": "2022-11-02", + "pinned_api_version": "2022-08-01", + "minimum_runtime_version": "2.7" + }, + { + "version": "4.3.0b2", + "released_on": "2022-10-07", + "pinned_api_version": "2022-08-01", + "minimum_runtime_version": "2.7" + }, + { + "version": "4.3.0b1", + "released_on": "2022-09-26", + "pinned_api_version": "2022-08-01", + "minimum_runtime_version": "2.7" + }, + { + "version": "4.2.0b2", + "released_on": "2022-08-26", + "pinned_api_version": "2022-08-01", + "minimum_runtime_version": "2.7" + }, + { + "version": "4.2.0b1", + "released_on": "2022-08-23", + "pinned_api_version": "2022-08-01", + "minimum_runtime_version": "2.7" + }, + { + "version": "4.1.0b2", + "released_on": "2022-08-11", + "minimum_runtime_version": "2.7" + }, + { + "version": "4.1.0b1", + "released_on": "2022-08-03", + "minimum_runtime_version": "2.7" + }, + { + "version": "3.6.0b1", + "released_on": "2022-07-22", + "minimum_runtime_version": "2.7" + } + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fad0a5cc..8a77b3b7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,17 @@ + + # Changelog +> This changelog only covers the **public preview** releases. Each release builds on the most recent GA release; see those notes in [the GA changelog](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md). + ## 15.7.0b1 - 2026-08-26 -This release changes the pinned API version to 2026-08-26.preview. +This release changes the pinned API version to `2026-08-26.preview`. -* [#1858](https://github.com/stripe/stripe-python/pull/1858) Update generated code for beta +* [#1878](https://github.com/stripe/stripe-python/pull/1878) Add non-verified methods to managed handlers +* ⚠️ [#1858](https://github.com/stripe/stripe-python/pull/1858) Update generated code for beta * Add support for new resources `v2.core.ApprovalRequest`, `v2.signals.AccountActivity`, `v2.signals.AccountEvaluation`, and `v2.signals.AccountSignal` * Add support for `list` and `retrieve` methods on resource `v2.signals.AccountSignal` * Add support for `create` and `retrieve` methods on resource `v2.signals.AccountEvaluation` @@ -27,66 +35,11 @@ This release changes the pinned API version to 2026-08-26.preview. * Add support for event notification `V2SignalsAccountEvaluationCompleteEvent` with related object `v2.signals.AccountEvaluation` * Add support for error codes `authentication_failure`, `capability_not_active`, `expired_payment_method`, `incorrect_postal_code`, `invalid_canceled_subscription_fields`, and `payment_method_restricted` on `QuotePreviewInvoice.LastFinalizationError` * Add support for error code `default_payout_method_cannot_be_disabled` on `CannotProceedError` -* [#1878](https://github.com/stripe/stripe-python/pull/1878) Add non-verified methods to managed handlers - -## 15.6.0 - 2026-08-26 -This release changes the pinned API version to 2026-08-26.dahlia. - -* [#1881](https://github.com/stripe/stripe-python/pull/1881) Add new `EventNotificationHandler` class for better thin event management - - - We've been putting a lot of time into rethinking the event handling experience in the SDKs. This new class is the culmination [of that effort](https://stripe.dev/blog/event-notification-handlers-thin-events). - - They're designed for a tight coupling with both `StripeClient` and the fully-typed nature of [thin events](https://docs.stripe.com/event-destinations#thin-events). This delivers painless event destination upgrades, in-editor checks for common mistakes, and better code modularity. - - Now that we've released [thin event notifications for v1 objects](https://docs.stripe.com/changelog#2026-08-26.dahlia), these new handlers are our recommended path for all integrations using thin event notifications. - - See more detailed docs here: https://docs.stripe.com/webhooks/event-notification-handlers - - As part of this work, we've widened some of the types our webhook-related methods take so they play more nicely with the types commonly returned by popular web frameworks ([#1888](https://github.com/stripe/stripe-python/pull/1888)) - -* [#1876](https://github.com/stripe/stripe-python/pull/1876) Update generated code - * Add support for new resource `billing.FeedbackOption` - * Add support for `create`, `deactivate`, `list`, `modify`, and `retrieve` methods on resource `billing.FeedbackOption` - * Add support for `payment_method_settings` on `AccountSession.Component` and `AccountSessionCreateParamsComponent` - * Add support for `feedback_options` on `BillingPortal.Configuration.Feature.SubscriptionCancel.CancellationReason`, `billing_portal.ConfigurationCreateParamsFeatureSubscriptionCancelCancellationReason`, and `billing_portal.ConfigurationModifyParamsFeatureSubscriptionCancelCancellationReason` - * Add support for new value `customer_update` on enums `BillingPortal.Session.Flow.type` and `billing_portal.SessionCreateParamsFlowDatum.type` - * Add support for `customer_update` on `BillingPortal.Session.Flow` - * Add support for `funding_source_group` on `Charge.PaymentMethodDetail.Card.Wallet.Link` and `Charge.PaymentMethodDetail.Link` - * Add support for `funding_types_blocked` on `Checkout.Session.PaymentMethodOption.Card.Restriction` and `checkout.SessionCreateParamsPaymentMethodOptionCardRestriction` - * Add support for `metadata` on `ConfirmationToken` - * Add support for `active_entitlements` and `customer_portal` on `CustomerSession.Component` and `CustomerSessionCreateParamsComponent` - * Add support for `country` on `FinancialConnections.Session.Filter` - * Add support for `frozen_fields` on `InvoiceItem` - * Add support for `billie` on `Invoice.PaymentSetting.PaymentMethodOption`, `InvoiceCreateParamsPaymentSettingPaymentMethodOption`, `InvoiceModifyParamsPaymentSettingPaymentMethodOption`, `Subscription.PaymentSetting.PaymentMethodOption`, `SubscriptionCreateParamsPaymentSettingPaymentMethodOption`, and `SubscriptionModifyParamsPaymentSettingPaymentMethodOption` - * Add support for new value `billie` on enums `Invoice.PaymentSetting.payment_method_types`, `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * ⚠️ Remove support for `cryptogram` on `PaymentAttemptRecord.PaymentMethodDetail.Card.ThreeDSecure` and `PaymentRecord.PaymentMethodDetail.Card.ThreeDSecure` - * Add support for new value `touch_n_go` on enums `PaymentIntent.allowed_payment_method_types`, `PaymentIntentConfirmParams.allowed_payment_method_types`, `PaymentIntentCreateParams.allowed_payment_method_types`, `PaymentIntentModifyParams.allowed_payment_method_types`, `SetupIntent.allowed_payment_method_types`, `SetupIntentConfirmParams.allowed_payment_method_types`, `SetupIntentCreateParams.allowed_payment_method_types`, and `SetupIntentModifyParams.allowed_payment_method_types` - * Change `PaymentIntent.allowed_payment_method_types` and `SetupIntent.allowed_payment_method_types` to be required - * Add support for `application_fee_amount`, `application_fee_percent`, `on_behalf_of`, and `transfer_data` on `PaymentLinkModifyParams` - * Add support for `feedback_option` on `Subscription.CancellationDetail`, `SubscriptionCancelParamsCancellationDetail`, and `SubscriptionModifyParamsCancellationDetail` - * Add support for `igic` on `Tax.Registration.CountryOption.At`, `Tax.Registration.CountryOption.Be`, `Tax.Registration.CountryOption.Bg`, `Tax.Registration.CountryOption.Cy`, `Tax.Registration.CountryOption.Cz`, `Tax.Registration.CountryOption.De`, `Tax.Registration.CountryOption.Dk`, `Tax.Registration.CountryOption.E`, `Tax.Registration.CountryOption.Ee`, `Tax.Registration.CountryOption.Fi`, `Tax.Registration.CountryOption.Fr`, `Tax.Registration.CountryOption.Gr`, `Tax.Registration.CountryOption.Hr`, `Tax.Registration.CountryOption.Hu`, `Tax.Registration.CountryOption.Ie`, `Tax.Registration.CountryOption.It`, `Tax.Registration.CountryOption.Lt`, `Tax.Registration.CountryOption.Lu`, `Tax.Registration.CountryOption.Lv`, `Tax.Registration.CountryOption.Mt`, `Tax.Registration.CountryOption.Nl`, `Tax.Registration.CountryOption.Pl`, `Tax.Registration.CountryOption.Pt`, `Tax.Registration.CountryOption.Ro`, `Tax.Registration.CountryOption.Se`, `Tax.Registration.CountryOption.Si`, `Tax.Registration.CountryOption.Sk`, `tax.RegistrationCreateParamsCountryOptionAt`, `tax.RegistrationCreateParamsCountryOptionBe`, `tax.RegistrationCreateParamsCountryOptionBg`, `tax.RegistrationCreateParamsCountryOptionCy`, `tax.RegistrationCreateParamsCountryOptionCz`, `tax.RegistrationCreateParamsCountryOptionDe`, `tax.RegistrationCreateParamsCountryOptionDk`, `tax.RegistrationCreateParamsCountryOptionE`, `tax.RegistrationCreateParamsCountryOptionEe`, `tax.RegistrationCreateParamsCountryOptionFi`, `tax.RegistrationCreateParamsCountryOptionFr`, `tax.RegistrationCreateParamsCountryOptionGr`, `tax.RegistrationCreateParamsCountryOptionHr`, `tax.RegistrationCreateParamsCountryOptionHu`, `tax.RegistrationCreateParamsCountryOptionIe`, `tax.RegistrationCreateParamsCountryOptionIt`, `tax.RegistrationCreateParamsCountryOptionLt`, `tax.RegistrationCreateParamsCountryOptionLu`, `tax.RegistrationCreateParamsCountryOptionLv`, `tax.RegistrationCreateParamsCountryOptionMt`, `tax.RegistrationCreateParamsCountryOptionNl`, `tax.RegistrationCreateParamsCountryOptionPl`, `tax.RegistrationCreateParamsCountryOptionPt`, `tax.RegistrationCreateParamsCountryOptionRo`, `tax.RegistrationCreateParamsCountryOptionSe`, `tax.RegistrationCreateParamsCountryOptionSi`, and `tax.RegistrationCreateParamsCountryOptionSk` - * Add support for new value `2026-08-26.dahlia` on enum `WebhookEndpointCreateParams.api_version` - * Add support for error codes `authentication_failure`, `capability_not_active`, `expired_payment_method`, `incorrect_postal_code`, `invalid_canceled_subscription_fields`, and `payment_method_restricted` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, `StripeError`, and `Terminal.Reader.Action.ApiError` - -## 15.5.1 - 2026-08-18 -* [#1879](https://github.com/stripe/stripe-python/pull/1879) better document `StripeObject`'s `to_dict` behavior - -## 15.5.0 - 2026-08-10 -* [#1874](https://github.com/stripe/stripe-python/pull/1874) Add async iteration to v2 list auto-pagination - - Adds `async for` support to v2 `ListObject.auto_paging_iter()`. -* [#1869](https://github.com/stripe/stripe-python/pull/1869) Surface `object` property on `EventNotification` -* [#1867](https://github.com/stripe/stripe-python/pull/1867) Emit Claude Code plugin hint at module load time - - Emits new Claude Code plugin hint when `CLAUDECODE` or `CLAUDE_CODE_CHILD_SESSION` environment variables are detected. -* [#1855](https://github.com/stripe/stripe-python/pull/1855) add/adjust event parsing helpers - - - Added methods that return their respective `Event`/`EventNotification` class instances without verifying authenticity. Use them when you've previously verified an event (e.g. you verified, put the event in a queue, and are now processing). Supports events from [AWS EventBridge](https://docs.stripe.com/event-destinations/eventbridge) and [Azure Event Grid](https://docs.stripe.com/event-destinations/eventgrid) natively. - - `Webhook.construct_event_without_verification(payload)` - - `StripeClient.construct_event_without_verification(payload)` - - `StripeClient.parse_event_notification_without_verification(payload)` - - Added `WebhookSignature.generate_signature_header(payload, secret, timestamp=None)`, which computes a full `Stripe-Signature` header for the given payload. Useful for unit tests! - -* [#1863](https://github.com/stripe/stripe-python/pull/1863) Add `stripe.major_api_version` constant ## 15.5.0b1 - 2026-07-29 -This release changes the pinned API version to 2026-07-29.preview. +This release changes the pinned API version to `2026-07-29.preview`. -* [#1838](https://github.com/stripe/stripe-python/pull/1838) Update generated code for beta +* ⚠️ [#1838](https://github.com/stripe/stripe-python/pull/1838) Update generated code for beta * Add support for `list` and `retrieve` methods on resource `product_catalog.TrialOffer` * Add support for `tax_items` on `ChargeCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeCaptureParamsPaymentDetailFlightDatumTotalTax`, `ChargeCaptureParamsPaymentDetailLodgingDatumTotalTax`, `ChargeModifyParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeModifyParamsPaymentDetailFlightDatumTotalTax`, `ChargeModifyParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntent.PaymentDetail.CarRentalDatum.Total.Tax`, `PaymentIntent.PaymentDetail.FlightDatum.Total.Tax`, `PaymentIntent.PaymentDetail.LodgingDatum.Total.Tax`, `PaymentIntentCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailFlightDatumTotalTax`, and `PaymentIntentModifyParamsPaymentDetailLodgingDatumTotalTax` * ⚠️ Remove support for `taxes` on `ChargeCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeCaptureParamsPaymentDetailFlightDatumTotalTax`, `ChargeCaptureParamsPaymentDetailLodgingDatumTotalTax`, `ChargeModifyParamsPaymentDetailCarRentalDatumTotalTax`, `ChargeModifyParamsPaymentDetailFlightDatumTotalTax`, `ChargeModifyParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntent.PaymentDetail.CarRentalDatum.Total.Tax`, `PaymentIntent.PaymentDetail.FlightDatum.Total.Tax`, `PaymentIntent.PaymentDetail.LodgingDatum.Total.Tax`, `PaymentIntentCaptureParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCaptureParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentConfirmParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailFlightDatumTotalTax`, `PaymentIntentCreateParamsPaymentDetailLodgingDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailCarRentalDatumTotalTax`, `PaymentIntentModifyParamsPaymentDetailFlightDatumTotalTax`, and `PaymentIntentModifyParamsPaymentDetailLodgingDatumTotalTax` @@ -113,62 +66,10 @@ This release changes the pinned API version to 2026-07-29.preview. * ⚠️ Change `V2.MoneyManagement.ReceivedDebit.BankTransfer.us_bank_account` to be optional * Add support for error codes `us_bank_account_microdeposits_cannot_be_confirmed` and `us_bank_account_microdeposits_cannot_be_sent` on `ControlledByAlternateResourceError` -## 15.4.0 - 2026-07-29 -This release changes the pinned API version to 2026-07-29.dahlia. - -* [#1857](https://github.com/stripe/stripe-python/pull/1857) Update generated code - * Add support for new resource `financial_connections.Authorization` - * Add support for `unreject` method on resource `Account` - * Add support for `list` method on resource `PaymentRecord` - * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type`, `Tax.Calculation.TaxBreakdown.TaxRateDetail.tax_type`, `Tax.CalculationLineItem.TaxBreakdown.TaxRateDetail.tax_type`, and `Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type` - * Add support for new value `chaps` on enums `FundingInstructions.BankTransfer.FinancialAddress.supported_networks` and `PaymentIntent.NextAction.DisplayBankTransferInstruction.FinancialAddress.supported_networks` - * Add support for `smart_disputes_management` on `AccountSession.Component.DisputesList.Feature`, `AccountSession.Component.Payment.Feature`, `AccountSession.Component.PaymentDetail.Feature`, `AccountSession.Component.PaymentDispute.Feature`, `AccountSessionCreateParamsComponentDisputesListFeature`, `AccountSessionCreateParamsComponentPaymentDetailFeature`, `AccountSessionCreateParamsComponentPaymentDisputeFeature`, and `AccountSessionCreateParamsComponentPaymentFeature` - * Add support for `administrative_address` and `principal_place_of_business` on `Account.Company`, `AccountCreateParamsCompany`, `AccountModifyParamsCompany`, and `TokenCreateParamsAccountCompany` - * Add support for `sepa_debit_payments` on `AccountModifyParamsSetting` - * Remove support for `proof_of_registration` on `AccountCreateParamsDocument`. This field was limited-use and is being deprecated. - * Add support for `payouts_action` on `AccountRejectParams` - * Add support for new value `data_share_only` on enums `Charge.PaymentMethodDetail.Card.ThreeDSecure.result`, `PaymentAttemptRecord.PaymentMethodDetail.Card.ThreeDSecure.result`, `PaymentRecord.PaymentMethodDetail.Card.ThreeDSecure.result`, and `SetupAttempt.PaymentMethodDetail.Card.ThreeDSecure.result` - * Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `Charge.PaymentMethodDetail.Fpx.bank`, `ConfirmationToken.PaymentMethodPreview.Fpx.bank`, `PaymentAttemptRecord.PaymentMethodDetail.Fpx.bank`, `PaymentMethod.Fpx.bank`, and `PaymentRecord.PaymentMethodDetail.Fpx.bank` - * Remove support for `dynamic_tax_rates` on `checkout.SessionCreateParamsLineItem`. This field was limited-use and is being deprecated. - * Add support for `setup_future_usage` on `Checkout.Session.PaymentMethodOption.Payco`, `Checkout.Session.PaymentMethodOption.SamsungPay`, `PaymentIntent.PaymentMethodOption.Payco`, `PaymentIntent.PaymentMethodOption.SamsungPay`, `PaymentIntentConfirmParamsPaymentMethodOptionPayco`, `PaymentIntentConfirmParamsPaymentMethodOptionSamsungPay`, `PaymentIntentCreateParamsPaymentMethodOptionPayco`, `PaymentIntentCreateParamsPaymentMethodOptionSamsungPay`, `PaymentIntentModifyParamsPaymentMethodOptionPayco`, `PaymentIntentModifyParamsPaymentMethodOptionSamsungPay`, `PaymentLinkModifyParamsPaymentIntentDatum`, `checkout.SessionCreateParamsPaymentMethodOptionPayco`, and `checkout.SessionCreateParamsPaymentMethodOptionSamsungPay` - * Add support for new value `ic_nif` on enums `Checkout.Session.CustomerDetail.TaxId.type`, `Invoice.CustomerTaxId.type`, `Tax.Calculation.CustomerDetail.TaxId.type`, `Tax.Transaction.CustomerDetail.TaxId.type`, and `TaxId.type` - * Add support for new values `bnp_paribas`, `citibank`, and `mbsb_bank` on enums `ConfirmationTokenCreateParamsPaymentMethodDatumFpx.bank`, `PaymentIntentConfirmParamsPaymentMethodDatumFpx.bank`, `PaymentIntentCreateParamsPaymentMethodDatumFpx.bank`, `PaymentIntentModifyParamsPaymentMethodDatumFpx.bank`, `PaymentMethodCreateParamsFpx.bank`, `SetupIntentConfirmParamsPaymentMethodDatumFpx.bank`, `SetupIntentCreateParamsPaymentMethodDatumFpx.bank`, and `SetupIntentModifyParamsPaymentMethodDatumFpx.bank` - * Add support for new value `ic_nif` on enums `CustomerCreateParamsTaxIdDatum.type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParamsCustomerDetailTaxId.type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParamsCustomerDetailTaxId.type` - * Add support for `network` on `Dispute.PaymentMethodDetail.Card` - * Add support for new values `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, `financial_connections.account.upcoming_deactivation`, `financial_connections.authorization.expected_deactivation_date_updated`, and `financial_connections.authorization.upcoming_deactivation` on enum `Event.type` - * Add support for `limits` and `manual_entry` on `FinancialConnections.Session` and `financial_connections.SessionCreateParams` - * Add support for `require_payment_method_support` on `FinancialConnections.Session.Filter` and `financial_connections.SessionCreateParamsFilter` - * Add support for `bank_account_token` on `FinancialConnections.Session` - * Add support for new values `alipay` and `mb_way` on enums `Invoice.PaymentSetting.payment_method_types`, `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enums `InvoiceAddLinesParamsLineTaxAmountTaxRateDatum.tax_type`, `InvoiceLineItemModifyParamsTaxAmountTaxRateDatum.tax_type`, `InvoiceUpdateLinesParamsLineTaxAmountTaxRateDatum.tax_type`, `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateModifyParams.tax_type` - * Add support for `metadata` on `InvoiceCreatePreviewParamsSubscriptionDetail` - * Add support for new value `stripe_internal_error` on enum `Issuing.Authorization.RequestHistory.reason` - * Add support for `business_name` on `Issuing.Card.Shipping`, `issuing.CardCreateParamsShipping`, and `issuing.CardModifyParamsShipping` - * Add support for new value `correos` on enum `Issuing.Card.Shipping.carrier` - * Add support for `allowed_payment_method_types` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentModifyParams`, `PaymentIntent`, `SetupIntentConfirmParams`, `SetupIntentCreateParams`, `SetupIntentModifyParams`, and `SetupIntent` - * Add support for `referrer` on `PaymentIntentConfirmParamsRadarOption` and `PaymentIntentCreateParamsRadarOption` - * Add support for `consent_collection` and `shipping_options` on `PaymentLinkModifyParams` - * Add support for `custom_fields`, `description`, and `footer` on `Quote.InvoiceSetting`, `QuoteCreateParamsInvoiceSetting`, `QuoteModifyParamsInvoiceSetting`, `SubscriptionSchedule.DefaultSetting.InvoiceSetting`, `SubscriptionSchedule.Phase.InvoiceSetting`, `SubscriptionScheduleCreateParamsDefaultSettingInvoiceSetting`, `SubscriptionScheduleCreateParamsPhaseInvoiceSetting`, `SubscriptionScheduleModifyParamsDefaultSettingInvoiceSetting`, and `SubscriptionScheduleModifyParamsPhaseInvoiceSetting` - * Add support for `customer_account` and `customer` on `Refund` - * Add support for `payment_method` on `Refund` and `Topup` - * Add support for `trial` on `SubscriptionSchedule.Phase` - * Add support for `mass_transit_parking_tax` and `parking_tax` on `Tax.Registration.CountryOption.Me` and `tax.RegistrationCreateParamsCountryOptionMe` - * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `tax.RegistrationCreateParamsCountryOptionMe.type` - * Add support for new values `mass_transit_parking_tax` and `parking_tax` on enum `Tax.Registration.CountryOption.Me.type` - * Add support for `initiated_by` and `payment_method_options` on `Topup` - * Add support for new values `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, `financial_connections.account.upcoming_deactivation`, `financial_connections.authorization.expected_deactivation_date_updated`, and `financial_connections.authorization.upcoming_deactivation` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointModifyParams.enabled_events` - * Add support for new value `2026-07-29.dahlia` on enum `WebhookEndpointCreateParams.api_version` - * Add support for `additional_addresses` on `V2.Core.Account.Identity.BusinessDetail`, `v2.core.AccountCreateParamsIdentityBusinessDetail`, `v2.core.AccountModifyParamsIdentityBusinessDetail`, and `v2.core.AccountTokenCreateParamsIdentityBusinessDetail` - * Add support for snapshot events `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, and `financial_connections.account.upcoming_deactivation` with resource `financial_connections.Account` - * Add support for snapshot events `financial_connections.authorization.expected_deactivation_date_updated` and `financial_connections.authorization.upcoming_deactivation` with resource `financial_connections.Authorization` - * Enum type annotations for non-exhaustive ("open") enums are now typed as `Union[Literal[...], str]` instead of plain `Literal[...]`. Many Stripe enums are open, meaning new values may appear in new versions of the API. This change ensures these fields have the correct type for both the values known at SDK release time and other values that may be added later. Refer to the [API Reference](https://docs.stripe.com) for the latest set of allowed values. -* [#1853](https://github.com/stripe/stripe-python/pull/1853) Fix intermittent Windows test flake in async httpx integration tests -* [#1849](https://github.com/stripe/stripe-python/pull/1849) Use ip address directly instead of localhost to speed up windows tests - ## 15.4.0b1 - 2026-06-24 -This release changes the pinned API version to 2026-06-24.preview. +This release changes the pinned API version to `2026-06-24.preview`. -* [#1819](https://github.com/stripe/stripe-python/pull/1819) Update generated code for beta +* ⚠️ [#1819](https://github.com/stripe/stripe-python/pull/1819) Update generated code for beta * Add support for `redaction` on `Card`, `Charge`, `Checkout.Session`, `Customer`, `Issuing.Authorization`, `Issuing.Card`, `Issuing.Cardholder`, `Issuing.Dispute`, `Issuing.Transaction`, `PaymentIntent`, `PaymentMethod`, `SetupIntent`, `Source`, and `Token` * Add support for `disclaimer_variant` on `Capital.FinancingOffer` and `Capital.FinancingSummary.Detail` * Add support for `active` on `FinancialConnections.Account.StatusDetail` and `FinancialConnections.Authorization.StatusDetail` @@ -208,57 +109,10 @@ This release changes the pinned API version to 2026-06-24.preview. * Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `QuotePreviewInvoice.LastFinalizationError` * Add support for error code `default_us_bank_account_cannot_be_archived` on `CannotProceedError` -## 15.3.1 - 2026-07-15 -* [#1846](https://github.com/stripe/stripe-python/pull/1846) Replace source hash with Telemetry UUID -* [#1845](https://github.com/stripe/stripe-python/pull/1845) Make Error fields generated -* [#1843](https://github.com/stripe/stripe-python/pull/1843) Remove unused Retry-After header support -* [#1834](https://github.com/stripe/stripe-python/pull/1834) Reduce StripeClient() cold start latency for serverless environments - - Moves HTTP library imports to module load time to better accommodate AWS Lambda and other serverless environments that have separate Init phase and Invoke phase time budgets. - -## 15.3.0 - 2026-06-24 -This release changes the pinned API version to 2026-06-24.dahlia. - -* [#1836](https://github.com/stripe/stripe-python/pull/1836) Update generated code - * Add support for `release_details` on `Reserve.Hold` - * ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type` - * Change `Billing.CreditGrant.priority` to be required - * Add support for `buyer_id` on `Charge.PaymentMethodDetail.Bizum`, `ConfirmationToken.PaymentMethodPreview.Bizum`, `ConfirmationToken.PaymentMethodPreview.Blik`, `PaymentAttemptRecord.PaymentMethodDetail.Bizum`, `PaymentMethod.Bizum`, `PaymentMethod.Blik`, and `PaymentRecord.PaymentMethodDetail.Bizum` - * Add support for `transaction_link_id` on `Charge.PaymentMethodDetail.Card` - * ⚠️ Add support for new value `sui` on enums `Charge.PaymentMethodDetail.Crypto.network`, `PaymentAttemptRecord.PaymentMethodDetail.Crypto.network`, and `PaymentRecord.PaymentMethodDetail.Crypto.network` - * ⚠️ Add support for new value `usdsui` on enums `Charge.PaymentMethodDetail.Crypto.token_currency`, `PaymentAttemptRecord.PaymentMethodDetail.Crypto.token_currency`, and `PaymentRecord.PaymentMethodDetail.Crypto.token_currency` - * Add support for `fingerprint` on `Charge.PaymentMethodDetail.Pix`, `ConfirmationToken.PaymentMethodPreview.Pix`, `PaymentMethod.Pix`, and `SetupAttempt.PaymentMethodDetail.Pix` - * Add support for `sunbit` on `Checkout.Session.PaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentIntentConfirmParamsPaymentMethodOption`, `PaymentIntentCreateParamsPaymentMethodOption`, `PaymentIntentModifyParamsPaymentMethodOption`, and `checkout.SessionCreateParamsPaymentMethodOption` - * Add support for `billing_cycle_anchor_config` on `checkout.SessionCreateParamsSubscriptionDatum` - * Add support for `wechat_pay` on `Checkout.Session.PaymentMethodOption` - * Add support for `mastercard_compliance` on `Dispute.Evidence.EnhancedEvidence`, `Dispute.EvidenceDetail.EnhancedEligibility`, and `DisputeModifyParamsEvidenceEnhancedEvidence` - * ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types` - * Add support for `status_details` on `FinancialConnections.Account` - * ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.Redaction.status` - * Add support for new value `satispay` on enums `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * ⚠️ Add support for new value `satispay` on enums `Invoice.PaymentSetting.payment_method_types` and `Subscription.PaymentSetting.payment_method_types` - * ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.PaymentMethodDetail.Card` and `PaymentRecord.PaymentMethodDetail.Card` - * ⚠️ Change `PaymentAttemptRecord.PaymentMethodDetail.Card.description` and `PaymentRecord.PaymentMethodDetail.Card.description` to be optional - * ⚠️ Change `PaymentAttemptRecord.PaymentMethodDetail.Card.iin` and `PaymentRecord.PaymentMethodDetail.Card.iin` to be optional - * ⚠️ Change `PaymentAttemptRecord.PaymentMethodDetail.Card.issuer` and `PaymentRecord.PaymentMethodDetail.Card.issuer` to be optional - * Add support for `setup_future_usage` on `PaymentIntent.PaymentMethodOption.Satispay`, `PaymentIntentConfirmParamsPaymentMethodOptionSatispay`, `PaymentIntentCreateParamsPaymentMethodOptionSatispay`, and `PaymentIntentModifyParamsPaymentMethodOptionSatispay` - * Change `PaymentRecordReportRefundParams.refunded` to be optional - * Add support for `satispay` on `SetupAttempt.PaymentMethodDetail` - * Add support for `custom_fields`, `description`, and `footer` on `Subscription.InvoiceSetting`, `SubscriptionCreateParamsInvoiceSetting`, and `SubscriptionModifyParamsInvoiceSetting` - * Add support for `payment_method_options` and `payment_method` on `TopupCreateParams` - * Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version` - * Add support for `mode` on `V2.Commerce.ProductCatalogImport` - * ⚠️ Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImport.feed_type` - * Add support for `sunbit_payments` on `V2.Core.Account.Configuration.Merchant.Capability`, `v2.core.AccountCreateParamsConfigurationMerchantCapability`, and `v2.core.AccountModifyParamsConfigurationMerchantCapability` - * Add support for `crypto_money_manager` and `money_manager` on `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` - * ⚠️ Remove support for `crypto_storer` and `storer` on `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` - * Add support for new value `promotion` on enum `v2.commerce.ProductCatalogImportCreateParams.feed_type` - * ⚠️ Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability` - * Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, `StripeError`, and `Terminal.Reader.Action.ApiError` - ## 15.3.0b1 - 2026-05-27 -This release changes the pinned API version to 2026-05-27.private. +This release changes the pinned API version to `2026-05-27.preview`. -* [#1801](https://github.com/stripe/stripe-python/pull/1801) Update generated code for beta +* ⚠️ [#1801](https://github.com/stripe/stripe-python/pull/1801) Update generated code for beta * Add support for `pause` method on resource `Subscription` * Add support for `retrieve` method on resource `v2.iam.ActivityLog` * ⚠️ Add support for new value `mastercard` on enum `Issuing.Settlement.network` @@ -278,66 +132,8 @@ This release changes the pinned API version to 2026-05-27.private. * Add support for new value `chaps` on enum `v2.FinancialAddressCreditSimulationCreditParams.network` * Add support for error codes `payment_method_microdeposit_processing_error` and `siret_invalid` on `QuotePreviewInvoice.LastFinalizationError` -## 15.2.1 - 2026-06-12 -* [#1825](https://github.com/stripe/stripe-python/pull/1825) Add "source" field to user-agent header - -## 15.2.0 - 2026-05-27 -This release changes the pinned API version to 2026-05-27.dahlia. - -* [#1816](https://github.com/stripe/stripe-python/pull/1816) Update generated code - * Add support for new resource `v2.commerce.ProductCatalogImport` - * Add support for `create` and `retrieve` methods on resource `v2.commerce.ProductCatalogImport` - * Add support for `bizum_payments` and `scalapay_payments` on `Account.Capability`, `AccountCreateParamsCapability`, and `AccountModifyParamsCapability` - * Add support for `automatic_transfer_rules_by_currency` on `BalanceSettings.Payment.Payout` and `BalanceSettingsModifyParamsPaymentPayout` - * Add support for `start_of_day` on `BalanceSettings.Payment.SettlementTiming` and `BalanceSettingsModifyParamsPaymentSettlementTiming` - * Add support for `description` on `ChargeCreateParamsTransferDatum`, `PaymentIntent.TransferDatum`, `PaymentIntentCreateParamsTransferDatum`, and `PaymentIntentModifyParamsTransferDatum` - * Add support for `bizum` on `Charge.PaymentMethodDetail`, `ConfirmationToken.PaymentMethodPreview`, `ConfirmationTokenCreateParamsPaymentMethodDatum`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntent.PaymentMethodOption`, `PaymentIntentConfirmParamsPaymentMethodDatum`, `PaymentIntentConfirmParamsPaymentMethodOption`, `PaymentIntentCreateParamsPaymentMethodDatum`, `PaymentIntentCreateParamsPaymentMethodOption`, `PaymentIntentModifyParamsPaymentMethodDatum`, `PaymentIntentModifyParamsPaymentMethodOption`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationModifyParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `SetupIntent.PaymentMethodOption`, `SetupIntentConfirmParamsPaymentMethodDatum`, `SetupIntentConfirmParamsPaymentMethodOption`, `SetupIntentCreateParamsPaymentMethodDatum`, `SetupIntentCreateParamsPaymentMethodOption`, `SetupIntentModifyParamsPaymentMethodDatum`, and `SetupIntentModifyParamsPaymentMethodOption` - * Add support for `scalapay` on `Charge.PaymentMethodDetail`, `Checkout.Session.PaymentMethodOption`, `ConfirmationToken.PaymentMethodPreview`, `ConfirmationTokenCreateParamsPaymentMethodDatum`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntent.PaymentMethodOption`, `PaymentIntentConfirmParamsPaymentMethodDatum`, `PaymentIntentConfirmParamsPaymentMethodOption`, `PaymentIntentCreateParamsPaymentMethodDatum`, `PaymentIntentCreateParamsPaymentMethodOption`, `PaymentIntentModifyParamsPaymentMethodDatum`, `PaymentIntentModifyParamsPaymentMethodOption`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationModifyParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `Refund.DestinationDetail`, `SetupIntentConfirmParamsPaymentMethodDatum`, `SetupIntentCreateParamsPaymentMethodDatum`, `SetupIntentModifyParamsPaymentMethodDatum`, and `checkout.SessionCreateParamsPaymentMethodOption` - * Add support for `mandate` on `Charge.PaymentMethodDetail.Twint`, `PaymentAttemptRecord.PaymentMethodDetail.Twint`, and `PaymentRecord.PaymentMethodDetail.Twint` - * Add support for new values `bizum` and `scalapay` on enums `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentModifyParams.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, `SetupIntentModifyParams.excluded_payment_method_types`, and `checkout.SessionCreateParams.excluded_payment_method_types` - * Change type of `PaymentIntentConfirmParamsPaymentMethodOptionTwint.setup_future_usage`, `PaymentIntentCreateParamsPaymentMethodOptionTwint.setup_future_usage`, `PaymentIntentModifyParamsPaymentMethodOptionTwint.setup_future_usage`, and `checkout.SessionCreateParamsPaymentMethodOptionTwint.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')` - * Add support for new values `bizum` and `scalapay` on enum `checkout.SessionCreateParams.payment_method_types` - * ⚠️ Change type of `Checkout.Session.PaymentMethodOption.Twint.setup_future_usage` and `PaymentIntent.PaymentMethodOption.Twint.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')` - * Add support for new values `bizum` and `scalapay` on enums `ConfirmationTokenCreateParamsPaymentMethodDatum.type`, `PaymentIntentConfirmParamsPaymentMethodDatum.type`, `PaymentIntentCreateParamsPaymentMethodDatum.type`, `PaymentIntentModifyParamsPaymentMethodDatum.type`, `SetupIntentConfirmParamsPaymentMethodDatum.type`, `SetupIntentCreateParamsPaymentMethodDatum.type`, and `SetupIntentModifyParamsPaymentMethodDatum.type` - * ⚠️ Add support for new values `bizum` and `scalapay` on enums `ConfirmationToken.PaymentMethodPreview.type` and `PaymentMethod.type` - * Add support for new values `bizum` and `scalapay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - * Add support for `credited_items` on `InvoiceItem.ProrationDetail` - * Add support for new value `twint` on enums `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * Add support for `discountable` on `InvoiceCreatePreviewParamsScheduleDetailPhaseAddInvoiceItem`, `SubscriptionCreateParamsAddInvoiceItem`, `SubscriptionModifyParamsAddInvoiceItem`, `SubscriptionSchedule.Phase.AddInvoiceItem`, `SubscriptionScheduleCreateParamsPhaseAddInvoiceItem`, and `SubscriptionScheduleModifyParamsPhaseAddInvoiceItem` - * Add support for `billing_schedules` on `InvoiceCreatePreviewParamsSubscriptionDetail`, `SubscriptionCreateParams`, `SubscriptionModifyParams`, and `Subscription` - * Add support for new value `max_billed_until` on enums `InvoiceCreatePreviewParamsSubscriptionDetail.cancel_at`, `SubscriptionCreateParams.cancel_at`, and `SubscriptionModifyParams.cancel_at` - * Add support for `amount_paid_off_stripe` on `Invoice` - * ⚠️ Add support for new value `twint` on enums `Invoice.PaymentSetting.payment_method_types` and `Subscription.PaymentSetting.payment_method_types` - * Add support for `twint` on `Mandate.PaymentMethodDetail` and `SetupAttempt.PaymentMethodDetail` - * Add support for `metadata` on `PaymentIntent.TransferDatum`, `PaymentIntentCreateParamsTransferDatum`, `PaymentIntentModifyParamsTransferDatum`, and `Subscription.PendingUpdate` - * Add support for `payment_data` on `PaymentIntent.TransferDatum`, `PaymentIntentCreateParamsTransferDatum`, and `PaymentIntentModifyParamsTransferDatum` - * ⚠️ Add support for new values `bizum` and `scalapay` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types` - * Add support for `blik_authorize` on `PaymentIntent.NextAction` and `SetupIntent.NextAction` - * Add support for `payment_method_options` on `PaymentLinkCreateParams`, `PaymentLinkModifyParams`, and `PaymentLink` - * Add support for new value `bizum` on enums `PaymentLinkCreateParams.payment_method_types` and `PaymentLinkModifyParams.payment_method_types` - * ⚠️ Add support for new value `bizum` on enum `PaymentLink.payment_method_types` - * Add support for `active` on `PaymentMethodConfigurationListParams` - * Add support for `billed_until` on `SubscriptionItem` - * Add support for `discount` and `discounts` on `Subscription.PendingUpdate` - * Add support for `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on `Terminal.Configuration`, `terminal.ConfigurationCreateParams`, and `terminal.ConfigurationModifyParams` - * Add support for new values `simulated_verifone_m425`, `simulated_verifone_p630`, `simulated_verifone_ux700`, `simulated_verifone_v660p`, `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on enum `terminal.ReaderListParams.device_type` - * Add support for `api_error` and `print_content` on `Terminal.Reader.Action` - * ⚠️ Add support for new value `print_content` on enum `Terminal.Reader.Action.type` - * ⚠️ Add support for new values `simulated_verifone_m425`, `simulated_verifone_p630`, `simulated_verifone_ux700`, `simulated_verifone_v660p`, `verifone_m425`, `verifone_p630`, `verifone_ux700`, and `verifone_v660p` on enum `Terminal.Reader.device_type` - * Add support for `customer` on `test_helpers.TestClockCreateParams` - * Add support for new value `2026-05-27.dahlia` on enum `WebhookEndpointCreateParams.api_version` - * Add support for `signer` on `V2.Core.Account.Identity.BusinessDetail.Document.ProofOfRegistration`, `V2.Core.Account.Identity.BusinessDetail.Document.ProofOfUltimateBeneficialOwnership`, `v2.core.AccountCreateParamsIdentityBusinessDetailDocumentProofOfRegistration`, `v2.core.AccountCreateParamsIdentityBusinessDetailDocumentProofOfUltimateBeneficialOwnership`, `v2.core.AccountModifyParamsIdentityBusinessDetailDocumentProofOfRegistration`, `v2.core.AccountModifyParamsIdentityBusinessDetailDocumentProofOfUltimateBeneficialOwnership`, `v2.core.AccountTokenCreateParamsIdentityBusinessDetailDocumentProofOfRegistration`, and `v2.core.AccountTokenCreateParamsIdentityBusinessDetailDocumentProofOfUltimateBeneficialOwnership` - * Add support for `azure_event_grid` on `V2.Core.EventDestination` and `v2.core.EventDestinationCreateParams` - * ⚠️ Add support for new value `no_azure_partner_topic_exists` on enum `V2.Core.EventDestination.StatusDetail.Disabled.reason` - * ⚠️ Add support for new value `azure_event_grid` on enum `V2.Core.EventDestination.type` - * Add support for new value `azure_event_grid` on enum `v2.core.EventDestinationCreateParams.type` - * ⚠️ Add support for new value `meter_event_value_too_many_digits` on enums `EventsV1BillingMeterErrorReportTriggeredEvent.Reason.ErrorType.code` and `EventsV1BillingMeterNoMeterFoundEvent.Reason.ErrorType.code` - * Add support for event notifications `V2CommerceProductCatalogImportsFailedEvent`, `V2CommerceProductCatalogImportsProcessingEvent`, `V2CommerceProductCatalogImportsSucceededEvent`, and `V2CommerceProductCatalogImportsSucceededWithErrorsEvent` with related object `v2.commerce.ProductCatalogImport` - * Add support for error codes `payment_method_microdeposit_processing_error` and `siret_invalid` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1813](https://github.com/stripe/stripe-python/pull/1813) Emit warning when `stripe-notify` header is present in response - ## 15.2.0b2 - 2026-04-24 -* [#1797](https://github.com/stripe/stripe-python/pull/1797) Update generated code for beta +* ⚠️ [#1797](https://github.com/stripe/stripe-python/pull/1797) Update generated code for beta * Add support for new resources `v2.commerce.ProductCatalogImport`, `v2.data.reporting.QueryRun`, `v2.extend.WorkflowRun`, `v2.extend.Workflow`, `v2.iam.ActivityLog`, `v2.network.BusinessProfile`, and `v2.orchestrated_commerce.Agreement` * Add support for `confirm`, `create`, `list`, `retrieve`, and `terminate` methods on resource `v2.orchestrated_commerce.Agreement` * Add support for `me` and `retrieve` methods on resource `v2.network.BusinessProfile` @@ -366,9 +162,9 @@ This release changes the pinned API version to 2026-05-27.dahlia. * Add support for error type `CannotProceedError` ## 15.2.0b1 - 2026-04-23 -This release changes the pinned API version to 2026-04-22.private. +This release changes the pinned API version to `2026-04-22.preview`. -* [#1777](https://github.com/stripe/stripe-python/pull/1777) Update generated code for beta +* ⚠️ [#1777](https://github.com/stripe/stripe-python/pull/1777) Update generated code for beta * Add support for new resources `shared_payment.GrantedToken` and `shared_payment.IssuedToken` * Add support for `retrieve` method on resource `shared_payment.GrantedToken` * Add support for `create` and `revoke` test helper methods on resource `shared_payment.GrantedToken` @@ -394,61 +190,16 @@ This release changes the pinned API version to 2026-04-22.private. * Add support for `purpose` on `Treasury.OutboundPayment` and `treasury.OutboundPaymentCreateParams` * Add support for error codes `action_blocked` and `approval_required` on `QuotePreviewInvoice.LastFinalizationError` -## 15.1.0 - 2026-04-23 -This release changes the pinned API version to 2026-04-22.dahlia. - -* [#1793](https://github.com/stripe/stripe-python/pull/1793) Update generated code - * Add support for `balance_report` and `payout_reconciliation_report` on `AccountSession.Component` and `AccountSessionCreateParamsComponent` - * Add support for `app_distribution` and `sunbit_payments` on `Account.Capability`, `AccountCreateParamsCapability`, and `AccountModifyParamsCapability` - * ⚠️ Add support for new values `fee_credit_funding`, `inbound_transfer_reversal`, and `inbound_transfer` on enum `BalanceTransaction.type` - * Add support for `sunbit` on `Charge.PaymentMethodDetail`, `ConfirmationToken.PaymentMethodPreview`, `ConfirmationTokenCreateParamsPaymentMethodDatum`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntentConfirmParamsPaymentMethodDatum`, `PaymentIntentCreateParamsPaymentMethodDatum`, `PaymentIntentModifyParamsPaymentMethodDatum`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationModifyParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `SetupIntentConfirmParamsPaymentMethodDatum`, `SetupIntentCreateParamsPaymentMethodDatum`, and `SetupIntentModifyParamsPaymentMethodDatum` - * ⚠️ Add support for new values `phantom_cash` and `usdt` on enums `Charge.PaymentMethodDetail.Crypto.token_currency`, `PaymentAttemptRecord.PaymentMethodDetail.Crypto.token_currency`, and `PaymentRecord.PaymentMethodDetail.Crypto.token_currency` - * Add support for `location` and `reader` on `Charge.PaymentMethodDetail.Klarna`, `PaymentAttemptRecord.PaymentMethodDetail.Klarna`, and `PaymentRecord.PaymentMethodDetail.Klarna` - * Add support for `mandate` on `Charge.PaymentMethodDetail.Pix`, `PaymentAttemptRecord.PaymentMethodDetail.Pix`, and `PaymentRecord.PaymentMethodDetail.Pix` - * Add support for `managed_payments` on `Checkout.Session`, `PaymentIntent`, `PaymentLinkCreateParams`, `PaymentLink`, `SetupIntent`, `Subscription`, and `checkout.SessionCreateParams` - * Add support for new value `sunbit` on enums `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentModifyParams.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, `SetupIntentModifyParams.excluded_payment_method_types`, and `checkout.SessionCreateParams.excluded_payment_method_types` - * Add support for `mandate_options` on `Checkout.Session.PaymentMethodOption.Pix`, `PaymentIntent.PaymentMethodOption.Pix`, `PaymentIntentConfirmParamsPaymentMethodOptionPix`, `PaymentIntentCreateParamsPaymentMethodOptionPix`, `PaymentIntentModifyParamsPaymentMethodOptionPix`, and `checkout.SessionCreateParamsPaymentMethodOptionPix` - * Change type of `PaymentIntentConfirmParamsPaymentMethodOptionPix.setup_future_usage`, `PaymentIntentCreateParamsPaymentMethodOptionPix.setup_future_usage`, `PaymentIntentModifyParamsPaymentMethodOptionPix.setup_future_usage`, and `checkout.SessionCreateParamsPaymentMethodOptionPix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')` - * Add support for new value `sunbit` on enum `checkout.SessionCreateParams.payment_method_types` - * ⚠️ Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `Checkout.Session.CustomerDetail.TaxId.type`, `Invoice.CustomerTaxId.type`, `Tax.Calculation.CustomerDetail.TaxId.type`, `Tax.Transaction.CustomerDetail.TaxId.type`, and `TaxId.type` - * ⚠️ Change type of `Checkout.Session.PaymentMethodOption.Pix.setup_future_usage` and `PaymentIntent.PaymentMethodOption.Pix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')` - * Add support for new value `sunbit` on enums `ConfirmationTokenCreateParamsPaymentMethodDatum.type`, `PaymentIntentConfirmParamsPaymentMethodDatum.type`, `PaymentIntentCreateParamsPaymentMethodDatum.type`, `PaymentIntentModifyParamsPaymentMethodDatum.type`, `SetupIntentConfirmParamsPaymentMethodDatum.type`, `SetupIntentCreateParamsPaymentMethodDatum.type`, and `SetupIntentModifyParamsPaymentMethodDatum.type` - * ⚠️ Add support for new value `sunbit` on enums `ConfirmationToken.PaymentMethodPreview.type` and `PaymentMethod.type` - * Add support for new values `fo_vat`, `gi_tin`, `it_cf`, and `py_ruc` on enums `CustomerCreateParamsTaxIdDatum.type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParamsCustomerDetailTaxId.type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParamsCustomerDetailTaxId.type` - * Add support for new value `sunbit` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - * Add support for `pix` on `Invoice.PaymentSetting.PaymentMethodOption`, `InvoiceCreateParamsPaymentSettingPaymentMethodOption`, `InvoiceModifyParamsPaymentSettingPaymentMethodOption`, `Mandate.PaymentMethodDetail`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.PaymentMethodOption`, `SetupIntentConfirmParamsPaymentMethodOption`, `SetupIntentCreateParamsPaymentMethodOption`, `SetupIntentModifyParamsPaymentMethodOption`, `Subscription.PaymentSetting.PaymentMethodOption`, `SubscriptionCreateParamsPaymentSettingPaymentMethodOption`, and `SubscriptionModifyParamsPaymentSettingPaymentMethodOption` - * Add support for `upi` on `Invoice.PaymentSetting.PaymentMethodOption`, `InvoiceCreateParamsPaymentSettingPaymentMethodOption`, `InvoiceModifyParamsPaymentSettingPaymentMethodOption`, `Subscription.PaymentSetting.PaymentMethodOption`, `SubscriptionCreateParamsPaymentSettingPaymentMethodOption`, and `SubscriptionModifyParamsPaymentSettingPaymentMethodOption` - * Add support for new values `pix` and `upi` on enums `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * ⚠️ Add support for new values `pix` and `upi` on enums `Invoice.PaymentSetting.payment_method_types` and `Subscription.PaymentSetting.payment_method_types` - * Add support for `card_presence` on `Issuing.Authorization` - * Add support for `allowed_card_presences` and `blocked_card_presences` on `Issuing.Card.SpendingControl`, `Issuing.Cardholder.SpendingControl`, `issuing.CardCreateParamsSpendingControl`, `issuing.CardModifyParamsSpendingControl`, `issuing.CardholderCreateParamsSpendingControl`, and `issuing.CardholderModifyParamsSpendingControl` - * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.cancellation_reason` - * ⚠️ Add support for new value `fulfillment_error` on enum `Issuing.Card.replacement_reason` - * Add support for `amount` and `currency` on `Mandate.MultiUse` - * Add support for `amount_to_confirm` on `PaymentIntentConfirmParams` - * ⚠️ Add support for new value `sunbit` on enums `PaymentIntent.excluded_payment_method_types` and `SetupIntent.excluded_payment_method_types` - * Add support for `klarna_display_qr_code` on `PaymentIntent.NextAction` - * Add support for new value `sunbit` on enums `PaymentLinkCreateParams.payment_method_types` and `PaymentLinkModifyParams.payment_method_types` - * ⚠️ Add support for new value `sunbit` on enum `PaymentLink.payment_method_types` - * ⚠️ Add support for new values `low`, `not_assessed`, and `unknown` on enum `Radar.PaymentEvaluation.Signal.FraudulentPayment.risk_level` - * Add support for new value `account` on enum `radar.ValueListCreateParams.item_type` - * ⚠️ Add support for new value `account` on enum `Radar.ValueList.item_type` - * Add support for `moto` on `SetupAttempt.PaymentMethodDetail.Card` - * Add support for `pix_display_qr_code` on `SetupIntent.NextAction` - * Add support for new value `2026-04-22.dahlia` on enum `WebhookEndpointCreateParams.api_version` - * Add support for error codes `action_blocked` and `approval_required` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` - ## 15.1.0b2 - 2026-04-01 * Please refer to the changelog for [v15.0.1](https://github.com/stripe/stripe-python/blob/v15.0.1/CHANGELOG.md#1501---2026-04-01) ## 15.1.0b1 - 2026-03-25 +This release changes the pinned API version to `2026-03-25.preview`. -This release changes the pinned API version to `2026-03-25.preview`. It is built on top of SDK version 15.0.0 which contains breaking changes. Please review the [changelog for 15.0.0](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#1500---2026-03-25) if upgrading from older SDK versions. +It is built on top of SDK version 15.0.0 which contains breaking changes. Please review the [changelog for 15.0.0](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#1500---2026-03-25) if upgrading from older SDK versions. -* [#1774](https://github.com/stripe/stripe-python/pull/1774) Update generated code for beta -* [#1772](https://github.com/stripe/stripe-python/pull/1772) Update generated code for beta - * Release specs are identical. -* [#1742](https://github.com/stripe/stripe-python/pull/1742) Update generated code for beta +* [#1713](https://github.com/stripe/stripe-python/pull/1713) Delete API_VERSION file as it is no longer needed +* ⚠️ [#1742](https://github.com/stripe/stripe-python/pull/1742) Update generated code for beta * Add support for new resources `product_catalog.TrialOffer`, `tax.Location`, and `v2.core.BatchJob` * Add support for `create` method on resource `product_catalog.TrialOffer` * Add support for `create`, `list`, and `retrieve` methods on resource `tax.Location` @@ -491,84 +242,9 @@ This release changes the pinned API version to `2026-03-25.preview`. It is built * ⚠️ Add support for new value `currency` on enum `InvalidPaymentMethodError.invalid_param` * Add support for event notifications `V2CoreBatchJobBatchFailedEvent`, `V2CoreBatchJobCanceledEvent`, `V2CoreBatchJobCompletedEvent`, `V2CoreBatchJobCreatedEvent`, `V2CoreBatchJobReadyForUploadEvent`, `V2CoreBatchJobTimeoutEvent`, `V2CoreBatchJobUpdatedEvent`, `V2CoreBatchJobUploadTimeoutEvent`, `V2CoreBatchJobValidatingEvent`, and `V2CoreBatchJobValidationFailedEvent` with related object `v2.core.BatchJob` * Add support for error code `service_period_coupon_with_metered_tiered_item_unsupported` on `QuotePreviewInvoice.LastFinalizationError` -* [#1765](https://github.com/stripe/stripe-python/pull/1765) Merge to beta -* [#1753](https://github.com/stripe/stripe-python/pull/1753) Merge to beta -* [#1745](https://github.com/stripe/stripe-python/pull/1745) Merge to beta -* [#1713](https://github.com/stripe/stripe-python/pull/1713) Delete API_VERSION file as it is no longer needed - -## 15.0.1 - 2026-04-01 -* [#1786](https://github.com/stripe/stripe-python/pull/1786) Fix encoding two-dimensional array request params -* [#1785](https://github.com/stripe/stripe-python/pull/1785) Improve types for `metadata` and other dict-like types -* [#1780](https://github.com/stripe/stripe-python/pull/1780) Fix `str` / `repr` for `StripeObjects` with decimals & add support for plain dicts - -## 15.0.0 - 2026-03-25 - -This release changes the pinned API version to `2026-03-25.dahlia` and contains breaking changes (prefixed with ⚠️ below). There's also a [detailed migration guide](https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v15) to simplify your upgrade process. - -Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/dahlia) before upgrading. - -* ⚠️ **Breaking change:** [#1769](https://github.com/stripe/stripe-python/pull/1769) Add decimal_string coercion for v1 and v2 API fields - - All `decimal_string` fields changed type from `str` to `decimal.Decimal` in both request params and response objects. Code that reads or writes these fields as `str` will need to use `Decimal` instead. Affected fields across v1 and v2 APIs: - - **checkout.Session**: `fx_rate` - - **climate.Order**: `metric_tons`; **climate.Product**: `metric_tons_available` - - **CreditNoteLineItem**: `unit_amount_decimal` - - **InvoiceItem**: `quantity_decimal`, `unit_amount_decimal` - - **InvoiceLineItem**: `quantity_decimal`, `unit_amount_decimal` - - **issuing.Authorization** / **issuing.Transaction** (and TestHelpers): `quantity_decimal`, `unit_cost_decimal`, `gross_amount_decimal`, `local_amount_decimal`, `national_amount_decimal` - - **Plan**: `amount_decimal`, `flat_amount_decimal`, `unit_amount_decimal` - - **Price**: `unit_amount_decimal`, `flat_amount_decimal` (including `currency_options` and `tiers`) - - **v2.core.Account** / **v2.core.AccountPerson**: `percent_ownership` - - Request params on **Invoice**, **Product**, **Quote**, **Subscription**, **SubscriptionItem**, **SubscriptionSchedule**, **PaymentLink**: `unit_amount_decimal`, `flat_amount_decimal`, `quantity_decimal` (where applicable) -* [⚠️ **Breaking change:**#1767](https://github.com/stripe/stripe-python/pull/1767) Throw an error when using the wrong webhook parsing method -* ⚠️ **Breaking change:** [#1764](https://github.com/stripe/stripe-python/pull/1764) Drop support for Python 3.7 & 3.8 -* ⚠️ **Breaking change:** [#1762](https://github.com/stripe/stripe-python/pull/1762) `StripeObject` no longer inherits from `dict` - - - `StripeObject` no longer inherits from `dict`, so any `dict` methods will no longer exist, including `.get()` and notably, `.items()`. - - For convenience, it's still possible to check key presence with `'some_key' in some_obj`. To replicate `.get()` behavior, use `getattr(obj, 'some_key', None)` for now. We've got some improvements around accessing properties that may not be present planned, but `getattr` works for now. - - `.update()` has been retained for easier interaction with `metadata`, but it's not really intended for use on full objects. - - Equality between `StripeObject`s still works: it checks for equality between the same class and underlying data. - - To access the underlying data as a `dict`, call `some_obj.to_dict()`, which recursively dumps all stripe-provided classes into native Python types. This is a read-only view; changes to the output of `to_dict()` won't affect the original object. - - Write operations can still be done with dot notation (`some_obj.val = 123`) or bracket notation (`some_obj["val"] = 123`). Do that instead of trying to interact with the underlying data store, as the implementation is considered private and may change without warning in the future. - -### ⚠️ Breaking changes due to changes in the Stripe API - -* Generated changes from [#1749](https://github.com/stripe/stripe-python/pull/1749), [#1771](https://github.com/stripe/stripe-python/pull/1771), [#1773](https://github.com/stripe/stripe-python/pull/1773), [#1775](https://github.com/stripe/stripe-python/pull/1775) - * Add support for `upi_payments` on `Account.Capability`, `AccountCreateParamsCapability`, and `AccountModifyParamsCapability` - * Add support for `upi` on `Charge.PaymentMethodDetail`, `Checkout.Session.PaymentMethodOption`, `ConfirmationToken.PaymentMethodPreview`, `ConfirmationTokenCreateParamsPaymentMethodDatum`, `Mandate.PaymentMethodDetail`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntent.PaymentMethodOption`, `PaymentIntentConfirmParamsPaymentMethodDatum`, `PaymentIntentConfirmParamsPaymentMethodOption`, `PaymentIntentCreateParamsPaymentMethodDatum`, `PaymentIntentCreateParamsPaymentMethodOption`, `PaymentIntentModifyParamsPaymentMethodDatum`, `PaymentIntentModifyParamsPaymentMethodOption`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationModifyParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.PaymentMethodOption`, `SetupIntentConfirmParamsPaymentMethodDatum`, `SetupIntentConfirmParamsPaymentMethodOption`, `SetupIntentCreateParamsPaymentMethodDatum`, `SetupIntentCreateParamsPaymentMethodOption`, `SetupIntentModifyParamsPaymentMethodDatum`, `SetupIntentModifyParamsPaymentMethodOption`, and `checkout.SessionCreateParamsPaymentMethodOption` - * Add support for new value `tempo` on enums `Charge.PaymentMethodDetail.Crypto.network`, `PaymentAttemptRecord.PaymentMethodDetail.Crypto.network`, and `PaymentRecord.PaymentMethodDetail.Crypto.network` - * Add support for `integration_identifier` on `Checkout.Session` and `checkout.SessionCreateParams` - * Add support for new value `upi` on enums `PaymentIntent.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentModifyParams.excluded_payment_method_types`, `SetupIntent.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, `SetupIntentModifyParams.excluded_payment_method_types`, and `checkout.SessionCreateParams.excluded_payment_method_types` - * Add support for `crypto` on `checkout.SessionCreateParamsPaymentMethodOption` - * Add support for new value `upi` on enum `checkout.SessionCreateParams.payment_method_types` - * Add support for `pending_invoice_item_interval` on `checkout.SessionCreateParamsSubscriptionDatum` - * Add support for new values `elements`, `embedded_page`, `form`, and `hosted_page` on enums `Checkout.Session.ui_mode` and `checkout.SessionCreateParams.ui_mode` - * Add support for new value `marine_carbon_removal` on enum `Climate.Supplier.removal_pathway` - * Add support for new value `upi` on enums `ConfirmationTokenCreateParamsPaymentMethodDatum.type`, `PaymentIntentConfirmParamsPaymentMethodDatum.type`, `PaymentIntentCreateParamsPaymentMethodDatum.type`, `PaymentIntentModifyParamsPaymentMethodDatum.type`, `SetupIntentConfirmParamsPaymentMethodDatum.type`, `SetupIntentCreateParamsPaymentMethodDatum.type`, and `SetupIntentModifyParamsPaymentMethodDatum.type` - * Add support for new value `upi` on enums `ConfirmationToken.PaymentMethodPreview.type` and `PaymentMethod.type` - * Add support for `metadata` on `CreditNoteCreateParamsLine`, `CreditNoteLineItem`, `CreditNotePreviewLinesParamsLine`, and `CreditNotePreviewParamsLine` - * Add support for new value `upi` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - * Add support for `quantity_decimal` on `InvoiceAddLinesParamsLine`, `InvoiceCreatePreviewParamsInvoiceItem`, `InvoiceItemCreateParams`, `InvoiceItemModifyParams`, `InvoiceItem`, `InvoiceLineItemModifyParams`, `InvoiceLineItem`, and `InvoiceUpdateLinesParamsLine` - * ⚠️ Add support for `level` on `issuing.AuthorizationCreateParamsRiskAssessmentCardTestingRisk` and `issuing.AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk` - * ⚠️ Remove support for `risk_level` on `issuing.AuthorizationCreateParamsRiskAssessmentCardTestingRisk` and `issuing.AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk` - * Add support for `lifecycle_controls` on `Issuing.Card` and `issuing.CardCreateParams` - * ⚠️ Change type of `Issuing.Token.NetworkDatum.Visa.card_reference_id` from `string` to `nullable(string)` - * ⚠️ Change type of `PaymentAttemptRecord.PaymentMethodDetail.Card.brand` and `PaymentRecord.PaymentMethodDetail.Card.brand` from `enum` to `nullable(enum)` - * ⚠️ Change type of `PaymentAttemptRecord.PaymentMethodDetail.Card.exp_month` and `PaymentRecord.PaymentMethodDetail.Card.exp_month` from `longInteger` to `nullable(longInteger)` - * ⚠️ Change type of `PaymentAttemptRecord.PaymentMethodDetail.Card.exp_year` and `PaymentRecord.PaymentMethodDetail.Card.exp_year` from `longInteger` to `nullable(longInteger)` - * ⚠️ Change type of `PaymentAttemptRecord.PaymentMethodDetail.Card.funding` and `PaymentRecord.PaymentMethodDetail.Card.funding` from `enum('credit'|'debit'|'prepaid'|'unknown')` to `nullable(enum('credit'|'debit'|'prepaid'|'unknown'))` - * ⚠️ Change type of `PaymentAttemptRecord.PaymentMethodDetail.Card.last4` and `PaymentRecord.PaymentMethodDetail.Card.last4` from `string` to `nullable(string)` - * ⚠️ Change type of `PaymentAttemptRecord.PaymentMethodDetail.Card.moto` and `PaymentRecord.PaymentMethodDetail.Card.moto` from `boolean` to `nullable(boolean)` - * Add support for `cryptogram`, `electronic_commerce_indicator`, `exemption_indicator_applied`, and `exemption_indicator` on `PaymentAttemptRecord.PaymentMethodDetail.Card.ThreeDSecure` and `PaymentRecord.PaymentMethodDetail.Card.ThreeDSecure` - * Add support for `upi_handle_redirect_or_display_qr_code` on `PaymentIntent.NextAction` and `SetupIntent.NextAction` - * Add support for new value `upi` on enums `PaymentLink.payment_method_types`, `PaymentLinkCreateParams.payment_method_types`, and `PaymentLinkModifyParams.payment_method_types` - * Add support for `recommended_action` and `signals` on `Radar.PaymentEvaluation` - * ⚠️ Remove support for `insights` on `Radar.PaymentEvaluation` - * Add support for new value `crypto_fingerprint` on enums `Radar.ValueList.item_type` and `radar.ValueListCreateParams.item_type` - * Add support for new value `canceled_by_retention_policy` on enum `Subscription.CancellationDetail.reason` - * Add support for new value `2026-03-25.dahlia` on enum `WebhookEndpointCreateParams.api_version` - * ⚠️ Change type of `V2.Core.EventDestination.events_from` and `v2.core.EventDestinationCreateParams.events_from` from `enum('other_accounts'|'self')` to `string` - * Add support for error code `service_period_coupon_with_metered_tiered_item_unsupported` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1756](https://github.com/stripe/stripe-python/pull/1756) Add runtime support for V2 int64 string-encoded fields +* [#1772](https://github.com/stripe/stripe-python/pull/1772) Update generated code for beta + * Release specs are identical. +* [#1774](https://github.com/stripe/stripe-python/pull/1774) Update generated code for beta ## 14.5.0b1 - 2026-02-25 This release changes the pinned API version to `2026-02-25.preview`. @@ -586,44 +262,10 @@ This release changes the pinned API version to `2026-02-25.preview`. * Change `V2.MoneyManagement.Transaction.flow` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.flow` to be optional * Add support for error codes `storer_capability_missing` and `storer_capability_not_active` on `QuotePreviewInvoice.LastFinalizationError` -## 14.4.1 - 2026-03-06 -* [#1748](https://github.com/stripe/stripe-python/pull/1748) Add Stripe-Request-Trigger header -* [#1743](https://github.com/stripe/stripe-python/pull/1743) Add agent information to UserAgent - -## 14.4.0 - 2026-02-25 -This release changes the pinned API version to `2026-02-25.clover`. - -* [#1737](https://github.com/stripe/stripe-python/pull/1737) Allow AIOHTTPClient to accept user-provided session or connector. Fixes [#1736](https://github.com/stripe/stripe-python/pull/1736) -* [#1732](https://github.com/stripe/stripe-python/pull/1732) Update generated code - * Add support for new resources `reserve.Hold`, `reserve.Plan`, and `reserve.Release` - * Add support for `location` and `reader` on `Charge.PaymentMethodDetail.CardPresent`, `Charge.PaymentMethodDetail.InteracPresent`, `ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetail.CardPresent`, `PaymentAttemptRecord.PaymentMethodDetail.CardPresent`, `PaymentAttemptRecord.PaymentMethodDetail.InteracPresent`, `PaymentMethod.Card.GeneratedFrom.PaymentMethodDetail.CardPresent`, `PaymentRecord.PaymentMethodDetail.CardPresent`, and `PaymentRecord.PaymentMethodDetail.InteracPresent` - * Add support for new value `lk_vat` on enums `Checkout.Session.CustomerDetail.TaxId.type`, `Invoice.CustomerTaxId.type`, `Tax.Calculation.CustomerDetail.TaxId.type`, `Tax.Transaction.CustomerDetail.TaxId.type`, and `TaxId.type` - * Add support for new value `lk_vat` on enums `CustomerCreateParamsTaxIdDatum.type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParamsCustomerDetailTaxId.type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParamsCustomerDetailTaxId.type` - * Add support for new values `reserve.hold.created`, `reserve.hold.updated`, `reserve.plan.created`, `reserve.plan.disabled`, `reserve.plan.expired`, `reserve.plan.updated`, and `reserve.release.created` on enum `Event.type` - * Add support for new values `terminal_wifi_certificate` and `terminal_wifi_private_key` on enums `File.purpose` and `FileListParams.purpose` - * Add support for new values `terminal_wifi_certificate` and `terminal_wifi_private_key` on enum `FileCreateParams.purpose` - * Add support for new value `pay_by_bank` on enums `Invoice.PaymentSetting.payment_method_types`, `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * Add support for `display_name` and `service_user_number` on `Mandate.PaymentMethodDetail.BacsDebit` - * Change type of `PaymentAttemptRecord.PaymentMethodDetail.Boleto.tax_id` and `PaymentRecord.PaymentMethodDetail.Boleto.tax_id` from `string` to `nullable(string)` - * Change type of `PaymentAttemptRecord.PaymentMethodDetail.UsBankAccount.expected_debit_date` and `PaymentRecord.PaymentMethodDetail.UsBankAccount.expected_debit_date` from `nullable(string)` to `string` - * Add support for `transaction_purpose` on `PaymentIntent.PaymentMethodOption.UsBankAccount`, `PaymentIntentConfirmParamsPaymentMethodOptionUsBankAccount`, `PaymentIntentCreateParamsPaymentMethodOptionUsBankAccount`, and `PaymentIntentModifyParamsPaymentMethodOptionUsBankAccount` - * Add support for `optional_items` on `PaymentLinkModifyParams` - * Remove support for unused `card_issuer_decline` on `Radar.PaymentEvaluation.Insight` - * Add support for `payment_behavior` on `SubscriptionItemDeleteParams` - * Add support for `lk` on `Tax.Registration.CountryOption` and `tax.RegistrationCreateParamsCountryOption` - * Add support for `cellular` and `stripe_s710` on `Terminal.Configuration`, `terminal.ConfigurationCreateParams`, and `terminal.ConfigurationModifyParams` - * Add support for new values `simulated_stripe_s710` and `stripe_s710` on enums `Terminal.Reader.device_type` and `terminal.ReaderListParams.device_type` - * Add support for new values `reserve.hold.created`, `reserve.hold.updated`, `reserve.plan.created`, `reserve.plan.disabled`, `reserve.plan.expired`, `reserve.plan.updated`, and `reserve.release.created` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointModifyParams.enabled_events` - * Add support for new value `2026-02-25.clover` on enum `WebhookEndpointCreateParams.api_version` - * Add support for snapshot events `reserve.hold.created` and `reserve.hold.updated` with resource `reserve.Hold` - * Add support for snapshot events `reserve.plan.created`, `reserve.plan.disabled`, `reserve.plan.expired`, and `reserve.plan.updated` with resource `reserve.Plan` - * Add support for snapshot event `reserve.release.created` with resource `reserve.Release` - * Add support for error codes `storer_capability_missing` and `storer_capability_not_active` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1731](https://github.com/stripe/stripe-python/pull/1731) Added instruction to update CA certificates in README. - ## 14.4.0b1 - 2026-01-28 This release changes the pinned API version to `2026-01-28.preview`. +* [#1701](https://github.com/stripe/stripe-python/pull/1701) Add EventNotificationHandler example * [#1719](https://github.com/stripe/stripe-python/pull/1719) Update generated code for beta * Add support for new resource `financial_connections.Authorization` * Add support for `retrieve` method on resource `financial_connections.Authorization` @@ -655,40 +297,6 @@ This release changes the pinned API version to `2026-01-28.preview`. * Add support for error codes `blocked_payout_method` and `unsupported_payout_method` on `BlockedByStripeError` * Add support for error code `invalid_payout_method_data` on `InvalidPayoutMethodError` * Add support for error code `limit_payout_method` on `QuotaExceededError` -* [#1701](https://github.com/stripe/stripe-python/pull/1701) Add EventNotificationHandler example - -## 14.3.0 - 2026-01-28 -This release changes the pinned API version to `2026-01-28.clover`. - -* [#1725](https://github.com/stripe/stripe-python/pull/1725) Update generated code - * Add support for new resource `radar.PaymentEvaluation` - * Add support for `create` method on resource `radar.PaymentEvaluation` - * Add support for `adjustable_quantity` on `LineItem` - * Add support for new value `risk_reserved` on enum `BalanceTransaction.balance_type` - * Add support for new values `reserve_hold` and `reserve_release` on enum `BalanceTransaction.type` - * Add support for new values `2.3.0` and `2.3.1` on enums `Charge.PaymentMethodDetail.Card.ThreeDSecure.version`, `PaymentIntentConfirmParamsPaymentMethodOptionCardThreeDSecure.version`, `PaymentIntentCreateParamsPaymentMethodOptionCardThreeDSecure.version`, `PaymentIntentModifyParamsPaymentMethodOptionCardThreeDSecure.version`, `SetupAttempt.PaymentMethodDetail.Card.ThreeDSecure.version`, `SetupIntentConfirmParamsPaymentMethodOptionCardThreeDSecure.version`, `SetupIntentCreateParamsPaymentMethodOptionCardThreeDSecure.version`, and `SetupIntentModifyParamsPaymentMethodOptionCardThreeDSecure.version` - * Add support for new value `adyen` on enums `Charge.PaymentMethodDetail.Ideal.bank`, `ConfirmationToken.PaymentMethodPreview.Ideal.bank`, `ConfirmationTokenCreateParamsPaymentMethodDatumIdeal.bank`, `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bank`, `PaymentIntentConfirmParamsPaymentMethodDatumIdeal.bank`, `PaymentIntentCreateParamsPaymentMethodDatumIdeal.bank`, `PaymentIntentModifyParamsPaymentMethodDatumIdeal.bank`, `PaymentMethod.Ideal.bank`, `PaymentMethodCreateParamsIdeal.bank`, `PaymentRecord.PaymentMethodDetail.Ideal.bank`, `SetupAttempt.PaymentMethodDetail.Ideal.bank`, `SetupIntentConfirmParamsPaymentMethodDatumIdeal.bank`, `SetupIntentCreateParamsPaymentMethodDatumIdeal.bank`, and `SetupIntentModifyParamsPaymentMethodDatumIdeal.bank` - * Add support for new value `ADYBNL2A` on enums `Charge.PaymentMethodDetail.Ideal.bic`, `ConfirmationToken.PaymentMethodPreview.Ideal.bic`, `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bic`, `PaymentMethod.Ideal.bic`, `PaymentRecord.PaymentMethodDetail.Ideal.bic`, and `SetupAttempt.PaymentMethodDetail.Ideal.bic` - * Add support for new value `pl_nip` on enums `Checkout.Session.CustomerDetail.TaxId.type`, `Invoice.CustomerTaxId.type`, `Tax.Calculation.CustomerDetail.TaxId.type`, `Tax.Transaction.CustomerDetail.TaxId.type`, and `TaxId.type` - * Add support for new value `pl_nip` on enums `CustomerCreateParamsTaxIdDatum.type`, `CustomerCreateTaxIdParams.type`, `InvoiceCreatePreviewParamsCustomerDetailTaxId.type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParamsCustomerDetailTaxId.type` - * Change `Invoice.PaymentSetting.PaymentMethodOption.payto` and `Subscription.PaymentSetting.PaymentMethodOption.payto` to be required - * Add support for `enforce_arithmetic_validation` on `PaymentIntentCaptureParamsAmountDetail`, `PaymentIntentConfirmParamsAmountDetail`, `PaymentIntentCreateParamsAmountDetail`, `PaymentIntentIncrementAuthorizationParamsAmountDetail`, and `PaymentIntentModifyParamsAmountDetail` - * Add support for `error` on `PaymentIntent.AmountDetail` - * Remove support for `bgn` on `Terminal.Configuration.Tipping`, `terminal.ConfigurationCreateParamsTipping`, and `terminal.ConfigurationModifyParamsTipping` - * Add support for `topup` on `Treasury.ReceivedDebit.LinkedFlow` - * Add support for `contact_phone` on `V2.Core.Account`, `v2.core.AccountCreateParams`, `v2.core.AccountModifyParams`, and `v2.core.AccountTokenCreateParams` - * Add support for `registration_date` on `V2.Core.Account.Identity.BusinessDetail`, `v2.core.AccountCreateParamsIdentityBusinessDetail`, `v2.core.AccountModifyParamsIdentityBusinessDetail`, and `v2.core.AccountTokenCreateParamsIdentityBusinessDetail` - * Add support for new value `gb_vat` on enums `V2.Core.Account.Identity.BusinessDetail.IdNumber.type`, `v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type`, `v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type`, and `v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type` - * Add support for error code `request_blocked` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1722](https://github.com/stripe/stripe-python/pull/1722) Add documentation for undocumented API parameters - -## 14.2.0 - 2026-01-16 -* [#1720](https://github.com/stripe/stripe-python/pull/1720) Update generated code - * Add support for event notifications `V2CoreAccountClosedEvent`, `V2CoreAccountCreatedEvent`, `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingDefaultsUpdatedEvent`, `V2CoreAccountIncludingFutureRequirementsUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, `V2CoreAccountIncludingRequirementsUpdatedEvent`, and `V2CoreAccountUpdatedEvent` with related object `v2.core.Account` - * Add support for event notification `V2CoreAccountLinkReturnedEvent` - * Add support for event notifications `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `v2.core.AccountPerson` -* [#1687](https://github.com/stripe/stripe-python/pull/1687) Fix DeprecationWarning when encoding StripeObject metadata (fixes #1651) -* [#1703](https://github.com/stripe/stripe-python/pull/1703) Update ci to run on Python 3.14 as well ## 14.2.0b1 - 2025-12-16 This release changes the pinned API version to `2025-12-15.preview`. @@ -736,48 +344,6 @@ This release changes the pinned API version to `2025-12-15.preview`. * Remove support for error type `RateLimitError` * Add support for error code `account_token_required_for_v2_account` on `QuotePreviewInvoice.LastFinalizationError` -## 14.1.0 - 2025-12-16 -This release changes the pinned API version to `2025-12-15.clover`. - -* [#1696](https://github.com/stripe/stripe-python/pull/1696) Update generated code - * Add support for new resources `v2.core.AccountLink`, `v2.core.AccountPersonToken`, `v2.core.AccountPerson`, `v2.core.AccountToken`, and `v2.core.Account` - * Add support for `create` and `retrieve` methods on resources `v2.core.AccountPersonToken` and `v2.core.AccountToken` - * Add support for `create` method on resource `v2.core.AccountLink` - * Add support for `close`, `create`, `list`, `modify`, and `retrieve` methods on resource `v2.core.Account` - * Add support for `create`, `delete`, `list`, `modify`, and `retrieve` methods on resource `v2.core.AccountPerson` - * Add support for `customer_account` on `Billing.CreditBalanceSummary`, `Billing.CreditGrant`, `BillingPortal.Session`, `CashBalance`, `Checkout.Session`, `ConfirmationToken.PaymentMethodPreview`, `CreditNoteListParams`, `CreditNote`, `CustomerBalanceTransaction`, `CustomerCashBalanceTransaction`, `CustomerSessionCreateParams`, `CustomerSession`, `Customer`, `Discount`, `FinancialConnections.Account.AccountHolder`, `FinancialConnections.Session.AccountHolder`, `InvoiceCreateParams`, `InvoiceCreatePreviewParams`, `InvoiceItemCreateParams`, `InvoiceItemListParams`, `InvoiceItem`, `InvoiceListParams`, `Invoice`, `PaymentIntentCreateParams`, `PaymentIntentListParams`, `PaymentIntentModifyParams`, `PaymentIntent`, `PaymentMethodAttachParams`, `PaymentMethodListParams`, `PaymentMethod`, `PromotionCodeCreateParams`, `PromotionCodeListParams`, `PromotionCode`, `QuoteCreateParams`, `QuoteListParams`, `QuoteModifyParams`, `Quote`, `SetupAttempt`, `SetupIntentCreateParams`, `SetupIntentListParams`, `SetupIntentModifyParams`, `SetupIntent`, `SubscriptionCreateParams`, `SubscriptionListParams`, `SubscriptionScheduleCreateParams`, `SubscriptionScheduleListParams`, `SubscriptionSchedule`, `Subscription`, `TaxId.Owner`, `TaxIdCreateParamsOwner`, `TaxIdListParamsOwner`, `TaxId`, `billing.CreditBalanceSummaryRetrieveParams`, `billing.CreditBalanceTransactionListParams`, `billing.CreditGrantCreateParams`, `billing.CreditGrantListParams`, `billing_portal.SessionCreateParams`, `checkout.SessionCreateParams`, `checkout.SessionListParams`, `financial_connections.AccountListParamsAccountHolder`, and `financial_connections.SessionCreateParamsAccountHolder` - * Add support for `metadata` on `LineItem` and `checkout.SessionCreateParamsLineItem` - * Add support for `payto_payments` on `Account.Capability`, `AccountCreateParamsCapability`, and `AccountModifyParamsCapability` - * Add support for `signer` on `AccountCreateParamsDocumentProofOfRegistration`, `AccountCreateParamsDocumentProofOfUltimateBeneficialOwnership`, `AccountModifyParamsDocumentProofOfRegistration`, and `AccountModifyParamsDocumentProofOfUltimateBeneficialOwnership` - * Change `CustomerSessionCreateParams.customer`, `InvoiceItemCreateParams.customer`, `PaymentMethodAttachParams.customer`, `SubscriptionCreateParams.customer`, `billing.CreditBalanceSummaryRetrieveParams.customer`, `billing.CreditBalanceTransactionListParams.customer`, `billing.CreditGrantCreateParams.customer`, and `billing_portal.SessionCreateParams.customer` to be optional - * Add support for `billing_cycle_anchor` on `BillingPortal.Configuration.Feature.SubscriptionUpdate`, `billing_portal.ConfigurationCreateParamsFeatureSubscriptionUpdate`, and `billing_portal.ConfigurationModifyParamsFeatureSubscriptionUpdate` - * Add support for `payto` on `Charge.PaymentMethodDetail`, `Checkout.Session.PaymentMethodOption`, `ConfirmationToken.PaymentMethodPreview`, `ConfirmationTokenCreateParamsPaymentMethodDatum`, `Invoice.PaymentSetting.PaymentMethodOption`, `InvoiceCreateParamsPaymentSettingPaymentMethodOption`, `InvoiceModifyParamsPaymentSettingPaymentMethodOption`, `Mandate.PaymentMethodDetail`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntent.PaymentMethodOption`, `PaymentIntentConfirmParamsPaymentMethodDatum`, `PaymentIntentConfirmParamsPaymentMethodOption`, `PaymentIntentCreateParamsPaymentMethodDatum`, `PaymentIntentCreateParamsPaymentMethodOption`, `PaymentIntentModifyParamsPaymentMethodDatum`, `PaymentIntentModifyParamsPaymentMethodOption`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationModifyParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethodModifyParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.PaymentMethodOption`, `SetupIntentConfirmParamsPaymentMethodDatum`, `SetupIntentConfirmParamsPaymentMethodOption`, `SetupIntentCreateParamsPaymentMethodDatum`, `SetupIntentCreateParamsPaymentMethodOption`, `SetupIntentModifyParamsPaymentMethodDatum`, `SetupIntentModifyParamsPaymentMethodOption`, `Subscription.PaymentSetting.PaymentMethodOption`, `SubscriptionCreateParamsPaymentSettingPaymentMethodOption`, `SubscriptionModifyParamsPaymentSettingPaymentMethodOption`, and `checkout.SessionCreateParamsPaymentMethodOption` - * Add support for `expected_debit_date` on `Charge.PaymentMethodDetail.AcssDebit`, `Charge.PaymentMethodDetail.AuBecsDebit`, `Charge.PaymentMethodDetail.BacsDebit`, `Charge.PaymentMethodDetail.NzBankAccount`, `Charge.PaymentMethodDetail.SepaDebit`, `Charge.PaymentMethodDetail.UsBankAccount`, `PaymentAttemptRecord.PaymentMethodDetail.AcssDebit`, `PaymentAttemptRecord.PaymentMethodDetail.AuBecsDebit`, `PaymentAttemptRecord.PaymentMethodDetail.BacsDebit`, `PaymentAttemptRecord.PaymentMethodDetail.NzBankAccount`, `PaymentAttemptRecord.PaymentMethodDetail.SepaDebit`, `PaymentAttemptRecord.PaymentMethodDetail.UsBankAccount`, `PaymentRecord.PaymentMethodDetail.AcssDebit`, `PaymentRecord.PaymentMethodDetail.AuBecsDebit`, `PaymentRecord.PaymentMethodDetail.BacsDebit`, `PaymentRecord.PaymentMethodDetail.NzBankAccount`, `PaymentRecord.PaymentMethodDetail.SepaDebit`, and `PaymentRecord.PaymentMethodDetail.UsBankAccount` - * Add support for new value `mollie` on enums `Charge.PaymentMethodDetail.Ideal.bank`, `ConfirmationToken.PaymentMethodPreview.Ideal.bank`, `ConfirmationTokenCreateParamsPaymentMethodDatumIdeal.bank`, `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bank`, `PaymentIntentConfirmParamsPaymentMethodDatumIdeal.bank`, `PaymentIntentCreateParamsPaymentMethodDatumIdeal.bank`, `PaymentIntentModifyParamsPaymentMethodDatumIdeal.bank`, `PaymentMethod.Ideal.bank`, `PaymentMethodCreateParamsIdeal.bank`, `PaymentRecord.PaymentMethodDetail.Ideal.bank`, `SetupAttempt.PaymentMethodDetail.Ideal.bank`, `SetupIntentConfirmParamsPaymentMethodDatumIdeal.bank`, `SetupIntentCreateParamsPaymentMethodDatumIdeal.bank`, and `SetupIntentModifyParamsPaymentMethodDatumIdeal.bank` - * Add support for new value `MLLENL2A` on enums `Charge.PaymentMethodDetail.Ideal.bic`, `ConfirmationToken.PaymentMethodPreview.Ideal.bic`, `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bic`, `PaymentMethod.Ideal.bic`, `PaymentRecord.PaymentMethodDetail.Ideal.bic`, and `SetupAttempt.PaymentMethodDetail.Ideal.bic` - * Add support for new value `payto` on enums `PaymentIntent.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentModifyParams.excluded_payment_method_types`, `SetupIntent.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, `SetupIntentModifyParams.excluded_payment_method_types`, and `checkout.SessionCreateParams.excluded_payment_method_types` - * Add support for new value `payto` on enum `checkout.SessionCreateParams.payment_method_types` - * Add support for `line_items` on `checkout.SessionModifyParams` - * Add support for new value `payto` on enums `ConfirmationTokenCreateParamsPaymentMethodDatum.type`, `PaymentIntentConfirmParamsPaymentMethodDatum.type`, `PaymentIntentCreateParamsPaymentMethodDatum.type`, `PaymentIntentModifyParamsPaymentMethodDatum.type`, `SetupIntentConfirmParamsPaymentMethodDatum.type`, `SetupIntentCreateParamsPaymentMethodDatum.type`, and `SetupIntentModifyParamsPaymentMethodDatum.type` - * Add support for new value `payto` on enums `ConfirmationToken.PaymentMethodPreview.type` and `PaymentMethod.type` - * Add support for new value `payto` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - * Add support for `invoice` on `CustomerListCustomerBalanceTransactionParams` - * Add support for `related_customer_account` on `Identity.VerificationSession`, `identity.VerificationSessionCreateParams`, and `identity.VerificationSessionListParams` - * Change type of `InvoiceItem.Pricing.PriceDetail.price` and `InvoiceLineItem.Pricing.PriceDetail.price` from `string` to `expandable($Price)` - * Add support for new value `payto` on enums `Invoice.PaymentSetting.payment_method_types`, `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * Add support for `subtotal` on `InvoiceLineItem` - * Add support for `authorization_code`, `description`, `iin`, `installments`, `issuer`, `network_advice_code`, `network_decline_code`, and `stored_credential_usage` on `PaymentAttemptRecord.PaymentMethodDetail.Card` and `PaymentRecord.PaymentMethodDetail.Card` - * Change `PaymentIntent.transfer_data` to be optional - * Add support for new value `payto` on enums `PaymentLink.payment_method_types`, `PaymentLinkCreateParams.payment_method_types`, and `PaymentLinkModifyParams.payment_method_types` - * Add support for `allow_redisplay` on `PaymentMethodListParams` - * Add support for `reported_by` on `PaymentRecord` - * Change `Product.tax_code` to be optional - * Add support for new values `2025-12-15.clover` and `2026-01-28.clover` on enum `WebhookEndpointCreateParams.api_version` - * Add support for `changes` on `V2.Core.Event` - * Add support for error code `account_token_required_for_v2_account` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1692](https://github.com/stripe/stripe-python/pull/1692) Updated bundled CA certificates -* [#1676](https://github.com/stripe/stripe-python/pull/1676) Add create_async method to EphemeralKey - ## 14.1.0b1 - 2025-11-18 This release changes the pinned API version to `2025-11-17.preview`. @@ -812,50 +378,13 @@ This release changes the pinned API version to `2025-11-17.preview`. * Add support for `person_token` on `v2.core.AccountPersonCreateParams` and `v2.core.AccountPersonModifyParams` * Add support for thin event `V2CoreHealthEventGenerationFailureResolvedEvent` * Remove support for thin events `V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent`, `V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent`, `V2PaymentsOffSessionPaymentCanceledEvent`, `V2PaymentsOffSessionPaymentCreatedEvent`, `V2PaymentsOffSessionPaymentFailedEvent`, `V2PaymentsOffSessionPaymentRequiresCaptureEvent`, and `V2PaymentsOffSessionPaymentSucceededEvent` with related object `v2.payments.OffSessionPayment` -* [#1670](https://github.com/stripe/stripe-python/pull/1670) Ramya/merge python beta - -## 14.0.1 - 2025-11-21 -* [#1684](https://github.com/stripe/stripe-python/pull/1684) Update generated code - * `stripe.error` module is now accessible globally. Fixes [#1682](https://github.com/stripe/stripe-python/issues/1682) -* [#1681](https://github.com/stripe/stripe-python/pull/1681) Throw a specific error when accessing `payment_intent` property on `Invoice` object to ease debugging. - -## 14.0.0 - 2025-11-18 -This release changes the pinned API version to `2025-11-17.clover`. - -* [#1673](https://github.com/stripe/stripe-python/pull/1673) Update generated code - * ⚠️ Remove support for `gt`, `gte`, `lt`, and `lte` on `v2.core.EventListParams` in favor of `created`. -* [#1669](https://github.com/stripe/stripe-python/pull/1669) Update v2 array parameter serialization to use indexed format - - `Retrieve` and `List` calls for `/v2` endpoints now use indexed format (e.g., `?include[0]=foo&include[1]=bar`) instead of repeated parameter format (e.g., `?include=foo&include=bar`) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former. -* [#1667](https://github.com/stripe/stripe-python/pull/1667) Update generated code - * Add support for new resources `tax.Association` and `terminal.OnboardingLink` - * Add support for `find` method on resource `tax.Association` - * Add support for `create` method on resource `terminal.OnboardingLink` - * Add support for `payment_method_configuration` on `BillingPortal.Configuration.Feature.PaymentMethodUpdate` - * Add support for `transaction_id` on `Charge.PaymentMethodDetail.Ideal`, `PaymentAttemptRecord.PaymentMethodDetail.Ideal`, and `PaymentRecord.PaymentMethodDetail.Ideal` - * Add support for new value `finom` on enums `Charge.PaymentMethodDetail.Ideal.bank`, `ConfirmationToken.PaymentMethodPreview.Ideal.bank`, `ConfirmationTokenCreateParamsPaymentMethodDatumIdeal.bank`, `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bank`, `PaymentIntentConfirmParamsPaymentMethodDatumIdeal.bank`, `PaymentIntentCreateParamsPaymentMethodDatumIdeal.bank`, `PaymentIntentModifyParamsPaymentMethodDatumIdeal.bank`, `PaymentMethod.Ideal.bank`, `PaymentMethodCreateParamsIdeal.bank`, `PaymentRecord.PaymentMethodDetail.Ideal.bank`, `SetupAttempt.PaymentMethodDetail.Ideal.bank`, `SetupIntentConfirmParamsPaymentMethodDatumIdeal.bank`, `SetupIntentCreateParamsPaymentMethodDatumIdeal.bank`, and `SetupIntentModifyParamsPaymentMethodDatumIdeal.bank` - * Add support for new value `FNOMNL22` on enums `Charge.PaymentMethodDetail.Ideal.bic`, `ConfirmationToken.PaymentMethodPreview.Ideal.bic`, `PaymentAttemptRecord.PaymentMethodDetail.Ideal.bic`, `PaymentMethod.Ideal.bic`, `PaymentRecord.PaymentMethodDetail.Ideal.bic`, and `SetupAttempt.PaymentMethodDetail.Ideal.bic` - * Add support for new value `tokenized_account_number_deactivated` on enums `ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetail.Blocked.reason` and `PaymentMethod.UsBankAccount.StatusDetail.Blocked.reason` - * Add support for `created` on `CustomerListCustomerBalanceTransactionParams` and `InvoicePaymentListParams` - * Add support for new values `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` on enum `Event.type` - * Add support for `account_numbers` on `FinancialConnections.Account` - * Change type of `FinancialConnections.Session.client_secret` from `string` to `nullable(string)` - * Add support for `fraud_risk` on `issuing.AuthorizationCreateParamsRiskAssessment` - * Add support for `latest_fraud_warning` on `Issuing.Card` - * Add support for `hooks` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentModifyParams`, and `PaymentIntent` - * Add support for `mb_way` and `twint` on `Refund.DestinationDetail` - * Add support for new values `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointModifyParams.enabled_events` - * Add support for snapshot events `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` with resource `financial_connections.Account` - -## 13.2.0 - 2025-11-05 -* [#1662](https://github.com/stripe/stripe-python/pull/1662) Update generated code - * Add support for `capture_method` on `PaymentIntent.PaymentMethodOption.CardPresent`, `PaymentIntentConfirmParamsPaymentMethodOptionCardPresent`, `PaymentIntentCreateParamsPaymentMethodOptionCardPresent`, and `PaymentIntentModifyParamsPaymentMethodOptionCardPresent` ## 13.2.0b1 - 2025-10-29 - This release changes the pinned API version to `2025-10-29.preview`. -* [#1655](https://github.com/stripe/stripe-python/pull/1655) Update generated code for beta - * Add support for `crypto_storer` on `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` +* [#1617](https://github.com/stripe/stripe-python/pull/1617) Update generated code for beta + * Add support for `last_seen_at` on `Terminal.Reader` + * Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version` * [#1624](https://github.com/stripe/stripe-python/pull/1624) Update generated code for beta * Add support for `modify` method on resource `v2.money_management.FinancialAccount` * Add support for `confirm_microdeposits`, `list`, and `send_microdeposits` methods on resource `v2.core.vault.UsBankAccount` @@ -882,83 +411,45 @@ This release changes the pinned API version to `2025-10-29.preview`. * Add support for error codes `blocked_payout_method_crypto_wallet` and `unsupported_payout_method_crypto_wallet` on `BlockedByStripeError` * Add support for error code `outbound_flow_from_closed_financial_account_unsupported` on `FeatureNotEnabledError` * Add support for error code `limit_payout_method_crypto_wallet` on `QuotaExceededError` -* [#1617](https://github.com/stripe/stripe-python/pull/1617) Update generated code for beta - * Add support for `last_seen_at` on `Terminal.Reader` - * Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version` - -## 13.1.2 - 2025-11-04 -* [#1661](https://github.com/stripe/stripe-python/pull/1661) Add support for value `payment_record` to enum `InvoicePayment.payment.type` - -## 13.1.1 - 2025-10-31 -* [#1660](https://github.com/stripe/stripe-python/pull/1660) Fix `stripe-context` header not being included in paged list requests +* [#1655](https://github.com/stripe/stripe-python/pull/1655) Update generated code for beta + * Add support for `crypto_storer` on `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` ## 13.1.1b1 - 2025-10-03 * [#1617](https://github.com/stripe/stripe-python/pull/1617) Update generated code for beta * Add support for `last_seen_at` on `Terminal.Reader` * Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version` -## 13.1.0 - 2025-10-29 - -This release changes the pinned API version to `2025-10-29.clover`. - -* [#1656](https://github.com/stripe/stripe-python/pull/1656) Update generated code - * Improve docs for PaymentIntent related endpoints -* [#1650](https://github.com/stripe/stripe-python/pull/1650) Update generated code - * Add support for new resources `PaymentAttemptRecord`, `PaymentIntentAmountDetailsLineItem`, and `PaymentRecord` - * Add support for `list` and `retrieve` methods on resource `PaymentAttemptRecord` - * Add support for `report_payment_attempt_canceled`, `report_payment_attempt_failed`, `report_payment_attempt_guaranteed`, `report_payment_attempt_informational`, `report_payment_attempt`, `report_payment`, `report_refund`, and `retrieve` methods on resource `PaymentRecord` - * Add support for `list` method on resource `PaymentIntentAmountDetailsLineItem` - * Add support for `representative_declaration` on `Account.Company`, `AccountCreateParamsCompany`, `AccountModifyParamsCompany`, and `TokenCreateParamsAccountCompany` - * Change `billing.CreditGrantCreateParams.category` to be optional - * Add support for `payment_method_configuration` on `billing_portal.ConfigurationCreateParamsFeaturePaymentMethodUpdate` and `billing_portal.ConfigurationModifyParamsFeaturePaymentMethodUpdate` - * Add support for new value `solana` on enum `Charge.PaymentMethodDetail.Crypto.network` - * Add support for new value `mb_way` on enum `checkout.SessionCreateParams.excluded_payment_method_types` - * Add support for `twint` on `Checkout.Session.PaymentMethodOption` and `checkout.SessionCreateParamsPaymentMethodOption` - * Add support for new value `mb_way` on enum `checkout.SessionCreateParams.payment_method_types` - * Add support for new value `custom` on enums `ConfirmationToken.PaymentMethodPreview.type` and `PaymentMethod.type` - * Add support for `payment_record_refund` and `type` on `CreditNote.Refund`, `CreditNoteCreateParamsRefund`, `CreditNotePreviewLinesParamsRefund`, and `CreditNotePreviewParamsRefund` - * Add support for `customer_sheet` and `mobile_payment_element` on `CustomerSession.Component` and `CustomerSessionCreateParamsComponent` - * Add support for new value `custom` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - * Add support for `provider` on `Customer.Tax` - * Add support for new values `balance_settings.updated` and `invoice.payment_attempt_required` on enum `Event.type` - * Add support for new value `platform_terms_of_service` on enums `File.purpose` and `FileListParams.purpose` - * Add support for new value `platform_terms_of_service` on enum `FileCreateParams.purpose` - * Add support for `payment_record` on `InvoiceAttachPaymentParams`, `InvoicePayment.Payment`, and `InvoicePaymentListParamsPayment` - * Change type of `InvoicePaymentListParamsPayment.type` from `literal('payment_intent')` to `enum('payment_intent'|'payment_record')` - * Add support for new value `custom` on enums `Invoice.PaymentSetting.payment_method_types`, `InvoiceCreateParamsPaymentSetting.payment_method_types`, `InvoiceModifyParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, `SubscriptionCreateParamsPaymentSetting.payment_method_types`, and `SubscriptionModifyParamsPaymentSetting.payment_method_types` - * Add support for `amount_details` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, and `PaymentIntentModifyParams` - * Add support for `payment_details` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentModifyParams`, and `PaymentIntent` - * Add support for `discount_amount`, `line_items`, `shipping`, and `tax` on `PaymentIntent.AmountDetail` - * Add support for `name_collection` on `PaymentLinkCreateParams`, `PaymentLinkModifyParams`, and `PaymentLink` - * Add support for new value `mb_way` on enums `PaymentLink.payment_method_types`, `PaymentLinkCreateParams.payment_method_types`, and `PaymentLinkModifyParams.payment_method_types` - * Add support for `crypto` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationModifyParams`, `PaymentMethodConfiguration`, and `Refund.DestinationDetail` - * Add support for `mb_way` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationModifyParams`, and `PaymentMethodConfiguration` - * Add support for `custom` on `PaymentMethodCreateParams` and `PaymentMethod` - * Add support for `excluded_payment_method_types` on `SetupIntentCreateParams`, `SetupIntentModifyParams`, and `SetupIntent` - * Change `SetupIntent.flow_directions` to be optional - * Add support for `tw` on `Tax.Registration.CountryOption` and `tax.RegistrationCreateParamsCountryOption` - * Add support for `gip` on `Terminal.Configuration.Tipping`, `terminal.ConfigurationCreateParamsTipping`, and `terminal.ConfigurationModifyParamsTipping` - * Add support for `last_seen_at` on `Terminal.Reader` - * Add support for new values `balance_settings.updated` and `invoice.payment_attempt_required` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointModifyParams.enabled_events` - * Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version` - * Add support for `gt`, `gte`, `lt`, `lte`, and `types` on `v2.core.EventListParams` - * Change `v2.core.EventListParams.object_id` to be optional - * Add support for snapshot event `balance_settings.updated` with resource `BalanceSettings` - * Add support for snapshot event `invoice.payment_attempt_required` with resource `Invoice` - * Add support for error code `payment_intent_rate_limit_exceeded` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1645](https://github.com/stripe/stripe-python/pull/1645) Dramatically improve performance by lazily loading most imports - - move many type imports behind an `if TYPE_CHECKING` block - - lazily initialize subservices - - add module-level `__getattr__` functions to most `__init__.py` files - ## 13.1.0b1 - 2025-09-30 -This release changes the pinned API version to `2025-09-30.preview`. It is built on top of SDK version 13.0.0 which contains breaking changes. Please review the [changelog for 13.0.0](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md#1300---2025-09-30) if upgrading from older SDK versions. +This release changes the pinned API version to `2025-09-30.preview`. -* [#1597](https://github.com/stripe/stripe-python/pull/1597) Update generated code for beta - * Add support for `attach_cadence` method on resource `Subscription` - * Add support for `billing_cadence` on `Invoice.CreatePreviewParams`, `Subscription.CreateParams`, `Subscription.ModifyParams`, and `Subscription` - * Add support for `billing_cadence_details` on `Invoice.Parent` and `QuotePreviewInvoice.Parent` - * Add support for new value `billing_cadence_details` on enums `Invoice.Parent.type` and `QuotePreviewInvoice.Parent.type` +It is built on top of SDK version 13.0.0 which contains breaking changes. Please review the [changelog for 13.0.0](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md#1300---2025-09-30) if upgrading from older SDK versions. + +* [#1555](https://github.com/stripe/stripe-python/pull/1555) Update generated code for beta + * Add support for new resources `billing.analytics.MeterUsageRow` and `billing.analytics.MeterUsage` + * Remove support for resources `billing.MeterUsageRow` and `billing.MeterUsage` + * Add support for `retrieve` method on resource `billing.analytics.MeterUsage` + * Remove support for `retrieve` method on resource `billing.MeterUsage` + * Add support for `report_payment_attempt_informational` method on resource `PaymentRecord` + * Add support for `minimum_balance_by_currency` on `BalanceSettings.ModifyParamsPaymentPayout` and `BalanceSettings.Payment.Payout` + * Remove support for values `saturday` and `sunday` from enums `BalanceSettings.ModifyParamsPaymentPayoutSchedule.weekly_payout_days` and `BalanceSettings.Payment.Payout.Schedule.weekly_payout_days` + * Change type of `BalanceSettings.ModifyParamsPaymentSettlementTiming.delay_days_override` from `longInteger` to `emptyable(longInteger)` + * Change `BalanceSettings.ModifyParams.payments` to be optional + * Add support for `delay_days_override` on `BalanceSettings.Payment.SettlementTiming` + * Add support for `automatic_tax` and `invoice_creation` on `checkout.Session.ModifyParams` + * Add support for `unit_label` on `checkout.Session.ModifyParamsLineItemPriceDatumProductDatum` + * Add support for `invoice_settings` on `checkout.Session.ModifyParamsSubscriptionDatum` + * Change `Checkout.Session.CollectedInformation.business_name` to be required + * Add support for `intended_submission_method` on `Dispute.ModifyParams` and `Dispute` + * Change type of `Dispute.SmartDispute.recommended_evidence` from `string` to `array(string)` + * Add support for `pix` on `Invoice.CreateParamsPaymentSettingPaymentMethodOption`, `Invoice.ModifyParamsPaymentSettingPaymentMethodOption`, `Invoice.PaymentSetting.PaymentMethodOption`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption`, `Subscription.CreateParamsPaymentSettingPaymentMethodOption`, `Subscription.ModifyParamsPaymentSettingPaymentMethodOption`, and `Subscription.PaymentSetting.PaymentMethodOption` + * Add support for new value `pix` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.ModifyParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `QuotePreviewInvoice.PaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.ModifyParamsPaymentSetting.payment_method_types`, and `Subscription.PaymentSetting.payment_method_types` + * Add support for `billing_schedules` on `Invoice.CreatePreviewParamsSubscriptionDetail`, `Subscription.CreateParams`, `Subscription.ModifyParams`, and `Subscription` + * Add support for `paypay` on `PaymentAttemptRecord.PaymentMethodDetail` and `PaymentRecord.PaymentMethodDetail` + * Add support for `wallet` on `PaymentAttemptRecord.PaymentMethodDetail.Card` and `PaymentRecord.PaymentMethodDetail.Card` + * Change type of `PaymentAttemptRecord.ProcessorDetail.Custom.payment_reference` and `PaymentRecord.ProcessorDetail.Custom.payment_reference` from `string` to `nullable(string)` + * Add support for `flexible` on `QuotePreviewSubscriptionSchedule.BillingMode` + * Add support for `billed_until` on `SubscriptionItem` + * Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `QuotePreviewInvoice.LastFinalizationError` * [#1584](https://github.com/stripe/stripe-python/pull/1584) Update generated code for beta * Add support for new resources `v2.billing.BillSettingVersion`, `v2.billing.BillSetting`, `v2.billing.Cadence`, `v2.billing.CollectionSettingVersion`, `v2.billing.CollectionSetting`, and `v2.billing.Profile` * Add support for `create`, `list`, `modify`, and `retrieve` methods on resources `v2.billing.BillSetting`, `v2.billing.CollectionSetting`, and `v2.billing.Profile` @@ -989,168 +480,11 @@ This release changes the pinned API version to `2025-09-30.preview`. It is built * Add support for thin event `V2BillingBillSettingUpdatedEvent` with related object `v2.billing.BillSetting` * Add support for error type `RateLimitError` * Add support for error code `invalid_payout_method_crypto_wallet` on `InvalidPayoutMethodError` -* [#1555](https://github.com/stripe/stripe-python/pull/1555) Update generated code for beta - * Add support for new resources `billing.analytics.MeterUsageRow` and `billing.analytics.MeterUsage` - * Remove support for resources `billing.MeterUsageRow` and `billing.MeterUsage` - * Add support for `retrieve` method on resource `billing.analytics.MeterUsage` - * Remove support for `retrieve` method on resource `billing.MeterUsage` - * Add support for `report_payment_attempt_informational` method on resource `PaymentRecord` - * Add support for `minimum_balance_by_currency` on `BalanceSettings.ModifyParamsPaymentPayout` and `BalanceSettings.Payment.Payout` - * Remove support for values `saturday` and `sunday` from enums `BalanceSettings.ModifyParamsPaymentPayoutSchedule.weekly_payout_days` and `BalanceSettings.Payment.Payout.Schedule.weekly_payout_days` - * Change type of `BalanceSettings.ModifyParamsPaymentSettlementTiming.delay_days_override` from `longInteger` to `emptyable(longInteger)` - * Change `BalanceSettings.ModifyParams.payments` to be optional - * Add support for `delay_days_override` on `BalanceSettings.Payment.SettlementTiming` - * Add support for `automatic_tax` and `invoice_creation` on `checkout.Session.ModifyParams` - * Add support for `unit_label` on `checkout.Session.ModifyParamsLineItemPriceDatumProductDatum` - * Add support for `invoice_settings` on `checkout.Session.ModifyParamsSubscriptionDatum` - * Change `Checkout.Session.CollectedInformation.business_name` to be required - * Add support for `intended_submission_method` on `Dispute.ModifyParams` and `Dispute` - * Change type of `Dispute.SmartDispute.recommended_evidence` from `string` to `array(string)` - * Add support for `pix` on `Invoice.CreateParamsPaymentSettingPaymentMethodOption`, `Invoice.ModifyParamsPaymentSettingPaymentMethodOption`, `Invoice.PaymentSetting.PaymentMethodOption`, `QuotePreviewInvoice.PaymentSetting.PaymentMethodOption`, `Subscription.CreateParamsPaymentSettingPaymentMethodOption`, `Subscription.ModifyParamsPaymentSettingPaymentMethodOption`, and `Subscription.PaymentSetting.PaymentMethodOption` - * Add support for new value `pix` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.ModifyParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `QuotePreviewInvoice.PaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.ModifyParamsPaymentSetting.payment_method_types`, and `Subscription.PaymentSetting.payment_method_types` - * Add support for `billing_schedules` on `Invoice.CreatePreviewParamsSubscriptionDetail`, `Subscription.CreateParams`, `Subscription.ModifyParams`, and `Subscription` - * Add support for `paypay` on `PaymentAttemptRecord.PaymentMethodDetail` and `PaymentRecord.PaymentMethodDetail` - * Add support for `wallet` on `PaymentAttemptRecord.PaymentMethodDetail.Card` and `PaymentRecord.PaymentMethodDetail.Card` - * Change type of `PaymentAttemptRecord.ProcessorDetail.Custom.payment_reference` and `PaymentRecord.ProcessorDetail.Custom.payment_reference` from `string` to `nullable(string)` - * Add support for `flexible` on `QuotePreviewSubscriptionSchedule.BillingMode` - * Add support for `billed_until` on `SubscriptionItem` - * Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `QuotePreviewInvoice.LastFinalizationError` - -## 13.0.1 - 2025-10-03 -* [#1626](https://github.com/stripe/stripe-python/pull/1626) Make the new nested params classes correctly importable - - For example, In SDK `v13.0.0`, `from stripe.params.checkout import SessionCreateParamsDiscount` would raise an error when it shouldn't have. This is fixed. - - Reported in https://github.com/stripe/stripe-python/issues/1625 -* [#1633](https://github.com/stripe/stripe-python/pull/1633) Add new `async` optional dependency - - Now, `pip install stripe[async]` gets you everything you need to make async HTTP calls out of the box. - - Reported in https://github.com/stripe/stripe-python/issues/1558 -* [#1627](https://github.com/stripe/stripe-python/pull/1627) Re-add `tests` to our `sdist` - - Reported in https://github.com/stripe/stripe-python/issues/1616 -* [#1632](https://github.com/stripe/stripe-python/pull/1632) remove gpg step from publish. PyPI has ignored these for years, so we took the opportunity to simplify our build process - -## 13.0.0 - 2025-09-30 -This release changes the pinned API version to `2025-09-30.clover` and contains breaking changes (prefixed with ⚠️ below) - -* [#1604](https://github.com/stripe/stripe-python/pull/1604) Fixed InvoiceLineItem method definition - * ⚠️ `InvoiceLineItem.modify` and `InvoiceLineItem.modify_async` now require `invoice` and `line_item_id` as method parameters. - * Removed `InvoiceLineItem.ModifyParam` class. Use a `typing.dict` to type hint instead. -* [#1538](https://github.com/stripe/stripe-python/pull/1538) ⚠️ Add strongly typed EventNotifications - We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of. - - Added matching `EventNotification` classes to every v2 `Event`. For example, there's now a `V1BillingMeterErrorReportTriggeredEventNotification` to match the existing `V1BillingMeterErrorReportTriggeredEvent`. Each notification class defines a `fetch_event()` method to retrieve its corresponding event. For events with related objects, there's a `fetch_related_object()` method that performs the API call and casts the response to the correct type. - - ⚠️ Rename function `StripeClient.parse_thin_event` to `StripeClient.parse_event_notification` and remove the `Stripe.ThinEvent` class. - - This function now returns a `stripe.v2.core.EventNotification` (which is the shared base class that all of the more specific `stripe.events.*EventNotification` classes share) instead of `Stripe.ThinEvent`. When applicable, these event notifications will have the `related_object` property and a `fetch_related_object()` function. They also have a `fetch_()` method to retrieve their corresponding `stripe.events.*Event` instance. - - If you parse an event the SDK doesn't have types for (e.g. it's newer than the SDK you're using), you'll get an instance of `Stripe.Events.UnknownEventNotification` instead of a more specific type. It has both the `relatedObject` property and the `FetchRelatedObject()` function (but they may be/return `null`) -* [#1602](https://github.com/stripe/stripe-python/pull/1602) Move `V2.Event` API resources to `V2.Core.Events` - - ⚠️ Move `stripe.v2._event` and `stripe.v2._event_destination` to `stripe.v2.core._event` and `stripe.v2.core._event_destination` respectively. They now correctly match their API path -* [#1589](https://github.com/stripe/stripe-python/pull/1589) Add `StripeContext` object - - Add the `StripeContext` class. Previously, one could only pass a string for `stripe_context`. You can now use the new class as well. - - ⚠️ Change `EventNotification` (formerly known as `ThinEvent`)'s `context` property from `string` to `StripeContext` -* [#1565](https://github.com/stripe/stripe-python/pull/1565) ⚠️ Build SDK w/ V2 OpenAPI spec - - ⚠️ The delete methods for v2 APIs (the ones in the `StripeClient.v2` namespace) now return a `V2DeletedObject` which has the id of the object that has been deleted and a string representing the type of the object that has been deleted. - - ⚠️ Deeply nested param hashes with no properties no longer have classes generated for them. Instead, they're typed as `Dict[str, Any]`. Because there were no params, it's unlikely you were using these classes. -* [#1569](https://github.com/stripe/stripe-python/pull/1569) Renamed Urllib2Client to UrllibClient - - ⚠️ Rename `http_client.Urllib2Client` to `http_client.UrllibClient` as Python `urllib2` was renamed to `urllib` in Python 3. -* [#1606](https://github.com/stripe/stripe-python/pull/1606) ⚠️ drop support for Python 3.6 & clarify version policy - - Read our new [language version support policy](https://docs.stripe.com/sdks/versioning?lang=python#stripe-sdk-language-version-support-policy) - - ⚠️ In this release, we drop support for Python 3.6 - - Support for Python 3.7 is deprecated and will be removed in the next scheduled major release (March 2026) -* [#1596](https://github.com/stripe/stripe-python/pull/1596) ⚠️ Unify resource and service method parameters into one class - * ⚠️ Resource and service request parameter types have been moved to the top-level and are shared, prepended with their related resource/service - * For example, `_stripe._account.Account.CreateParams` and `_stripe._account_service.CreateParams` have moved to `_stripe.params._account_create_params.AccountCreateParams` - * This change only affects users who explicitly refer to params types. No migration is necessary for users otherwise -* [#1572](https://github.com/stripe/stripe-python/pull/1572) migrate from `setup.py` to `pyproject.toml` - - ⚠️ The package has swapped from `setup.py` to `pyproject.toml`. As a result, we're dropping support for `pip < 10.0.0` (released April 2018). - - Additionally, we're no longer shipping tests or examples in our sdist now, which should offer a small size reduction for the package if installed without the wheel (approx. 2.5MB unzipped) -* [#1570](https://github.com/stripe/stripe-python/pull/1570) Don't use mutable default arguments - - Service methods now correctly set `None` as the default function argument instead of `{}` -* ⚠️ Deprecated the V1 service accessors living directly under StripeClient(e.g. customers, products) as they were copied under the new V1 service in our [last release](https://github.com/stripe/stripe-python/releases/tag/v12.5.0). Service accessors living directly under StripeClient(e.g. customers, products) will be removed from StripeClient in a future release. E.g. - ```diff - client = StripeClient("sk_test...") - - # Accessing V1 Stripe services on a StripeClient should be through the V1 namespace - - client.customers.list() - + client.v1.customers.list() - ``` - Refer to the [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for help upgrading. -* [#1603](https://github.com/stripe/stripe-python/pull/1603) ⚠️ Remove deprecated compatibility exports - - ⚠️ Removed deprecated module shims. They've long been available in the `stripe` module directly; now that's the only place to import them. Specifically, we removed: - - `stripe.stripe_response` - - `stripe.stripe_object` - - `stripe.error_object` - - `stripe.error` - - `stripe.http_client` - - `stripe.util` - - `stripe.oauth` - - `stripe.webhook` - - `stripe.multipart_data_generator` - - `stripe.request_metrics` - - `stripe.api_resources.abstract` - - `stripe.api_resources` - - - To update your code, follow this pattern: - - ```diff - -from stripe. import SomeClass - +from stripe import SomeClass - - -stripe..SomeClass - +stripe.SomeClass - ``` - - - ⚠️ Removed the `FileUpload` alias - - To update your code: - - ```diff - -from stripe import FileUpload - -from stripe.api_resources import FileUpload - +from stripe import File - ``` - - - ⚠️ Removed the `io` import from `stripe._util`. If you had code relying on `stripe.util.io`, you'll need to import the `io` package directly yourself. - - added `UrllibClient` to `stripe` to make creating your own HTTP client easier. - -* [#1567](https://github.com/stripe/stripe-python/pull/1567), [#1593](https://github.com/stripe/stripe-python/pull/1593), [#1607](https://github.com/stripe/stripe-python/pull/1607), [#1605](https://github.com/stripe/stripe-python/pull/1605) Update generated code based on incoming API changes in the `2025-09-30.clover` API version. - * ⚠️ Remove support for `balance_report` and `payout_reconciliation_report` on `AccountSession.Component` and `AccountSession.CreateParamsComponent` - * ⚠️ Remove support for values `saturday` and `sunday` from enums `Account.CreateParamsSettingPayoutSchedule.weekly_payout_days`, `Account.ModifyParamsSettingPayoutSchedule.weekly_payout_days`, and `Account.Setting.Payout.Schedule.weekly_payout_days` - * ⚠️ Remove support for `iterations` on `Invoice.CreatePreviewParamsScheduleDetailPhase`, `SubscriptionSchedule.CreateParamsPhase`, and `SubscriptionSchedule.ModifyParamsPhase` - * ⚠️ Remove support for `link` and `pay_by_bank` on `PaymentMethod.ModifyParams` - * ⚠️ Remove support for `coupon` on `Discount`, `PromotionCode.CreateParams`, and `PromotionCode`. Use `Discount.source.coupon`, `PromotionCode.CreateParams.promotion.coupon`, and `PromotionCode.promotion.coupon` instead. - * Add support for new value `prevented` on enum `Dispute.status` - * Change `Invoice.id` to be required. - * Add support for new resource `BalanceSettings` - * Add support for `modify` and `retrieve` methods on resource `BalanceSettings` - * Add support for new values `external_request` and `unsupported_business_type` on enums `Account.FutureRequirement.Error.code`, `Account.Requirement.Error.code`, `BankAccount.FutureRequirement.Error.code`, `BankAccount.Requirement.Error.code`, `Capability.FutureRequirement.Error.code`, `Capability.Requirement.Error.code`, `Person.FutureRequirement.Error.code`, and `Person.Requirement.Error.code` - * Add support for `source` on `Discount` - * Add support for `mb_way_payments` on `Account.Capability`, `Account.CreateParamsCapability`, and `Account.ModifyParamsCapability` - * Add support for `trial_update_behavior` on `BillingPortal.Configuration.Feature.SubscriptionUpdate`, `billing_portal.Configuration.CreateParamsFeatureSubscriptionUpdate`, and `billing_portal.Configuration.ModifyParamsFeatureSubscriptionUpdate` - * Add support for `mb_way` on `Charge.PaymentMethodDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatum`, `ConfirmationToken.PaymentMethodPreview`, `PaymentIntent.ConfirmParamsPaymentMethodDatum`, `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodDatum`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.ModifyParamsPaymentMethodDatum`, `PaymentIntent.ModifyParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentMethod.CreateParams`, `PaymentMethod`, `SetupIntent.ConfirmParamsPaymentMethodDatum`, `SetupIntent.CreateParamsPaymentMethodDatum`, and `SetupIntent.ModifyParamsPaymentMethodDatum` - * Add support for `branding_settings` and `name_collection` on `Checkout.Session` and `checkout.Session.CreateParams` - * Add support for `excluded_payment_method_types` on `Checkout.Session`, `PaymentIntent.ConfirmParams`, `PaymentIntent.ModifyParams`, and `checkout.Session.CreateParams` - * Add support for `unit_label` on `Invoice.AddLinesParamsLinePriceDatumProductDatum`, `Invoice.UpdateLinesParamsLinePriceDatumProductDatum`, `InvoiceLineItem.ModifyParamsPriceDatumProductDatum`, `PaymentLink.CreateParamsLineItemPriceDatumProductDatum`, and `checkout.Session.CreateParamsLineItemPriceDatumProductDatum` - * Add support for `alma`, `billie`, and `satispay` on `Checkout.Session.PaymentMethodOption` and `checkout.Session.CreateParamsPaymentMethodOption` - * Add support for `demo_pay` on `checkout.Session.CreateParamsPaymentMethodOption` - * Add support for `capture_method` on `Checkout.Session.PaymentMethodOption.Affirm`, `Checkout.Session.PaymentMethodOption.AfterpayClearpay`, `Checkout.Session.PaymentMethodOption.AmazonPay`, `Checkout.Session.PaymentMethodOption.Card`, `Checkout.Session.PaymentMethodOption.Cashapp`, `Checkout.Session.PaymentMethodOption.Klarna`, `Checkout.Session.PaymentMethodOption.Link`, `Checkout.Session.PaymentMethodOption.Mobilepay`, `Checkout.Session.PaymentMethodOption.RevolutPay`, `checkout.Session.CreateParamsPaymentMethodOptionAffirm`, `checkout.Session.CreateParamsPaymentMethodOptionAfterpayClearpay`, `checkout.Session.CreateParamsPaymentMethodOptionAmazonPay`, `checkout.Session.CreateParamsPaymentMethodOptionCard`, `checkout.Session.CreateParamsPaymentMethodOptionCashapp`, `checkout.Session.CreateParamsPaymentMethodOptionKlarna`, `checkout.Session.CreateParamsPaymentMethodOptionLink`, `checkout.Session.CreateParamsPaymentMethodOptionMobilepay`, and `checkout.Session.CreateParamsPaymentMethodOptionRevolutPay` - * Add support for `flexible` on `Invoice.CreatePreviewParamsScheduleDetailBillingMode`, `Invoice.CreatePreviewParamsSubscriptionDetailBillingMode`, `Quote.CreateParamsSubscriptionDatumBillingMode`, `Quote.SubscriptionDatum.BillingMode`, `Subscription.BillingMode`, `Subscription.CreateParamsBillingMode`, `Subscription.MigrateParamsBillingMode`, `SubscriptionSchedule.BillingMode`, `SubscriptionSchedule.CreateParamsBillingMode`, and `checkout.Session.CreateParamsSubscriptionDatumBillingMode` - * Add support for `business_name` and `individual_name` on `Checkout.Session.CollectedInformation`, `Checkout.Session.CustomerDetail`, `Customer.CreateParams`, `Customer.ModifyParams`, and `Customer` - * Add support for new values `mb_way` on enums `ConfirmationToken.CreateParamsPaymentMethodDatum.type`, `PaymentIntent.ConfirmParamsPaymentMethodDatum.type`, `PaymentIntent.CreateParamsPaymentMethodDatum.type`, `PaymentIntent.ModifyParamsPaymentMethodDatum.type`, `SetupIntent.ConfirmParamsPaymentMethodDatum.type`, `SetupIntent.CreateParamsPaymentMethodDatum.type`, and `SetupIntent.ModifyParamsPaymentMethodDatum.type` - * Add support for new values `mb_way` on enums `ConfirmationToken.PaymentMethodPreview.type` and `PaymentMethod.type` - * Add support for new values `mb_way` on enums `Customer.ListPaymentMethodsParams.type`, `PaymentMethod.CreateParams.type`, and `PaymentMethod.ListParams.type` - * Add support for `chargeback_loss_reason_code` on `Dispute.PaymentMethodDetail.Klarna` - * Add support for `net_amount` and `proration_details` on `InvoiceItem` - * Add support for `fraud_disputability_likelihood` and `risk_assessment` on `issuing.Authorization.CreateParams` - * Add support for `second_line` on `Issuing.Card` - * Add support for new values `mb_way` on enums `PaymentIntent.CreateParams.excluded_payment_method_types` and `PaymentIntent.excluded_payment_method_types` - * Add support for `fr_meal_voucher_conecs` on `PaymentMethodConfiguration.CreateParams` and `PaymentMethodConfiguration.ModifyParams` - * Add support for `promotion` on `PromotionCode.CreateParams` and `PromotionCode` - * Add support for new values `acknowledged` and `payment_never_settled` on enum `Review.closed_reason` - * Add support for `provider` on `Tax.Settings.Default` - * Add support for `bbpos_wisepad3` on `Terminal.Configuration`, `terminal.Configuration.CreateParams`, and `terminal.Configuration.ModifyParams` - * Add support for `address_kana`, `address_kanji`, `display_name_kana`, `display_name_kanji`, and `phone` on `Terminal.Location`, `terminal.Location.CreateParams`, and `terminal.Location.ModifyParams` - * Change `terminal.Location.CreateParams.address` to be optional - * Change `terminal.Location.CreateParams.display_name` to be optional - * Add support for new value `2025-09-30.clover` on enum `WebhookEndpoint.CreateParams.api_version` - * Add support for error codes `financial_connections_account_pending_account_numbers` and `financial_connections_account_unavailable_account_numbers` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` +* [#1597](https://github.com/stripe/stripe-python/pull/1597) Update generated code for beta + * Add support for `attach_cadence` method on resource `Subscription` + * Add support for `billing_cadence` on `Invoice.CreatePreviewParams`, `Subscription.CreateParams`, `Subscription.ModifyParams`, and `Subscription` + * Add support for `billing_cadence_details` on `Invoice.Parent` and `QuotePreviewInvoice.Parent` + * Add support for new value `billing_cadence_details` on enums `Invoice.Parent.type` and `QuotePreviewInvoice.Parent.type` ## 12.6.0b1 - 2025-08-27 This release changes the pinned API version to `2025-08-27.preview`. @@ -1189,47 +523,10 @@ This release changes the pinned API version to `2025-08-27.preview`. * Add support for `reader_security` on `Terminal.Configuration`, `terminal.Configuration.CreateParams`, and `terminal.Configuration.ModifyParams` * Add support for error codes `customer_session_expired` and `india_recurring_payment_mandate_canceled` on `QuotePreviewInvoice.LastFinalizationError` -## 12.5.1 - 2025-09-05 -* [#1563](https://github.com/stripe/stripe-python/pull/1563) fix: Paginate backwards if `starting_after == None` - * Addresses an [issue](https://github.com/stripe/stripe-python/issues/1562) where List iteration would be forwards when `starting_after` was set to `None` but backwards if it was not set at all. Now, it will paginate backwards in both cases. - -## 12.5.0 - 2025-08-27 -* [#1554](https://github.com/stripe/stripe-python/pull/1554) Add section on private preview SDKs in readme -* [#1544](https://github.com/stripe/stripe-python/pull/1544) Update generated code. This release changes the pinned API version to `2025-08-27.basil`. - * Add support for `balance_report`, `payout_details`, and `payout_reconciliation_report` on `AccountSession.Component` and `AccountSession.CreateParamsComponent` - * Add support for `name` on `BillingPortal.Configuration`, `billing_portal.Configuration.CreateParams`, and `billing_portal.Configuration.ModifyParams` - * Add support for `installments` on `Charge.PaymentMethodDetail.Alma` - * Add support for `transaction_id` on `Charge.PaymentMethodDetail.Alma`, `Charge.PaymentMethodDetail.AmazonPay`, `Charge.PaymentMethodDetail.Billie`, `Charge.PaymentMethodDetail.KakaoPay`, `Charge.PaymentMethodDetail.KrCard`, `Charge.PaymentMethodDetail.NaverPay`, `Charge.PaymentMethodDetail.Payco`, `Charge.PaymentMethodDetail.RevolutPay`, `Charge.PaymentMethodDetail.SamsungPay`, and `Charge.PaymentMethodDetail.Satispay` - * Add support for `location` and `reader` on `Charge.PaymentMethodDetail.Paynow` - * Add support for `amount_includes_iof` on `Checkout.Session.PaymentMethodOption.Pix`, `PaymentIntent.ConfirmParamsPaymentMethodOptionPix`, `PaymentIntent.CreateParamsPaymentMethodOptionPix`, `PaymentIntent.ModifyParamsPaymentMethodOptionPix`, `PaymentIntent.PaymentMethodOption.Pix`, and `checkout.Session.CreateParamsPaymentMethodOptionPix` - * Add support for new values `block` and `resolution` on enum `Dispute.PaymentMethodDetail.Card.case_type` - * Add support for new value `terminal_android_apk` on enums `File.ListParams.purpose` and `File.purpose` - * Add support for new value `terminal_android_apk` on enum `File.CreateParams.purpose` - * Add support for `metadata` and `period` on `Invoice.CreatePreviewParamsScheduleDetailPhaseAddInvoiceItem`, `Subscription.CreateParamsAddInvoiceItem`, `Subscription.ModifyParamsAddInvoiceItem`, `SubscriptionSchedule.CreateParamsPhaseAddInvoiceItem`, `SubscriptionSchedule.ModifyParamsPhaseAddInvoiceItem`, and `SubscriptionSchedule.Phase.AddInvoiceItem` - * Add support for `exp_month` and `exp_year` on `issuing.Card.CreateParams` - * Add support for `excluded_payment_method_types` on `PaymentIntent.CreateParams` and `PaymentIntent` - * Add support for `payout_method` on `Payout.CreateParams` and `Payout` - * Add support for `mxn` on `Terminal.Configuration.Tipping`, `terminal.Configuration.CreateParamsTipping`, and `terminal.Configuration.ModifyParamsTipping` - * Add support for `card` on `terminal.Reader.PresentPaymentMethodParams` - * Add support for new value `card` on enum `terminal.Reader.PresentPaymentMethodParams.type` - * Add support for new value `2025-08-27.basil` on enum `WebhookEndpoint.CreateParams.api_version` - * Add support for error codes `customer_session_expired` and `india_recurring_payment_mandate_canceled` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1553](https://github.com/stripe/stripe-python/pull/1553) Import available http libraries more efficiently -* [#1549](https://github.com/stripe/stripe-python/pull/1549) Introduce V1 namespaces in StripeClient - - All the top level non-namespaced services under StripeClient services(eg. customers, products) are copied under the new V1 namespace. These top level non-namespaced services will be marked as deprecated in the next major release and will be removed in a future release. Eg. - ```diff - client = StripeClient("sk_test...") - - # Accessing V1 Stripe services on a StripeClient should be through the V1 namespace - - client.customers.list() - + client.v1.customers.list() - ``` - Refer to the [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for help upgrading. - ## 12.5.0b2 - 2025-08-08 * [#1545](https://github.com/stripe/stripe-python/pull/1545) Bring back invoice payments APIs that were missing in the public preview SDKs - * Add support for new resource `InvoicePayment` - * Add support for `list` and `retrieve` methods on resource `InvoicePayment` + * Add support for new resource `InvoicePayment` + * Add support for `list` and `retrieve` methods on resource `InvoicePayment` ## 12.5.0b1 - 2025-07-30 This release changes the pinned API version to `2025-07-30.preview`. @@ -1259,31 +556,6 @@ This release changes the pinned API version to `2025-07-30.preview`. * Remove support for thin event `V2CoreAccountLinkCompletedEvent` * Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `v2.payments.OffSessionPayment` -## 12.4.0 - 2025-07-30 -This release changes the pinned API version to `2025-07-30.basil`. - -* [#1541](https://github.com/stripe/stripe-python/pull/1541) Update generated code - * Add support for `instant_payouts_promotion` on `AccountSession.Component` and `AccountSession.CreateParamsComponent` - * Add support for `adjustable_quantity` on `BillingPortal.Configuration.Feature.SubscriptionUpdate.Product`, `billing_portal.Configuration.CreateParamsFeatureSubscriptionUpdateProduct`, and `billing_portal.Configuration.ModifyParamsFeatureSubscriptionUpdateProduct` - * Remove support for value `disabled` from enum `Capability.status` - * Add support for `transaction_id` on `Charge.PaymentMethodDetail.Cashapp` - * Add support for `origin_context` on `Checkout.Session` and `checkout.Session.CreateParams` - * Add support for `template` on `Checkout.Session.InvoiceCreation.InvoiceDatum.RenderingOption`, `PaymentLink.CreateParamsInvoiceCreationInvoiceDatumRenderingOption`, `PaymentLink.InvoiceCreation.InvoiceDatum.RenderingOption`, `PaymentLink.ModifyParamsInvoiceCreationInvoiceDatumRenderingOption`, and `checkout.Session.CreateParamsInvoiceCreationInvoiceDatumRenderingOption` - * Add support for `setup_future_usage` on `Checkout.Session.PaymentMethodOption.Pix` and `checkout.Session.CreateParamsPaymentMethodOptionPix` - * Add support for new value `nz_bank_account` on enum `checkout.Session.CreateParams.payment_method_types` - * Change `Identity.VerificationSession.RelatedPerson.account` to be required - * Change `Identity.VerificationSession.RelatedPerson.person` to be required - * Add support for `duration` on `Invoice.CreatePreviewParamsScheduleDetailPhase`, `SubscriptionSchedule.CreateParamsPhase`, and `SubscriptionSchedule.ModifyParamsPhase` - * Change type of `Invoice.CreatePreviewParamsSubscriptionDetail.cancel_at`, `Subscription.CreateParams.cancel_at`, and `Subscription.ModifyParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')` - * Add support for `price_data` on `PaymentLink.CreateParamsLineItem` - * Change `PaymentLink.CreateParamsLineItem.price` to be optional - * Add support for new value `America/Coyhaique` on enum `reporting.ReportRun.CreateParamsParameter.timezone` - * Add support for `standard` on `Tax.Registration.CountryOption.Ae`, `Tax.Registration.CountryOption.Au`, `Tax.Registration.CountryOption.Ch`, `Tax.Registration.CountryOption.Gb`, `Tax.Registration.CountryOption.Jp`, `Tax.Registration.CountryOption.No`, `Tax.Registration.CountryOption.Nz`, `Tax.Registration.CountryOption.Sg`, `tax.Registration.CreateParamsCountryOptionAe`, `tax.Registration.CreateParamsCountryOptionAl`, `tax.Registration.CreateParamsCountryOptionAo`, `tax.Registration.CreateParamsCountryOptionAu`, `tax.Registration.CreateParamsCountryOptionAw`, `tax.Registration.CreateParamsCountryOptionB`, `tax.Registration.CreateParamsCountryOptionBa`, `tax.Registration.CreateParamsCountryOptionBb`, `tax.Registration.CreateParamsCountryOptionBd`, `tax.Registration.CreateParamsCountryOptionBf`, `tax.Registration.CreateParamsCountryOptionBh`, `tax.Registration.CreateParamsCountryOptionCd`, `tax.Registration.CreateParamsCountryOptionCh`, `tax.Registration.CreateParamsCountryOptionEt`, `tax.Registration.CreateParamsCountryOptionGb`, `tax.Registration.CreateParamsCountryOptionGn`, `tax.Registration.CreateParamsCountryOptionIs`, `tax.Registration.CreateParamsCountryOptionJp`, `tax.Registration.CreateParamsCountryOptionMe`, `tax.Registration.CreateParamsCountryOptionMk`, `tax.Registration.CreateParamsCountryOptionMr`, `tax.Registration.CreateParamsCountryOptionNo`, `tax.Registration.CreateParamsCountryOptionNz`, `tax.Registration.CreateParamsCountryOptionOm`, `tax.Registration.CreateParamsCountryOptionR`, `tax.Registration.CreateParamsCountryOptionSg`, `tax.Registration.CreateParamsCountryOptionSr`, `tax.Registration.CreateParamsCountryOptionUy`, `tax.Registration.CreateParamsCountryOptionZa`, and `tax.Registration.CreateParamsCountryOptionZw` - * Add support for new value `inbound_goods` on enums `Tax.Registration.CountryOption.At.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Be.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Bg.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Cy.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Cz.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.De.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Dk.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.E.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Ee.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Fi.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Fr.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Gr.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Hr.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Hu.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Ie.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.It.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Lt.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Lu.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Lv.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Mt.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Nl.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Pl.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Pt.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Ro.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Se.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Si.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Sk.Standard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionAtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionBeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionBgStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionCyStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionCzStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionDeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionDkStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionEStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionEeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionFiStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionFrStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionGrStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionHrStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionHuStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionIeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionItStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionLtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionLuStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionLvStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionMtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionNlStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionPlStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionPtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionRoStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionSeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionSiStandard.place_of_supply_scheme`, and `tax.Registration.CreateParamsCountryOptionSkStandard.place_of_supply_scheme` - * Add support for `aed`, `bgn`, `huf`, and `ron` on `Terminal.Configuration.Tipping`, `terminal.Configuration.CreateParamsTipping`, and `terminal.Configuration.ModifyParamsTipping` - * Add support for new value `2025-07-30.basil` on enum `WebhookEndpoint.CreateParams.api_version` -* [#1537](https://github.com/stripe/stripe-python/pull/1537) Fix timeout type hint in RequestsClient - ## 12.4.0b2 - 2025-07-09 * [#1536](https://github.com/stripe/stripe-python/pull/1536) Pull in V2 FinancialAccount changes for June release * Add support for `close` and `create` methods on resource `v2.money_management.FinancialAccount` @@ -1336,45 +608,6 @@ This release changes the pinned API version to `2025-06-30.preview`. * Add support for error code `recipient_email_does_not_exist` on `RecipientNotNotifiableError` * Remove support for error code `outbound_payment_recipient_email_does_not_exist` on `RecipientNotNotifiableError` -## 12.3.0 - 2025-07-01 -This release changes the pinned API version to `2025-06-30.basil`. - -* [#1526](https://github.com/stripe/stripe-python/pull/1526) Update generated code - * Add support for `migrate` method on resource `Subscription` - * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `terminal.Reader` - * Add support for `crypto_payments` on `Account.Capability`, `Account.CreateParamsCapability`, and `Account.ModifyParamsCapability` - * Add support for `proof_of_address` on `Account.CreateParamsDocument` and `Account.ModifyParamsDocument` - * Add support for `monthly_payout_days` and `weekly_payout_days` on `Account.CreateParamsSettingPayoutSchedule`, `Account.ModifyParamsSettingPayoutSchedule`, and `Account.Setting.Payout.Schedule` - * Change `Account.Setting.Invoice.hosted_payment_method_save` to be required - * Add support for `crypto` on `Charge.PaymentMethodDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatum`, `ConfirmationToken.PaymentMethodPreview`, `PaymentIntent.ConfirmParamsPaymentMethodDatum`, `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodDatum`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.ModifyParamsPaymentMethodDatum`, `PaymentIntent.ModifyParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentMethod.CreateParams`, `PaymentMethod`, `SetupIntent.ConfirmParamsPaymentMethodDatum`, `SetupIntent.CreateParamsPaymentMethodDatum`, and `SetupIntent.ModifyParamsPaymentMethodDatum` - * Change type of `Charge.PaymentMethodDetail.Card.Installment.Plan.type`, `ConfirmationToken.CreateParamsPaymentMethodOptionCardInstallmentPlan.type`, `ConfirmationToken.PaymentMethodOption.Card.Installment.Plan.type`, `Invoice.CreateParamsPaymentSettingPaymentMethodOptionCardInstallmentPlan.type`, `Invoice.ModifyParamsPaymentSettingPaymentMethodOptionCardInstallmentPlan.type`, `PaymentIntent.ConfirmParamsPaymentMethodOptionCardInstallmentPlan.type`, `PaymentIntent.CreateParamsPaymentMethodOptionCardInstallmentPlan.type`, `PaymentIntent.ModifyParamsPaymentMethodOptionCardInstallmentPlan.type`, `PaymentIntent.PaymentMethodOption.Card.Installment.AvailablePlan.type`, and `PaymentIntent.PaymentMethodOption.Card.Installment.Plan.type` from `literal('fixed_count')` to `enum('bonus'|'fixed_count'|'revolving')` - * Add support for new value `buut` on enums `Charge.PaymentMethodDetail.Ideal.bank`, `ConfirmationToken.CreateParamsPaymentMethodDatumIdeal.bank`, `ConfirmationToken.PaymentMethodPreview.Ideal.bank`, `PaymentIntent.ConfirmParamsPaymentMethodDatumIdeal.bank`, `PaymentIntent.CreateParamsPaymentMethodDatumIdeal.bank`, `PaymentIntent.ModifyParamsPaymentMethodDatumIdeal.bank`, `PaymentMethod.CreateParamsIdeal.bank`, `PaymentMethod.Ideal.bank`, `SetupAttempt.PaymentMethodDetail.Ideal.bank`, `SetupIntent.ConfirmParamsPaymentMethodDatumIdeal.bank`, `SetupIntent.CreateParamsPaymentMethodDatumIdeal.bank`, and `SetupIntent.ModifyParamsPaymentMethodDatumIdeal.bank` - * Add support for new value `BUUTNL2A` on enums `Charge.PaymentMethodDetail.Ideal.bic`, `ConfirmationToken.PaymentMethodPreview.Ideal.bic`, `PaymentMethod.Ideal.bic`, and `SetupAttempt.PaymentMethodDetail.Ideal.bic` - * Add support for `subscriptions` on `PaymentIntent.ConfirmParamsPaymentMethodOptionKlarna`, `PaymentIntent.CreateParamsPaymentMethodOptionKlarna`, `PaymentIntent.ModifyParamsPaymentMethodOptionKlarna`, and `checkout.Session.CreateParamsPaymentMethodOptionKlarna` - * Add support for new value `crypto` on enum `checkout.Session.CreateParams.payment_method_types` - * Add support for `billing_mode` on `Invoice.CreatePreviewParamsScheduleDetail`, `Invoice.CreatePreviewParamsSubscriptionDetail`, `Quote.CreateParamsSubscriptionDatum`, `Quote.SubscriptionDatum`, `Subscription.CreateParams`, `SubscriptionSchedule.CreateParams`, `SubscriptionSchedule`, `Subscription`, and `checkout.Session.CreateParamsSubscriptionDatum` - * Add support for new value `crypto` on enums `ConfirmationToken.CreateParamsPaymentMethodDatum.type`, `PaymentIntent.ConfirmParamsPaymentMethodDatum.type`, `PaymentIntent.CreateParamsPaymentMethodDatum.type`, `PaymentIntent.ModifyParamsPaymentMethodDatum.type`, `SetupIntent.ConfirmParamsPaymentMethodDatum.type`, `SetupIntent.CreateParamsPaymentMethodDatum.type`, and `SetupIntent.ModifyParamsPaymentMethodDatum.type` - * Add support for new value `crypto` on enums `ConfirmationToken.PaymentMethodPreview.type` and `PaymentMethod.type` - * Add support for new value `crypto` on enums `Customer.ListPaymentMethodsParams.type`, `PaymentMethod.CreateParams.type`, and `PaymentMethod.ListParams.type` - * Change type of `Dispute.enhanced_eligibility_types` from `literal('visa_compelling_evidence_3')` to `enum('visa_compelling_evidence_3'|'visa_compliance')` - * Add support for new value `compliance` on enum `Dispute.PaymentMethodDetail.Card.case_type` - * Add support for new value `terminal.reader.action_updated` on enum `Event.type` - * Add support for `related_person` on `Identity.VerificationSession` and `identity.VerificationSession.CreateParams` - * Add support for `matching` on `Identity.VerificationSession.Option` - * Add support for new value `crypto` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.ModifyParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.ModifyParamsPaymentSetting.payment_method_types`, and `Subscription.PaymentSetting.payment_method_types` - * Add support for `klarna` on `Mandate.PaymentMethodDetail`, `SetupIntent.ConfirmParamsPaymentMethodOption`, `SetupIntent.CreateParamsPaymentMethodOption`, `SetupIntent.ModifyParamsPaymentMethodOption`, and `SetupIntent.PaymentMethodOption` - * Add support for `on_demand` on `PaymentIntent.ConfirmParamsPaymentMethodOptionKlarna`, `PaymentIntent.CreateParamsPaymentMethodOptionKlarna`, and `PaymentIntent.ModifyParamsPaymentMethodOptionKlarna` - * Change type of `PaymentIntent.ConfirmParamsPaymentMethodOptionKlarna.setup_future_usage`, `PaymentIntent.CreateParamsPaymentMethodOptionKlarna.setup_future_usage`, `PaymentIntent.ModifyParamsPaymentMethodOptionKlarna.setup_future_usage`, and `PaymentIntent.PaymentMethodOption.Klarna.setup_future_usage` from `literal('none')` to `enum('none'|'off_session'|'on_session')` - * Add support for `ua` on `Tax.Registration.CountryOption` and `tax.Registration.CreateParamsCountryOption` - * Change type of `terminal.Location.ModifyParams.display_name` from `string` to `emptyable(string)` - * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.Action` - * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.Action.type` - * Add support for `status` on `treasury.FinancialAccount.ListParams` - * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.ModifyParams.enabled_events` - * Add support for new value `2025-06-30.basil` on enum `WebhookEndpoint.CreateParams.api_version` - * Add support for snapshot event `terminal.reader.action_updated` with resource `terminal.Reader` -* [#1534](https://github.com/stripe/stripe-python/pull/1534) Fix the link to releases page from readme - ## 12.3.0b2 - 2025-06-26 * [#1531](https://github.com/stripe/stripe-python/pull/1531) Pull in OffSessionPayment changes for the May release @@ -1406,7 +639,7 @@ This release changes the pinned API version to `2025-05-28.preview`. * Change type of `Privacy.RedactionJobValidationError.code` from `string` to `enum` * Change type of `Privacy.RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject` * Remove support for `status_details` and `status` on `Tax.Association` - + ### Other changes * Add support for `migrate` method on resource `Subscription` * Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `Charge.CaptureParamsPaymentDetailCarRental`, `Charge.ModifyParamsPaymentDetailCarRental`, `PaymentIntent.CaptureParamsPaymentDetailCarRental`, `PaymentIntent.ConfirmParamsPaymentDetailCarRental`, `PaymentIntent.CreateParamsPaymentDetailCarRental`, `PaymentIntent.ModifyParamsPaymentDetailCarRental`, and `PaymentIntent.PaymentDetail.CarRental` @@ -1425,48 +658,9 @@ This release changes the pinned API version to `2025-05-28.preview`. * Add support for `confirm_config` on `Terminal.Reader.Action.ConfirmPaymentIntent` and `terminal.Reader.ConfirmPaymentIntentParams` * Add support for error code `forwarding_api_upstream_error` on `QuotePreviewInvoice.LastFinalizationError` -## 12.2.0 - 2025-05-29 - This release changes the pinned API version to `2025-05-28.basil`. - -* [#1517](https://github.com/stripe/stripe-python/pull/1517) Update generated code - * Add support for `attach_payment` method on resource `Invoice` - * Add support for `collect_inputs` method on resource `terminal.Reader` - * Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `terminal.Reader` - * Add support for `pix_payments` on `Account.Capability`, `Account.CreateParamsCapability`, and `Account.ModifyParamsCapability` - * Add support for `disputes_list` and `payment_disputes` on `AccountSession.Component` and `AccountSession.CreateParamsComponent` - * Add support for `refund_and_dispute_prefunding` on `Balance` - * Add support for `balance_type` on `BalanceTransaction` - * Change `billing.Alert.CreateParamsUsageThreshold.meter` to be required - * Add support for `location` and `reader` on `Charge.PaymentMethodDetail.Affirm` and `Charge.PaymentMethodDetail.WechatPay` - * Add support for `payment_method_remove` on `checkout.Session.CreateParamsSavedPaymentMethodOption` - * Add support for `setup_future_usage` on `Checkout.Session.PaymentMethodOption.NaverPay` - * Change `ConfirmationToken.PaymentMethodPreview.NaverPay.buyer_id` and `PaymentMethod.NaverPay.buyer_id` to be required - * Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote` - * Add support for new value `mixed` on enum `CreditNote.type` - * Add support for new value `invoice_payment.paid` on enum `Event.type` - * Add support for `sex`, `unparsed_place_of_birth`, and `unparsed_sex` on `Identity.VerificationReport.Document` and `Identity.VerificationSession.VerifiedOutput` - * Add support for `billing_thresholds` on `Invoice.CreatePreviewParamsScheduleDetailPhaseItem`, `Invoice.CreatePreviewParamsScheduleDetailPhase`, `Invoice.CreatePreviewParamsSubscriptionDetailItem`, `Subscription.CreateParamsItem`, `Subscription.CreateParams`, `Subscription.ModifyParamsItem`, `Subscription.ModifyParams`, `SubscriptionItem.CreateParams`, `SubscriptionItem.ModifyParams`, `SubscriptionItem`, `SubscriptionSchedule.CreateParamsDefaultSetting`, `SubscriptionSchedule.CreateParamsPhaseItem`, `SubscriptionSchedule.CreateParamsPhase`, `SubscriptionSchedule.DefaultSetting`, `SubscriptionSchedule.ModifyParamsDefaultSetting`, `SubscriptionSchedule.ModifyParamsPhaseItem`, `SubscriptionSchedule.ModifyParamsPhase`, `SubscriptionSchedule.Phase.Item`, `SubscriptionSchedule.Phase`, and `Subscription` - * Add support for `satispay` on `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.ModifyParamsPaymentMethodOption`, and `PaymentIntent.PaymentMethodOption` - * Add support for `capture_method` on `PaymentIntent.PaymentMethodOption.Billie` - * Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on `PaymentMethodConfiguration.CreateParams`, `PaymentMethodConfiguration.ModifyParams`, and `PaymentMethodConfiguration` - * Add support for `network_decline_code` on `Refund.DestinationDetail.Paypal` - * Add support for `metadata` on `Tax.CalculationLineItem` and `tax.Calculation.CreateParamsLineItem` - * Add support for new value `simulated_stripe_s700` on enums `Terminal.Reader.device_type` and `terminal.Reader.ListParams.device_type` - * Add support for `return_url` on `Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig` and `terminal.Reader.ProcessPaymentIntentParamsProcessConfig` - * Add support for `collect_inputs` on `Terminal.Reader.Action` - * Add support for new value `collect_inputs` on enum `Terminal.Reader.Action.type` - * Add support for new value `invoice_payment.paid` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.ModifyParams.enabled_events` - * Add support for new value `2025-05-28.basil` on enum `WebhookEndpoint.CreateParams.api_version` - * Add support for snapshot event `invoice_payment.paid` with resource `InvoicePayment` - * Add support for error code `forwarding_api_upstream_error` on `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, `SetupIntent.LastSetupError`, and `StripeError` -* [#1511](https://github.com/stripe/stripe-python/pull/1511) Adds CONTRIBUTING.md - ## 12.2.0b1 - 2025-04-30 This release changes the pinned API version to `2025-04-30.preview`. -* [#1501](https://github.com/stripe/stripe-python/pull/1501) Update generated code for beta - * Add support for `billing_mode` on `Invoice.CreatePreviewParamsScheduleDetail`, `Invoice.CreatePreviewParamsSubscriptionDetail`, `InvoiceService.CreatePreviewParamsScheduleDetail`, `InvoiceService.CreatePreviewParamsSubscriptionDetail`, `Quote.SubscriptionDatum`, `QuotePreviewSubscriptionSchedule`, `SubscriptionSchedule`, `Subscription`, `checkout.Session.CreateParamsSubscriptionDatum`, and `checkout.SessionService.CreateParamsSubscriptionDatum` - * Add support for new value `balance_settings.updated` on enum `Event.type` - * Add support for new value `balance_settings.updated` on enums `WebhookEndpoint.ModifyParams.enabled_events` and `WebhookEndpointService.UpdateParams.enabled_events` + * [#1498](https://github.com/stripe/stripe-python/pull/1498) Update generated code for beta * Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `Checkout.Session.CollectedInformation.TaxId.type`, `Checkout.Session.CustomerDetail.TaxId.type`, `Invoice.CustomerTaxId.type`, `Order.TaxDetail.TaxId.type`, `QuotePreviewInvoice.CustomerTaxId.type`, `Tax.Calculation.CustomerDetail.TaxId.type`, `Tax.Transaction.CustomerDetail.TaxId.type`, and `TaxId.type` * Change `Checkout.Session.AutomaticTax.provider`, `Invoice.AutomaticTax.provider`, `Quote.AutomaticTax.provider`, and `QuotePreviewInvoice.AutomaticTax.provider` to be required @@ -1476,34 +670,10 @@ This release changes the pinned API version to `2025-04-30.preview`. * Add support for `billing_mode` on `Quote.CreateParamsSubscriptionDatum`, `QuoteService.CreateParamsSubscriptionDatum`, `Subscription.CreateParams`, `SubscriptionSchedule.CreateParams`, `SubscriptionScheduleService.CreateParams`, and `SubscriptionService.CreateParams` * Add support for `bf`, `cm`, and `cv` on `Tax.Registration.CountryOption`, `tax.Registration.CreateParamsCountryOption`, and `tax.RegistrationService.CreateParamsCountryOption` * Add support for new value `2025-04-30.basil` on enums `WebhookEndpoint.CreateParams.api_version` and `WebhookEndpointService.CreateParams.api_version` - -## 12.1.0 - 2025-04-30 - -This release changes the pinned API version to `2025-04-30.basil`. - -* [#1496](https://github.com/stripe/stripe-python/pull/1496) Update generated code - * Add support for `minority_owned_business_designation` on `Account.BusinessProfile`, `Account.CreateParamsBusinessProfile`, `Account.ModifyParamsBusinessProfile`, `AccountService.CreateParamsBusinessProfile`, and `AccountService.UpdateParamsBusinessProfile` - * Add support for `registration_date` on `Account.Company`, `Account.CreateParamsCompany`, `Account.ModifyParamsCompany`, `AccountService.CreateParamsCompany`, `AccountService.UpdateParamsCompany`, `Token.CreateParamsAccountCompany`, and `TokenService.CreateParamsAccountCompany` - * Add support for `us_cfpb_data` on `Account.CreateParams`, `Account.ModifyParams`, `AccountPersonService.CreateParams`, `AccountPersonService.UpdateParams`, `Person`, `Token.CreateParamsPerson`, and `TokenService.CreateParamsPerson` - * Add support for new value `verification_legal_entity_structure_mismatch` on enums `Account.FutureRequirement.Error.code`, `Account.Requirement.Error.code`, `BankAccount.FutureRequirement.Error.code`, `BankAccount.Requirement.Error.code`, `Capability.FutureRequirement.Error.code`, `Capability.Requirement.Error.code`, `Person.FutureRequirement.Error.code`, and `Person.Requirement.Error.code` - * Add support for new value `tax_id_prohibited` on enums `Invoice.LastFinalizationError.code`, `PaymentIntent.LastPaymentError.code`, `SetupAttempt.SetupError.code`, `SetupIntent.LastSetupError.code`, and `StripeError.code` - * Add support for `tax_id` on `Charge.BillingDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatumBillingDetail`, `ConfirmationToken.PaymentMethodPreview.BillingDetail`, `PaymentIntent.ConfirmParamsPaymentMethodDatumBillingDetail`, `PaymentIntent.CreateParamsPaymentMethodDatumBillingDetail`, `PaymentIntent.ModifyParamsPaymentMethodDatumBillingDetail`, `PaymentIntentService.ConfirmParamsPaymentMethodDatumBillingDetail`, `PaymentIntentService.CreateParamsPaymentMethodDatumBillingDetail`, `PaymentIntentService.UpdateParamsPaymentMethodDatumBillingDetail`, `PaymentMethod.BillingDetail`, `PaymentMethod.CreateParamsBillingDetail`, `PaymentMethod.ModifyParamsBillingDetail`, `PaymentMethodService.CreateParamsBillingDetail`, `PaymentMethodService.UpdateParamsBillingDetail`, `SetupIntent.ConfirmParamsPaymentMethodDatumBillingDetail`, `SetupIntent.CreateParamsPaymentMethodDatumBillingDetail`, `SetupIntent.ModifyParamsPaymentMethodDatumBillingDetail`, `SetupIntentService.ConfirmParamsPaymentMethodDatumBillingDetail`, `SetupIntentService.CreateParamsPaymentMethodDatumBillingDetail`, `SetupIntentService.UpdateParamsPaymentMethodDatumBillingDetail`, `test_helpers.ConfirmationTokenService.CreateParamsPaymentMethodDatumBillingDetail`, `treasury.OutboundPayment.CreateParamsDestinationPaymentMethodDatumBillingDetail`, and `treasury.OutboundPaymentService.CreateParamsDestinationPaymentMethodDatumBillingDetail` - * Add support for `wallet_options` on `Checkout.Session`, `checkout.Session.CreateParams`, and `checkout.SessionService.CreateParams` - * Add support for `provider` on `Checkout.Session.AutomaticTax`, `Invoice.AutomaticTax`, and `Quote.AutomaticTax` - * Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `Checkout.Session.CustomerDetail.TaxId.type`, `Invoice.CustomerTaxId.type`, `Tax.Calculation.CustomerDetail.TaxId.type`, `Tax.Transaction.CustomerDetail.TaxId.type`, and `TaxId.type` - * Add support for `payment_method_options` on `ConfirmationToken.CreateParams` and `test_helpers.ConfirmationTokenService.CreateParams` - * Add support for `installments` on `ConfirmationToken.PaymentMethodOption.Card` - * Add support for new values `aw_tin`, `az_tin`, `bd_bin`, `bf_ifu`, `bj_ifu`, `cm_niu`, `cv_nif`, `et_tin`, `kg_tin`, and `la_tin` on enums `Customer.CreateParams.type`, `Customer.CreateParamsTaxIdDatum.type`, `CustomerService.CreateParamsTaxIdDatum.type`, `CustomerTaxIdService.CreateParams.type`, `Invoice.CreatePreviewParamsCustomerDetailTaxId.type`, `InvoiceService.CreatePreviewParamsCustomerDetailTaxId.type`, `TaxId.CreateParams.type`, `TaxIdService.CreateParams.type`, `tax.Calculation.CreateParamsCustomerDetailTaxId.type`, and `tax.CalculationService.CreateParamsCustomerDetailTaxId.type` - * Add support for `context` on `Event` - * Add support for new value `affirm` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.ModifyParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `InvoiceService.CreateParamsPaymentSetting.payment_method_types`, `InvoiceService.UpdateParamsPaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.ModifyParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, `SubscriptionService.CreateParamsPaymentSetting.payment_method_types`, and `SubscriptionService.UpdateParamsPaymentSetting.payment_method_types` - * Change type of `InvoiceLineItem.Parent.SubscriptionItemDetail.subscription` from `string` to `nullable(string)` - * Add support for `billie` on `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.ModifyParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentIntentService.ConfirmParamsPaymentMethodOption`, `PaymentIntentService.CreateParamsPaymentMethodOption`, and `PaymentIntentService.UpdateParamsPaymentMethodOption` - * Add support for `pix` on `PaymentMethodConfiguration.CreateParams`, `PaymentMethodConfiguration.ModifyParams`, `PaymentMethodConfigurationService.CreateParams`, `PaymentMethodConfigurationService.UpdateParams`, and `PaymentMethodConfiguration` - * Add support for `klarna` on `PaymentMethodDomain` - * Add support for `pending_reason` on `Refund` - * Change type of `Tax.CalculationLineItem.reference` from `nullable(string)` to `string` - * Add support for `aw`, `az`, `bd`, `bf`, `bj`, `cm`, `cv`, `et`, `in`, `kg`, `la`, and `ph` on `Tax.Registration.CountryOption`, `tax.Registration.CreateParamsCountryOption`, and `tax.RegistrationService.CreateParamsCountryOption` - * Add support for new value `2025-04-30.basil` on enums `WebhookEndpoint.CreateParams.api_version` and `WebhookEndpointService.CreateParams.api_version` +* [#1501](https://github.com/stripe/stripe-python/pull/1501) Update generated code for beta + * Add support for `billing_mode` on `Invoice.CreatePreviewParamsScheduleDetail`, `Invoice.CreatePreviewParamsSubscriptionDetail`, `InvoiceService.CreatePreviewParamsScheduleDetail`, `InvoiceService.CreatePreviewParamsSubscriptionDetail`, `Quote.SubscriptionDatum`, `QuotePreviewSubscriptionSchedule`, `SubscriptionSchedule`, `Subscription`, `checkout.Session.CreateParamsSubscriptionDatum`, and `checkout.SessionService.CreateParamsSubscriptionDatum` + * Add support for new value `balance_settings.updated` on enum `Event.type` + * Add support for new value `balance_settings.updated` on enums `WebhookEndpoint.ModifyParams.enabled_events` and `WebhookEndpointService.UpdateParams.enabled_events` ## 12.1.0b3 - 2025-04-17 * [#1495](https://github.com/stripe/stripe-python/pull/1495) Update generated code for beta @@ -1529,12 +699,13 @@ This release changes the pinned API version to `2025-04-30.basil`. * Add support for snapshot event `fx_quote.expired` with resource `FxQuote` ## 12.1.0b2 - 2025-04-10 +* [#1490](https://github.com/stripe/stripe-python/pull/1490) Handle external account + - Changes `external_account` field in `external_account_service.create` from `string` to a union type. * [#1489](https://github.com/stripe/stripe-python/pull/1489) Update generated code for beta - ### Breaking changes * Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)` * Remove support for values `bank_accounts.local_uk`, `bank_accounts.wire_uk`, `cards_uk`, and `crypto_wallets_v2` from enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability` - + ### Additions * Add support for new resources `Privacy.RedactionJobRootObjects`, `Privacy.RedactionJobValidationError`, and `Privacy.RedactionJob` * Add support for `cancel`, `create`, `list`, `modify`, `retrieve`, `run`, and `validate` methods on resource `RedactionJob` @@ -1550,260 +721,103 @@ This release changes the pinned API version to `2025-04-30.basil`. * Change type of `TaxCalculationLineItem.reference` from `nullable(string)` to `string` * Add support for `in` on `TaxRegistration.CountryOption` and `tax.Registration.CreateParamsCountryOption` * Add support for new values `privacy.redaction_job.canceled`, `privacy.redaction_job.created`, `privacy.redaction_job.ready`, `privacy.redaction_job.succeeded`, and `privacy.redaction_job.validation_error` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.UpdateParams.enabled_events` -* [#1490](https://github.com/stripe/stripe-python/pull/1490) Handle external account - - Changes `external_account` field in `external_account_service.create` from `string` to a union type. ## 12.1.0b1 - 2025-04-02 -* [#1455](https://github.com/stripe/stripe-python/pull/1455), [#1477](https://github.com/stripe/stripe-python/pull/1477), [#1482](https://github.com/stripe/stripe-python/pull/1482) Update generated code for beta +This release changes the pinned API version to `2025-03-31.preview`. + +#### New APIs for Accounts v2 in private preview + +See [SaaS platform payments with subscription billing using Accounts v2](https://docs.stripe.com/connect/accounts-v2/saas-platform-payments-billing) -This release changes the pinned API version to `2025-03-31.preview` +* [#1455](https://github.com/stripe/stripe-python/pull/1455) , [#1477](https://github.com/stripe/stripe-python/pull/1477), [#1482](https://github.com/stripe/stripe-python/pull/1482) Update generated code for beta ### Breaking changes: -* Remove support for `AmountOverpaid` on `InvoicePayment` -* Remove support for values `out_of_band_payment` and `payment_record` from enum `InvoicePayment.Payment.type` -* Remove support for `RateCardSubscriptionDetails` on `InvoiceItemParent` -* Remove support for `ApplicationFeeAmount`, `PaidOutOfBand`, and `Paid` on `QuotePreviewInvoice` -* Remove support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule.DefaultSetting`, `QuotePreviewSubscriptionSchedule.Phase.Item`, and `QuotePreviewSubscriptionSchedule.Phase` -* Remove support for `coupon` on `QuotePreviewSubscriptionSchedule.Phase` -* Change type of `QuotePreviewInvoice.Parent.SubscriptionDetail.subscription` from `string` to `expandable($Subscription)` -* Change `CheckoutSession.Permission.update` to be optional -* Change type of `PaymentAttemptRecord.PaymentMethodDetail.type` and `PaymentRecord.PaymentMethodDetail.type` from `literal('custom')` to `string` -* Change type of `PaymentAttemptRecord.payment_record` from `string` to `nullable(string)` -* Change `PaymentAttemptRecord.PaymentMethodDetail.custom` and `PaymentRecord.PaymentMethodDetail.custom` to be optional -* Change type of `PaymentRecord.latest_payment_attempt_record` from `string` to `nullable(string)` -* Change type of `Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client` and `Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client` to be optional +* ⚠️ Change `CheckoutSession.Permission.update` to be optional +* ⚠️ Change `PaymentAttemptRecord.PaymentMethodDetail.custom` and `PaymentRecord.PaymentMethodDetail.custom` to be optional +* ⚠️ Change type of `Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client` and `Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client` to be optional +* ⚠️ Change type of `PaymentAttemptRecord.PaymentMethodDetail.type` and `PaymentRecord.PaymentMethodDetail.type` from `literal('custom')` to `string` +* ⚠️ Change type of `PaymentAttemptRecord.payment_record` from `string` to `nullable(string)` +* ⚠️ Change type of `PaymentRecord.latest_payment_attempt_record` from `string` to `nullable(string)` +* ⚠️ Change type of `QuotePreviewInvoice.Parent.SubscriptionDetail.subscription` from `string` to `expandable($Subscription)` +* ⚠️ Remove support for `AmountOverpaid` on `InvoicePayment` +* ⚠️ Remove support for `ApplicationFeeAmount`, `PaidOutOfBand`, and `Paid` on `QuotePreviewInvoice` +* ⚠️ Remove support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule.DefaultSetting`, `QuotePreviewSubscriptionSchedule.Phase.Item`, and `QuotePreviewSubscriptionSchedule.Phase` +* ⚠️ Remove support for `coupon` on `QuotePreviewSubscriptionSchedule.Phase` +* ⚠️ Remove support for `RateCardSubscriptionDetails` on `InvoiceItemParent` +* ⚠️ Remove support for values `out_of_band_payment` and `payment_record` from enum `InvoicePayment.Payment.type` ### Additions -* Add support for `payment_method_options` on `ConfirmationToken.CreateParams` -* Add support for `installments` on `ConfirmationToken.PaymentMethodOption.Card` * Add support for `billie` on `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, and `PaymentIntent.UpdateParamsPaymentMethodOption` -* Add support for `update_line_items` on `CheckoutSession.Permission` and `checkout.Session.CreateParamsPermission` -* Add support for `new resources` BalanceSettings -* Add support for `modify` and `retrieve` methods on resource `BalanceSettings` +* Add support for `confirmation_secret`, `parent`, and `total_taxes` on `QuotePreviewInvoice` +* Add support for `context` on `Event` * Add support for `create`, `delete`, `list`, `modify`, and `retrieve` methods on a new `ExternalAccountService` to access cards and bank accounts made available in the new path `v1/external_accounts` -* Add support for `stripe_balance_payments` on `Account.Capability`, `Account.CreateParamsCapability`, and `Account.UpdateParamsCapability` -* Add support for new values `stripe_balance_payment_debit_reversal` and `stripe_balance_payment_debit` on enum `BalanceTransaction.type` * Add support for `customer_account` on `BillingCreditBalanceSummary`, `BillingCreditGrant`, `BillingPortalSession`, `CheckoutSession`, `ConfirmationToken.PaymentMethodPreview`, `CreditNote.ListParams`, `CreditNote`, `CustomerBalanceTransaction`, `CustomerCashBalanceTransaction`, `CustomerCashBalance`, `CustomerPaymentMethod`, `CustomerSession.CreateParams`, `CustomerSession`, `CustomerTaxId.Owner`, `CustomerTaxId`, `Customer`, `Discount`, `FinancialConnectionsAccount.AccountHolder`, `FinancialConnectionsSession.AccountHolder`, `Invoice.CreateParams`, `Invoice.CreatePreviewParams`, `Invoice.ListParams`, `InvoiceItem.CreateParams`, `InvoiceItem.ListParams`, `InvoiceItem`, `Invoice`, `PaymentIntent.CreateParams`, `PaymentIntent.ListParams`, `PaymentIntent.UpdateParams`, `PaymentIntent`, `PaymentMethod.AttachParams`, `PaymentMethod`, `PromotionCode.CreateParams`, `PromotionCode.ListParams`, `PromotionCode`, `Quote.CreateParams`, `Quote.ListParams`, `Quote.UpdateParams`, `QuotePreviewInvoice`, `QuotePreviewSubscriptionSchedule`, `Quote`, `SetupAttempt`, `SetupIntent.CreateParams`, `SetupIntent.ListParams`, `SetupIntent.UpdateParams`, `SetupIntent`, `Subscription.CreateParams`, `Subscription.ListParams`, `SubscriptionSchedule.CreateParams`, `SubscriptionSchedule.ListParams`, `SubscriptionSchedule`, `Subscription`, `TaxId.CreateParamsOwner`, `TaxId.ListParamsOwner`, `TaxId.Owner`, `TaxId`, `billing.CreditBalanceSummary.RetrieveParams`, `billing.CreditBalanceTransaction.ListParams`, `billing.CreditGrant.CreateParams`, `billing.CreditGrant.ListParams`, `billingportal.Session.CreateParams`, `checkout.Session.CreateParams`, `checkout.Session.ListParams`, `financialconnections.Account.ListParamsAccountHolder`, and `financialconnections.Session.CreateParamsAccountHolder` -* Add support for `stripe_balance` on `Charge.PaymentMethodDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatum`, `ConfirmationToken.PaymentMethodPreview`, `CustomerPaymentMethod`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntent.ConfirmParamsPaymentMethodDatum`, `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodDatum`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentIntent.UpdateParamsPaymentMethodDatum`, `PaymentIntent.UpdateParamsPaymentMethodOption`, `PaymentMethod.CreateParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.ConfirmParamsPaymentMethodDatum`, `SetupIntent.CreateParamsPaymentMethodDatum`, and `SetupIntent.UpdateParamsPaymentMethodDatum` -* Add support for `update_shipping_details` on `CheckoutSession.Permission` and `checkout.Session.CreateParamsPermission` -* Add support for `provider` on `CheckoutSession.AutomaticTax`, `Invoice.AutomaticTax`, `Quote.AutomaticTax`, and `QuotePreviewInvoice.AutomaticTax` -* Add support for `tax_calculation_reference` on `CreditNoteLineItem`, `CreditNotePreviewLines`, `InvoiceLineItem`, `LineItem`, `PaymentLinkLineItem`, `QuoteComputedUpfrontLineItems`, `QuoteLineItem`, and `SessionLineItem` -* Add support for `context` on `Event` -* Add support for `related_customer_account` on `IdentityVerificationSession`, `identity.VerificationSession.CreateParams`, and `identity.VerificationSession.ListParams` -* Add support for `payout_method` on `Payout.CreateParams` and `Payout` -* Add support for `confirmation_secret`, `parent`, and `total_taxes` on `QuotePreviewInvoice` -* Add support for new values `forwarding_api_retryable_upstream_error`, `setup_intent_mobile_wallet_unsupported`, `v2_account_disconnection_unsupported`, and `v2_account_missing_configuration` on enum `QuotePreviewInvoice.LastFinalizationError.code` -* Add support for new values `klarna`, `nz_bank_account`, and `stripe_balance` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` * Add support for `id` and `text` on `TerminalReader.Action.CollectInput.Input.Selection.Choice`, `TerminalReader.Action.CollectInput.Input.Selection`, and `terminal.Reader.CollectInputsParamsInputSelectionChoice` -* Add support for `network_data` on `IssuingDisputeSettlementDetail` +* Add support for `installments` on `ConfirmationToken.PaymentMethodOption.Card` * Add support for `interchange_fees_amount`, `net_total_amount`, `network_fees_amount`, `other_fees_amount`, `other_fees_count`, and `transaction_amount` on `IssuingSettlement` +* Add support for `modify` and `retrieve` methods on resource `BalanceSettings` +* Add support for `network_data` on `IssuingDisputeSettlementDetail` +* Add support for `new resources` BalanceSettings +* Add support for new values `stripe_balance_payment_debit_reversal` and `stripe_balance_payment_debit` on enum `BalanceTransaction.type` +* Add support for new values `forwarding_api_retryable_upstream_error`, `setup_intent_mobile_wallet_unsupported`, `v2_account_disconnection_unsupported`, and `v2_account_missing_configuration` on enum `QuotePreviewInvoice.LastFinalizationError.code` +* Add support for new values `klarna`, `nz_bank_account`, and `stripe_balance` on enum `QuotePreviewInvoice.PaymentSetting.payment_method_types` +* Add support for `payment_method_options` on `ConfirmationToken.CreateParams` +* Add support for `payout_method` on `Payout.CreateParams` and `Payout` +* Add support for `provider` on `CheckoutSession.AutomaticTax`, `Invoice.AutomaticTax`, `Quote.AutomaticTax`, and `QuotePreviewInvoice.AutomaticTax` +* Add support for `related_customer_account` on `IdentityVerificationSession`, `identity.VerificationSession.CreateParams`, and `identity.VerificationSession.ListParams` * Add support for `reported_by` on `PaymentAttemptRecord` +* Add support for `stripe_balance_payments` on `Account.Capability`, `Account.CreateParamsCapability`, and `Account.UpdateParamsCapability` +* Add support for `stripe_balance` on `Charge.PaymentMethodDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatum`, `ConfirmationToken.PaymentMethodPreview`, `CustomerPaymentMethod`, `PaymentAttemptRecord.PaymentMethodDetail`, `PaymentIntent.ConfirmParamsPaymentMethodDatum`, `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodDatum`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentIntent.UpdateParamsPaymentMethodDatum`, `PaymentIntent.UpdateParamsPaymentMethodOption`, `PaymentMethod.CreateParams`, `PaymentMethod`, `PaymentRecord.PaymentMethodDetail`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.ConfirmParamsPaymentMethodDatum`, `SetupIntent.CreateParamsPaymentMethodDatum`, and `SetupIntent.UpdateParamsPaymentMethodDatum` +* Add support for `tax_calculation_reference` on `CreditNoteLineItem`, `CreditNotePreviewLines`, `InvoiceLineItem`, `LineItem`, `PaymentLinkLineItem`, `QuoteComputedUpfrontLineItems`, `QuoteLineItem`, and `SessionLineItem` +* Add support for `update_line_items` on `CheckoutSession.Permission` and `checkout.Session.CreateParamsPermission` +* Add support for `update_shipping_details` on `CheckoutSession.Permission` and `checkout.Session.CreateParamsPermission` -#### New APIs for Money CardManagement +### Changes +* ⚠️ [#1476](https://github.com/stripe/stripe-python/pull/1476) Update add_beta_version logic + * ⚠️ stripe.add_beta_version` will use the highest version number used for a beta feature instead of raising an `Exception` on a conflict as it had done previously. +* Change `CreditNote.refunds` to be required +* Change `CustomerSession.CreateParams.customer`, `InvoiceItem.CreateParams.customer`, `PaymentMethod.AttachParams.customer`, `Subscription.CreateParams.customer`, `billing.CreditBalanceSummary.RetrieveParams.customer`, `billing.CreditBalanceTransaction.ListParams.customer`, `billing.CreditGrant.CreateParams.customer`, and `billingportal.Session.CreateParams.customer` to be optional +* Change `Invoice.amount_overpaid` and `QuotePreviewInvoice.amount_overpaid` to be required +* Change `PaymentRecord.ReportPaymentParams.payment_reference` to be optional +* Change type of `Invoice.Parent.SubscriptionDetail.PauseCollection.behavior` and `QuotePreviewInvoice.Parent.SubscriptionDetail.PauseCollection.behavior` from `string` to `enum('keep_as_draft'|'mark_uncollectible'|'void')` +* Change type of `InvoicePayment.is_default` from `nullable(boolean)` to `boolean` +* Change type of `PaymentAttemptRecord.PaymentMethodDetail.custom` and `PaymentRecord.PaymentMethodDetail.custom` from `nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails)` to `PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails` -* Add support for new resources `V2.FinancialAddressCreditSimulation`, `V2.FinancialAddressGeneratedMicrodeposits`, `V2.MoneyManagement.Adjustment`, `V2.MoneyManagement.FinancialAccount`, `V2.MoneyManagement.FinancialAddress`, `V2.MoneyManagement.InboundTransfer`, `V2.MoneyManagement.OutboundPaymentQuote`, `V2.MoneyManagement.OutboundPayment`, `V2.MoneyManagement.OutboundSetupIntent`, `V2.MoneyManagement.OutboundTransfer`, `V2.MoneyManagement.PayoutMethod`, `V2.MoneyManagement.PayoutMethodsBankAccountSpec`, `V2.MoneyManagement.ReceivedCredit`, `V2.MoneyManagement.ReceivedDebit`, `V2.MoneyManagement.TransactionEntry`, and `V2.MoneyManagement.Transaction` -* Add support for `create` method on resource `V2.MoneyManagement.OutboundPaymentQuote` -* Add support for `list` and `retrieve` methods on resources `V2.MoneyManagement.Adjustment`, `V2.MoneyManagement.FinancialAccount`, `V2.MoneyManagement.ReceivedCredit`, `V2.MoneyManagement.ReceivedDebit`, `V2.MoneyManagement.TransactionEntry`, and `V2.MoneyManagement.Transaction` -* Add support for `create`, `list`, and `retrieve` methods on resources `V2.MoneyManagement.FinancialAddress` and `V2.MoneyManagement.InboundTransfer` -* Add support for `cancel`, `create`, `list`, and `retrieve` methods on resources `V2.MoneyManagement.OutboundPayment` and `V2.MoneyManagement.OutboundTransfer` -* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `V2.MoneyManagement.PayoutMethod` -* Add support for `cancel`, `create`, `list`, `modify`, and `retrieve` methods on resource `V2.MoneyManagement.OutboundSetupIntent` -* Add support for `retrieve` method on resource `V2.MoneyManagement.PayoutMethodsBankAccountSpec` +### New APIs for Accounts v2 in private preview +* Add support for `close`, `create`, `list`, `modify`, and `retrieve` methods on resource `V2.Core.Account` +* Add support for `create` method on resource `V2.Core.AccountLink` +* Add support for new resources `V2.Core.AccountLink`, `V2.Core.Account`, `V2.Core.Person`, `V2.Core.Vault.GbBankAccount`, `V2.Core.Vault.UsBankAccount` +* Add support for new thin events `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, and `V2CoreAccountIncludingRequirementsUpdatedEvent` +* Add support for new thin event `V2CoreAccountLinkCompletedEvent` with related object `V2.Core.AccountLink` +* Add support for new thin events `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2.Core.Person` + +### New APIs for Money CardManagement * Add support for `acknowledge_confirmation_of_payee`, `archive`, `create`, `initiate_confirmation_of_payee`, and `retrieve` methods on resource `V2.Core.Vault.GbBankAccount` +* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `V2.MoneyManagement.PayoutMethod` * Add support for `archive`, `create`, `modify`, and `retrieve` methods on resource `V2.Core.Vault.UsBankAccount` -* Add support for new values `account_number`, `fedwire_routing_number`, and `routing_number` on enum `InvalidPaymentMethod.invalid_param` -* Add support for new thin event `V2MoneyManagementFinancialAccountCreatedEvent` with related object `V2.MoneyManagement.FinancialAccount` -* Add support for new thin events `V2MoneyManagementFinancialAddressActivatedEvent` and `V2MoneyManagementFinancialAddressFailedEvent` with related object `V2.MoneyManagement.FinancialAddress` -* Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2.MoneyManagement.InboundTransfer` +* Add support for `cancel`, `create`, `list`, and `retrieve` methods on resources `V2.MoneyManagement.OutboundPayment` and `V2.MoneyManagement.OutboundTransfer` +* Add support for `cancel`, `create`, `list`, `modify`, and `retrieve` methods on resource `V2.MoneyManagement.OutboundSetupIntent` +* Add support for `create` method on resource `V2.MoneyManagement.OutboundPaymentQuote` +* Add support for `create`, `list`, and `retrieve` methods on resources `V2.MoneyManagement.FinancialAddress` and `V2.MoneyManagement.InboundTransfer` +* Add support for `list` and `retrieve` methods on resources `V2.MoneyManagement.Adjustment`, `V2.MoneyManagement.FinancialAccount`, `V2.MoneyManagement.ReceivedCredit`, `V2.MoneyManagement.ReceivedDebit`, `V2.MoneyManagement.TransactionEntry`, and `V2.MoneyManagement.Transaction` * Add support for new thin events `V2MoneyManagementOutboundPaymentCanceledEvent`, `V2MoneyManagementOutboundPaymentCreatedEvent`, `V2MoneyManagementOutboundPaymentFailedEvent`, `V2MoneyManagementOutboundPaymentPostedEvent`, and `V2MoneyManagementOutboundPaymentReturnedEvent` with related object `V2.MoneyManagement.OutboundPayment` * Add support for new thin events `V2MoneyManagementOutboundTransferCanceledEvent`, `V2MoneyManagementOutboundTransferCreatedEvent`, `V2MoneyManagementOutboundTransferFailedEvent`, `V2MoneyManagementOutboundTransferPostedEvent`, and `V2MoneyManagementOutboundTransferReturnedEvent` with related object `V2.MoneyManagement.OutboundTransfer` * Add support for new thin events `V2MoneyManagementReceivedCreditAvailableEvent`, `V2MoneyManagementReceivedCreditFailedEvent`, `V2MoneyManagementReceivedCreditReturnedEvent`, and `V2MoneyManagementReceivedCreditSucceededEvent` with related object `V2.MoneyManagement.ReceivedCredit` * Add support for new thin events `V2MoneyManagementReceivedDebitCanceledEvent`, `V2MoneyManagementReceivedDebitFailedEvent`, `V2MoneyManagementReceivedDebitPendingEvent`, `V2MoneyManagementReceivedDebitSucceededEvent`, and `V2MoneyManagementReceivedDebitUpdatedEvent` with related object `V2.MoneyManagement.ReceivedDebit` * Add support for new error types `AlreadyCanceledError`, `BlockedByStripeError`, `ControlledByDashboardError`, `FeatureNotEnabledError`, `FinancialAccountNotOpenError`, `InsufficientFundsError`, `InvalidPayoutMethodError`, `NotCancelableError`, and `RecipientNotNotifiableError` +* Add support for new resources `V2.FinancialAddressCreditSimulation`, `V2.FinancialAddressGeneratedMicrodeposits`, `V2.MoneyManagement.Adjustment`, `V2.MoneyManagement.FinancialAccount`, `V2.MoneyManagement.FinancialAddress`, `V2.MoneyManagement.InboundTransfer`, `V2.MoneyManagement.OutboundPaymentQuote`, `V2.MoneyManagement.OutboundPayment`, `V2.MoneyManagement.OutboundSetupIntent`, `V2.MoneyManagement.OutboundTransfer`, `V2.MoneyManagement.PayoutMethod`, `V2.MoneyManagement.PayoutMethodsBankAccountSpec`, `V2.MoneyManagement.ReceivedCredit`, `V2.MoneyManagement.ReceivedDebit`, `V2.MoneyManagement.TransactionEntry`, and `V2.MoneyManagement.Transaction` +* Add support for new values `account_number`, `fedwire_routing_number`, and `routing_number` on enum `InvalidPaymentMethod.invalid_param` +* Add support for new thin event `V2MoneyManagementFinancialAccountCreatedEvent` with related object `V2.MoneyManagement.FinancialAccount` +* Add support for new thin events `V2MoneyManagementFinancialAddressActivatedEvent` and `V2MoneyManagementFinancialAddressFailedEvent` with related object `V2.MoneyManagement.FinancialAddress` +* Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2.MoneyManagement.InboundTransfer` +* Add support for `retrieve` method on resource `V2.MoneyManagement.PayoutMethodsBankAccountSpec` -#### New APIs for Accounts v2 in private preview -See [SaaS platform payments with subscription billing using Accounts v2](https://docs.stripe.com/connect/accounts-v2/saas-platform-payments-billing) - -* Add support for new resources `V2.Core.AccountLink`, `V2.Core.Account`, `V2.Core.Person`, `V2.Core.Vault.GbBankAccount`, `V2.Core.Vault.UsBankAccount` -* Add support for `close`, `create`, `list`, `modify`, and `retrieve` methods on resource `V2.Core.Account` -* Add support for `create` method on resource `V2.Core.AccountLink` -* Add support for new thin events `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, and `V2CoreAccountIncludingRequirementsUpdatedEvent` -* Add support for new thin event `V2CoreAccountLinkCompletedEvent` with related object `V2.Core.AccountLink` -* Add support for new thin events `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2.Core.Person` - -### Changes -* Change `CustomerSession.CreateParams.customer`, `InvoiceItem.CreateParams.customer`, `PaymentMethod.AttachParams.customer`, `Subscription.CreateParams.customer`, `billing.CreditBalanceSummary.RetrieveParams.customer`, `billing.CreditBalanceTransaction.ListParams.customer`, `billing.CreditGrant.CreateParams.customer`, and `billingportal.Session.CreateParams.customer` to be optional -* Change type of `Invoice.Parent.SubscriptionDetail.PauseCollection.behavior` and `QuotePreviewInvoice.Parent.SubscriptionDetail.PauseCollection.behavior` from `string` to `enum('keep_as_draft'|'mark_uncollectible'|'void')` -* Change `CreditNote.refunds` to be required -* Change `Invoice.amount_overpaid` and `QuotePreviewInvoice.amount_overpaid` to be required -* Change type of `InvoicePayment.is_default` from `nullable(boolean)` to `boolean` -* Change type of `PaymentAttemptRecord.PaymentMethodDetail.custom` and `PaymentRecord.PaymentMethodDetail.custom` from `nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails)` to `PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails` -* Change `PaymentRecord.ReportPaymentParams.payment_reference` to be optional +## 11.7.0b1 - 2025-03-18 +This release changes the pinned API version to `2025-02-24.acacia`. -* [#1476](https://github.com/stripe/stripe-python/pull/1476) Update add_beta_version logic - * ⚠️ stripe.add_beta_version` will use the highest version number used for a beta feature instead of raising an `Exception` on a conflict as it had done previously. - -## 12.0.1 - 2025-04-21 -* [#1499](https://github.com/stripe/stripe-python/pull/1499) Encode bools with lower case - - Serializes boolean query parameter values to `true`/`false` (lower case) before sending to the Stripe API for compatibility with Stripe V2 endpoints -* [#1401](https://github.com/stripe/stripe-python/pull/1401) Fix type hint for SearchResultObject.data -* [#1493](https://github.com/stripe/stripe-python/pull/1493) Update readme with clarification on resource based call patterns - -## 12.0.0 - 2025-04-01 -* [#1463](https://github.com/stripe/stripe-python/pull/1463) Support for APIs in the new API version 2025-03-31.basil - - This release changes the pinned API version to `2025-03-31.basil`. - - ### ⚠️ Breaking changes due to changes in the Stripe API - - Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/basil) before upgrading. - - * Remove support for resources `SubscriptionItemUsageRecordSummary` and `SubscriptionItemUsageRecord` - * Remove support for `create` method on resource `SubscriptionItemUsageRecord` - * Remove support for `list` method on resource `SubscriptionItemUsageRecordSummary` - * Remove support for `upcomingLines` and `upcoming` methods on resource `Invoice` - * Remove support for `invoice` on `Charge` and `PaymentIntent` - * Remove support for `shipping_details` on `CheckoutSession` - * Remove support for `carrier`, `phone`, and `tracking_number` on `CheckoutSession.CollectedInformation.ShippingDetail` - * Remove support for `refund` on `CreditNote.CreateParams`, `CreditNote.PreviewParams`, `CreditNotePreviewLines.ListParams`, and `CreditNote` - * Remove support for `tax_amounts` on `CreditNoteLineItem`, `CreditNote`, and `InvoiceLineItem` - * Remove support for `amount_excluding_tax` and `unit_amount_excluding_tax` on `CreditNoteLineItem` and `InvoiceLineItem` - * Remove support for `coupon` on `Customer.CreateParams`, `Customer.UpdateParams`, `Invoice.CreatePreviewParamsScheduleDetailPhase`, `Invoice.CreatePreviewParams`, `Subscription.CreateParams`, `Subscription.UpdateParams`, `SubscriptionSchedule.CreateParamsPhase`, `SubscriptionSchedule.Phase`, and `SubscriptionSchedule.UpdateParamsPhase` - * Remove support for `promotion_code` on `Customer.CreateParams`, `Customer.UpdateParams`, `Subscription.CreateParams`, and `Subscription.UpdateParams` - * Remove support for `price` on `Invoice.AddLinesParamsLine`, `Invoice.UpdateLinesParamsLine`, `InvoiceItem.CreateParams`, `InvoiceItem.UpdateParams`, `InvoiceItem`, `InvoiceLineItem.UpdateParams`, and `InvoiceLineItem` - * Remove support for `billing_thresholds` on `Invoice.CreatePreviewParamsScheduleDetailPhaseItem`, `Invoice.CreatePreviewParamsScheduleDetailPhase`, `Invoice.CreatePreviewParamsSubscriptionDetailItem`, `Subscription.CreateParamsItem`, `Subscription.CreateParams`, `Subscription.UpdateParamsItem`, `Subscription.UpdateParams`, `SubscriptionItem.CreateParams`, `SubscriptionItem.UpdateParams`, `SubscriptionItem`, `SubscriptionSchedule.CreateParamsDefaultSetting`, `SubscriptionSchedule.CreateParamsPhaseItem`, `SubscriptionSchedule.CreateParamsPhase`, `SubscriptionSchedule.DefaultSetting`, `SubscriptionSchedule.Phase.Item`, `SubscriptionSchedule.Phase`, `SubscriptionSchedule.UpdateParamsDefaultSetting`, `SubscriptionSchedule.UpdateParamsPhaseItem`, `SubscriptionSchedule.UpdateParamsPhase`, and `Subscription` - * Remove support for `application_fee_amount`, `charge`, `paid_out_of_band`, `paid`, `payment_intent`, `quote`, `subscription`, `subscription_details`, `subscription_proration_date`, `tax`, `total_tax_amounts`, and `transfer_data` on `Invoice` - * Remove support for `discount` on `Invoice` and `Subscription` - * Remove support for `invoice_item`, `proration_details`, `proration`, `tax_rates`, and `type` on `InvoiceLineItem` - * Remove support for `plan` and `subscription_item` on `InvoiceItem` and `InvoiceLineItem` - * Remove support for `unit_amount` on `InvoiceItem.CreateParams`, `InvoiceItem.UpdateParams`, and `InvoiceItem` - * Remove support for `subscription` and `unit_amount_decimal` on `InvoiceItem` - * Remove support for `naver_pay` on `PaymentMethod.UpdateParams` - * Remove support for `aggregate_usage` on `Plan.CreateParams`, `Plan`, `Price.CreateParamsRecurring`, and `Price.Recurring` - * Remove support for `current_period_end` and `current_period_start` on `Subscription` - * Remove support for page on `v2.Event.ListParams` and `v2.EventDestination.ListParams` - - ### Changes - * Change `CheckoutSession.collected_information` to be required - * Change `CheckoutSession.CollectedInformation.shipping_details` to be required - * Change `CheckoutSession.CollectedInformation.ShippingDetail.address` to be required - * Change `CheckoutSession.CollectedInformation.ShippingDetail.name` to be required - * Change `PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client`, `PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client`, and `PaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.client` to be optional - * Change `political_exposure` on resources `Person` and `Token` and params `Token.CreateParams` from string to `enum("existing" | "none")` - - ### Additions - - * Add support for new resource `InvoicePayment` - * Add support for `list` and `retrieve` methods on resource `InvoicePayment` - * Add support for `billie_payments`, `nz_bank_account_becs_debit_payments`, and `satispay_payments` on `Account.Capability`, `Account.CreateParamsCapability`, and `Account.UpdateParamsCapability` - * Add support for `hosted_payment_method_save` on `Account.Setting.Invoice` and `Account.UpdateParamsSettingInvoice` - * Add support for `invoices` on `Account.CreateParamsSetting` - * Add support for new values `information_missing`, `invalid_signator`, `verification_failed_authorizer_authority`, and `verification_rejected_ownership_exemption_reason` on enums `Account.FutureRequirement.Error.code`, `Account.Requirement.Error.code`, `AccountCapability.FutureRequirement.Error.code`, `AccountCapability.Requirement.Error.code`, `AccountPerson.FutureRequirement.Error.code`, `AccountPerson.Requirement.Error.code`, `BankAccount.FutureRequirement.Error.code`, and `BankAccount.Requirement.Error.code` - * Add support for new values `forwarding_api_retryable_upstream_error` and `setup_intent_mobile_wallet_unsupported` on enums `Invoice.LastFinalizationError.code`, `PaymentIntent.LastPaymentError.code`, `SetupAttempt.SetupError.code`, `SetupIntent.LastSetupError.code`, and `StripeError.code` - * Add support for new values `stripe_balance_payment_debit_reversal` and `stripe_balance_payment_debit` on enum `BalanceTransaction.type` - * Add support for new value `last` on enums `BillingMeter.DefaultAggregation.formula` and `billing.Meter.CreateParamsDefaultAggregation.formula` - * Add support for `presentment_details` on `Charge`, `CheckoutSession`, `PaymentIntent`, and `Refund` - * Add support for `billie` and `satispay` on `Charge.PaymentMethodDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatum`, `ConfirmationToken.PaymentMethodPreview`, `CustomerPaymentMethod`, `PaymentIntent.ConfirmParamsPaymentMethodDatum`, `PaymentIntent.CreateParamsPaymentMethodDatum`, `PaymentIntent.UpdateParamsPaymentMethodDatum`, `PaymentMethod.CreateParams`, `PaymentMethodConfiguration.CreateParams`, `PaymentMethodConfiguration.UpdateParams`, `PaymentMethodConfiguration`, `PaymentMethod`, `SetupIntent.ConfirmParamsPaymentMethodDatum`, `SetupIntent.CreateParamsPaymentMethodDatum`, and `SetupIntent.UpdateParamsPaymentMethodDatum` - * Add support for `nz_bank_account` on `Charge.PaymentMethodDetail`, `ConfirmationToken.CreateParamsPaymentMethodDatum`, `ConfirmationToken.PaymentMethodPreview`, `CustomerPaymentMethod`, `Mandate.PaymentMethodDetail`, `PaymentIntent.ConfirmParamsPaymentMethodDatum`, `PaymentIntent.ConfirmParamsPaymentMethodOption`, `PaymentIntent.CreateParamsPaymentMethodDatum`, `PaymentIntent.CreateParamsPaymentMethodOption`, `PaymentIntent.PaymentMethodOption`, `PaymentIntent.UpdateParamsPaymentMethodDatum`, `PaymentIntent.UpdateParamsPaymentMethodOption`, `PaymentMethod.CreateParams`, `PaymentMethodConfiguration.CreateParams`, `PaymentMethodConfiguration.UpdateParams`, `PaymentMethodConfiguration`, `PaymentMethod`, `SetupAttempt.PaymentMethodDetail`, `SetupIntent.ConfirmParamsPaymentMethodDatum`, `SetupIntent.CreateParamsPaymentMethodDatum`, and `SetupIntent.UpdateParamsPaymentMethodDatum` - * Add support for `optional_items` on `CheckoutSession`, `PaymentLink.CreateParams`, `PaymentLink`, and `checkout.Session.CreateParams` - * Add support for `permissions` on `CheckoutSession` and `checkout.Session.CreateParams` - * Add support for new values `billie` and `satispay` on enum `checkout.Session.CreateParams.payment_method_types` - * Add support for new value `custom` on enums `CheckoutSession.ui_mode` and `checkout.Session.CreateParams.ui_mode` - * Add support for `shipping_options` on `checkout.Session.UpdateParams` - * Add support for new values `billie`, `nz_bank_account`, and `satispay` on enums `ConfirmationToken.CreateParamsPaymentMethodDatum.type`, `PaymentIntent.ConfirmParamsPaymentMethodDatum.type`, `PaymentIntent.CreateParamsPaymentMethodDatum.type`, `PaymentIntent.UpdateParamsPaymentMethodDatum.type`, `SetupIntent.ConfirmParamsPaymentMethodDatum.type`, `SetupIntent.CreateParamsPaymentMethodDatum.type`, and `SetupIntent.UpdateParamsPaymentMethodDatum.type` - * Add support for `buyer_id` on `ConfirmationToken.PaymentMethodPreview.NaverPay`, `CustomerPaymentMethod.NaverPay`, and `PaymentMethod.NaverPay` - * Add support for new values `billie`, `nz_bank_account`, and `satispay` on enums `ConfirmationToken.PaymentMethodPreview.type`, `CustomerPaymentMethod.type`, and `PaymentMethod.type` - * Add support for `refunds` on `CreditNote.CreateParams`, `CreditNote.PreviewParams`, `CreditNotePreviewLines.ListParams`, and `CreditNote` - * Add support for `total_taxes` on `CreditNote` and `Invoice` - * Add support for `taxes` on `CreditNoteLineItem` and `InvoiceLineItem` - * Add support for `checkout_session` on `CustomerBalanceTransaction` - * Add support for new values `checkout_session_subscription_payment_canceled` and `checkout_session_subscription_payment` on enum `CustomerBalanceTransaction.type` - * Add support for new values `billie`, `nz_bank_account`, and `satispay` on enums `CustomerPaymentMethod.ListParams.type`, `PaymentMethod.CreateParams.type`, and `PaymentMethod.ListParams.type` - * Add support for new value `invoice.overpaid` on enum `Event.type` - * Add support for new values `klarna` and `nz_bank_account` on enums `Invoice.CreateParamsPaymentSetting.payment_method_types`, `Invoice.PaymentSetting.payment_method_types`, `Invoice.UpdateParamsPaymentSetting.payment_method_types`, `Subscription.CreateParamsPaymentSetting.payment_method_types`, `Subscription.PaymentSetting.payment_method_types`, and `Subscription.UpdateParamsPaymentSetting.payment_method_types` - * Add support for `pricing` on `Invoice.AddLinesParamsLine`, `Invoice.UpdateLinesParamsLine`, `InvoiceItem.CreateParams`, `InvoiceItem.UpdateParams`, `InvoiceItem`, `InvoiceLineItem.UpdateParams`, and `InvoiceLineItem` - * Add support for `taxability_reason` on `Invoice.AddLinesParamsLineTaxAmount`, `Invoice.UpdateLinesParamsLineTaxAmount`, and `InvoiceLineItem.UpdateParamsTaxAmount` - * Add support for `jurisdiction_level` on `Invoice.AddLinesParamsLineTaxAmountTaxRateDatum`, `Invoice.UpdateLinesParamsLineTaxAmountTaxRateDatum`, and `InvoiceLineItem.UpdateParamsTaxAmountTaxRateDatum` - * Add support for `amount_overpaid`, `confirmation_secret`, and `payments` on `Invoice` - * Add support for `parent` on `InvoiceItem`, `InvoiceLineItem`, and `Invoice` - * Add support for new value `expired` on enums `IssuingAuthorization.status` and `issuing.Authorization.ListParams.status` - * Add support for new value `network_fallback` on enum `IssuingAuthorization.RequestHistory.reason` - * Add support for `naver_pay` on `Mandate.PaymentMethodDetail` and `SetupAttempt.PaymentMethodDetail` - * Add support for `setup_future_usage` on `PaymentIntent.ConfirmParamsPaymentMethodOptionNaverPay`, `PaymentIntent.CreateParamsPaymentMethodOptionNaverPay`, `PaymentIntent.PaymentMethodOption.NaverPay`, and `PaymentIntent.UpdateParamsPaymentMethodOptionNaverPay` - * Add support for `default_value` on `PaymentLink.CreateParamsCustomFieldDropdown`, `PaymentLink.CreateParamsCustomFieldNumeric`, `PaymentLink.CreateParamsCustomFieldText`, `PaymentLink.CustomField.Dropdown`, `PaymentLink.CustomField.Numeric`, `PaymentLink.CustomField.Text`, `PaymentLink.UpdateParamsCustomFieldDropdown`, `PaymentLink.UpdateParamsCustomFieldNumeric`, and `PaymentLink.UpdateParamsCustomFieldText` - * Add support for new values `billie` and `satispay` on enums `PaymentLink.CreateParams.payment_method_types`, `PaymentLink.UpdateParams.payment_method_types`, and `PaymentLink.payment_method_types` - * Add support for `nz_bank_transfer` on `Refund.DestinationDetail` - * Add support for new value `canceled` on enum `Review.closed_reason` - * Add support for `current_period_end` and `current_period_start` on `SubscriptionItem` - * Add support for `wifi` on `TerminalConfiguration`, `terminal.Configuration.CreateParams`, and `terminal.Configuration.UpdateParams` - * Add support for new value `invoice.overpaid` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.UpdateParams.enabled_events` - * Add support for new values `2025-03-01.dashboard` and `2025-03-31.basil` on enum `WebhookEndpoint.CreateParams.api_version` - -### ⚠️ Other Breaking changes in the SDK -* [#1474](https://github.com/stripe/stripe-python/pull/1474) Rename `StripeStreamResponseAsync`'s `.read()` to `read_async()` for consistency - * Rename `StripeStreamResponseAsync.read()` to `.read_async()` - * This brings the method name in line with the conventions used by every other async method in the package, ensuring consistent `async` usage. - * You'll need to update your code if you call `Quote.pdf_async().read()` method. A typechecker will alert you to this change. -* [#1471](https://github.com/stripe/stripe-python/pull/1471) Fix incorrect property name on `ThinEvent.related_object.type` - * Rename `ThinEvent.related_object.type_` to `ThinEvent.related_object.type` - * This was an unintentional typo before. The property name now correctly matches the value you get back from the API - -## 11.7.0b1 - 2025-03-18 -* [#1469](https://github.com/stripe/stripe-python/pull/1469) Beta SDK updates between Open API versions 1473 and 1505 - - * Add support for `target_date` on parameter classes `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit`, `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit` and resource classes `stripe.Order.Payment.Settings.PaymentMethodOptions.AcssDebit` and `stripe.Order.Payment.Settings.PaymentMethodOptions.SepaDebit` - * Add support for `succeed_input_collection` and `timeout_input_collection` on resource `stripe.terminal.Reader` -* [#1467](https://github.com/stripe/stripe-python/pull/1467) Merge python-beta - -## 11.6.0 - 2025-02-24 -* [#1450](https://github.com/stripe/stripe-python/pull/1450) Update generated code - * Add support for `target_date` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAcssDebit`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAuBecsDebit`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebit`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccount`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAcssDebit`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAuBecsDebit`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebit`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccount`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAcssDebit`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAuBecsDebit`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebit`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccount`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsAcssDebit`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsAuBecsDebit`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccount` and resource classes `stripe.PaymentIntent.PaymentMethodOptions.AcssDebit`, `stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit`, `stripe.PaymentIntent.PaymentMethodOptions.BacsDebit`, `stripe.PaymentIntent.PaymentMethodOptions.SepaDebit`, `stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount`, `stripe.checkout.Session.PaymentMethodOptions.AcssDebit`, `stripe.checkout.Session.PaymentMethodOptions.AuBecsDebit`, `stripe.checkout.Session.PaymentMethodOptions.BacsDebit`, `stripe.checkout.Session.PaymentMethodOptions.SepaDebit`, and `stripe.checkout.Session.PaymentMethodOptions.UsBankAccount` - * Add support for `metadata` on parameter class `stripe.Product.CreateParamsDefaultPriceData` - * Add support for `prices` on parameter classes `stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope` and `stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope` and resource class `stripe.billing.CreditGrant.ApplicabilityConfig.Scope` - * Add support for `priority` on parameter class `stripe.billing.CreditGrant.CreateParams` and resource `stripe.billing.CreditGrant` - * Add support for `restrictions` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` - * Add support for `collected_information` on parameter class `stripe.checkout.Session.ModifyParams` and resource `stripe.checkout.Session` - * Change type of `price_type` on `stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope` and `stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope` from `Literal['metered']` to `NotRequired[Literal['metered']]` - * Change type of `price_type` on `stripe.billing.CreditGrant.ApplicabilityConfig.Scope` from `Literal['metered']` to `Optional[Literal['metered']]` - * Add support for `2025-02-24.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` -* [#1461](https://github.com/stripe/stripe-python/pull/1461) Remove incorrect changelog entry about parse_snapshot_event -* [#1457](https://github.com/stripe/stripe-python/pull/1457) add codeowners file -* [#1456](https://github.com/stripe/stripe-python/pull/1456) upgrade ruff version -* [#1452](https://github.com/stripe/stripe-python/pull/1452) Revert "Bump version to 11.5.0" -* [#1451](https://github.com/stripe/stripe-python/pull/1451) Upgrade to download-artifact@v4 -* [#1443](https://github.com/stripe/stripe-python/pull/1443) Update generated code - * Add support for `pay_by_bank_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` - * Add support for `directorship_declaration` on resource class `stripe.Account.Company` and parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` - * Add support for `ownership_exemption_reason` on resource class `stripe.Account.Company` and parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` - * Add support for `proof_of_ultimate_beneficial_ownership` on parameter class `stripe.Account.CreateParamsDocuments` - * Add support for `financial_account` on resource classes `stripe.AccountSession.Components` and `stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `issuing_card` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `advice_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` - * Add support for `country` on resource classes `stripe.Charge.PaymentMethodDetails.Paypal`, `stripe.ConfirmationToken.PaymentMethodPreview.Paypal`, and `stripe.PaymentMethod.Paypal` - * Add support for `pay_by_bank` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` - * Add support for `phone_number_collection` on parameter class `stripe.PaymentLink.ModifyParams` - * Add support for `discounts` on resource `stripe.checkout.Session` - * Add support for `jpy` on parameter classes `stripe.terminal.Configuration.CreateParamsTipping` and `stripe.terminal.Configuration.ModifyParamsTipping` and resource class `stripe.terminal.Configuration.Tipping` - * Add support for `nickname` on parameter classes `stripe.treasury.FinancialAccount.CreateParams` and `stripe.treasury.FinancialAccount.ModifyParams` and resource `stripe.treasury.FinancialAccount` - * Add support for `forwarding_settings` on parameter class `stripe.treasury.FinancialAccount.ModifyParams` - * Add support for `_cls_close` on resource `stripe.treasury.FinancialAccount` - * Add support for `close` on resource `stripe.treasury.FinancialAccount` - * Add support for `is_default` on resource `stripe.treasury.FinancialAccount` - * Add support for `destination_payment_method_data` on parameter class `stripe.treasury.OutboundTransfer.CreateParams` - * Add support for `outbound_transfer` on resource class `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails` - * Add support for `SD` on enums `stripe.checkout.Session.ShippingAddressCollection.allowed_countries`, `stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries`, `stripe.PaymentLink.ShippingAddressCollection.allowed_countries`, `stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries`, and `stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries` - * Add support for `pay_by_bank` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` - * Add support for `financial_account` on enum `stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type` - * Add support for `outbound_transfer` on enums `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type` and `stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type` - * Add support for `2025-01-27.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` - * Change type of `pretax_credit_amounts` on `stripe.CreditNote` and `stripe.CreditNoteLineItem` from `Optional[List[PretaxCreditAmount]]` to `List[PretaxCreditAmount]` -* [#1448](https://github.com/stripe/stripe-python/pull/1448) Updated upload artifact ci action -* [#1446](https://github.com/stripe/stripe-python/pull/1446) add just to publish CI -* [#1444](https://github.com/stripe/stripe-python/pull/1444) Added CONTRIBUTING.md file -* [#1445](https://github.com/stripe/stripe-python/pull/1445) minor justfile fixes & pin CI version -* [#1440](https://github.com/stripe/stripe-python/pull/1440) add justfile, update readme, remove coveralls -* [#1442](https://github.com/stripe/stripe-python/pull/1442) Fix V2 ListObject.data type hint - - Change `stripe.v2.ListObject.data` type hint from `List[StripeObject]` to `List[T]` where T is the specific stripe object contained within the list +* [#1469](https://github.com/stripe/stripe-python/pull/1469) Beta SDK updates between Open API versions 1473 and 1505 + * Add support for `target_date` on parameter classes `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit`, `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit` and resource classes `stripe.Order.Payment.Settings.PaymentMethodOptions.AcssDebit` and `stripe.Order.Payment.Settings.PaymentMethodOptions.SepaDebit` + * Add support for `succeed_input_collection` and `timeout_input_collection` on resource `stripe.terminal.Reader` ## 11.6.0b1 - 2025-02-07 * [#1449](https://github.com/stripe/stripe-python/pull/1449) Update generated code for beta @@ -1815,47 +829,13 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Change type of `political_exposure` on `stripe.Account.CreatePersonParams`, `stripe.Account.ModifyPersonParams`, and `stripe.Token.CreateParamsPerson` from `str` to `Literal['existing', 'none']` * Change type of `price_type` on `stripe.billing.CreditGrant.ApplicabilityConfig.Scope` from `Literal['metered']` to `Optional[Literal['metered']]` -## 11.5.0 - 2025-01-27 -* [#1443](https://github.com/stripe/stripe-python/pull/1443) Update generated code - * Add support for `pay_by_bank_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` - * Add support for `directorship_declaration` on resource class `stripe.Account.Company` and parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` - * Add support for `ownership_exemption_reason` on resource class `stripe.Account.Company` and parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` - * Add support for `proof_of_ultimate_beneficial_ownership` on parameter class `stripe.Account.CreateParamsDocuments` - * Add support for `financial_account` on resource classes `stripe.AccountSession.Components` and `stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `issuing_card` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `advice_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` - * Add support for `country` on resource classes `stripe.Charge.PaymentMethodDetails.Paypal`, `stripe.ConfirmationToken.PaymentMethodPreview.Paypal`, and `stripe.PaymentMethod.Paypal` - * Add support for `pay_by_bank` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` - * Add support for `phone_number_collection` on parameter class `stripe.PaymentLink.ModifyParams` - * Add support for `discounts` on resource `stripe.checkout.Session` - * Add support for `jpy` on parameter classes `stripe.terminal.Configuration.CreateParamsTipping` and `stripe.terminal.Configuration.ModifyParamsTipping` and resource class `stripe.terminal.Configuration.Tipping` - * Add support for `nickname` on parameter classes `stripe.treasury.FinancialAccount.CreateParams` and `stripe.treasury.FinancialAccount.ModifyParams` and resource `stripe.treasury.FinancialAccount` - * Add support for `forwarding_settings` on parameter class `stripe.treasury.FinancialAccount.ModifyParams` - * Add support for `_cls_close` on resource `stripe.treasury.FinancialAccount` - * Add support for `close` on resource `stripe.treasury.FinancialAccount` - * Add support for `is_default` on resource `stripe.treasury.FinancialAccount` - * Add support for `destination_payment_method_data` on parameter class `stripe.treasury.OutboundTransfer.CreateParams` - * Add support for `outbound_transfer` on resource class `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails` - * Add support for `SD` on enums `stripe.checkout.Session.ShippingAddressCollection.allowed_countries`, `stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries`, `stripe.PaymentLink.ShippingAddressCollection.allowed_countries`, `stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries`, and `stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries` - * Add support for `pay_by_bank` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` - * Add support for `financial_account` on enum `stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type` - * Add support for `outbound_transfer` on enums `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type` and `stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type` - * Add support for `2025-01-27.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` - * Change type of `pretax_credit_amounts` on `stripe.CreditNote` and `stripe.CreditNoteLineItem` from `Optional[List[PretaxCreditAmount]]` to `List[PretaxCreditAmount]` -* [#1451](https://github.com/stripe/stripe-python/pull/1451) Upgrade to download-artifact@v4 -* [#1448](https://github.com/stripe/stripe-python/pull/1448) Updated upload artifact ci action -* [#1446](https://github.com/stripe/stripe-python/pull/1446) add just to publish CI -* [#1444](https://github.com/stripe/stripe-python/pull/1444) Added CONTRIBUTING.md file -* [#1445](https://github.com/stripe/stripe-python/pull/1445) minor justfile fixes & pin CI version -* [#1440](https://github.com/stripe/stripe-python/pull/1440) add justfile, update readme, remove coveralls -* [#1442](https://github.com/stripe/stripe-python/pull/1442) Fix V2 ListObject.data type hint - - Change `stripe.v2.ListObject.data` type hint from `List[StripeObject]` to `List[T]` where T is the specific stripe object contained within the list - ## 11.5.0b3 - 2025-01-23 * [#1447](https://github.com/stripe/stripe-python/pull/1447) Update generated code for beta * Remove support for `stripe_account` on resource classes `stripe.terminal.Reader.Action.CollectPaymentMethod`, `stripe.terminal.Reader.Action.ConfirmPaymentIntent`, `stripe.terminal.Reader.Action.ProcessPaymentIntent`, and `stripe.terminal.Reader.Action.RefundPayment` ## 11.5.0b2 - 2025-01-17 +This release changes the pinned API version to `2025-01-27.acacia`. + * [#1439](https://github.com/stripe/stripe-python/pull/1439) Update generated code for beta * Add support for `pay_by_bank_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` * Add support for `directorship_declaration` on parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` @@ -1893,78 +873,9 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `outbound_transfer` on enums `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type` and `stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type` * Change type of `pretax_credit_amounts` on `stripe.CreditNote` and `stripe.CreditNoteLineItem` from `Optional[List[PretaxCreditAmount]]` to `List[PretaxCreditAmount]` -## 11.4.1 - 2024-12-19 -* [#1438](https://github.com/stripe/stripe-python/pull/1438) Fix regression when using httpx HTTP client - -## 11.4.0 - 2024-12-18 -* [#1430](https://github.com/stripe/stripe-python/pull/1430) This release changes the pinned API version to `2024-12-18.acacia`. - * Add support for `allow_redisplay` on resources `stripe.Card` and `stripe.Source` - * Add support for `regulated_status` on resource `stripe.Card` and resource classes `stripe.Charge.PaymentMethodDetails.Card`, `stripe.ConfirmationToken.PaymentMethodPreview.Card`, and `stripe.PaymentMethod.Card` - * Add support for `network_advice_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` - * Add support for `network_decline_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` - * Add support for `funding` on resource classes `stripe.Charge.PaymentMethodDetails.AmazonPay` and `stripe.Charge.PaymentMethodDetails.RevolutPay` - * Add support for `network_transaction_id` on resource class `stripe.Charge.PaymentMethodDetails.Card` - * Add support for `visa_compliance` on resource classes `stripe.Dispute.Evidence.EnhancedEvidence` and `stripe.Dispute.EvidenceDetails.EnhancedEligibility` and parameter class `stripe.Dispute.ModifyParamsEvidenceEnhancedEvidence` - * Add support for `account_holder_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin` - * Add support for `bank_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin` - * Add support for `account_holder_name` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei` and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei` - * Add support for `disabled_reason` on resource classes `stripe.Invoice.AutomaticTax`, `stripe.Subscription.AutomaticTax`, `stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax`, and `stripe.SubscriptionSchedule.Phase.AutomaticTax` - * Add support for `reference_prefix` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions` and resource classes `stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions`, `stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions`, `stripe.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions`, `stripe.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions`, `stripe.checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions`, and `stripe.checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions` - * Add support for `trial_period_days` on parameter class `stripe.PaymentLink.ModifyParamsSubscriptionData` - * Add support for `credits_application_invoice_voided` on resource class `stripe.billing.CreditBalanceTransaction.Credit` - * Add support for `tax_id` on resource classes `stripe.issuing.Authorization.MerchantData` and `stripe.issuing.Transaction.MerchantData` - * Add support for `al` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `am` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `ao` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `ba` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `bb` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `bs` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `cd` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `gn` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `kh` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `me` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `mk` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `mr` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `np` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `pe` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `sn` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `sr` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `tj` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `ug` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `uy` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `zm` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `zw` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `payout_minimum_balance_hold` on enum `stripe.BalanceTransaction.type` - * Add support for `payout_minimum_balance_release` on enum `stripe.BalanceTransaction.type` - * Add support for `credits_application_invoice_voided` on enum `stripe.billing.CreditBalanceTransaction.Credit.type` - * Add support for `al_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `am_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `ao_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `ba_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `bb_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `bs_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `cd_nif` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `gn_nif` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `kh_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `me_pib` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `mk_vat` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `mr_nif` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `np_pan` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `sn_ninea` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `sr_fin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `tj_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `ug_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `zm_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `zw_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `request_signature` on enums `stripe.forwarding.Request.replacements` and `stripe.forwarding.Request.CreateParams.replacements` - * Add support for `2024-12-18.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` - * Change type of `schedule_at_period_end` on `stripe.billing_portal.Configuration.Features.SubscriptionUpdate` from `Optional[ScheduleAtPeriodEnd]` to `ScheduleAtPeriodEnd` -* [#1434](https://github.com/stripe/stripe-python/pull/1434) Fix using `auto_paging_iter()` with `expand: [...]` -* [#1435](https://github.com/stripe/stripe-python/pull/1435) Fix StripeError http_body - - Fixes an issue where `StripeError.http_body` may be None even when `json_body` is a valid dictionary. -* [#1431](https://github.com/stripe/stripe-python/pull/1431) fix deprecation warning in httpx @ 0.28 - ## 11.4.0b3 - 2024-12-12 +This release changes the pinned API version to `2024-12-18.acacia`. + * [#1429](https://github.com/stripe/stripe-python/pull/1429) Update generated code for beta * Add support for `allow_redisplay` on resources `stripe.Card` and `stripe.Source` * Add support for `account` on resource classes `stripe.terminal.Reader.Action.CollectPaymentMethod`, `stripe.terminal.Reader.Action.ConfirmPaymentIntent`, `stripe.terminal.Reader.Action.ProcessPaymentIntent`, and `stripe.terminal.Reader.Action.RefundPayment` @@ -2014,31 +925,9 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Change type of `schedule_at_period_end` on `stripe.billing_portal.Configuration.Features.SubscriptionUpdate` from `Optional[ScheduleAtPeriodEnd]` to `ScheduleAtPeriodEnd` * Add support for `invoice.overpaid` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` -## 11.3.0 - 2024-11-20 -* [#1424](https://github.com/stripe/stripe-python/pull/1424) This release changes the pinned API version to `2024-11-20.acacia`. - * Add support for `authorizer` on parameter classes `stripe.Account.CreatePersonParamsRelationship`, `stripe.Account.ListPersonsParamsRelationship`, `stripe.Account.ModifyPersonParamsRelationship`, `stripe.Account.PersonsParamsRelationship`, and `stripe.Token.CreateParamsPersonRelationship` and resource class `stripe.Person.Relationship` - * Add support for `account_holder_address`, `account_holder_name`, `account_type` and `bank_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift` - * Add support for `submit_type` on parameter class `stripe.PaymentLink.ModifyParams` - * Add support for `trace_id` on resource `stripe.Payout` - * Add support for `network_decline_code` on resource classes `stripe.Refund.DestinationDetails.Blik` and `stripe.Refund.DestinationDetails.Swish` - * Add support for `adaptive_pricing` on parameter class `stripe.checkout.Session.CreateParams` and resource `stripe.checkout.Session` - * Add support for `mandate_options` on parameter classes `stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit` and `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit` and resource classes `stripe.checkout.Session.PaymentMethodOptions.BacsDebit` and `stripe.checkout.Session.PaymentMethodOptions.SepaDebit` - * Add support for `request_extended_authorization`, `request_incremental_authorization`, `request_multicapture` and `request_overcapture` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard` and resource class `stripe.checkout.Session.PaymentMethodOptions.Card` - * Add support for `capture_method` on parameter classes `stripe.checkout.Session.CreateParamsPaymentMethodOptionsKakaoPay`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsKrCard`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsNaverPay`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsPayco`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSamsungPay` - * Add support for `merchant_amount` and `merchant_currency` on parameter class `stripe.issuing.Authorization.CreateParams` - * Add support for `fraud_challenges`, `verified_by_fraud_challenge` and `respond` on resource `stripe.issuing.Authorization` - * Change type of `disabled_reason` on `stripe.Account.FutureRequirements` and `stripe.Account.Requirements` from `str` to `Literal['action_required.requested_capabilities', 'listed', 'other', 'platform_paused', 'rejected.fraud', 'rejected.incomplete_verification', 'rejected.listed', 'rejected.other', 'rejected.platform_fraud', 'rejected.platform_other', 'rejected.platform_terms_of_service', 'rejected.terms_of_service', 'requirements.past_due', 'requirements.pending_verification', 'under_review']` - * Change type of `disable_stripe_user_authentication` on `stripe.AccountSession.Components.AccountManagement.Features`, `stripe.AccountSession.Components.AccountOnboarding.Features`, `stripe.AccountSession.Components.Balances.Features`, `stripe.AccountSession.Components.NotificationBanner.Features`, and `stripe.AccountSession.Components.Payouts.Features` from `Optional[bool]` to `bool` - * Add support for `subscribe` on enums `stripe.checkout.Session.submit_type`, `stripe.checkout.Session.CreateParams.submit_type`, `stripe.PaymentLink.submit_type`, and `stripe.PaymentLink.CreateParams.submit_type` - * Add support for `li_vat` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `financial_account_statement` on enums `stripe.File.purpose` and `stripe.File.ListParams.purpose` - * Add support for `service_tax` on enums `stripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type`, `stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.TaxRate.tax_type`, `stripe.TaxRate.CreateParams.tax_type`, and `stripe.TaxRate.ModifyParams.tax_type` - * Add support for `link` on enums `stripe.PaymentIntent.PaymentMethodOptions.Card.network`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.PaymentMethodOptions.Card.network`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network`, and `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network` - * Add support for `2024-11-20.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` - * Change type of `amount` on `stripe.issuing.Authorization.CreateParams` from `int` to `NotRequired[int]` - * Change type of `origin_payment_method` on `stripe.treasury.InboundTransfer` from `str` to `Optional[str]` - ## 11.3.0b3 - 2024-11-14 +This release changes the pinned API version to `2024-11-20.acacia`. + * [#1422](https://github.com/stripe/stripe-python/pull/1422) Update generated code for beta * Add support for `account_holder_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin` * Add support for `bank_address` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei`, `stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode`, `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei`, and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin` @@ -2087,6 +976,8 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Change type of `origin_payment_method` on `stripe.treasury.InboundTransfer` from `str` to `Optional[str]` ## 11.3.0b1 - 2024-10-29 +This release changes the pinned API version to `2024-10-28.acacia`. + * [#1417](https://github.com/stripe/stripe-python/pull/1417) Update generated code for beta * Add support for `id_bank_transfer_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` * Add support for `bank_bca_onboarding` on parameter class `stripe.Account.CreateParamsSettings` and resource class `stripe.Account.Settings` @@ -2103,40 +994,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Change type of `enhanced_eligibility` on `stripe.Dispute.EvidenceDetails` from `Optional[EnhancedEligibility]` to `EnhancedEligibility` * Remove support for `payout_statement_descriptor_profanity` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` -## 11.2.0 - 2024-10-29 -* [#1411](https://github.com/stripe/stripe-python/pull/1411) This release changes the pinned API version to `2024-10-28.acacia`. - * Add support for resource `stripe.v2.EventDestinations` - * Add support for `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations` - * Add support for `alma_payments`, `kakao_pay_payments`, `kr_card_payments`, `naver_pay_payments`, `payco_payments`, `samsung_pay_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` - * Add support for `groups` on parameter class `stripe.Account.CreateParams` and resource `stripe.Account` - * Add support for `disable_stripe_user_authentication` on resource classes `stripe.AccountSession.Components.AccountManagement.Features`, `stripe.AccountSession.Components.AccountOnboarding.Features`, `stripe.AccountSession.Components.Balances.Features`, `stripe.AccountSession.Components.NotificationBanner.Features`, and `stripe.AccountSession.Components.Payouts.Features` and parameter classes `stripe.AccountSession.CreateParamsComponentsAccountManagementFeatures`, `stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures`, `stripe.AccountSession.CreateParamsComponentsBalancesFeatures`, `stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures`, and `stripe.AccountSession.CreateParamsComponentsPayoutsFeatures` - * Add support for `alma` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.PaymentIntent.PaymentMethodOptions`, and `stripe.Refund.DestinationDetails`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` - * Add support for `kakao_pay`, `kr_card` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.Mandate.PaymentMethodDetails`, `stripe.PaymentIntent.PaymentMethodOptions`, `stripe.SetupAttempt.PaymentMethodDetails`, and `stripe.checkout.Session.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resource `stripe.PaymentMethod` - * Add support for `naver_pay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.PaymentIntent.PaymentMethodOptions`, and `stripe.checkout.Session.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resource `stripe.PaymentMethod` - * Add support for `payco`, `samsung_pay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.PaymentIntent.PaymentMethodOptions`, and `stripe.checkout.Session.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resource `stripe.PaymentMethod` - * Add support for `enhanced_evidence` on resource class `stripe.Dispute.Evidence` and parameter class `stripe.Dispute.ModifyParamsEvidence` - * Add support for `enhanced_eligibility` on resource class `stripe.Dispute.EvidenceDetails` - * Add support for `enhanced_eligibility_types` on resource `stripe.Dispute` - * Add support for `automatically_finalizes_at` on parameter classes `stripe.Invoice.CreateParams` and `stripe.Invoice.ModifyParams` - * Add support for `amazon_pay` on resource `stripe.PaymentMethodDomain` - * Add support for `flat_amount`, `rate_type` on resource `stripe.TaxRate` and resource class `stripe.tax.Calculation.TaxBreakdown.TaxRateDetails` - * Add support for `schedule_at_period_end` on parameter classes `stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate` and `stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdate` and resource class `stripe.billing_portal.Configuration.Features.SubscriptionUpdate` - * Add support for `metadata` on parameter class `stripe.forwarding.Request.CreateParams` and resource `stripe.forwarding.Request` - * Add support for `_cls_submit_card` on resource `stripe.issuing.Card` - * Add support for `submit_card` on resource `stripe.issuing.Card` - * Add support for `by`, `cr`, `ec`, `ma`, `md`, `rs`, `ru`, `tz`, `uz` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `pln` on parameter classes `stripe.terminal.Configuration.CreateParamsTipping` and `stripe.terminal.Configuration.ModifyParamsTipping` and resource class `stripe.terminal.Configuration.Tipping` - * Change type of `business_profile` on `stripe.billing_portal.Configuration.CreateParams` from `Configuration.CreateParamsBusinessProfile` to `NotRequired[Configuration.CreateParamsBusinessProfile]` - * Add support for `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, `uz_vat` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` - * Add support for `samsung_pay` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` - * Add support for `auto` on enum `stripe.Customer.ModifyParamsTax.validate_location` - * Add support for `issuing_transaction.purchase_details_receipt_updated`, `refund.failed` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `jp_credit_transfer` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` - * Add support for `retail_delivery_fee` on enums `stripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type`, `stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type`, `stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type`, `stripe.TaxRate.tax_type`, `stripe.TaxRate.CreateParams.tax_type`, and `stripe.TaxRate.ModifyParams.tax_type` - * Add support for `state_retail_delivery_fee` on enums `stripe.tax.Registration.CountryOptions.Us.type` and `stripe.tax.Registration.CreateParamsCountryOptionsUs.type` - * Add support for `2024-10-28.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` - ## 11.2.0b3 - 2024-10-18 * [#1413](https://github.com/stripe/stripe-python/pull/1413) Update generated code for beta * Add support for `alma_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` @@ -2210,6 +1067,8 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `state_retail_delivery_fee` on enums `stripe.tax.Registration.CountryOptions.Us.type` and `stripe.tax.Registration.CreateParamsCountryOptionsUs.type` ## 11.2.0b1 - 2024-10-03 +This release changes the pinned API version to `2024-09-30.acacia`. + * [#1407](https://github.com/stripe/stripe-python/pull/1407) Updates beta branch with changes in master & update generated code * Add support for `reporting_chart` on parameter class `stripe.AccountSession.CreateParamsComponents` * Add support for `total_pretax_credit_amounts` on resource `stripe.QuotePreviewInvoice` @@ -2218,51 +1077,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Move `raw_request` and related methods from `_raw_request` module to the `StripeClient` class * Remove `_preview` module; use raw request methods in the `StripeClient` class instead -## 11.1.1 - 2024-10-18 -* [#1414](https://github.com/stripe/stripe-python/pull/1414) Deserialize into correct v2 EventData types - * Fixes a bug where v2 EventData was not being deserialized into the appropriate type for `V1BillingMeterErrorReportTriggeredEvent` and `V1BillingMeterNoMeterFoundEvent` -* [#1415](https://github.com/stripe/stripe-python/pull/1415) update object tags for meter-related classes - - - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server. -* [#1412](https://github.com/stripe/stripe-python/pull/1412) Clean up examples - -## 11.1.0 - 2024-10-03 -* [#1409](https://github.com/stripe/stripe-python/pull/1409) Update the class for `ThinEvent` to include `livemode` -* [#1408](https://github.com/stripe/stripe-python/pull/1408) Update generated code - * Remove the support for resource `Margin` that was accidentally made public in the last release - -## 11.0.0 - 2024-10-01 -* [#1404](https://github.com/stripe/stripe-python/pull/1404) Support for APIs in the new API version 2024-09-30.acacia - - This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Changelog](https://docs.stripe.com/changelog/acacia#2024-09-30.acacia) and carefully review the API changes before upgrading. - - ### ⚠️ Breaking changes due to changes in the API - - - * Rename for `usage_threshold_config` to `usage_threshold` on parameter class `stripe.billing.Alert.CreateParams` and resource `stripe.billing.Alert` - * Remove support for `filter` on parameter class `stripe.billing.Alert.CreateParams` and resource `stripe.billing.Alert`. Use the filters on the `usage_threshold` instead - * * Remove support for `customer_consent_collected` on parameter class `stripe.terminal.Reader.ProcessSetupIntentParams` - - ### ⚠️ Other Breaking changes in the SDK - * Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are: - - max retries: `0` -> `2` - - max timeout (seconds): `2` -> `5` - - ### Additions - - * Add support for `custom_unit_amount` on parameter class `stripe.Product.CreateParamsDefaultPriceData` - * Add support for `usage_threshold` on parameter class `stripe.billing.Alert.CreateParams` and resource `stripe.billing.Alert` - * Add support for `allow_redisplay` on parameter classes `stripe.terminal.Reader.ProcessPaymentIntentParamsProcessConfig` and `stripe.terminal.Reader.ProcessSetupIntentParams` - * Add support for `international_transaction` on enum `stripe.treasury.ReceivedCredit.failure_code` - * Add support for `2024-09-30.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` - * Add support for new Usage Billing APIs `stripe.v2.billing.MeterEvent`, `stripe.v2.billing.MeterEventAdjustments`, `stripe.v2.billing.MeterEventSession`, `stripe.v2.billing.MeterEventStream` and the new Events API `stripe.v2.core.Events` under the [v2 namespace ](https://docs.corp.stripe.com/api-v2-overview) - * Add method [rawRequest()](https://github.com/stripe/stripe-python/tree/master?tab=readme-ov-file#custom-requests) on the `StripeClient` class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK. - * Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview) - - ### Other changes - * Change type of `default_allowed_updates` on `stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate` from `Union[Literal[''], List[Literal['price', 'promotion_code', 'quantity']]]` to `NotRequired[Literal['']|List[Literal['price', 'promotion_code', 'quantity']]]` - * Change type of `products` on `stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate` from `Union[Literal[''], List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]]` to `NotRequired[Literal['']|List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]]` - ## 10.13.0b1 - 2024-09-18 * [#1395](https://github.com/stripe/stripe-python/pull/1395) Update generated code for beta * Add support for `send_money` on parameter class `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures` @@ -2272,18 +1086,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `rechnung` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` * Add support for `terminal_reader_invalid_location_for_activation` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.12.0 - 2024-09-18 -* [#1394](https://github.com/stripe/stripe-python/pull/1394) Update generated code - * Add support for `international_transaction` on enum `stripe.treasury.ReceivedDebit.failure_code` -* [#1393](https://github.com/stripe/stripe-python/pull/1393) Update generated code - * Add support for `payer_details` on resource class `stripe.Charge.PaymentMethodDetails.Klarna` - * Add support for `amazon_pay` on resource class `stripe.Dispute.PaymentMethodDetails` - * Add support for `automatically_finalizes_at` on resource `stripe.Invoice` - * Add support for `state_sales_tax` on resource class `stripe.tax.Registration.CountryOptions.Us` and parameter class `stripe.tax.Registration.CreateParamsCountryOptionsUs` - * Add support for `verification_supportability` on enums `stripe.Account.FutureRequirements.Error.code`, `stripe.Account.Requirements.Error.code`, `stripe.BankAccount.FutureRequirements.Error.code`, `stripe.BankAccount.Requirements.Error.code`, `stripe.Capability.FutureRequirements.Error.code`, `stripe.Capability.Requirements.Error.code`, `stripe.Person.FutureRequirements.Error.code`, and `stripe.Person.Requirements.Error.code` - * Add support for `amazon_pay` on enum `stripe.Dispute.PaymentMethodDetails.type` - * Add support for `terminal_reader_invalid_location_for_activation` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - ## 10.12.0b1 - 2024-09-13 * [#1389](https://github.com/stripe/stripe-python/pull/1389) Update generated code for beta * Add support for `template` on resource class `stripe.QuotePreviewInvoice.Rendering` @@ -2297,26 +1099,7 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `issuing_settlement.created` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` * Add support for `issuing_settlement.updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` -## 10.11.0 - 2024-09-12 -* [#1391](https://github.com/stripe/stripe-python/pull/1391) Update generated code - * Add support for `template` on parameter classes `stripe.Customer.CreateParamsInvoiceSettingsRenderingOptions`, `stripe.Customer.ModifyParamsInvoiceSettingsRenderingOptions`, `stripe.Invoice.CreateParamsRendering`, and `stripe.Invoice.ModifyParamsRendering` and resource classes `stripe.Customer.InvoiceSettings.RenderingOptions` and `stripe.Invoice.Rendering` - * Add support for resource `stripe.InvoiceRenderingTemplate` - * Add support for `required` on parameter classes `stripe.PaymentLink.CreateParamsTaxIdCollection`, `stripe.PaymentLink.ModifyParamsTaxIdCollection`, and `stripe.checkout.Session.CreateParamsTaxIdCollection` and resource classes `stripe.PaymentLink.TaxIdCollection` and `stripe.checkout.Session.TaxIdCollection` - * Add support for `submitted` on enum `stripe.issuing.Card.Shipping.status` - * Change type of `tax_amounts` on `stripe.InvoiceLineItem` from `Optional[List[TaxAmount]]` to `List[TaxAmount]` - * Change type of `tax_rates` on `stripe.InvoiceLineItem` from `Optional[List[TaxRate]]` to `List[TaxRate]` - * Change type of `status_details` on `stripe.test_helpers.TestClock` from `Optional[StatusDetails]` to `StatusDetails` - ## 10.11.0b1 - 2024-09-05 -* [#1387](https://github.com/stripe/stripe-python/pull/1387) Update generated code for beta - * Add support for `recipients` on parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for resource `stripe.billing.MeterErrorReport` - * Add support for `business_name` on resource class `stripe.checkout.Session.CollectedInformation` - * Add support for `tax_ids` on resource class `stripe.checkout.Session.CollectedInformation` - * Add support for `billing.meter_error_report.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `mb_way` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` -* [#1386](https://github.com/stripe/stripe-python/pull/1386) Merge from master -* [#1384](https://github.com/stripe/stripe-python/pull/1384) Merge from master after the changes to not pass api_mode from individual methods * [#1380](https://github.com/stripe/stripe-python/pull/1380) Update generated code for beta * Add support for `email` on resource class `stripe.checkout.Session.CollectedInformation` * Add support for `phone` on resource class `stripe.checkout.Session.CollectedInformation` @@ -2325,18 +1108,13 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Remove support for `rechnung` on parameter class `stripe.PaymentMethod.ModifyParams` * Add support for `mb_way` on enum `stripe.checkout.Session.CreateParams.payment_method_types` * Add support for `terminal_reader_collected_data_invalid` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - -## 10.10.0 - 2024-09-05 -* [#1376](https://github.com/stripe/stripe-python/pull/1376) Update generated code - * Add support for `subscription` on parameter class `stripe.billing.Alert.CreateParamsFilter` - * Change type of `customer_consent_collected` on `stripe.terminal.Reader.ProcessSetupIntentParams` from `bool` to `NotRequired[bool]` - -## 10.9.0 - 2024-08-29 -* [#1385](https://github.com/stripe/stripe-python/pull/1385) Generate SDK for OpenAPI spec version 1230 - * Add support for `status_details` on resource `stripe.test_helpers.TestClock` - * Change type of `fields` on `stripe.AccountLink.CreateParamsCollectionOptions` from `Literal['currently_due', 'eventually_due']` to `NotRequired[Literal['currently_due', 'eventually_due']]` - * Add support for `hr_oib` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `issuing_regulatory_reporting` on enums `stripe.File.purpose`, `stripe.File.CreateParams.purpose`, and `stripe.File.ListParams.purpose` +* [#1387](https://github.com/stripe/stripe-python/pull/1387) Update generated code for beta + * Add support for `recipients` on parameter class `stripe.AccountSession.CreateParamsComponents` + * Add support for resource `stripe.billing.MeterErrorReport` + * Add support for `business_name` on resource class `stripe.checkout.Session.CollectedInformation` + * Add support for `tax_ids` on resource class `stripe.checkout.Session.CollectedInformation` + * Add support for `billing.meter_error_report.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` + * Add support for `mb_way` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` ## 10.9.0b2 - 2024-08-22 * [#1377](https://github.com/stripe/stripe-python/pull/1377) Update generated code for beta @@ -2357,17 +1135,8 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `collected_information` on parameter class `stripe.checkout.Session.ModifyParams` and resource `stripe.checkout.Session` * Add support for `shipping_options` on parameter class `stripe.checkout.Session.ModifyParams` -## 10.8.0 - 2024-08-15 -* [#1373](https://github.com/stripe/stripe-python/pull/1373) Update generated code - * Add support for `authorization_code` on resource class `stripe.Charge.PaymentMethodDetails.Card` - * Add support for `wallet` on resource classes `stripe.Charge.PaymentMethodDetails.CardPresent`, `stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent`, `stripe.ConfirmationToken.PaymentMethodPreview.CardPresent`, `stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent`, and `stripe.PaymentMethod.CardPresent` - * Add support for `mandate_options` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit` and resource class `stripe.PaymentIntent.PaymentMethodOptions.BacsDebit` - * Add support for `bacs_debit` on parameter classes `stripe.SetupIntent.ConfirmParamsPaymentMethodOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodOptions`, and `stripe.SetupIntent.ModifyParamsPaymentMethodOptions` and resource class `stripe.SetupIntent.PaymentMethodOptions` - * Add support for `chips` on resource classes `stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire` and `stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire` and parameter classes `stripe.treasury.OutboundPayment.UpdateParamsTrackingDetailsUsDomesticWire` and `stripe.treasury.OutboundTransfer.UpdateParamsTrackingDetailsUsDomesticWire` - * Change type of `imad` on `stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire` and `stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire` from `str` to `Optional[str]` - ## 10.8.0b1 - 2024-08-12 -* [#1372](https://github.com/stripe/stripe-python/pull/1372) Update generated code for beta +* ⚠️ [#1372](https://github.com/stripe/stripe-python/pull/1372) Update generated code for beta * Add support for `capital_financing` on resource class `stripe.AccountSession.Components` * Add support for `payto` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptions` and resource class `stripe.checkout.Session.PaymentMethodOptions` * ⚠️ Remove support for `risk_correlation_id` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRechnung`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRechnung`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRechnung` and resource class `stripe.PaymentIntent.PaymentMethodOptions.Rechnung` @@ -2375,27 +1144,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `payto` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` * Add support for `invalid_mandate_reference_prefix_format` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.7.0 - 2024-08-08 -* [#1371](https://github.com/stripe/stripe-python/pull/1371) Update generated code - * Add support for `type` on resource classes `stripe.Charge.PaymentMethodDetails.CardPresent.Offline`, `stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline`, `stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline`, and `stripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline` - * Add support for `offline` on resource classes `stripe.ConfirmationToken.PaymentMethodPreview.CardPresent` and `stripe.PaymentMethod.CardPresent` - * Add support for `_cls_activate` on resource `stripe.billing.Alert` - * Add support for `_cls_archive` on resource `stripe.billing.Alert` - * Add support for `_cls_deactivate` on resource `stripe.billing.Alert` - * Add support for `activate` on resource `stripe.billing.Alert` - * Add support for `archive` on resource `stripe.billing.Alert` - * Add support for `create` on resource `stripe.billing.Alert` - * Add support for `deactivate` on resource `stripe.billing.Alert` - * Add support for `list` on resource `stripe.billing.Alert` - * Add support for `retrieve` on resources `stripe.billing.Alert` and `stripe.tax.Calculation` - * Add support for `related_customer` on parameter classes `stripe.identity.VerificationSession.CreateParams` and `stripe.identity.VerificationSession.ListParams` and resource `stripe.identity.VerificationSession` - * Add support for `invalid_mandate_reference_prefix_format` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - * Add support for `girocard` on enums `stripe.PaymentIntent.PaymentMethodOptions.Card.network`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.PaymentMethodOptions.Card.network`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network`, and `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network` - * Add support for `financial_addresses.aba.forwarding` on enums `stripe.treasury.FinancialAccount.active_features`, `stripe.treasury.FinancialAccount.pending_features`, and `stripe.treasury.FinancialAccount.restricted_features` - * Change type of `count` on `stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan`, `stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan` from `int` to `NotRequired[int]` - * Change type of `interval` on `stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan`, `stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan` from `Literal['month']` to `NotRequired[Literal['month']]` - * Change type of `account` on `stripe.Person.AdditionalTosAcceptances` from `Account` to `Optional[Account]` - ## 10.7.0b1 - 2024-08-01 * [#1370](https://github.com/stripe/stripe-python/pull/1370) Update generated code for beta * Add support for `app_install` on parameter class `stripe.AccountSession.CreateParamsComponents` @@ -2410,13 +1158,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `lines_invalid` on enum `stripe.Quote.StatusDetails.Stale.LastReason.type` * Add support for `charge_exceeds_transaction_limit` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.6.0 - 2024-08-01 -* [#1369](https://github.com/stripe/stripe-python/pull/1369) Update generated code - * Add support for resource `stripe.billing.Alert` - * ⚠️ Remove support for `authorization_code` on resource class `stripe.Charge.PaymentMethodDetails.Card`. This was accidentally released last week. - * Add support for `billing.alert.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `charge_exceeds_transaction_limit` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - ## 10.6.0b1 - 2024-07-25 * [#1361](https://github.com/stripe/stripe-python/pull/1361) Update generated code for beta * Add support for `capital` on parameter class `stripe.Account.CreateParamsSettings` and resource class `stripe.Account.Settings` @@ -2434,30 +1175,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `billing.alert.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` * Add support for `multibanco` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` -## 10.5.0 - 2024-07-25 -* [#1368](https://github.com/stripe/stripe-python/pull/1368) Update generated code - * Add support for `tax_registrations` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `tax_settings` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` -* [#1364](https://github.com/stripe/stripe-python/pull/1364) Update generated code - * Add support for `transaction_id` on resource class `stripe.Charge.PaymentMethodDetails.Affirm` - * Add support for `buyer_id` on resource class `stripe.Charge.PaymentMethodDetails.Blik` - * Add support for `authorization_code` on resource class `stripe.Charge.PaymentMethodDetails.Card` - * Add support for `brand_product` on resource classes `stripe.Charge.PaymentMethodDetails.CardPresent`, `stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent`, `stripe.ConfirmationToken.PaymentMethodPreview.CardPresent`, `stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent`, and `stripe.PaymentMethod.CardPresent` - * Add support for `network_transaction_id` on resource classes `stripe.Charge.PaymentMethodDetails.CardPresent`, `stripe.Charge.PaymentMethodDetails.InteracPresent`, `stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent`, and `stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent` - * Add support for `case_type` on resource class `stripe.Dispute.PaymentMethodDetails.Card` - * Add support for `twint` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` - * Add support for `modify` on resource `stripe.checkout.Session` - * Add support for `invoice.overdue` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `invoice.will_be_due` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - -## 10.4.0 - 2024-07-18 -* [#1362](https://github.com/stripe/stripe-python/pull/1362) Update generated code - * Add support for `customer` on resource class `stripe.ConfirmationToken.PaymentMethodPreview` - * Add support for `issuing_dispute.funds_rescinded` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `multibanco` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` - * Add support for `stripe_s700` on enums `stripe.terminal.Reader.device_type` and `stripe.terminal.Reader.ListParams.device_type` -* [#1360](https://github.com/stripe/stripe-python/pull/1360) Update changelog - ## 10.4.0b1 - 2024-07-11 * [#1356](https://github.com/stripe/stripe-python/pull/1356) Update generated code for beta * Change type of `payment_element` on `stripe.CustomerSession.Components` from `Optional[PaymentElement]` to `PaymentElement` @@ -2468,18 +1185,8 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Remove support for `billing_policy_remote_function_unreachable` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` * Remove support for `payment_intent_fx_quote_invalid` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.3.0 - 2024-07-11 -* [#1358](https://github.com/stripe/stripe-python/pull/1358) Update generated code - * Add support for `payment_method_options` on resource `stripe.ConfirmationToken` - * Add support for `payment_element` on resource class `stripe.CustomerSession.Components` and parameter class `stripe.CustomerSession.CreateParamsComponents` - * Add support for `address_validation` on parameter class `stripe.issuing.Card.CreateParamsShipping` and resource class `stripe.issuing.Card.Shipping` - * Add support for `shipping` on parameter class `stripe.issuing.Card.ModifyParams` - * ⚠️ Remove support for `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - * ⚠️ Remove support for `payment_intent_fx_quote_invalid` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code`. The property was mistakenly released last week. - * [#1357](https://github.com/stripe/stripe-python/pull/1357) don't auto-organize imports - ## 10.3.0b1 - 2024-07-05 -* [#1355](https://github.com/stripe/stripe-python/pull/1355) Update generated code for beta +* ⚠️ [#1355](https://github.com/stripe/stripe-python/pull/1355) Update generated code for beta * ⚠️ Remove support for `payment_method_update` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures`. Users are expected to completely migrate from using payment_method_update. * Add support for `payment_method_allow_redisplay_filters`, `payment_method_redisplay`, `payment_method_save_usage` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures` * Add support for `institution` on parameter classes `stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters`, and `stripe.financial_connections.Session.CreateParamsFilters` and resource classes `stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, `stripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters`, and `stripe.financial_connections.Session.Filters` @@ -2488,153 +1195,41 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `financial_connections_institution_unavailable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` * Add support for `payment_intent_fx_quote_invalid` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.2.0 - 2024-07-05 -* [#1354](https://github.com/stripe/stripe-python/pull/1354) Update generated code - * Add support for `_cls_add_lines`, `_cls_remove_lines`, `_cls_update_lines`, `add_lines`, `remove_lines`, `update_lines` on resource `stripe.Invoice` - * Add support for `posted_at` on parameter class `stripe.tax.Transaction.CreateFromCalculationParams` and resource `stripe.tax.Transaction` - * Add support for `payment_intent_fx_quote_invalid` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - ## 10.2.0b1 - 2024-06-27 +This release changes the pinned API version to `2024-06-20`. + * [#1349](https://github.com/stripe/stripe-python/pull/1349) Update generated code for beta * Add support for `filters` on resource class `stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections` * Remove support for `payment_method_set_as_default` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures` * Add support for `ch_uid` on enums `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` -## 10.1.0 - 2024-06-27 -* [#1353](https://github.com/stripe/stripe-python/pull/1353) Update generated code - * Add support for `email_type` on parameter classes `stripe.CreditNote.CreateParams`, `stripe.CreditNote.PreviewLinesParams`, and `stripe.CreditNote.PreviewParams` - * Add support for `filters` on parameter classes `stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`, and `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections` and resource classes `stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections`, `stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections`, `stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections`, and `stripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections` - * Add support for `account_subcategories` on parameter class `stripe.financial_connections.Session.CreateParamsFilters` and resource class `stripe.financial_connections.Session.Filters` - * Add support for `reboot_window` on parameter classes `stripe.terminal.Configuration.CreateParams` and `stripe.terminal.Configuration.ModifyParams` and resource `stripe.terminal.Configuration` - * Add support for `day` on enum `stripe.billing.Meter.ListEventSummariesParams.value_grouping_window` - * Add support for `multibanco` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` - * Add support for `twint` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` - * Add support for `zip` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` - -## 10.0.0 - 2024-06-24 -* [#1350](https://github.com/stripe/stripe-python/pull/1350) Update generated code - - This release changes the pinned API version to 2024-06-20. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-06-20) and carefully review the API changes before upgrading. - - ### ⚠️ Breaking changes - - * Remove the unused resource `PlatformTaxFee` - * Rename `volume_decimal` to `quantity_decimal` on parameter classes `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel` and resource class `stripe.issuing.Transaction.PurchaseDetails.Fuel` - - ### Additions - - * Add support for `fleet` on parameter classes `stripe.issuing.Authorization.CaptureParamsPurchaseDetails`, `stripe.issuing.Authorization.CreateParams`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetails`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetails`, resource `stripe.issuing.Authorization`, and resource class `stripe.issuing.Transaction.PurchaseDetails` - * Add support for new values `platform_disabled`, `paused.inactivity` and `other` on enums `Capability.Requirements.disabled_reason` and `Capability.FutureRequirements.disabled_reason` - * Add support for `industry_product_code` on parameter classes `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel` and resource class `stripe.issuing.Transaction.PurchaseDetails.Fuel` - * Add support for `quantity_decimal` on parameter classes `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel` and resource class `stripe.issuing.Transaction.PurchaseDetails.Fuel` - * Add support for `fuel` on parameter class `stripe.issuing.Authorization.CreateParams` and resource `stripe.issuing.Authorization` - * Add support for `_cls_finalize_amount` on resource `stripe.issuing.Authorization` - * Add support for `finalize_amount` on resource `stripe.issuing.Authorization` - * Change type of `disabled_reason` on `stripe.Capability.FutureRequirements` and `stripe.Capability.Requirements` from `str` to `Literal['other', 'paused.inactivity', 'pending.onboarding', 'pending.review', 'platform_disabled', 'platform_paused', 'rejected.inactivity', 'rejected.other', 'rejected.unsupported_business', 'requirements.fields_needed']` - * Add support for `ch_uid` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `card_canceled`, `card_expired`, `cardholder_blocked`, `insecure_authorization_method` and `pin_blocked` on enum `stripe.issuing.Authorization.RequestHistory.reason` - * Add support for `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `pound`, on enums `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit` - * Add support for `2024-06-20` on enum `stripe.WebhookEndpoint.CreateParams.api_version` - -## 9.12.0 - 2024-06-17 -* [#1348](https://github.com/stripe/stripe-python/pull/1348) Update generated code - * Add support for `tax_id_collection` on parameter class `stripe.PaymentLink.ModifyParams` - * Add support for `mobilepay` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` - ## 9.12.0b1 - 2024-06-13 * [#1343](https://github.com/stripe/stripe-python/pull/1343) Update generated code for beta * Add support for `de_stn` on enums `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` -## 9.11.0 - 2024-06-13 -* [#1342](https://github.com/stripe/stripe-python/pull/1342) Update generated code - * Add support for `multibanco_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` - * Add support for `twint_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` - * Add support for `twint` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` - * Add support for `multibanco` on parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, resource classes `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.PaymentIntent.PaymentMethodOptions`, `stripe.Refund.DestinationDetails`, and `stripe.checkout.Session.PaymentMethodOptions`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` - * Add support for `multibanco_display_details` on resource class `stripe.PaymentIntent.NextAction` - * Add support for `invoice_settings` on resource `stripe.Subscription` - * Add support for `de_stn` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `multibanco` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` - * Add support for `twint` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` - ## 9.11.0b1 - 2024-06-06 * [#1339](https://github.com/stripe/stripe-python/pull/1339) Update generated code for beta * Add support for `twint` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions` and resource class `stripe.PaymentIntent.PaymentMethodOptions` * Add support for `swish` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` -## 9.10.0 - 2024-06-06 -* [#1340](https://github.com/stripe/stripe-python/pull/1340) Update generated code - * Add support for `gb_bank_transfer_payments`, `jp_bank_transfer_payments`, `mx_bank_transfer_payments`, `sepa_bank_transfer_payments`, `us_bank_transfer_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` - * Add support for `swish` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` - ## 9.10.0b1 - 2024-05-30 * [#1334](https://github.com/stripe/stripe-python/pull/1334) Update generated code for beta * Add support for `en-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` * Add support for `ro-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` -## 9.9.0 - 2024-05-30 -* [#1335](https://github.com/stripe/stripe-python/pull/1335) Add method to list invoice line items - * Add methods `list_lines()` and `list_lines_async()` on the class `Invoice` to list the invoice line items -* [#1336](https://github.com/stripe/stripe-python/pull/1336) Update generated code - * Add support for `generated_from` on resource classes `stripe.ConfirmationToken.PaymentMethodPreview.Card` and `stripe.PaymentMethod.Card` - * Add support for `default_value` on parameter classes `stripe.checkout.Session.CreateParamsCustomFieldDropdown`, `stripe.checkout.Session.CreateParamsCustomFieldNumeric`, and `stripe.checkout.Session.CreateParamsCustomFieldText` and resource classes `stripe.checkout.Session.CustomField.Dropdown`, `stripe.checkout.Session.CustomField.Numeric`, and `stripe.checkout.Session.CustomField.Text` - * Add support for `verification_requires_additional_proof_of_registration` on enums `stripe.Account.FutureRequirements.Error.code`, `stripe.Account.Requirements.Error.code`, `stripe.BankAccount.FutureRequirements.Error.code`, `stripe.BankAccount.Requirements.Error.code`, `stripe.Capability.FutureRequirements.Error.code`, `stripe.Capability.Requirements.Error.code`, `stripe.Person.FutureRequirements.Error.code`, and `stripe.Person.Requirements.Error.code` - * Add support for `issuing_personalization_design.activated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `issuing_personalization_design.deactivated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `issuing_personalization_design.rejected` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `issuing_personalization_design.updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `en-RO` on enums `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale` - * Add support for `ro-RO` on enums `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale` - * Change type of `features` on `stripe.issuing.PhysicalBundle` from `Optional[Features]` to `Features` - ## 9.9.0b1 - 2024-05-23 * [#1331](https://github.com/stripe/stripe-python/pull/1331) Update generated code for beta * Change type of `refund` on `stripe.CreditNote.CreateParamsRefund`, `stripe.CreditNote.PreviewParamsRefund`, and `stripe.CreditNote.PreviewLinesParamsRefund` from `str` to `NotRequired[str]` * Add support for `terminal_reader_invalid_location_for_payment` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 9.8.0 - 2024-05-23 -* [#1332](https://github.com/stripe/stripe-python/pull/1332) Update generated code - * Add support for `external_account_collection` on resource classes `stripe.AccountSession.Components.Balances.Features` and `stripe.AccountSession.Components.Payouts.Features` and parameter classes `stripe.AccountSession.CreateParamsComponentsBalancesFeatures` and `stripe.AccountSession.CreateParamsComponentsPayoutsFeatures` - * Add support for `payment_method_remove` on resource class `stripe.checkout.Session.SavedPaymentMethodOptions` - * Add support for `terminal_reader_invalid_location_for_payment` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - ## 9.8.0b1 - 2024-05-16 -* [#1327](https://github.com/stripe/stripe-python/pull/1327) Update generated code for beta - * [#1330](https://github.com/stripe/stripe-python/pull/1330) (beta) swap from `black` to `ruff` for formatting - -## 9.7.0 - 2024-05-16 -* [#1328](https://github.com/stripe/stripe-python/pull/1328) Update generated code - * Add support for `fee_source` on resource `stripe.ApplicationFee` - * Add support for `net_available` on resource class `stripe.Balance.InstantAvailable` - * Add support for `preferred_locales` on resource classes `stripe.Charge.PaymentMethodDetails.CardPresent`, `stripe.ConfirmationToken.PaymentMethodPreview.CardPresent`, and `stripe.PaymentMethod.CardPresent` - * Add support for `klarna` on resource class `stripe.Dispute.PaymentMethodDetails` - * Add support for `routing` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardPresent`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardPresent`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardPresent` and resource class `stripe.PaymentIntent.PaymentMethodOptions.CardPresent` - * Add support for `application_fee` on resource `stripe.Payout` - * Add support for `archived` on parameter class `stripe.entitlements.Feature.ListParams` - * Add support for `lookup_key` on parameter class `stripe.entitlements.Feature.ListParams` - * Add support for `no_valid_authorization` on parameter classes `stripe.issuing.Dispute.CreateParamsEvidence` and `stripe.issuing.Dispute.ModifyParamsEvidence` and resource class `stripe.issuing.Dispute.Evidence` - * Add support for `loss_reason` on resource `stripe.issuing.Dispute` - * Add support for `stripe_s700` on parameter classes `stripe.terminal.Configuration.CreateParams` and `stripe.terminal.Configuration.ModifyParams` and resource `stripe.terminal.Configuration` - * Add support for `klarna` on enum `stripe.Dispute.PaymentMethodDetails.type` - * Add support for `no_valid_authorization` on enums `stripe.issuing.Dispute.Evidence.reason`, `stripe.issuing.Dispute.CreateParamsEvidence.reason`, and `stripe.issuing.Dispute.ModifyParamsEvidence.reason` - * Change type of `countries` on `stripe.financial_connections.Session.CreateParamsFilters` from `List[str]` to `NotRequired[List[str]]` -* [#1329](https://github.com/stripe/stripe-python/pull/1329) Switch from `black` to `ruff` for formatting +* [#1327](https://github.com/stripe/stripe-python/pull/1327) Update generated code for beta ## 9.7.0b1 - 2024-05-09 * [#1321](https://github.com/stripe/stripe-python/pull/1321) Update generated code for beta * No new beta features. Merging changes from the main branch. -## 9.6.0 - 2024-05-09 -* [#1323](https://github.com/stripe/stripe-python/pull/1323) Update generated code - * Add support for `allow_redisplay` on resource class `stripe.ConfirmationToken.PaymentMethodPreview` and resource `stripe.PaymentMethod` - * Add support for `preview_mode` on parameter classes `stripe.Invoice.CreatePreviewParams`, `stripe.Invoice.UpcomingLinesParams`, and `stripe.Invoice.UpcomingParams` - * Add support for `_cls_update` on resources `stripe.treasury.OutboundPayment` and `stripe.treasury.OutboundTransfer` - * Add support for `tracking_details` on resources `stripe.treasury.OutboundPayment` and `stripe.treasury.OutboundTransfer` - * Add support for `update` on resources `stripe.treasury.OutboundPayment` and `stripe.treasury.OutboundTransfer` - * Add support for `treasury.outbound_payment.tracking_details_updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - * Add support for `treasury.outbound_transfer.tracking_details_updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - ## 9.6.0b1 - 2024-05-02 * [#1318](https://github.com/stripe/stripe-python/pull/1318) Update generated code for beta * Add support for `rechnung_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` @@ -2644,17 +1239,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `rechnung` on enums `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` * Change type of `transactions` on `stripe.gift_cards.Card` from `ListObject[Transaction]` to `Optional[ListObject[Transaction]]` -## 9.5.0 - 2024-05-02 -* [#1317](https://github.com/stripe/stripe-python/pull/1317) Update generated code - * Add support for `paypal` on resource class `stripe.Dispute.PaymentMethodDetails` - * Add support for `payment_method_types` on parameter class `stripe.PaymentIntent.ConfirmParams` - * Add support for `ship_from_details` on parameter class `stripe.tax.Calculation.CreateParams` and resources `stripe.tax.Calculation` and `stripe.tax.Transaction` - * Add support for `bh`, `eg`, `ge`, `ke`, `kz`, `ng`, `om` on resource class `stripe.tax.Registration.CountryOptions` and parameter class `stripe.tax.Registration.CreateParamsCountryOptions` - * Add support for `paypal` on enum `stripe.Dispute.PaymentMethodDetails.type` - * Add support for `shipping_address_invalid` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - * Change type of `metadata` on `stripe.entitlements.Feature.ModifyParams` from `Dict[str, str]` to `Literal['']|Dict[str, str]` -* [#1319](https://github.com/stripe/stripe-python/pull/1319) Fix type change entries in Python Changelog - ## 9.5.0b1 - 2024-04-25 * [#1308](https://github.com/stripe/stripe-python/pull/1308) Update generated code for beta * Add support for `payment_method_settings` on parameter class `stripe.AccountSession.CreateParamsComponents` @@ -2662,21 +1246,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `amazon_pay` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` * Add support for `revolut_pay` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` -## 9.4.0 - 2024-04-25 -* [#1316](https://github.com/stripe/stripe-python/pull/1316) Update generated code - * Add support for `amazon_pay` on resource classes `stripe.Mandate.PaymentMethodDetails` and `stripe.SetupAttempt.PaymentMethodDetails` - * Add support for `revolut_pay` on resource classes `stripe.Mandate.PaymentMethodDetails` and `stripe.SetupAttempt.PaymentMethodDetails` - * Add support for `setup_future_usage` on resource classes `stripe.PaymentIntent.PaymentMethodOptions.AmazonPay`, `stripe.PaymentIntent.PaymentMethodOptions.RevolutPay`, `stripe.checkout.Session.PaymentMethodOptions.AmazonPay`, and `stripe.checkout.Session.PaymentMethodOptions.RevolutPay` - * Add support for `mobilepay` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` - * Add support for `ending_before` on parameter class `stripe.PaymentMethodConfiguration.ListParams` - * Add support for `limit` on parameter class `stripe.PaymentMethodConfiguration.ListParams` - * Add support for `starting_after` on parameter class `stripe.PaymentMethodConfiguration.ListParams` - * Change type of `feature` on `stripe.entitlements.ActiveEntitlement` from `str` to `ExpandableField[Feature]` - * Add support for `amazon_pay` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` - * Add support for `revolut_pay` on enums `stripe.Invoice.PaymentSettings.payment_method_types`, `stripe.Invoice.CreateParamsPaymentSettings.payment_method_types`, `stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types`, `stripe.Subscription.PaymentSettings.payment_method_types`, `stripe.Subscription.CreateParamsPaymentSettings.payment_method_types`, and `stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types` - * Remove support for inadvertently released identity verification features `email` and `phone` on parameter classes `stripe.identity.VerificationSession.CreateParamsOptions` and `stripe.identity.VerificationSession.ModifyParamsOptions` -* [#1307](https://github.com/stripe/stripe-python/pull/1307) Bump aiohttp from 3.9.2 to 3.9.4 - ## 9.4.0b1 - 2024-04-18 * [#1302](https://github.com/stripe/stripe-python/pull/1302) Update generated code for beta * Add support for `balances` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` @@ -2697,32 +1266,9 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `mobilepay` on enum `stripe.checkout.Session.CreateParams.payment_method_types` * Add support for `other` on enums `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit` -## 9.3.0 - 2024-04-18 -* [#1305](https://github.com/stripe/stripe-python/pull/1305) Update generated code - * Add support for `allow_redisplay` on parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.Customer.ListPaymentMethodsParams`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData` - * Add support for `schedule_details` on parameter classes `stripe.Invoice.UpcomingLinesParams` and `stripe.Invoice.UpcomingParams` - * Add support for `subscription_details` on parameter classes `stripe.Invoice.UpcomingLinesParams` and `stripe.Invoice.UpcomingParams` - * Add support for `create_preview` on resource `stripe.Invoice` - * Add support for `payment_method_data` on parameter class `stripe.checkout.Session.CreateParams` - * Add support for `saved_payment_method_options` on parameter class `stripe.checkout.Session.CreateParams` and resource `stripe.checkout.Session` - * Add support for `mobilepay` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptions` and resource class `stripe.checkout.Session.PaymentMethodOptions` - * Add support for `mobilepay` on enum `stripe.checkout.Session.CreateParams.payment_method_types` - * Add support for `other` on enums `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit` -* [#1306](https://github.com/stripe/stripe-python/pull/1306) Update `Quote.pdf()` to use the right base address i.e. files.stripe.com instead of api.stripe.com. Fixes [#1303](https://github.com/stripe/stripe-python/issues/1303) - -## 9.2.0 - 2024-04-16 -* [#1301](https://github.com/stripe/stripe-python/pull/1301) Update generated code - * Add support for `balances` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `payouts_list` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `capture_method` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRevolutPay`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRevolutPay`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRevolutPay` and resource class `stripe.PaymentIntent.PaymentMethodOptions.RevolutPay` - * Add support for `swish` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` - * Add support for resource `stripe.entitlements.ActiveEntitlementSummary` - * Remove support for `config` on parameter class `stripe.forwarding.Request.CreateParams` and resource `stripe.forwarding.Request`. This field is no longer used by the Forwarding Request API. - * Change type of `destination_on_behalf_of_charge_management` on `stripe.AccountSession.Components.PaymentDetails.Features` and `stripe.AccountSession.Components.Payments.Features` from `Optional[bool]` to `bool` - * Change type of `timestamp` on `stripe.billing.MeterEvent.CreateParams` from `int` to `NotRequired[int]` - * Add support for `entitlements.active_entitlement_summary.updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` - ## 9.2.0b1 - 2024-04-11 +This release changes the pinned API version to `2024-04-10`. + * [#1296](https://github.com/stripe/stripe-python/pull/1296) Update generated code for beta * Add support for `external_account_collection` on resource class `stripe.AccountSession.Components.AccountOnboarding.Features` and parameter class `stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures` * Add support for `account_management` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` @@ -2744,96 +1290,6 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `billing_policy_remote_function_unexpected_status_code` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` * Add support for `billing_policy_remote_function_unreachable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` -## 9.1.0 - 2024-04-11 -* [#1300](https://github.com/stripe/stripe-python/pull/1300) Update generated code - * Add support for `external_account_collection` on resource class `stripe.AccountSession.Components.AccountOnboarding.Features` and parameter class `stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures` - * Add support for `account_management` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `notification_banner` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` - * Add support for `amazon_pay` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, `stripe.PaymentIntent.PaymentMethodOptions`, `stripe.Refund.DestinationDetails`, `stripe.SetupIntent.PaymentMethodOptions`, and `stripe.checkout.Session.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethodConfiguration.CreateParams`, `stripe.PaymentMethodConfiguration.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodOptions`, `stripe.SetupIntent.ModifyParamsPaymentMethodData`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptions`, and `stripe.checkout.Session.CreateParamsPaymentMethodOptions`, and resources `stripe.PaymentMethod` and `stripe.PaymentMethodConfiguration` - * Add support for `next_refresh_available_at` on resource class `stripe.financial_connections.Account.OwnershipRefresh` - * Change type of `cancel` on `stripe.billing.MeterEventAdjustment` from `Cancel` to `Optional[Cancel]` - * Change type of `identifier` on `stripe.billing.MeterEventAdjustment.Cancel` from `str` to `Optional[str]` - * Change type of `identifier` on `stripe.billing.MeterEventAdjustment.CreateParamsCancel` from `str` to `NotRequired[str]` - * Change type of `cancel` on `stripe.billing.MeterEventAdjustment.CreateParams` from `MeterEventAdjustment.CreateParamsCancel` to `NotRequired[MeterEventAdjustment.CreateParamsCancel]` - * Change type of `type` on `stripe.billing.MeterEventAdjustment.CreateParams` from `NotRequired[Literal['cancel']]` to `Literal['cancel']` - * Add support for `bh_vat` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `kz_bin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `ng_tin` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `om_vat` on enums `stripe.checkout.Session.CustomerDetails.TaxId.type`, `stripe.Customer.CreateParamsTaxIdDatum.type`, `stripe.Customer.CreateTaxIdParams.type`, `stripe.Invoice.CustomerTaxId.type`, `stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type`, `stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type`, `stripe.tax.Calculation.CustomerDetails.TaxId.type`, `stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type`, `stripe.tax.Transaction.CustomerDetails.TaxId.type`, `stripe.TaxId.type`, and `stripe.TaxId.CreateParams.type` - * Add support for `ownership` on enums `stripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch`, `stripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.permissions`, `stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch`, `stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch`, `stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.permissions`, `stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch`, and `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch` - * Add support for `amazon_pay` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` - * Add support for `billing_policy_remote_function_response_invalid` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - * Add support for `billing_policy_remote_function_timeout` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - * Add support for `billing_policy_remote_function_unexpected_status_code` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` - * Add support for `billing_policy_remote_function_unreachable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` -* [#1297](https://github.com/stripe/stripe-python/pull/1297) Use stdlib AsyncMock when available - -## 9.0.0 - 2024-04-10 -* [#1286](https://github.com/stripe/stripe-python/pull/1286) - - * This release changes the pinned API version to `2024-04-10`. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-04-10) and carefully review the API changes before upgrading. - - ### ⚠️ Breaking changes - - * Remove `FinancialAccountFeaturesService.CreateParams`, `FinancialAccountFeaturesService.ListParams`, `FinancialAccountFeaturesService.create()`, `FinancialAccountFeaturesService.list()` as Financial account features is a singleton and so should have retrieve and update methods instead of create and list methods. - * Rename `features` to `marketing_features` on parameter classes `stripe.Product.CreateParams` and `stripe.Product.ModifyParams` and resource `stripe.Product`. - - #### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API - * Remove `.subscription_pause` from the below as the feature to pause subscription on the portal has been deprecated - * `Configuration.Features` - * `ConfigurationService.CreateParamsFeatures` - * `ConfigurationService.UpdateParamsFeatures` - * Remove the below deprecated values for `BalanceTransaction.type` - * `obligation_inbound` - * `obligation_payout` - * `obligation_payout_failure` - * `obligation_reversal_outbound` - * Remove the below deprecated events from `Event.type`, `WebhookEndpoint.CreateParams.enabled_events`, `WebhookEndpoint.ModifyParams.enabled_events`, `WebhookEndpointService.CreateParams.enabled_events`, `WebhookEndpointService.ModifyParams.enabled_events` - * `invoiceitem.updated` - * `order.created` - * `recipient.created` - * `recipient.deleted` - * `recipient.updated` - * `sku.created` - * `sku.deleted` - * `sku.updated` - * Remove the deprecated value `include_and_require` for `Invoice.CreateParams.pending_invoice_items_behavior` and `InvoiceService.CreateParams.pending_invoice_items_behavior` - * Remove the deprecated value `service_tax` for - * `TaxRate.RetrieveParams.tax_type` - * `TaxRate.CreateParams.tax_type` - * `TaxRate.ModifyParams.tax_type` - * `TaxRateService.CreateParams.tax_type` - * `TaxRateService.UpdateParams.tax_type` - * `InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type` - * `InvoiceLineItemService.UpdateParamsTaxAmountTaxRateData.tax_type` - * Remove `request_incremental_authorization` from - * `PaymentIntent.ConfirmParamsPaymentMethodOptionsCardPresent` - * `PaymentIntent.CreateParamsPaymentMethodOptionsCardPresent` - * `PaymentIntent.ModifyParamsPaymentMethodOptionsCardPresent` - * `PaymentIntentService.ConfirmParamsPaymentMethodOptionsCardPresent` - * `PaymentIntentService.CreateParamsPaymentMethodOptionsCardPresent` - * `PaymentIntentService.ModifyParamsPaymentMethodOptionsCardPresent` - * Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration` - * Remove the deprecated value `challenge_only` from `SetupIntent.PaymentMethodOptions.Card.request_three_d_secure` - * Remove deprecated value `various` for `Climate.Supplier.removal_pathway` - * Remove the deprecated value `obligation` for `ReportRun.CreateParamsParameters.reporting_category` and `ReportRunService.CreateParamsParameters.reporting_category` - * Remove the legacy field `rendering_options` on parameter classes `stripe.Invoice.CreateParams` and `stripe.Invoice.ModifyParams` and resource `stripe.Invoice`. Use `rendering` instead. - -## 8.11.0 - 2024-04-09 -* [#1295](https://github.com/stripe/stripe-python/pull/1295) Update generated code - * Add support for `fees`, `losses`, `requirement_collection` & `stripe_dashboard` on resource class `stripe.Account.Controller` - * Add support for `controller` on parameter class `stripe.Account.CreateParams` - * Add support for `create_feature`, `delete_feature`, `list_features`, `retrieve_feature` on resource `stripe.Product` - * Add support for resource `stripe.ProductFeature` - * Add support for `event_name` on parameter class `stripe.billing.MeterEventAdjustment.CreateParams` and resource `stripe.billing.MeterEventAdjustment` - * Add support for `cancel` and `type` on resource `stripe.billing.MeterEventAdjustment` - * Add support for resource `stripe.entitlements.ActiveEntitlement` - * Add support for resource `stripe.entitlements.Feature` - * Add support for `none` on enum `stripe.Account.type` - -* [#1299](https://github.com/stripe/stripe-python/pull/1299) Fix README.md -* [#1292](https://github.com/stripe/stripe-python/pull/1292) Tweak changelog for python async note - ## 8.11.0b1 - 2024-04-04 * [#1293](https://github.com/stripe/stripe-python/pull/1293) Update generated code for beta * Add support for `risk_controls` on parameter class `stripe.Account.CreateParams` and resource `stripe.Account` @@ -2865,135 +1321,36 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[QrCode]` to `QrCode` of `qr_code` * Change type of fields `stripe.QuoteLine.Action.AddItem`, `stripe.QuoteLine.Action.SetItem`, `stripe.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem`, `stripe.QuotePreviewSubscriptionSchedule.Phase.Item`, `stripe.QuotePreviewSubscriptionSchedule.Phase`, `stripe.SubscriptionSchedule.Phase.AddInvoiceItem`, `stripe.SubscriptionSchedule.Phase.Item`, and `stripe.SubscriptionSchedule.Phase` from `Optional[List[Discount]]` to `List[Discount]` of `discounts` -## 8.10.0 - 2024-04-04 - -* [#1288](https://github.com/stripe/stripe-python/pull/1288) Port **async support** from beta to the stable channel. To use it, add an `_async` suffix to any request-making method. - - ```diff - - cus = stripe.Customer.create(...) - + cus = await stripe.Customer.create_async(...) - ``` - - See the [README](./README.md#async) for detailed usage instructions. Support is provided out of the box for async requests via the HTTPX (used by default) and aiohttp libraries. For other libraries, you can also provide your own `stripe.HTTPClient` implementation. Please do not hesitate to [open a Github issue](https://github.com/stripe/stripe-python/issues/new/choose) if you have any feedback on this feature. -* [#1284](https://github.com/stripe/stripe-python/pull/1284) Update generated code - * Add support for `subscription_item` on resource `stripe.Discount` - * Add support for `promotion_code` on parameter classes `stripe.Invoice.CreateParamsDiscount`, `stripe.Invoice.ModifyParamsDiscount`, `stripe.InvoiceItem.CreateParamsDiscount`, `stripe.InvoiceItem.ModifyParamsDiscount`, `stripe.InvoiceLineItem.ModifyParamsDiscount`, `stripe.Quote.CreateParamsDiscount`, and `stripe.Quote.ModifyParamsDiscount` - * Add support for `discounts` on parameter classes `stripe.Invoice.UpcomingLinesParamsSubscriptionItem`, `stripe.Invoice.UpcomingParamsSubscriptionItem`, `stripe.Quote.CreateParamsLineItem`, `stripe.Quote.ModifyParamsLineItem`, `stripe.Subscription.CreateParams`, `stripe.Subscription.CreateParamsAddInvoiceItem`, `stripe.Subscription.CreateParamsItem`, `stripe.Subscription.ModifyParams`, `stripe.Subscription.ModifyParamsAddInvoiceItem`, `stripe.Subscription.ModifyParamsItem`, `stripe.SubscriptionItem.CreateParams`, `stripe.SubscriptionItem.ModifyParams`, `stripe.SubscriptionSchedule.CreateParamsPhase`, `stripe.SubscriptionSchedule.CreateParamsPhaseAddInvoiceItem`, `stripe.SubscriptionSchedule.CreateParamsPhaseItem`, `stripe.SubscriptionSchedule.ModifyParamsPhase`, `stripe.SubscriptionSchedule.ModifyParamsPhaseAddInvoiceItem`, and `stripe.SubscriptionSchedule.ModifyParamsPhaseItem`, resources `stripe.Subscription` and `stripe.SubscriptionItem`, and resource classes `stripe.SubscriptionSchedule.Phase.AddInvoiceItem`, `stripe.SubscriptionSchedule.Phase.Item`, and `stripe.SubscriptionSchedule.Phase` - * Add support for `zip` on parameter classes `stripe.PaymentMethodConfiguration.CreateParams` and `stripe.PaymentMethodConfiguration.ModifyParams` and resource `stripe.PaymentMethodConfiguration` - * Add support for `offline` on resource class `stripe.SetupAttempt.PaymentMethodDetails.CardPresent` - * Add support for `card_present` on parameter classes `stripe.SetupIntent.ConfirmParamsPaymentMethodOptions`, `stripe.SetupIntent.CreateParamsPaymentMethodOptions`, and `stripe.SetupIntent.ModifyParamsPaymentMethodOptions` and resource class `stripe.SetupIntent.PaymentMethodOptions` - * Add support for `email` on resource `stripe.identity.VerificationReport`, parameter classes `stripe.identity.VerificationSession.CreateParamsOptions` and `stripe.identity.VerificationSession.ModifyParamsOptions`, and resource classes `stripe.identity.VerificationSession.Options` and `stripe.identity.VerificationSession.VerifiedOutputs` - * Add support for `phone` on resource `stripe.identity.VerificationReport`, parameter classes `stripe.identity.VerificationSession.CreateParamsOptions` and `stripe.identity.VerificationSession.ModifyParamsOptions`, and resource classes `stripe.identity.VerificationSession.Options` and `stripe.identity.VerificationSession.VerifiedOutputs` - * Add support for `verification_flow` on resources `stripe.identity.VerificationReport` and `stripe.identity.VerificationSession` and parameter class `stripe.identity.VerificationSession.CreateParams` - * Add support for `provided_details` on parameter classes `stripe.identity.VerificationSession.CreateParams` and `stripe.identity.VerificationSession.ModifyParams` and resource `stripe.identity.VerificationSession` - * Add support for `allowed_merchant_countries` on parameter classes `stripe.issuing.Card.CreateParamsSpendingControls`, `stripe.issuing.Card.ModifyParamsSpendingControls`, `stripe.issuing.Cardholder.CreateParamsSpendingControls`, and `stripe.issuing.Cardholder.ModifyParamsSpendingControls` and resource classes `stripe.issuing.Card.SpendingControls` and `stripe.issuing.Cardholder.SpendingControls` - * Add support for `blocked_merchant_countries` on parameter classes `stripe.issuing.Card.CreateParamsSpendingControls`, `stripe.issuing.Card.ModifyParamsSpendingControls`, `stripe.issuing.Cardholder.CreateParamsSpendingControls`, and `stripe.issuing.Cardholder.ModifyParamsSpendingControls` and resource classes `stripe.issuing.Card.SpendingControls` and `stripe.issuing.Cardholder.SpendingControls` - * Change type of `reference` on `stripe.checkout.Session.CreateParamsPaymentMethodOptionsSwish` from `Literal['']|str` to `str` - * Add support for `verification_flow` on enums `stripe.identity.VerificationReport.type` and `stripe.identity.VerificationSession.type` - * Add support for `email_unverified_other` on enum `stripe.identity.VerificationSession.LastError.code` - * Add support for `email_verification_declined` on enum `stripe.identity.VerificationSession.LastError.code` - * Add support for `phone_unverified_other` on enum `stripe.identity.VerificationSession.LastError.code` - * Add support for `phone_verification_declined` on enum `stripe.identity.VerificationSession.LastError.code` - * Add support for `mobile_phone_reader` on enums `stripe.terminal.Reader.device_type` and `stripe.terminal.Reader.ListParams.device_type` - * Change type of `type` on `stripe.identity.VerificationSession.CreateParams` from `Literal['document', 'id_number']` to `NotRequired[Literal['document', 'id_number']]` - * Change type of `discounts` on `stripe.Invoice` and `stripe.InvoiceLineItem` from `Optional[List[ExpandableField[Discount]]]` to `List[ExpandableField[Discount]]` - * Change type of `data` on `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode` from `Optional[str]` to `str` - * Change type of `image_url_png` on `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode` from `Optional[str]` to `str` - * Change type of `image_url_svg` on `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode` from `Optional[str]` to `str` - * Change type of `hosted_instructions_url` on `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[str]` to `str` - * Change type of `mobile_auth_url` on `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[str]` to `str` - * Change type of `qr_code` on `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[QrCode]` to `QrCode` -* [#1289](https://github.com/stripe/stripe-python/pull/1289) Bump aiohttp from 3.9.0 to 3.9.2 - ## 8.10.0b1 - 2024-03-28 -* [#1277](https://github.com/stripe/stripe-python/pull/1277) Update generated code for beta - * Add support for `financial_account_transactions`, `financial_account`, `issuing_card`, and `issuing_cards_list` on `AccountSession.CreateParamsComponents` and `AccountSessionService.CreateParamsComponents` - * Remove support for `subscription_billing_cycle_anchor`, `subscription_cancel_at_period_end`, `subscription_cancel_at`, `subscription_cancel_now`, `subscription_default_tax_rates`, `subscription_items`, `subscription_prebilling`, `subscription_proration_behavior`, `subscription_proration_date`, `subscription_resume_at`, `subscription_start_date`, and `subscription_trial_end` on `Invoice.CreatePreviewParams` and `InvoiceService.CreatePreviewParams` - * [#1283](https://github.com/stripe/stripe-python/pull/1283) Fix unneccessary quotes - -## 8.9.0 - 2024-03-28 -* [#1276](https://github.com/stripe/stripe-python/pull/1276) Update generated code - * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` - * Add support for `create`, `deactivate`, `list`, `modify`, `reactivate`, and `retrieve` methods on resource `Meter` - * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent` - * Add support for `amazon_pay_payments` on `Account.Capabilities`, `Account.CreateParamsCapabilities`, `Account.UpdateParamsCapabilities`,`AccountService.CreateParamsCapabilities`, and `AccountService.UpdateParamsCapabilities` - * Add support for new value `verification_failed_representative_authority` on enums `Account.FutureRequirements.Error.code`, `Account.Requirements.Errors.code`, `BankAccount.FutureRequirements.Error.code`, `BankAccount.Requirements.Errors.code`, `Capability.FutureRequirements.Error.code`, `Capability.Requirements.Errors.code`, `Person.FutureRequirements.Error.code`, `Person.Requirements.Errors.code`, - * Add support for `destination_on_behalf_of_charge_management` on `AccountSession.Components.PaymentDetails.Features`, `AccountSession.Components.Payments.Features`, `AccountSession.CreateParamsComponentsPaymentDetailsFeatures`, `AccountSession.CreateParamsComponentsPaymentsFeatures`, `AccountSessionService.CreateParamsComponentsPaymentDetailsFeatures` and `AccountSessionService.CreateParamsComponentsPaymentsFeatures` - * Add support for `meter` on `Plan.CreateParams`, `Plan`, `PlanService.CreateParams`, `Price.Recurring`, `Price.CreateParamsRecurring`, `Price.ListParamsRecurring`, `PriceService.CreateParamsRecurring`, and `PriceService.ListParamsRecurring` - * Add support for `mandate` on `Charge.PaymentMethodDetails.USBankAccount`, `Treasury.InboundTransfer.OriginPaymentMethodDetails.USBankAccount`, `Treasury.OutboundPayment.DestinationPaymentMethodDetails.USBankAccount`, and `Treasury.OutboundTransfer.DestinationPaymentMethodDetails.USBankAccount` - * Add support for `second_line` on `Issuing.Card.CreateParams` -* [#1278](https://github.com/stripe/stripe-python/pull/1278) Types: remove unnecessary quotes -* [#1279](https://github.com/stripe/stripe-python/pull/1279) Update README.md +* [#1277](https://github.com/stripe/stripe-python/pull/1277) Update generated code for beta + * Add support for `financial_account_transactions`, `financial_account`, `issuing_card`, and `issuing_cards_list` on `AccountSession.CreateParamsComponents` and `AccountSessionService.CreateParamsComponents` + * Remove support for `subscription_billing_cycle_anchor`, `subscription_cancel_at_period_end`, `subscription_cancel_at`, `subscription_cancel_now`, `subscription_default_tax_rates`, `subscription_items`, `subscription_prebilling`, `subscription_proration_behavior`, `subscription_proration_date`, `subscription_resume_at`, `subscription_start_date`, and `subscription_trial_end` on `Invoice.CreatePreviewParams` and `InvoiceService.CreatePreviewParams` ## 8.9.0b1 - 2024-03-21 +* [#1271](https://github.com/stripe/stripe-python/pull/1271) Support AIOHTTPClient init without running event loop * [#1272](https://github.com/stripe/stripe-python/pull/1272) Update generated code for beta * Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement` * Add support for `list` method on resource `ActiveEntitlement` -* [#1271](https://github.com/stripe/stripe-python/pull/1271) Support AIOHTTPClient init without running event loop - -## 8.8.0 - 2024-03-21 -* [#1273](https://github.com/stripe/stripe-python/pull/1273) Update generated code - * Add support for new resources `ConfirmationToken` and `Forwarding.Request` - * Add support for `retrieve` method on resource `ConfirmationToken` - * Add support for `create`, `list`, and `retrieve` methods on resource `Request` - * Add support for `mobilepay_payments` on `Account.Capabilities`, `Account.CreateParamsCapabilities`, and `Account.UpdateParamsCapabilities` - * Add support for new values `forwarding_api_inactive`, `forwarding_api_invalid_parameter`, `forwarding_api_upstream_connection_error`, and `forwarding_api_upstream_connection_timeout` on enums `Invoice.LastFinalizationError.code`, `PaymentIntent.LastPaymentError.code`, `SetupAttempt.SetupError.code`, `SetupIntent.LastSetupError.code`, and `StripeError.code` - * Add support for `payment_reference` on `Charge.PaymentMethodDetails.UsBankAccount` - * Add support for `payout` on `Treasury.ReceivedDebit.LinkedFlows` - * Add support for `name` on `ConfigurationService.CreateParams`, `ConfigurationService.UpdateParams`, and `Configuration` for terminal - * Add support for `confirmation_token` on `PaymentIntentService.ConfirmParams`, `PaymentIntentService.CreateParams`, `SetupIntentService.ConfirmParams`, and `SetupIntentService.CreateParams` - * Add support for new value `mobilepay` on enums `Customer.ListPaymentMethodsParams.type`, `PaymentMethod.CreateParams.type`, and `PaymentMethod.ListParams.type` - * Add support for `mobilepay` on `Charge.PaymentMethodDetails`, `PaymentIntent.PaymentMethodOptions`, `PaymentIntentService.ConfirmParamsPaymentMethodData`, `PaymentIntentService.ConfirmParamsPaymentMethodOptions`, `PaymentIntentService.CreateParamsPaymentMethodData`, `PaymentIntentService.CreateParamsPaymentMethodOptions`, `PaymentIntentService.UpdateParamsPaymentMethodData`, `PaymentIntentService.UpdateParamsPaymentMethodOptions`, `PaymentMethod.CreateParams`, `PaymentMethod`, `SetupIntentService.ConfirmParamsPaymentMethodData`, `SetupIntentService.CreateParamsPaymentMethodData`, and `SetupIntentService.UpdateParamsPaymentMethodData` - * Add support for new value `mobilepay` on enums `PaymentIntentService.ConfirmParamsPaymentMethodData.type`, `PaymentIntentService.CreateParamsPaymentMethodData.type`, `PaymentIntentService.UpdateParamsPaymentMethodData.type`, `SetupIntentService.ConfirmParamsPaymentMethodData.type`, `SetupIntentService.CreateParamsPaymentMethodData.type`, and `SetupIntentService.UpdateParamsPaymentMethodData.type` - * Add support for new value `mobilepay` on enum `PaymentMethod.type` ## 8.8.0b1 - 2024-03-14 +* [#1266](https://github.com/stripe/stripe-python/pull/1266) Beta: record usage of async interface * [#1270](https://github.com/stripe/stripe-python/pull/1270) Update generated code for beta * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` * Add support for `create`, `deactivate`, `list`, `modify`, `reactivate`, and `retrieve` methods on resource `Meter` * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent` * Add support for `create` test helper method on resource `ConfirmationToken` * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice` -* [#1266](https://github.com/stripe/stripe-python/pull/1266) Beta: record usage of async interface - -## 8.7.0 - 2024-03-14 -* [#1269](https://github.com/stripe/stripe-python/pull/1269) Update generated code - * Add support for `personalization_design` on parameter classes `CardService.CreateParams`, `CardService.ListParams`, `CardService.UpdateParams`, `stripe.issuing.Card.CreateParams`, `stripe.issuing.Card.ListParams`, and `stripe.issuing.Card.ModifyParams` and resource `stripe.issuing.Card` - * Add support for `sepa_debit` on parameter classes `SubscriptionService.CreateParamsPaymentSettingsPaymentMethodOptions`, `SubscriptionService.UpdateParamsPaymentSettingsPaymentMethodOptions`, `stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptions`, and `stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions` and resource class `stripe.Subscription.PaymentSettings.PaymentMethodOptions` - * Add support for resource `stripe.issuing.PersonalizationDesign` - * Add support for resource `stripe.issuing.PhysicalBundle` - * Change type from `float` to `Literal['']|float` of `application_fee_percent` on fields `stripe.Subscription.CreateParams`, `stripe.Subscription.ModifyParams`, `SubscriptionService.UpdateParams`, and `SubscriptionService.CreateParams` ## 8.7.0b1 - 2024-03-07 * [#1265](https://github.com/stripe/stripe-python/pull/1265) Update generated code for beta * Add support for new value `billing_period_end` on enums `Quote.CreateParamsLineEndsAt.type`, `QuoteLine.EndsAt.type`, and `Quote.ModifyParamsLineEndsAt.type` -## 8.6.0 - 2024-03-07 -* [#1267](https://github.com/stripe/stripe-python/pull/1267) Update generated code - * Add support for `documents` on `AccountSession.Components` - * Add support for `request_three_d_secure` on `Checkout.Session.PaymentMethodOptionsCard` and `Checkout.Session.CreateParams.PaymentMethodOptionsCard` - * Add support for `created` on `CreditNote.ListParams` - * Add support for `sepa_debit` on `Invoice.PaymentSettings.PaymentMethodOptions`, `InvoiceCreateParams.PaymentSettings.PaymentMethodOptions`, and `InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions` -* [#1268](https://github.com/stripe/stripe-python/pull/1268) Update README.md - ## 8.6.0b1 - 2024-02-29 +* [#1259](https://github.com/stripe/stripe-python/pull/1259) Add helper to add beta version +* [#1264](https://github.com/stripe/stripe-python/pull/1264) Remove unconditional import of TCPConnector from aiohttp in _http_client * [#1251](https://github.com/stripe/stripe-python/pull/1251) Update generated code for beta * Remove support for resource `Entitlements.Event` -* [#1264](https://github.com/stripe/stripe-python/pull/1264) Remove unconditional import of TCPConnector from aiohttp in _http_client -* [#1259](https://github.com/stripe/stripe-python/pull/1259) Add helper to add beta version - -## 8.5.0 - 2024-02-29 -* [#1255](https://github.com/stripe/stripe-python/pull/1255) Update generated code - * 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`. -* [#1260](https://github.com/stripe/stripe-python/pull/1260) Update README to use add_beta_version -* [#1250](https://github.com/stripe/stripe-python/pull/1250) Fix type of ErrorObject.code ## 8.5.0b3 - 2024-02-27 * [#1262](https://github.com/stripe/stripe-python/pull/1262) Beta: fix ssl for AIOHTTP client @@ -3005,136 +1362,38 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * [#1247](https://github.com/stripe/stripe-python/pull/1247) Make `ListObject.auto_paging_iter()` implement `AsyncIterator` ## 8.5.0b1 - 2024-02-22 -* [#1246](https://github.com/stripe/stripe-python/pull/1246) Update generated code for beta - -* [#1239](https://github.com/stripe/stripe-python/pull/1239) Beta: Collapse HTTPClientAsync into HTTPClient +* ⚠️ [#1239](https://github.com/stripe/stripe-python/pull/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. - -## 8.4.0 - 2024-02-22 -* [#1241](https://github.com/stripe/stripe-python/pull/1241) Update generated code - - Add `InvoiceLineItem.modify` method. -* [#1244](https://github.com/stripe/stripe-python/pull/1244) Add TaxIds API - * Add support for `create`, `retrieve`, `delete`, and `list` methods on resource `TaxId` - * The `instance_url` function on resource `TaxId` now returns the top-level `/v1/tax_ids/{id}` path instead of the `/v1/customers/{customer}/tax_ids/{id}` path. -* [#1243](https://github.com/stripe/stripe-python/pull/1243) Remove http client base -* [#1242](https://github.com/stripe/stripe-python/pull/1242) Testing: unify http client mock +* [#1246](https://github.com/stripe/stripe-python/pull/1246) Update generated code for beta ## 8.4.0b1 - 2024-02-16 +* [#1233](https://github.com/stripe/stripe-python/pull/1233) Beta: async streaming +* [#1236](https://github.com/stripe/stripe-python/pull/1236) Beta: StripeStreamResponseAsync.read helper * [#1235](https://github.com/stripe/stripe-python/pull/1235) Update generated code for beta * Add support for `payto` and `twint` payment methods throughout the API * Add support for `decrement_authorization` method on resource `PaymentIntent` -* [#1236](https://github.com/stripe/stripe-python/pull/1236) Beta: StripeStreamResponseAsync.read helper -* [#1233](https://github.com/stripe/stripe-python/pull/1233) Beta: async streaming - -## 8.3.0 - 2024-02-15 -* [#1230](https://github.com/stripe/stripe-python/pull/1230) Update generated code - * 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[]` -* [#1237](https://github.com/stripe/stripe-python/pull/1237) Remove broken child methods - * Bugfix: remove support for `CreditNoteLineItem.list`, `CustomerCashBalanceTransaction.list`, and `CustomerCashBalanceTransaction.retrieve`. These methods were included in the library unintentionally and never functioned. -* [#1232](https://github.com/stripe/stripe-python/pull/1232) Improve types in _http_client.py ## 8.3.0b1 - 2024-02-08 +* [#1228](https://github.com/stripe/stripe-python/pull/1228) Beta: add `_async` methods for StripeClient * [#1226](https://github.com/stripe/stripe-python/pull/1226) Update generated code for beta * Add support for `payment_method_options` on `ConfirmationToken` -* [#1228](https://github.com/stripe/stripe-python/pull/1228) Beta: add `_async` methods for StripeClient - -## 8.2.0 - 2024-02-08 -* [#1225](https://github.com/stripe/stripe-python/pull/1225) Update generated code - * Add support for `invoices` on `Account.Settings` - * Add support for new value `velobank` on various enums `PaymentMethodDetails.P24.bank` - * Add support for `setup_future_usage` on `PaymentMethodOptions.Blik` - * Add support for `require_cvc_recollection` on `PaymentMethodOptions.Card` - * Add support for `account_tax_ids` on various `InvoiceSettings` request parameters -* [#1223](https://github.com/stripe/stripe-python/pull/1223) Move StripeClient usage collection onto StripeService -* [#1220](https://github.com/stripe/stripe-python/pull/1220) Measure StripeClient usage ## 8.2.0b1 - 2024-02-05 +* [#1210](https://github.com/stripe/stripe-python/pull/1210) Beta: better support for trio in HTTPClientAsync + * Fixes support for `trio` on HttpClientAsync. +* [#1209](https://github.com/stripe/stripe-python/pull/1209) Beta: Fix HTTPXClient retries +* [#1171](https://github.com/stripe/stripe-python/pull/1171) Beta: codegenned async methods on resources +* [#1219](https://github.com/stripe/stripe-python/pull/1219) Beta: more async infrastructure * [#1218](https://github.com/stripe/stripe-python/pull/1218) Update generated code for beta * Add support for new resources `Entitlements.Event` and `Entitlements.Feature` * Add support for `create` method on resource `Event` * Add support for `create` and `list` methods on resource `Feature` -* [#1171](https://github.com/stripe/stripe-python/pull/1171) Beta: codegenned async methods on resources -* [#1219](https://github.com/stripe/stripe-python/pull/1219) Beta: more async infrastructure -* [#1210](https://github.com/stripe/stripe-python/pull/1210) Beta: better support for trio in HTTPClientAsync - * Fixes support for `trio` on HttpClientAsync. -* [#1209](https://github.com/stripe/stripe-python/pull/1209) Beta: Fix HTTPXClient retries - -## 8.1.0 - 2024-02-01 -* [#1213](https://github.com/stripe/stripe-python/pull/1213) Update generated code - * Add support for `swish` payment method throughout the API - * Add support for `relationship` on parameter classes `Account.CreateParamsIndividual` and `Token.CreateParamsAccountIndividual` - * Add support for `jurisdiction_level` on resource `TaxRate` - * Change type from `str` to `Literal["offline", "online"]` of `status` on field `terminal.Reader` ## 8.1.0b1 - 2024-01-25 * [#1198](https://github.com/stripe/stripe-python/pull/1198) Update generated code for beta * Add support for `create_preview` method on resource `Invoice` -* [#1211](https://github.com/stripe/stripe-python/pull/1211) Merge master into beta - -## 8.0.0 - 2024-01-25 -* [#1206](https://github.com/stripe/stripe-python/pull/1206) stripe-python v8 release - This release introduces `StripeClient` and a service-based call pattern. This new interface allows you to easily call Stripe APIs and has several benefits over the existing resource-based pattern: - - * No global config: you can simultaneously use multiple clients with different configuration options (such as API keys) - * No static methods for easier mocking - - For full migration instructions, please refer to the [v8 migration guide](https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v8-(StripeClient)). - - "⚠️" symbol highlights breaking changes - - ### ⚠️ Changed - * ⚠️ **Request options like `api_key`, `stripe_account`, `stripe_version`, and `idempotency_key` can no longer be passed in positionally on resource methods. Please pass these in as keyword arguments.** - - **BEFORE** - ```python - stripe.Customer.create( - "sk_test_123", # api key - "KG5LxwFBepaKHyUD", # idempotency key - "2022-11-15", # stripe version - "acct_123", # stripe account - ) - ``` - - **AFTER** - ```python - stripe.Customer.create( - api_key="sk_test_123", - idempotency_key="KG5LxwFBepaKHyUD", - stripe_version="2022-11-15", - stripe_account="acct_123", - ) - ``` - * ⚠️ Methods that turn a response stream (`Quote.pdf`) now returns a single value of type `StripeResponseStream` instead of a tuple containing `(StripeResponseStream, api_key)`. - * ⚠️ Removed public access to `APIRequestor`. `APIRequestor`'s main use is internal, and we don't have a good understanding of its external use cases. We had to make several breaking changes to its interface as part of this update, so rather than leaving it public we made it private. If you have a use case for `APIRequestor`, please open up a Github issue describing it. We'd rather you rely on something specifically designed for your use case than having to reach into the library's internals. - - - ### ⚠️ Removed - * ⚠️ Remove `api_version` from `File.create` parameters. Please use `stripe_version` instead. - * ⚠️ Remove `util.read_special_variable()` utility method (importing directly from `stripe.util` is deprecated as of [v7.8.0](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#780---2023-12-07)) - * ⚠️ Remove `StripeError.construct_error_object()`. This method was intended for internal stripe-python use only. - * ⚠️ Remove `ListObject.empty_list()`. This method was intended for internal stripe-python use only. - * ⚠️ Remove `SearchResultObject.empty_search_result()`. This method was intended for internal stripe-python use only. - * ⚠️ Remove `StripeObject.ReprJSONEncoder`. This class was intended for internal stripe-python use only. - * ⚠️ Remove `StripeObject.api_base`. This property was defunct and returned `None`. - -## 7.14.0 - 2024-01-25 -* [#1199](https://github.com/stripe/stripe-python/pull/1199) Update generated code - * Add support for `annual_revenue` and `estimated_worker_count` on `Account.business_profile`, `Account.CreateParams.business_profile`, and `Account.UpdateParams.business_profile` - * Add support for new value `registered_charity` on enums `Account.CreateParams.company.structure`, `Account.UpdateParams.company.structure`, and `Token.CreateParams.account.company.structure` - * Add support for `collection_options` on `AccountLink.CreateParams` - * Add support for `liability` on `Checkout.Session.automatic_tax`, `PaymentLink.automatic_tax`, `PaymentLink.CreateParams.automatic_tax`, `PaymentLink.UpdateParams.automatic_tax`, `Quote.automatic_tax`, `Quote.CreateParams.automatic_tax`, `Quote.UpdateParams.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, `SubscriptionSchedule.phases[].automatic_tax`, `SubscriptionSchedule.CreateParams.default_settings.automatic_tax`, `SubscriptionSchedule.CreateParams.phases[].automatic_tax`, `SubscriptionSchedule.UpdateParams.default_settings.automatic_tax`, `SubscriptionSchedule.UpdateParams.phases[].automatic_tax`, and `checkout.Session.CreateParams.automatic_tax` - * Add support for `issuer` on `Checkout.Session.invoice_creation.invoice_data`, `PaymentLink.invoice_creation.invoice_data`, `PaymentLink.CreateParams.invoice_creation.invoice_data`, `PaymentLink.UpdateParams.invoice_creation.invoice_data`, `Quote.invoice_settings`, `Quote.CreateParams.invoice_settings`, `Quote.UpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionSchedule.CreateParams.default_settings.invoice_settings`, `SubscriptionSchedule.CreateParams.phases[].invoice_settings`, `SubscriptionSchedule.UpdateParams.default_settings.invoice_settings`, `SubscriptionSchedule.UpdateParams.phases[].invoice_settings`, and `checkout.Session.CreateParams.invoice_creation.invoice_data` - * Add support for `invoice_settings` on `PaymentLink.subscription_data`, `PaymentLink.CreateParams.subscription_data`, `PaymentLink.UpdateParams.subscription_data`, and `checkout.Session.CreateParams.subscription_data` - * Add support for new value `challenge` on enums `Invoice.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure`, `Invoice.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure`, `Subscription.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure`, and `Subscription.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure` - * Add support for `promotion_code` on `Invoice.UpcomingLinesParams.discounts[]`, `Invoice.UpcomingLinesParams.invoice_items[].discounts[]`, `Invoice.UpcomingParams.discounts[]`, and `Invoice.UpcomingParams.invoice_items[].discounts[]` - * Add support for `account_type` on `PaymentMethod.UpdateParams.us_bank_account` ## 7.14.0b1 - 2024-01-18 * [#1197](https://github.com/stripe/stripe-python/pull/1197) Update generated code for beta @@ -3144,177 +1403,33 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for new value `NNBANL2G` on enum `ConfirmationToken.PaymentMethodPreview.Ideal.bic` * Change `Invoice.AutomaticTax.liability`, `Invoice.issuer`, and `Subscription.AutomaticTax.liability` to be required -## 7.13.0 - 2024-01-18 -* [#1193](https://github.com/stripe/stripe-python/pull/1193) Update generated code - * Add support for providing details about `BankAccount`, `Card`, and `CardToken` on `Account.CreateExternalAccountParams.external_account` and `Account.CreateParams.external_account` - * Add support for new value `nn` on enums `Charge.PaymentMethodDetails.Ideal.bank`, `PaymentIntent.ConfirmParamsPaymentMethodDataIdeal.bank`, `PaymentIntent.CreateParamsPaymenMethodDataIdeal.bank`, `PaymentIntent.UpdateParamsPaymentMethodDataIdeal.bank`, `PaymentMethod.Ideal.bank`, `PaymentMethod.CreateParamsIdeal.bank`, `SetupAttempt.PaymentMethodDetails.Ideal.bank`, `SetupIntent.ConfirmParamsPaymenMethodDataIdeal.bank`, `SetupIntent.CreateParamsPaymenMethodDataIdeal.bank`, and `SetupIntent.UpdateParamsPaymenMethodDataIdeal.bank` - * Add support for new value `NNBANL2G` on enums `Charge.PaymentMethodDetails.Ideal.bic`, `PaymentMethod.Ideal.bic`, and `SetupAttempt.PaymentMethodDetails.Ideal.bic` - * Change `CustomerSession.Components.buy_button` and `CustomerSession.Components.pricing_table` to be required - * Add support for `issuer` on `Invoice.CreateParams`, `Invoice.UpcomingLinesParams`, `Invoice.UpcomingParams`, `Invoice.UpdateParams`, and `Invoice` - * Add support for `liability` on `Invoice.automatic_tax`, `Invoice.CreateParams.automatic_tax`, `Invoice.UpcomingLinesParams.automatic_tax`, `Invoice.UpcomingParams.automatic_tax`, `Invoice.UpdateParams.automatic_tax`, `Subscription.automatic_tax`, `Subscription.CreateParams.automatic_tax`, and `Subscription.UpdateParams.automatic_tax` - * Add support for `on_behalf_of` on `Invoice.UpcomingLinesParams` and `Invoice.UpcomingParams` - * Add support for `pin` on `issuing.Card.CreateParams` - * Add support for `revocation_reason` on `Mandate.PaymentMethodDetails.bacs_debit` - * Add support for `customer_balance` on `PaymentMethodConfiguration.CreateParams`, `PaymentMethodConfiguration.UpdateParams`, and `PaymentMethodConfiguration` - * Add support for `invoice_settings` on `Subscription.CreateParams` and `Subscription.UpdateParams` - ## 7.13.0b1 - 2024-01-12 -* [#1189](https://github.com/stripe/stripe-python/pull/1189) Update generated code for beta -* [#1191](https://github.com/stripe/stripe-python/pull/1191) Beta: report `raw_request` usage * [#1165](https://github.com/stripe/stripe-python/pull/1165) Beta: raw_request_async with HTTPX - -## 7.12.0 - 2024-01-12 -* [#1188](https://github.com/stripe/stripe-python/pull/1188) Update generated code - * Add support for new resource `CustomerSession` - * Add support for `create` method on resource `CustomerSession` - * Remove support for values `obligation_inbound`, `obligation_payout_failure`, `obligation_payout`, and `obligation_reversal_outbound` from enum `BalanceTransaction.type` - * Add support for new values `eps` and `p24` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]` - * Remove support for value `obligation` from enum `Reporting.ReportRunCreateParams.parameters.reporting_category` - * Add support for `billing_cycle_anchor_config` on `SubscriptionCreateParams` and `Subscription` +* [#1191](https://github.com/stripe/stripe-python/pull/1191) Beta: report `raw_request` usage +* [#1189](https://github.com/stripe/stripe-python/pull/1189) Update generated code for beta ## 7.12.0b1 - 2024-01-04 * [#1187](https://github.com/stripe/stripe-python/pull/1187) Update generated code for beta * Updated stable APIs to the latest version -## 7.11.0 - 2024-01-04 -* [#1186](https://github.com/stripe/stripe-python/pull/1186) Update generated code - * Add support for `retrieve` on resource `tax.Registration` - * Change type from `Optional[PaymentDetails]` to `PaymentDetails` of `payment_details` on field `AccountSession.Components` - * Change type from `Optional[Payments]` to `Payments` of `payments` on field `AccountSession.Components` - * Change type from `Optional[Payouts]` to `Payouts` of `payouts` on field `AccountSession.Components` - * Change type from `Optional[Features]` to `Features` of `features` on fields `AccountSession.Components.PaymentDetails`, `AccountSession.Components.Payments`, and `AccountSession.Components.Payouts` - * Change type from `Optional[InvoiceSettings]` to `InvoiceSettings` of `invoice_settings` on field `SubscriptionSchedule.DefaultSettings` - ## 7.11.0b1 - 2023-12-22 * [#1177](https://github.com/stripe/stripe-python/pull/1177) Update generated code for beta -## 7.10.0 - 2023-12-22 -* [#1176](https://github.com/stripe/stripe-python/pull/1176) Update generated code - * Add support for new resource `FinancialConnections.Transaction` - * Add support for `list` and `retrieve` methods on resource `Transaction` - * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account` - * Add support for `features` on `AccountSessionCreateParams.components.payouts` - * Add support for `edit_payout_schedule`, `instant_payouts`, and `standard_payouts` on `AccountSession.components.payouts.features` - * Change type of `Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]` from `literal('balances')` to `enum('balances'|'transactions')` - * Add support for new value `financial_connections.account.refreshed_transactions` on enum `Event.type` - * Add support for new value `transactions` on enum `FinancialConnections.AccountRefreshParams.features[]` - * Add support for `subscriptions` and `transaction_refresh` on `FinancialConnections.Account` - * Add support for `next_refresh_available_at` on `FinancialConnections.Account.balance_refresh` - * Add support for new value `transactions` on enums `FinancialConnections.Session.prefetch[]` and `FinancialConnections.SessionCreateParams.prefetch[]` - * Add support for new value `unknown` on enums `Issuing.Authorization.verification_data.authentication_exemption.type` and `Issuing.AuthorizationCreateParams.testHelpers.verification_data.authentication_exemption.type` - * Add support for new value `challenge` on enums `PaymentIntent.payment_method_options.card.request_three_d_secure`, `PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure`, `PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure`, `PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure`, `SetupIntent.payment_method_options.card.request_three_d_secure`, `SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure`, `SetupIntentCreateParams.payment_method_options.card.request_three_d_secure`, and `SetupIntentUpdateParams.payment_method_options.card.request_three_d_secure` - * Add support for `revolut_pay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` - * Change type of `Quote.invoice_settings` from `InvoiceSettingQuoteSetting | null` to `InvoiceSettingQuoteSetting` - * Add support for `destination_details` on `Refund` - * Add support for new value `financial_connections.account.refreshed_transactions` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` - -* [#1185](https://github.com/stripe/stripe-python/pull/1185) Update generated code -* [#1184](https://github.com/stripe/stripe-python/pull/1184) Remove api_base from RequestOptions type -* [#1178](https://github.com/stripe/stripe-python/pull/1178) Support accessing reserved word resource properties via attribute - ## 7.10.0b1 - 2023-12-14 -* [#1166](https://github.com/stripe/stripe-python/pull/1166) Update generated code for beta * [#1164](https://github.com/stripe/stripe-python/pull/1164) Beta: revert broken logger - -## 7.9.0 - 2023-12-14 -* [#1161](https://github.com/stripe/stripe-python/pull/1161) Update generated code - - * Add support for `payment_method_reuse_agreement` on resource classes `PaymentLink.ConsentCollection` and `checkout.Session.ConsentCollection` and parameter classes `PaymentLink.CreateParamsConsentCollection` and `checkout.Session.CreateParamsConsentCollection` - * Add support for `after_submit` on parameter classes `PaymentLink.CreateParamsCustomText`, `PaymentLink.ModifyParamsCustomText`, and `checkout.Session.CreateParamsCustomText` and resource classes `PaymentLink.CustomText` and `checkout.Session.CustomText` - * Add support for `created` on parameter class `radar.EarlyFraudWarning.ListParams` -* [#1146](https://github.com/stripe/stripe-python/pull/1146) Track usage of deprecated `save` - * Reports uses of the deprecated `.save` in `X-Stripe-Client-Telemetry`. (You can disable telemetry via `stripe.enable_telemetry = false`, see the [README](https://github.com/stripe/stripe-python/blob/master/README.md#telemetry).) -* [#1101](https://github.com/stripe/stripe-python/pull/1101) Mark defunct and internal methods as deprecated -* [#1169](https://github.com/stripe/stripe-python/pull/1169) Add more types to _http_client.py +* [#1166](https://github.com/stripe/stripe-python/pull/1166) Update generated code for beta ## 7.9.0b1 - 2023-12-08 * [#1163](https://github.com/stripe/stripe-python/pull/1163) Update generated code for beta * Add support for `retrieve` method on resource `FinancialConnections.Transaction` -## 7.8.2 - 2023-12-11 -* [#1168](https://github.com/stripe/stripe-python/pull/1168) Do not raise a DeprecationWarning in `stripe.app_info` - -## 7.8.1 - 2023-12-08 -* [#1159](https://github.com/stripe/stripe-python/pull/1159) Fix __getattr__ to raise AttributeError rather than returning None. This fixes a regression in 7.8.0 that caused `stripe.checkout`/`stripe.issuing` etc. to return `None`. -* [#1157](https://github.com/stripe/stripe-python/pull/1157) Add missing explicit reexport for `OAuth`, `Webhook`, `WebhookSignature` - -## 7.8.0 - 2023-12-07 -* [#1155](https://github.com/stripe/stripe-python/pull/1155) Update generated code - * Add support for `payment_details`, `payments`, and `payouts` on `AccountSession.components` and `CreateParams.components` - * Add support for `features` on `AccountSession.components.account_onboarding` and `CreateParams.components.account_onboarding` - * Add support for new values `customer_tax_location_invalid` and `financial_connections_no_successful_transaction_refresh` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` - * Add support for new values `payment_network_reserve_hold` and `payment_network_reserve_release` on enum `BalanceTransaction.type` - * Change `Climate.Product.metric_tons_available` to be required - * Remove support for value `various` from enum `Climate.Supplier.removal_pathway` - * Remove support for values `challenge_only` and `challenge` from enum `PaymentIntent.payment_method_options.card.request_three_d_secure` - * Add support for `inactive_message` and `restrictions` on `CreateParams`, `ModifyParams`, and `PaymentLink` - * Add support for `transfer_group` on `PaymentLink.payment_intent_data`, `CreateParams.payment_intent_data`, and `ModifyParams.payment_intent_data` - * Add support for `trial_settings` on `PaymentLink.subscription_data`, `CreateParams.subscription_data`, and `ModifyParams.subscription_data` -* [#1153](https://github.com/stripe/stripe-python/pull/1153) Move exports for more modules - - `stripe.app_info`, `stripe.http_client`, `stripe.oauth`, `stripe.util`, `stripe.version`, `stripe.webhook`, modules are deprecated. All types are available directly from `stripe` module now. - Before: - ```python - from stripe.util import convert_to_stripe_object - # or - stripe.util.convert_to_stripe_object - ```` - After: - ```python - from stripe import convert_to_stripe_object - # or - stripe.convert_to_stripe_object - ``` - - `stripe.api_version`, `stripe.multipart_data_generator`, `stripe.request_metrics` are deprecated and will be fully removed in the future. -* [#1142](https://github.com/stripe/stripe-python/pull/1142) Move resource type exports to stripe.___ - - `stripe.error`, `stripe.stripe_object`, `stripe.api_requestor`, `stripe.stripe_response`, `stripe.request_options`, `stripe.api_resources.*`, `stripe.api_resources.abstract.*` modules are deprecated. All types are available directly from `stripe` module now. - Before: - ```python - from stripe.error import APIError - # or - stripe.error.APIError - ```` - After: - ```python - from stripe import APIError - # or - stripe.APIError - ``` - ## 7.8.0b1 - 2023-11-30 * [#1148](https://github.com/stripe/stripe-python/pull/1148) Update generated code for beta -## 7.7.0 - 2023-11-30 -* [#1147](https://github.com/stripe/stripe-python/pull/1147) Update generated code - * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier` - * Add support for `cancel`, `create`, `list`, `modify`, and `retrieve` methods on resource `Order` - * Add support for `list` and `retrieve` methods on resources `Product` and `Supplier` - * Add support for new value `financial_connections_account_inactive` on enums `Invoice.LastFinalizationError.code`, `PaymentIntent.LastPaymentError.code`, `SetupAttempt.SetupError.code`, and `SetupIntent.LastSetupError.code` - * Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `BalanceTransaction.type` - * Add support for `created` on `Checkout.Session.ListParams` - * Add support for `validate_location` on `Customer.CreateParamsTax` and `Customer.ModifyParamsTax` - * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `Event.type` - * Add support for new value `challenge` on enums `PaymentIntent. PaymentMethodOptions.Card.request_three_d_secure` and `SetupIntent. PaymentMethodOptions.Card.request_three_d_secure` - * Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `Reporting.ReportRun. CreateParamsParameters.reporting_category` - * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enums `WebhookEndpoint.CreateParams.enabled_events[]` and `WebhookEndpoint.ModifyParams.enabled_events[]` -* [#1145](https://github.com/stripe/stripe-python/pull/1145) Refactor integration test - ## 7.7.0b1 - 2023-11-21 -* [#1141](https://github.com/stripe/stripe-python/pull/1141) Update generated code for beta -* Rename `receipient` to `recipient` beneath `PaymentDetails` on `Charge` and `PaymentIntent` APIs.* Add support for `electronic_commerce_indicator` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure` and `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure` * Add support for `components` on parameter class `CustomerSession.CreateParams` and resource `CustomerSession` - -## 7.6.0 - 2023-11-21 -* [#1138](https://github.com/stripe/stripe-python/pull/1138) Update generated code - * Add support for `electronic_commerce_indicator` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure` and `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure` - * Add support for `exemption_indicator` on resource class `Charge.PaymentMethodDetails.Card.ThreeDSecure` - * Add support for `transaction_id` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure`, `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure`, `issuing.Authorization.NetworkData`, and `issuing.Transaction.NetworkData` - * Add support for `offline` on resource class `Charge.PaymentMethodDetails.CardPresent` - * Add support for `transferred_to_balance` on resource `CustomerCashBalanceTransaction` - * Add support for `three_d_secure` on parameter classes `PaymentIntent.ConfirmParamsPaymentMethodOptionsCard`, `PaymentIntent.CreateParamsPaymentMethodOptionsCard`, `PaymentIntent.ModifyParamsPaymentMethodOptionsCard`, `SetupIntent.ConfirmParamsPaymentMethodOptionsCard`, `SetupIntent.CreateParamsPaymentMethodOptionsCard`, and `SetupIntent.ModifyParamsPaymentMethodOptionsCard` - * Add support for `system_trace_audit_number` on resource class `issuing.Authorization.NetworkData` - * Add support for `network_risk_score` on resource classes `issuing.Authorization.PendingRequest` and `issuing.Authorization.RequestHistory` - * Add support for `requested_at` on resource class `issuing.Authorization.RequestHistory` - * Add support for `authorization_code` on resource class `issuing.Transaction.NetworkData` +* Rename `receipient` to `recipient` beneath `PaymentDetails` on `Charge` and `PaymentIntent` APIs.* Add support for `electronic_commerce_indicator` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure` and `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure` +* [#1141](https://github.com/stripe/stripe-python/pull/1141) Update generated code for beta ## 7.6.0b1 - 2023-11-16 * [#1128](https://github.com/stripe/stripe-python/pull/1128) Update generated code for beta @@ -3325,112 +1440,48 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `passengers` on `payment_details.flight` and `payment_details.lodging` types * Add support for `created` on `CustomerSession` -## 7.5.0 - 2023-11-16 -* [#1127](https://github.com/stripe/stripe-python/pull/1127) Update generated code - * Add support for `bacs_debit_payments` on `Account.CreateParamsSettings` - * Add support for `service_user_number` on `Account.Settings.BacsDebitPayments` - * Add support for `capture_before` on `Charge.PaymentMethodDetails.Card.capture_before` - * Add support for `Paypal` on `Checkout.Session.PaymentMethodOptions` - * Add support for `tax_amounts` on `CreditNote.CreateParamsLine`, `CreditNote.PreviewParamsLine`, and `CreditNote.PreviewLinesParamsLine` - * Add support for `network_data` on `Issuing.Transaction` - * Add support for `status` on `Checkout.Session.ListParams` -* [#1135](https://github.com/stripe/stripe-python/pull/1135) Add initial tests for exports and run them in mypy and pyright -* [#1130](https://github.com/stripe/stripe-python/pull/1130) Mention types in README.md -* [#1134](https://github.com/stripe/stripe-python/pull/1134) Run pyright via tox -* [#1131](https://github.com/stripe/stripe-python/pull/1131) Upgrade black dependency -* [#1132](https://github.com/stripe/stripe-python/pull/1132) Fix unnecessary casts from pyright 1.1.336 -* [#1126](https://github.com/stripe/stripe-python/pull/1126) Suppress type errors from latest pyright -* [#1125](https://github.com/stripe/stripe-python/pull/1125) Add support for Python 3.11/3.12 -* [#1123](https://github.com/stripe/stripe-python/pull/1123) Move to python3 venv and update vscode settings - ## 7.5.0b1 - 2023-11-10 * [#1120](https://github.com/stripe/stripe-python/pull/1120) Update generated code for beta -## 7.4.0 - 2023-11-09 -* [#1119](https://github.com/stripe/stripe-python/pull/1119) Update generated code - * Add support for new value `terminal_reader_hardware_fault` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` - * Add support for `metadata` on `Quote.subscription_data`, `QuoteCreateParams.subscription_data`, and `QuoteUpdateParams.subscription_data` -* [#1121](https://github.com/stripe/stripe-python/pull/1121) [types] Remove `None` from optional param types - ## 7.4.0b1 - 2023-11-02 * [#1110](https://github.com/stripe/stripe-python/pull/1110) Update generated code for beta * Add support for `attach_payment_intent` method on resource `Invoice` -## 7.3.0 - 2023-11-02 -* [#1112](https://github.com/stripe/stripe-python/pull/1112) Update generated code - * Add support for new resource `Tax.Registration` - * Add support for `create`, `list`, and `modify` methods on resource `Registration` - -## 7.2.0 - 2023-10-31 -* [#1115](https://github.com/stripe/stripe-python/pull/1115) Types: Add types for `ErrorObject`. -* [#1116](https://github.com/stripe/stripe-python/pull/1116) Types: Use @staticmethod overloads instead of @classmethod to fix MyPy compatibility. - -## 7.1.0 - 2023-10-26 -* [#1104](https://github.com/stripe/stripe-python/pull/1104) Include `py.typed` and enable type annotations for the package - * This PR includes `py.typed` and enables inline type annotations for stripe-python package. Inline type annotations will now take precedence over Typeshed for users who use a type checker or IDE. - * See a detailed guide on the [Github Wiki](https://github.com/stripe/stripe-python/wiki/Inline-type-annotations). -* [#1103](https://github.com/stripe/stripe-python/pull/1103) Inner resource classes - * Behavior change: nested json objects will now deserialize into instances of specific classes that subclass `StripeObject`, instead of into generic `StripeObject` instances. - * ⚠️ Behavior change: `PromotionCode.restrictions.currency_options` will now deserialize into `dict` and not `StripeObject`. -* [#1090](https://github.com/stripe/stripe-python/pull/1090) Update generated code - * Add support for new value `balance_invalid_parameter` on enums `Invoice.LastFinalizationError`, `PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`, and `SetupIntent.LastSetupError` -* [#1096](https://github.com/stripe/stripe-python/pull/1096) Add @util.deprecated decorator and deprecate `save`. -* [#1091](https://github.com/stripe/stripe-python/pull/1091) APIRequestor: don't mutate incoming multipart headers - - -# Changelog - ## 7.2.0b1 - 2023-10-26 * [#1107](https://github.com/stripe/stripe-python/pull/1107) Update generated code for beta * Add support for new resource `Margin` * Add support for `create`, `list`, `modify`, and `retrieve` methods on resource `Margin` ## 7.1.0b1 - 2023-10-17 +This release changes the pinned API version to `2023-10-16`. + +* [#1083](https://github.com/stripe/stripe-python/pull/1083) Update generated code for beta * [#1084](https://github.com/stripe/stripe-python/pull/1084) Update generated code for beta - Update pinned API version to `2023-10-16` -* [#1083](https://github.com/stripe/stripe-python/pull/1083) Update generated code for beta - -## 7.0.0 - 2023-10-16 -* This release changes the pinned API version to `2023-10-16`. Please read the [API Changelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-python`. -* [#1085](https://github.com/stripe/stripe-python/pull/1085) Update generated code - - Updated pinned API version ## 6.8.0b3 - 2023-10-13 - ## 6.8.0b2 - 2023-10-11 +* [#1061](https://github.com/stripe/stripe-python/pull/1061) Types: inner resource classes * [#1073](https://github.com/stripe/stripe-python/pull/1073) Update generated code for beta Release specs are identical. -* [#1061](https://github.com/stripe/stripe-python/pull/1061) Types: inner resource classes ## 6.8.0b1 - 2023-10-05 +* [#1059](https://github.com/stripe/stripe-python/pull/1059) Update generated code for beta + * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` * [#1066](https://github.com/stripe/stripe-python/pull/1066) Update generated code for beta * Add support for `mark_draft` and `mark_stale` methods on resource `Quote` * Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote` * Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote` -* [#1059](https://github.com/stripe/stripe-python/pull/1059) Update generated code for beta - * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` - -## 6.7.0 - 2023-10-05 -* [#1065](https://github.com/stripe/stripe-python/pull/1065) Update generated code - * Add support for new resource `Issuing.Token` - * Add support for `list`, `modify`, and `retrieve` methods on resource `Token` ## 6.7.0b2 - 2023-09-28 +* [#997](https://github.com/stripe/stripe-python/pull/997) Remove developer_message support * [#1059](https://github.com/stripe/stripe-python/pull/1059) Update generated code for beta * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` -* [#997](https://github.com/stripe/stripe-python/pull/997) Remove developer_message support ## 6.7.0b1 - 2023-09-21 * [#1053](https://github.com/stripe/stripe-python/pull/1053) Update generated code for beta -## 6.6.0 - 2023-09-21 -* [#1056](https://github.com/stripe/stripe-python/pull/1056) Update generated code - -* [#1055](https://github.com/stripe/stripe-python/pull/1055) Partially type resource methods (no **params) -* [#1057](https://github.com/stripe/stripe-python/pull/1057) Add optional types to non-required fields -* [#1054](https://github.com/stripe/stripe-python/pull/1054) Types: add deleted field - ## 6.6.0b1 - 2023-09-14 * [#1048](https://github.com/stripe/stripe-python/pull/1048) Update generated code for beta * Add support for new resource `ConfirmationToken` @@ -3438,173 +1489,85 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `create` method on resource `Issuing.CardDesign` * Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign` -## 6.5.0 - 2023-09-14 -* [#1052](https://github.com/stripe/stripe-python/pull/1052) Update generated code - * Add support for new resource `PaymentMethodConfiguration` - * Add support for `create`, `list`, `modify`, and `retrieve` methods on resource `PaymentMethodConfiguration` -* [#1047](https://github.com/stripe/stripe-python/pull/1047) Update generated code - * Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization` - * Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction` -* [#1049](https://github.com/stripe/stripe-python/pull/1049) Types: datetimes to ints, add enum support -* [#1030](https://github.com/stripe/stripe-python/pull/1030) Explicitly define CRUDL methods in each resource -* [#1050](https://github.com/stripe/stripe-python/pull/1050) Generate explicit nested resource class methods - ## 6.5.0b1 - 2023-09-07 * [#1045](https://github.com/stripe/stripe-python/pull/1045) Update generated code for beta * Release specs are identical. * [#1034](https://github.com/stripe/stripe-python/pull/1034) Update generated code for beta * Remove support for `submit_card` test helper method on resource `Issuing.Card` -## 6.4.0 - 2023-09-07 -* [#1033](https://github.com/stripe/stripe-python/pull/1033) Update generated code - * Add support for new resource `PaymentMethodDomain` - * Add support for `create`, `list`, `modify`, `retrieve`, and `validate` methods on resource `PaymentMethodDomain` -* [#1044](https://github.com/stripe/stripe-python/pull/1044) Types: ExpandableField -* [#1043](https://github.com/stripe/stripe-python/pull/1043) Types: ListObject - -## 6.3.0 - 2023-09-05 -* [#1042](https://github.com/stripe/stripe-python/pull/1042) Require typing_extensions >= 4.0.0 -* [#1026](https://github.com/stripe/stripe-python/pull/1026) Types: annotate resource properties - ## 6.3.0b1 - 2023-08-31 * [#1029](https://github.com/stripe/stripe-python/pull/1029) Update generated code for beta * Rename `Quote.preview_invoices` and `Quote.preview_subscription_schedules` to `Quote.list_preview_invoices` and `Quote.list_preview_schedules`. -## 6.2.0 - 2023-08-31 -* [#1024](https://github.com/stripe/stripe-python/pull/1024) Update generated code - * Add support for new resource `AccountSession` - * Add support for `create` method on resource `AccountSession` -* [#1032](https://github.com/stripe/stripe-python/pull/1032) Types for CRUDL methods on parents - -## 6.1.0 - 2023-08-24 -* [#1016](https://github.com/stripe/stripe-python/pull/1016) Update generated code -* [#1020](https://github.com/stripe/stripe-python/pull/1020) Adds type annotations, and dependency on `typing_extensions`. - ## 6.1.0b2 - 2023-08-23 -* [#1006](https://github.com/stripe/stripe-python/pull/1006) [#1017](https://github.com/stripe/stripe-python/pull/1017) Update generated code for beta +This release changes the pinned API version to `2023-08-16`. + * [#1020](https://github.com/stripe/stripe-python/pull/1020) Adds type_annotations, and dependency on `typing_extensions`. +* [#1006](https://github.com/stripe/stripe-python/pull/1006) [#1017](https://github.com/stripe/stripe-python/pull/1017) Update generated code for beta ## 6.1.0b1 - 2023-08-23 * Updated stable APIs to the latest version -## 6.0.0 - 2023-08-16 -**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️** -* [#1001](https://github.com/stripe/stripe-python/pull/1001) [#1008](https://github.com/stripe/stripe-python/pull/1008) Remove support for Python 2. - * The last version of stripe-python that supports Python 2 is 5.5.0. [The Python Software Foundation (PSF)](https://www.python.org/psf-landing/) community [announced the end of support of Python 2](https://www.python.org/doc/sunset-python-2/) on 01 January 2020. To continue to get new features and security updates, please make sure to update your Python runtime to Python 3.6+. -* [#987](https://github.com/stripe/stripe-python/pull/987) ⚠️⚠️Pin to the latest API version⚠️⚠️ - - In this release, Stripe API Version `2023-08-16` (the latest at time of release) will be sent by default on all requests. - The previous default was to use your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). - - To successfully upgrade to stripe-python v6, you must either - - 1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.** - - Please read the API Changelog carefully for each API Version from `2023-08-16` back to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe [Test Mode](https://stripe.com/docs/keys#test-live-modes) before deploying them to production. - - You can read the [v6 migration guide](https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v6) for more detailed instructions. - - 2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-python`.** - - If you were previously initializing stripe-python without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). For example: - - ```diff - import stripe - stripe.api_key = "sk_test_..." - + stripe.api_version = '2020-08-27' - ``` - - If you were already initializing stripe-python with an explicit API Version, upgrading to v6 will not affect your integration. - - Read the [v6 migration guide](https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v6) for more details. - - Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release. - - That is, instead of upgrading stripe-python and separately upgrading your Stripe API Version through the Stripe Dashboard, whenever you upgrade major versions of stripe-python, you should also upgrade your integration to be compatible with the latest Stripe API version. - -* [#1013](https://github.com/stripe/stripe-python/pull/1013) ⚠️Removed @test_helper decorator - * This is technically breaking but unlikely to affect most users. -* [#1015](https://github.com/stripe/stripe-python/pull/1015) ⚠️Assert types of pagination responses - * Pagination will raise an exception if the API response is not of the correct type. This should never happen in production use but may break tests that use mock data. - ## 5.6.0b3 - 2023-08-03 +* [#997](https://github.com/stripe/stripe-python/pull/997) Remove developer_message support +* [#999](https://github.com/stripe/stripe-python/pull/999) Update generated code for beta * [#1004](https://github.com/stripe/stripe-python/pull/1004) Update generated code for beta * Add support for `submit_card` test helper method on resource `Issuing.Card` -* [#999](https://github.com/stripe/stripe-python/pull/999) Update generated code for beta - -* [#997](https://github.com/stripe/stripe-python/pull/997) Remove developer_message support ## 5.6.0b2 - 2023-07-28 +* [#992](https://github.com/stripe/stripe-python/pull/992) Update generated code for beta * [#995](https://github.com/stripe/stripe-python/pull/995) Update generated code for beta * Add support for new resource `Tax.Form` * Add support for `list`, `pdf`, and `retrieve` methods on resource `Form` -* [#992](https://github.com/stripe/stripe-python/pull/992) Update generated code for beta ## 5.6.0b1 - 2023-07-13 +* [#986](https://github.com/stripe/stripe-python/pull/986) Consolidate beta SDKs section +* [#985](https://github.com/stripe/stripe-python/pull/985) Update generated code for beta * [#991](https://github.com/stripe/stripe-python/pull/991) Update generated code for beta Release specs are identical. * [#989](https://github.com/stripe/stripe-python/pull/989) Update generated code for beta * Add support for new resource `PaymentMethodConfiguration` * Add support for `create`, `list`, `modify`, and `retrieve` methods on resource `PaymentMethodConfiguration` -* [#985](https://github.com/stripe/stripe-python/pull/985) Update generated code for beta - -* [#986](https://github.com/stripe/stripe-python/pull/986) Consolidate beta SDKs section - -## 5.5.0 - 2023-07-13 -* [#990](https://github.com/stripe/stripe-python/pull/990) Update generated code - * Add support for new resource `Tax.Settings` - * Add support for `modify` and `retrieve` methods on resource `Settings` ## 5.5.0b5 - 2023-06-22 +* [#976](https://github.com/stripe/stripe-python/pull/976) Update generated code for beta +* [#979](https://github.com/stripe/stripe-python/pull/979) Update generated code for beta * [#982](https://github.com/stripe/stripe-python/pull/982) Update generated code for beta * Add support for new resource `CustomerSession` * Add support for `create` method on resource `CustomerSession` -* [#979](https://github.com/stripe/stripe-python/pull/979) Update generated code for beta -* [#976](https://github.com/stripe/stripe-python/pull/976) Update generated code for beta ## 5.5.0b4 - 2023-06-02 -* [#973](https://github.com/stripe/stripe-python/pull/973) Update generated code for beta -* [#969](https://github.com/stripe/stripe-python/pull/969) Update generated code for beta * [#971](https://github.com/stripe/stripe-python/pull/971) Handle developer message in preview error responses +* [#969](https://github.com/stripe/stripe-python/pull/969) Update generated code for beta +* [#973](https://github.com/stripe/stripe-python/pull/973) Update generated code for beta ## 5.5.0b3 - 2023-05-19 -* [#966](https://github.com/stripe/stripe-python/pull/966) Update generated code for beta - * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account` * [#965](https://github.com/stripe/stripe-python/pull/965) Add raw_request -* [#964](https://github.com/stripe/stripe-python/pull/964) Update generated code for beta * [#961](https://github.com/stripe/stripe-python/pull/961) Update generated code for beta +* [#964](https://github.com/stripe/stripe-python/pull/964) Update generated code for beta +* [#966](https://github.com/stripe/stripe-python/pull/966) Update generated code for beta + * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account` ## 5.5.0b2 - 2023-04-13 +* [#953](https://github.com/stripe/stripe-python/pull/953) Update generated code for beta * [#954](https://github.com/stripe/stripe-python/pull/954) Update generated code for beta * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader` -* [#953](https://github.com/stripe/stripe-python/pull/953) Update generated code for beta ## 5.5.0b1 - 2023-03-30 * [#950](https://github.com/stripe/stripe-python/pull/950) Update generated code for beta -## 5.4.0 - 2023-03-30 -* [#951](https://github.com/stripe/stripe-python/pull/951) Update generated code - * Remove support for `create` method on resource `Tax.Transaction` - * This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method. - ## 5.4.0b1 - 2023-03-23 * [#941](https://github.com/stripe/stripe-python/pull/941) Update generated code for beta (new) * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem` * Add support for `collect_inputs` method on resource `Terminal.Reader` -## 5.3.0 - 2023-03-23 -* [#947](https://github.com/stripe/stripe-python/pull/947) Update generated code - * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction` - * Add support for `create` and `list_line_items` methods on resource `Calculation` - * Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction` - ## 5.3.0b4 - 2023-03-16 -* [#940](https://github.com/stripe/stripe-python/pull/940) Update generated code for beta (new) - * Add support for `create_from_calculation` method on resource `Tax.Transaction` * [#938](https://github.com/stripe/stripe-python/pull/938) Update generated code for beta (new) * Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary` * Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer` * Remove support for `retrieve` method on resource `FinancingSummary` +* [#940](https://github.com/stripe/stripe-python/pull/940) Update generated code for beta (new) + * Add support for `create_from_calculation` method on resource `Tax.Transaction` ## 5.3.0b3 - 2023-03-09 * [#936](https://github.com/stripe/stripe-python/pull/936) API Updates for beta branch @@ -3622,24 +1585,12 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * [#931](https://github.com/stripe/stripe-python/pull/931) API Updates for beta branch * Updated stable APIs to the latest version -## 5.2.0 - 2023-02-16 -* [#924](https://github.com/stripe/stripe-python/pull/924) API Updates - * Add support for `refund_payment` method on resource `Terminal.Reader` - ## 5.2.0b1 - 2023-02-02 * [#921](https://github.com/stripe/stripe-python/pull/921) API Updates for beta branch * Updated stable APIs to the latest version * Add support for new resource `FinancialConnections.Transaction` * Add support for `list` method on resource `Transaction` -## 5.1.1 - 2023-02-06 -* [#923](https://github.com/stripe/stripe-python/pull/923) Bugfix: revert "Pass params into logger.{info,debug}" - -## 5.1.0 - 2023-02-02 -* [#920](https://github.com/stripe/stripe-python/pull/920) API Updates - * Add support for `resume` method on resource `Subscription` -* [#913](https://github.com/stripe/stripe-python/pull/913) Pass params into logger.{info,debug} - ## 5.1.0b7 - 2023-01-26 * [#917](https://github.com/stripe/stripe-python/pull/917) API Updates for beta branch * Updated stable APIs to the latest version @@ -3674,42 +1625,27 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction` ## 5.1.0b1 - 2022-12-08 -* [#902](https://github.com/stripe/stripe-python/pull/902) API Updates for beta branch - * Updated stable APIs to the latest version +This release changes the pinned API version to `2022-11-15`. + * [#898](https://github.com/stripe/stripe-python/pull/898) API Updates for beta branch * Updated stable APIs to the latest version - -## 5.0.0 - 2022-11-16 - -Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-11-15. - -"⚠️" symbol highlights breaking changes. - -* [#895](https://github.com/stripe/stripe-python/pull/895) Next major release changes -* [#889](https://github.com/stripe/stripe-python/pull/889) API Updates - -* [#888](https://github.com/stripe/stripe-python/pull/888) Do not run Coveralls if secret token is not available -* [#875](https://github.com/stripe/stripe-python/pull/875) hide misleading ssl security warning in python>=2.7.9 +* [#902](https://github.com/stripe/stripe-python/pull/902) API Updates for beta branch + * Updated stable APIs to the latest version ## 4.3.0b3 - 2022-11-02 -* [#890](https://github.com/stripe/stripe-python/pull/890) API Updates for beta branch - * Updated beta APIs to the latest stable version * [#885](https://github.com/stripe/stripe-python/pull/885) Update changelog for the Gift Card API * [#884](https://github.com/stripe/stripe-python/pull/884) API Updates for beta branch * Updated stable APIs to the latest version +* [#890](https://github.com/stripe/stripe-python/pull/890) API Updates for beta branch + * Updated beta APIs to the latest stable version + +## 4.3.0b2 - 2022-10-07 ## 4.3.0b1 - 2022-09-26 * [#878](https://github.com/stripe/stripe-python/pull/878) API Updates for beta branch * Updated stable APIs to the latest version * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources. -## 4.2.0 - 2022-09-23 -* [#877](https://github.com/stripe/stripe-python/pull/877) API Updates - * Add `upcoming_lines` method to the `Invoice` resource. -* [#873](https://github.com/stripe/stripe-python/pull/873) Add abstract methods for SearchableAPIResource -* [#867](https://github.com/stripe/stripe-python/pull/867) API Updates - * Update links in documentation to be absolute. - ## 4.2.0b2 - 2022-08-26 * [#869](https://github.com/stripe/stripe-python/pull/869) API Updates for beta branch * Updated stable APIs to the latest version @@ -3720,12 +1656,6 @@ Breaking changes that arose during code generation of the library that we postpo - Updated stable APIs to the latest version - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-dotnet/blob/master/README.md#beta-sdks) -## 4.1.0 - 2022-08-19 -* [#861](https://github.com/stripe/stripe-python/pull/861) API Updates - * Add support for new resource `CustomerCashBalanceTransaction` -* [#860](https://github.com/stripe/stripe-python/pull/860) Add a support section to the readme -* [#717](https://github.com/stripe/stripe-python/pull/717) Fix test TestCharge.test_is_saveable(). - ## 4.1.0b2 - 2022-08-11 * [#859](https://github.com/stripe/stripe-python/pull/859) API Updates for beta branch - Updated stable APIs to the latest version @@ -3736,887 +1666,16 @@ Breaking changes that arose during code generation of the library that we postpo - Updated stable APIs to the latest version - Added the `Order` resource support -## 4.0.2 - 2022-08-03 -* [#855](https://github.com/stripe/stripe-python/pull/855) Fix issue where auto_paging_iter failed on nested list objects. - -## 4.0.1 - 2022-08-02 -* [#850](https://github.com/stripe/stripe-python/pull/850) Fix incorrect handling of additional request parameters - * Fixes issue where using special parameter like `api_key`, `idempotency_key`, `stripe_version`, `stripe_account`, `headers` can cause a `Received unknown parameter error`. - -## 4.0.0 - 2022-08-02 - -Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v4. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-08-01. - -"⚠️" symbol highlights breaking changes. - -* [#847](https://github.com/stripe/stripe-python/pull/847) API Updates -* [#845](https://github.com/stripe/stripe-python/pull/845) Next major release changes -* [#836](https://github.com/stripe/stripe-python/pull/836) API Updates. Add Price.create tests. -* [#835](https://github.com/stripe/stripe-python/pull/835) API Updates. Use auto-generation for credit_note and invoice methods. - ## 3.6.0b1 - 2022-07-22 -* [#843](https://github.com/stripe/stripe-python/pull/843) API Updates for beta branch - - Updated stable APIs to the latest version - - Add `QuotePhase` resource -* [#840](https://github.com/stripe/stripe-python/pull/840) API Updates for beta branch +* [#826](https://github.com/stripe/stripe-python/pull/826) Use the generated API version +* [#834](https://github.com/stripe/stripe-python/pull/834) API Updates for beta branch - Updated stable APIs to the latest version - - Add `SubscriptionSchedule.amend` method. * [#837](https://github.com/stripe/stripe-python/pull/837) API Updates for beta branch - Include `server_side_confirmation_beta=v1` beta - Add `secretKeyConfirmation` to `PaymentIntent` -* [#834](https://github.com/stripe/stripe-python/pull/834) API Updates for beta branch +* [#840](https://github.com/stripe/stripe-python/pull/840) API Updates for beta branch - Updated stable APIs to the latest version -* [#826](https://github.com/stripe/stripe-python/pull/826) Use the generated API version - -## 3.5.0 - 2022-06-30 -* [#831](https://github.com/stripe/stripe-python/pull/831) API Updates - * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card` - * Switch from using `instance_url` to computing method path in place for custom methods. - * Switch from using explicit class methods for test helpers instead of using meta-programming. - -## 3.4.0 - 2022-06-17 -* [#824](https://github.com/stripe/stripe-python/pull/824) API Updates - * Add support for `fund_cash_balance` test helper method on resource `Customer` -* [#823](https://github.com/stripe/stripe-python/pull/823) Trigger workflows on beta branches - -## 3.3.0 - 2022-06-08 -* [#818](https://github.com/stripe/stripe-python/pull/818) fix: Update cash balance methods to no longer require nested ID. - -## 3.2.0 - 2022-05-23 -* [#812](https://github.com/stripe/stripe-python/pull/812) API Updates - * Add support for new resource `Apps.Secret` - -## 3.1.0 - 2022-05-19 -* [#810](https://github.com/stripe/stripe-python/pull/810) API Updates - * Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction` - * Add support for `retrieve_payment_method` method on resource `Customer` - * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account` -* [#719](https://github.com/stripe/stripe-python/pull/719) Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10 -* [#767](https://github.com/stripe/stripe-python/pull/767) Bump vendored six to 1.16.0 -* [#806](https://github.com/stripe/stripe-python/pull/806) Start testing on pypy-3.8 -* [#811](https://github.com/stripe/stripe-python/pull/811) Add sanitize_id method - -## 3.0.0 - 2022-05-09 -* [#809](https://github.com/stripe/stripe-python/pull/809) Release of major version v3.0.0. The [migration guide](https://github.com/stripe/stripe-python/wiki/Migration-Guide-for-v3) contains more information. - (⚠️ = breaking changes): - * ⚠️ Replace the legacy `Order` API with the new `Order` API. - * New methods: `cancel`, `list_line_items`, `reopen`, and `submit` - * Removed methods: `pay` and `return_order` - * Removed resources: `OrderItem` and `OrderReturn` - * ⚠️ Rename `financial_connections.account.refresh` to `financial_connections.refresh_account` - * Add support for `amount_discount`, `amount_tax`, and `product` on `LineItem` - -## 2.76.0 - 2022-05-05 -* [#808](https://github.com/stripe/stripe-python/pull/808) API Updates - * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session` - -## 2.75.0 - 2022-05-03 -* [#805](https://github.com/stripe/stripe-python/pull/805) API Updates - * Add support for new resource `CashBalance` - -## 2.74.0 - 2022-04-21 -* [#796](https://github.com/stripe/stripe-python/pull/796) API Updates - * Add support for `expire` test helper method on resource `Refund` - -## 2.73.0 - 2022-04-18 -* [#792](https://github.com/stripe/stripe-python/pull/792) [#794](https://github.com/stripe/stripe-python/pull/794) [#795](https://github.com/stripe/stripe-python/pull/795) API Updates - * Add support for new resources `FundingInstructions` and `Terminal.Configuration` - -## 2.72.0 - 2022-04-13 -* [#791](https://github.com/stripe/stripe-python/pull/791) API Updates - * Add support for `increment_authorization` method on resource `PaymentIntent` - -## 2.71.0 - 2022-04-08 -* [#788](https://github.com/stripe/stripe-python/pull/788) API Updates - * Add support for `apply_customer_balance` method on resource `PaymentIntent` - -## 2.70.0 - 2022-03-30 -* [#785](https://github.com/stripe/stripe-python/pull/785) API Updates - * Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader` - -## 2.69.0 - 2022-03-29 -* [#783](https://github.com/stripe/stripe-python/pull/783) API Updates - * Add support for Search API - * Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription` -* [#784](https://github.com/stripe/stripe-python/pull/784) Pin click dependency to 8.0.4 to avoid breakage in black -* [#773](https://github.com/stripe/stripe-python/pull/773) Add infrastructure for test-helper methods -* [#782](https://github.com/stripe/stripe-python/pull/782) Revert Orders to use qualified name for upload_api_base - -## 2.68.0 - 2022-03-23 -* [#781](https://github.com/stripe/stripe-python/pull/781) API Updates - * Add support for `cancel` method on resource `Refund` -* [#777](https://github.com/stripe/stripe-python/pull/777) Add support for SearchResult. - -## 2.67.0 - 2022-03-01 -* [#774](https://github.com/stripe/stripe-python/pull/774) API Updates - * Add support for new resource `TestHelpers.TestClock` - -## 2.66.0 - 2022-02-16 -* [#771](https://github.com/stripe/stripe-python/pull/771) API Updates - * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent` - -## 2.65.0 - 2022-01-20 -* [#766](https://github.com/stripe/stripe-python/pull/766) API Updates - * Add support for new resource `PaymentLink` -* [#763](https://github.com/stripe/stripe-python/pull/763) Start testing Python 3.10 - -## 2.64.0 - 2021-12-21 -* [#757](https://github.com/stripe/stripe-python/pull/757) Update class custom methods to save list object parameters. -* [#756](https://github.com/stripe/stripe-python/pull/756) Introduce custom listing methods on objects. -* [#754](https://github.com/stripe/stripe-python/pull/754) Clarify metadata deletion message. - -## 2.63.0 - 2021-11-16 -* [#748](https://github.com/stripe/stripe-python/pull/748) API Updates - * Add support for new resource `ShippingRate` - -## 2.62.0 - 2021-11-11 -* [#745](https://github.com/stripe/stripe-python/pull/745) API Updates - * Add support for `expire` method on resource `Checkout.Session` - -## 2.61.0 - 2021-10-11 -* [#738](https://github.com/stripe/stripe-python/pull/738) API Updates - * Add support for `list_payment_methods` method on resource `Customer` -* [#736](https://github.com/stripe/stripe-python/pull/736) Stop sending raw exception message as part of Stripe user agent. - -## 2.60.0 - 2021-07-14 -* [#728](https://github.com/stripe/stripe-python/pull/728) API Updates - * Add support for `list_computed_upfront_line_items` method on resource `Quote` - -## 2.59.0 - 2021-07-09 -* [#727](https://github.com/stripe/stripe-python/pull/727) [#725](https://github.com/stripe/stripe-python/pull/725) Add support for new `Quote` API. - -## 2.58.0 - 2021-06-04 -* [#722](https://github.com/stripe/stripe-python/pull/722) API Updates - * Add support for new `TaxCode` API. - -## 2.57.0 - 2021-05-19 -* [#720](https://github.com/stripe/stripe-python/pull/720) Add support for Identity VerificationSession and VerificationReport APIs - -## 2.56.0 - 2021-02-22 -* [#713](https://github.com/stripe/stripe-python/pull/713) Add support for the Billing Portal Configuration API - -## 2.55.2 - 2021-02-05 -* [#704](https://github.com/stripe/stripe-python/pull/704) Fix CA bundle path issue - -## 2.55.1 - 2020-12-01 -* [#698](https://github.com/stripe/stripe-python/pull/698) Fix issue where StripeObjects in lists would not be converted to dicts -* [#699](https://github.com/stripe/stripe-python/pull/699) Start testing Python 3.9 -* [#691](https://github.com/stripe/stripe-python/pull/691) Include the examples in the built sources - -## 2.55.0 - 2020-10-14 -* [#684](https://github.com/stripe/stripe-python/pull/684) Add support for the Payout Reverse API - -## 2.54.0 - 2020-09-29 -* [#681](https://github.com/stripe/stripe-python/pull/681) Add support for the `SetupAttempt` resource and List API -* 2.52.0 and 2.53.0 were empty releases that contained no additional changes. - -## 2.51.0 - 2020-09-02 -* [#676](https://github.com/stripe/stripe-python/pull/676) Add support for the Issuing Dispute Submit API - -## 2.50.0 - 2020-08-05 -* [#669](https://github.com/stripe/stripe-python/pull/669) Add support for the `PromotionCode` resource and APIs - -## 2.49.0 - 2020-07-17 -* [#665](https://github.com/stripe/stripe-python/pull/665) Support stripe.File.create(stripe_version='...') - -## 2.48.0 - 2020-05-11 -* [#655](https://github.com/stripe/stripe-python/pull/655) Add support for the `LineItem` resource and APIs - -## 2.47.0 - 2020-04-29 -* [#652](https://github.com/stripe/stripe-python/pull/652) Add support for the `Price` resource and APIs - -## 2.46.0 - 2020-04-22 -* [#651](https://github.com/stripe/stripe-python/pull/651) Add support for `billing_portal` namespace and `Session` resource and APIs - -## 2.45.0 - 2020-04-06 -* [#648](https://github.com/stripe/stripe-python/pull/648) Add support for Express links in `authorize_url` for `OAuth` - -## 2.44.0 - 2020-03-23 -* [#646](https://github.com/stripe/stripe-python/pull/646) Allow overriding API key in OAuth methods - -## 2.43.0 - 2020-02-26 -* [#644](https://github.com/stripe/stripe-python/pull/644) Add support for listing Checkout `Session` - -## 2.42.0 - 2020-01-14 -* [#640](https://github.com/stripe/stripe-python/pull/640) Add support for `CreditNoteLineItem` -* [#639](https://github.com/stripe/stripe-python/pull/639) Pin black version -* [#637](https://github.com/stripe/stripe-python/pull/637) Start testing Python 3.8 - -## 2.41.1 - 2019-12-30 -* [#636](https://github.com/stripe/stripe-python/pull/636) Fix uploading files with Unicode names (Python 2.7) -* [#635](https://github.com/stripe/stripe-python/pull/635) Update Python API docs inline link -* [#631](https://github.com/stripe/stripe-python/pull/631) Update `proxy.py` - -## 2.41.0 - 2019-11-26 -* [#630](https://github.com/stripe/stripe-python/pull/630) Add support for `CreditNote` preview - -## 2.40.0 - 2019-11-08 -* [#627](https://github.com/stripe/stripe-python/pull/627) Add list_usage_record_summaries and list_source_transactions - -## 2.39.0 - 2019-11-06 -* [#625](https://github.com/stripe/stripe-python/pull/625) Add support for `Mandate` - -## 2.38.0 - 2019-10-29 -* [#623](https://github.com/stripe/stripe-python/pull/623) Add support for reverse pagination -* [#624](https://github.com/stripe/stripe-python/pull/624) Contributor Convenant - -## 2.37.2 - 2019-10-04 -* [#621](https://github.com/stripe/stripe-python/pull/621) Implement support for stripe-should-retry and retry-after headers - -## 2.37.1 - 2019-09-26 -* [#620](https://github.com/stripe/stripe-python/pull/620) Check that `error` is a dict before trying to use it to create a `StripeError` - -## 2.37.0 - 2019-09-26 -* [#619](https://github.com/stripe/stripe-python/pull/619) Add `ErrorObject` to `StripeError` exceptions -* [#616](https://github.com/stripe/stripe-python/pull/616) Pass `CFLAGS` and `LDFLAGS` when running tests - -## 2.36.2 - 2019-09-12 -* [#614](https://github.com/stripe/stripe-python/pull/614) Use `OrderedDict` to maintain key order in API requests and responses - -## 2.36.1 - 2019-09-11 -* [#612](https://github.com/stripe/stripe-python/pull/612) Use `ListObject` properties as default values in request methods - -## 2.36.0 - 2019-09-10 -* [#610](https://github.com/stripe/stripe-python/pull/610) Add support for header parameters in `ListObject` request methods - -## 2.35.1 - 2019-08-20 -* [#605](https://github.com/stripe/stripe-python/pull/605) Fix automatic retries of failed requests -* [#606](https://github.com/stripe/stripe-python/pull/606) Clarify what `max_network_retries` does - -## 2.35.0 - 2019-08-12 -* [#607](https://github.com/stripe/stripe-python/pull/607) Add `SubscriptionItem.create_usage_record` method - -## 2.34.0 - 2019-08-09 -* [#604](https://github.com/stripe/stripe-python/pull/604) Remove subscription schedule revisions - - This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused. - -## 2.33.2 - 2019-08-06 -* [#601](https://github.com/stripe/stripe-python/pull/601) Add support for passing full objects instead of IDs to custom methods -* [#603](https://github.com/stripe/stripe-python/pull/603) Bump vendored six to latest version - -## 2.33.1 - 2019-08-06 -* [#599](https://github.com/stripe/stripe-python/pull/599) Fix `del` statement to not raise `KeyError` - -## 2.33.0 - 2019-07-30 -* [#595](https://github.com/stripe/stripe-python/pull/595) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history` - -## 2.32.1 - 2019-07-08 -* [#592](https://github.com/stripe/stripe-python/pull/592) Fix argument name conflict - -## 2.32.0 - 2019-06-27 -* [#590](https://github.com/stripe/stripe-python/pull/590) Add support for the `SetupIntent` resource and APIs - -## 2.31.0 - 2019-06-24 -* [#587](https://github.com/stripe/stripe-python/pull/587) Enable request latency telemetry by default - -## 2.30.1 - 2019-06-20 -* [#589](https://github.com/stripe/stripe-python/pull/589) Fix support for `CustomerBalanceTransaction` - -## 2.30.0 - 2019-06-17 -* [#564](https://github.com/stripe/stripe-python/pull/564) Add support for `CustomerBalanceTransaction` resource and APIs - -## 2.29.4 - 2019-06-03 -* [#583](https://github.com/stripe/stripe-python/pull/583) Remove Poetry and reinstate `setup.py` - -## 2.29.3 - 2019-05-31 -Version 2.29.2 was non-functional due to a bugged `version.py` file. This release is identical to 2.29.2 save for the version number. - -## 2.29.2 - 2019-05-31 -* [#561](https://github.com/stripe/stripe-python/pull/561) Replace pipenv with poetry - -## 2.29.1 - 2019-05-31 -* [#578](https://github.com/stripe/stripe-python/pull/578) Verify signatures before deserializing events - -## 2.29.0 - 2019-05-23 -* [#575](https://github.com/stripe/stripe-python/pull/575) Add support for `radar.early_fraud_warning` resource - -## 2.28.2 - 2019-05-23 -* [#574](https://github.com/stripe/stripe-python/pull/574) Fix a few more code quality issues - -## 2.28.1 - 2019-05-20 -* [#572](https://github.com/stripe/stripe-python/pull/572) Fix a few code quality issues - -## 2.28.0 - 2019-05-14 -* [#566](https://github.com/stripe/stripe-python/pull/566) Add support for the `Capability` resource and APIs - -## 2.27.0 - 2019-04-24 -* [#554](https://github.com/stripe/stripe-python/pull/554) Add support for the `TaxRate` resource and APIs - -## 2.26.0 - 2019-04-22 -* [#555](https://github.com/stripe/stripe-python/pull/555) Add support for the `TaxId` resource and APIs - -## 2.25.0 - 2019-04-18 -* [#551](https://github.com/stripe/stripe-python/pull/551) Add support for the `CreditNote` resource and APIs - -## 2.24.1 - 2019-04-08 -* [#550](https://github.com/stripe/stripe-python/pull/550) Fix encoding of nested parameters in multipart requests - -## 2.24.0 - 2019-04-03 -* [#543](https://github.com/stripe/stripe-python/pull/543) Add `delete` class method on deletable API resources -* [#547](https://github.com/stripe/stripe-python/pull/547) Add class methods for all custom API requests (e.g. `Charge.capture`) - -## 2.23.0 - 2019-03-18 -* [#537](https://github.com/stripe/stripe-python/pull/537) Add support for the `PaymentMethod` resource and APIs -* [#540](https://github.com/stripe/stripe-python/pull/540) Add support for retrieving a Checkout `Session` -* [#542](https://github.com/stripe/stripe-python/pull/542) Add support for deleting a Terminal `Location` and `Reader` - -## 2.22.0 - 2019-03-14 -* [#541](https://github.com/stripe/stripe-python/pull/541) Add `stripe.util.convert_to_dict` method for converting `StripeObject` instances to regular `dict`s - -## 2.21.0 - 2019-02-12 -* [#532](https://github.com/stripe/stripe-python/pull/532) Add support for subscription schedules - -## 2.20.3 - 2019-01-30 -* [#530](https://github.com/stripe/stripe-python/pull/530) Fix client telemetry implementation - -## 2.20.2 - 2019-01-30 -* [#534](https://github.com/stripe/stripe-python/pull/534) Fix session initialization for multi-threaded environments - -## 2.20.1 - 2019-01-30 -* [#531](https://github.com/stripe/stripe-python/pull/531) Make `RequestsClient` thread-safe - -## 2.20.0 - 2019-01-29 -* [#526](https://github.com/stripe/stripe-python/pull/526) Reuse the default HTTP client by default - -## 2.19.0 - 2019-01-23 -* [#524](https://github.com/stripe/stripe-python/pull/524) Rename `CheckoutSession` to `Session` and move it under the `checkout` namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach. - -## 2.18.1 - 2019-01-21 -* [#525](https://github.com/stripe/stripe-python/pull/525) Properly serialize `individual` on `Account` objects - -## 2.18.0 - 2019-01-15 -* [#518](https://github.com/stripe/stripe-python/pull/518) Add configurable telemetry to gather information on client-side request latency - -## 2.17.0 - 2018-12-21 -* [#510](https://github.com/stripe/stripe-python/pull/510) Add support for Checkout sessions - -## 2.16.0 - 2018-12-10 -* [#507](https://github.com/stripe/stripe-python/pull/507) Add support for account links - -## 2.15.0 - 2018-11-30 -* [#503](https://github.com/stripe/stripe-python/pull/503) Add support for providing custom CA certificate bundle - -## 2.14.0 - 2018-11-28 -* [#500](https://github.com/stripe/stripe-python/pull/500) Add support for `Review` for Radar - -## 2.13.0 - 2018-11-27 -* [#489](https://github.com/stripe/stripe-python/pull/489) Add support for `ValueList` and `ValueListItem` for Radar - -## 2.12.1 - 2018-11-22 -* [#495](https://github.com/stripe/stripe-python/pull/495) Make `StripeResponse` a new-style class - -## 2.12.0 - 2018-11-08 -* [#483](https://github.com/stripe/stripe-python/pull/483) Add new API endpoints for the `Invoice` resource. - -## 2.11.1 - 2018-11-08 -* [#491](https://github.com/stripe/stripe-python/pull/491) Bump minimum requests version to 2.20.0 (for [CVE-2018-18074](https://nvd.nist.gov/vuln/detail/CVE-2018-18074)) - -## 2.11.0 - 2018-10-30 -* [#482](https://github.com/stripe/stripe-python/pull/482) Add support for the `Person` resource -* [#484](https://github.com/stripe/stripe-python/pull/484) Add support for the `WebhookEndpoint` resource - -## 2.10.1 - 2018-10-02 -* [#481](https://github.com/stripe/stripe-python/pull/481) Correct behavior of `stripe.max_network_retries` if it's reset after initial use - -## 2.10.0 - 2018-09-24 -* [#478](https://github.com/stripe/stripe-python/pull/478) Add support for Stripe Terminal - -## 2.9.0 - 2018-09-24 -* [#477](https://github.com/stripe/stripe-python/pull/477) Rename `FileUpload` to `File` - -## 2.8.1 - 2018-09-13 -* [#474](https://github.com/stripe/stripe-python/pull/474) Don't URL-encode square brackets -* [#473](https://github.com/stripe/stripe-python/pull/473) Integer-index encode all arrays - -## 2.8.0 - 2018-09-10 -* [#470](https://github.com/stripe/stripe-python/pull/470) Add support for automatic network retries - -## 2.7.0 - 2018-09-05 -* [#469](https://github.com/stripe/stripe-python/pull/469) Add support for reporting resources - -## 2.6.0 - 2018-08-23 -* [#467](https://github.com/stripe/stripe-python/pull/467) Add support for usage record summaries - -## 2.5.0 - 2018-08-16 -* [#463](https://github.com/stripe/stripe-python/pull/463) Remove unsupported Bitcoin endpoints (this is technically a breaking change, but we're releasing as a minor version because none of these APIs were usable anyway) - -## 2.4.0 - 2018-08-03 -* [#460](https://github.com/stripe/stripe-python/pull/460) Add cancel support for topups -* [#461](https://github.com/stripe/stripe-python/pull/461) Add support for file links - -## 2.3.0 - 2018-07-27 -* [#456](https://github.com/stripe/stripe-python/pull/456) Add support for Sigma scheduled query run objects - -## 2.2.0 - 2018-07-26 -* [#455](https://github.com/stripe/stripe-python/pull/455) Add support for Stripe Issuing - -## 2.1.0 - 2018-07-25 -* [#452](https://github.com/stripe/stripe-python/pull/452) Add `InvoiceLineItem` class - -## 2.0.3 - 2018-07-19 -* [#450](https://github.com/stripe/stripe-python/pull/450) Internal improvements to `ApiResource.class_url` - -## 2.0.2 - 2018-07-18 -* [#448](https://github.com/stripe/stripe-python/pull/448) Avoid duplicate dependency on `requests` with Python 2.7 - -## 2.0.1 - 2018-07-10 -* [#445](https://github.com/stripe/stripe-python/pull/445) Fix `setup.py` - -## 2.0.0 - 2018-07-10 -Major version release. List of backwards incompatible changes to watch out for: -* The minimum Python versions are now 2.7 / 3.4. If you're using Python 2.6 or 3.3, consider upgrading to a more recent version. -* Stripe exception classes should now be accessed via `stripe.error` rather than just `stripe` -* Some older deprecated methods have been removed -* Trying to detach an unattached source will now raise a `stripe.error.InvalidRequestError` exception instead of a `NotImplementedError` exception - -For more information, check out the [migration guide for v2](https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v2) - -Pull requests included in this release: -* [#385](https://github.com/stripe/stripe-python/pull/385) Drop support for Python 2.6 and 3.3 -* [#384](https://github.com/stripe/stripe-python/pull/384) Use py.test for tests -* [#399](https://github.com/stripe/stripe-python/pull/399) Remove deprecated code -* [#402](https://github.com/stripe/stripe-python/pull/402) Remove `util.json` and use `json` module directly everywhere -* [#403](https://github.com/stripe/stripe-python/pull/403) Update setup.py and test flow -* [#410](https://github.com/stripe/stripe-python/pull/410) Use pipenv -* [#415](https://github.com/stripe/stripe-python/pull/415) Change exception when detaching unattached sources from `NotImplementedError` to `stripe.error.InvalidRequestError` - -## 1.84.2 - 2018-07-06 -* [#441](https://github.com/stripe/stripe-python/pull/441) Better (hopefully) fix for serialization of empty `ListObject`s - -## 1.84.1 - 2018-07-04 -* [#439](https://github.com/stripe/stripe-python/pull/439) Fix serialization of empty `ListObject`s - -## 1.84.0 - 2018-06-29 -* [#436](https://github.com/stripe/stripe-python/pull/436) Add support for payment intents - -## 1.83.0 - 2018-06-28 -* [#437](https://github.com/stripe/stripe-python/pull/437) Add support for `partner_id` in `stripe.set_app_info()` - -## 1.82.2 - 2018-06-19 -* [#365](https://github.com/stripe/stripe-python/pull/365) Add `__repr__` methods to `StripeError` exception classes - -## 1.82.1 - 2018-05-14 -* [#430](https://github.com/stripe/stripe-python/pull/430) Handle the case where request ID is `None` when formatting errors - -## 1.82.0 - 2018-05-13 -* [#422](https://github.com/stripe/stripe-python/pull/422) Add `user_mesage` to `StripeError` for a way in Python 3 to avoid the "Request req_...:" string normally appended to error messages - -## 1.81.0 - 2018-05-10 -* [#425](https://github.com/stripe/stripe-python/pull/425) Add support for issuer fraud records - -## 1.80.0 - 2018-04-24 -* [#421](https://github.com/stripe/stripe-python/pull/421) Add support for flexible billing and usage records - -## 1.79.1 - 2018-02-27 -* [#401](https://github.com/stripe/stripe-python/pull/401) Drop conditional dependencies that incorrectly led to an added `simplejson` dependency in Python 3+ after switching to universal wheel - -## 1.79.0 - 2018-02-23 -* [#397](https://github.com/stripe/stripe-python/pull/397) Build universal wheels by default -* [#398](https://github.com/stripe/stripe-python/pull/398) Add support for `code` attribute on all Stripe exceptions - -## 1.78.0 - 2018-02-21 -* [#396](https://github.com/stripe/stripe-python/pull/396) Add support for topups - -## 1.77.2 - 2018-02-08 -* [#394](https://github.com/stripe/stripe-python/pull/394) Make `last_response` available after calling `save()` - -## 1.77.1 - 2018-01-12 -* [#389](https://github.com/stripe/stripe-python/pull/389) Register unsaved attributes on assignment regardless of new value - -## 1.77.0 - 2017-12-21 -* [#371](https://github.com/stripe/stripe-python/pull/371) Add accessor `last_response` on `StripeObject` for accessing request ID and other metadata - -## 1.76.0 - 2017-12-21 -* [#382](https://github.com/stripe/stripe-python/pull/382) Add new `IdempotencyError` type - -## 1.75.3 - 2017-12-05 -* [#378](https://github.com/stripe/stripe-python/pull/378) Log encoded version of parameters instead of raw POST data - -## 1.75.2 - 2017-12-05 -* (Accidental no-op release. See 1.75.3.) - -## 1.75.1 - 2017-11-29 -* [#372](https://github.com/stripe/stripe-python/pull/372) Add only changed values to `_unsaved_values` in `StripeObject` -* [#375](https://github.com/stripe/stripe-python/pull/375) Use a custom JSON encoder to handle `datetime` objects when serializing `StripeObject`s - -## 1.75.0 - 2017-11-08 -* [#369](https://github.com/stripe/stripe-python/pull/369) Make custom actions on various resources (e.g. `Account.reject`) more consistent with other APIs - -## 1.74.0 - 2017-11-07 -* [#368](https://github.com/stripe/stripe-python/pull/368) Remove API that allowed the creation of new disputes (this was an erroneous addition; it never worked because the API would not allow it) - -## 1.73.0 - 2017-11-02 -* [#364](https://github.com/stripe/stripe-python/pull/364) Switch to vendored version of the `six` package for compatibility between Python 2 and 3 - -## 1.72.0 - 2017-10-31 -* [#361](https://github.com/stripe/stripe-python/pull/361) Support for exchange rates APIs - -## 1.71.2 - 2017-10-31 -* [#362](https://github.com/stripe/stripe-python/pull/362) Fix balance transaction and invoice item conversion into `StripeObject`s - -## 1.71.1 - 2017-10-27 -* [#360](https://github.com/stripe/stripe-python/pull/360) Fix `BytesWarning` being issued on logging in Python 3 - -## 1.71.0 - 2017-10-26 -* [#359](https://github.com/stripe/stripe-python/pull/359) Support for listing source transactions - -## 1.70.0 - 2017-10-23 -* [#356](https://github.com/stripe/stripe-python/pull/356) Support uploading files with `StringIO` in addition to a file on disk - -## 1.69.0 - 2017-10-20 -* [#351](https://github.com/stripe/stripe-python/pull/351) Break resource.py module into separate ones for each type of resource - * Classes are still into resource.py for backwards compatibility -* [#353](https://github.com/stripe/stripe-python/pull/353) Fix unpickling `StripeObject` in Python 3 - -## 1.68.0 - 2017-10-19 -* [#350](https://github.com/stripe/stripe-python/pull/350) Add static methods to manipulate resources from parent - * `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`) - * `ApplicationFee` gains methods for refunds - * `Customer` gains methods for sources - * `Transfer` gains methods for reversals - -## 1.67.0 - 2017-10-11 -* [#349](https://github.com/stripe/stripe-python/pull/349) Rename source `delete` to `detach` (and deprecate the former) - -## 1.66.0 - 2017-09-29 -* Support length reads on list objects - -## 1.65.1 - 2017-09-21 -* Handle `bytearray` and `bytes` (in addition to string) in `Webhook.construct_event` - -## 1.65.0 - 2017-09-07 -* Add support for passing a `stripe_version` argument to all API requests - -## 1.64.0 - 2017-09-01 -* Error when an invalid type (i.e. non-string) passed as an API method argument - -## 1.63.1 - 2017-09-01 -* Fix serialization of `items` on Relay order creation and order return - -## 1.63.0 - 2017-08-29 -* Add support for `InvalidClientError` OAuth error - -## 1.62.1 - 2017-08-07 -* Change serialization of subscription items on update to encoded as an integer-indexed map - -## 1.62.0 - 2017-06-27 -* `pay` on invoice can now take parameter - -## 1.61.0 - 2017-06-24 -* Expose `code` on `InvalidRequestError` - -## 1.60.0 - 2017-06-19 -* Add support for ephemeral keys - -## 1.59.0 - 2017-06-07 -* Refactor OAuth implementation to have dedicated classes for errors - -## 1.58.0 - 2017-06-02 -* Re-use connections with Pycurl - -## 1.57.1 - 2017-05-31 -* Fix the pycurl client - -## 1.57.0 - 2017-05-26 -* Add `api_key` parameter to webhook's `construct_event` - -## 1.56.0 - 2017-05-25 -* Add support for account login links - -## 1.55.2 - 2017-05-11 -* Remove Requests constraint from 1.55.1 now that they've patched (as of 2.14.2) - -## 1.55.1 - 2017-05-10 -* Constrain Requests to < 2.13.0 if on setuptools < 18.0.0 - -## 1.55.0 - 2017-04-28 -* Support for checking webhook signatures - -## 1.54.0 - 2017-04-28 -* Add `stripe.set_app_info` for use by plugin creators - -## 1.53.0 - 2017-04-06 -* Add support for payouts and recipient transfers - -## 1.52.0 - 2017-04-06 -* No-op release: peg test suite to a specific API version - -## 1.51.0 - 2017-03-20 -* Support OAuth operations (getting a token and deauthorizing) - -## 1.50.0 - 2017-03-17 -* Support for detaching sources from customers - -## 1.49.0 - 2017-03-13 -* Accept `session` argument for `RequestsClient` - -## 1.48.1 - 2017-02-21 -* Fix encoding of parameters when fetching upcoming invoices - -## 1.48.0 - 2017-02-21 -* Add `Account.modify_external_account` to modify an account in one API call -* Add `Customer.modify_source` to modify a source in one API call - -## 1.47.0 - 2017-01-18 -* Allow sources to be updated - -## 1.46.0 - 2017-01-06 -* Use internal session for Requests for connection pooling - -## 1.45.0 - 2017-01-06 -* request logging goes to stderr now -* Logs properly handle unicode -* Format is now the same between logging logs, and console logs - -## 1.44.0 - 2016-12-16 -* Add request logging and some mechanisms to enable it when debugging - -## 1.43.0 - 2016-11-30 -* Add support for verifying sources - -## 1.42.0 - 2016-11-21 -* Add retrieve method for 3-D Secure resources - -## 1.41.1 - 2016-10-26 -* Implement __copy__ and __deepcopy__ on StripeObject to fix these operations - -## 1.41.0 - 2016-10-12 -* Add `Source` model for generic payment sources - -## 1.40.1 - 2016-10-10 -* Return subscription model instance on subscription create/modify - -## 1.40.0 - 2016-10-07 -* Add configurable timeout for Requests HTTP library - -## 1.39.0 - 2016-10-06 -* Add support for subscription items -* Add proxy support for pycurl, Requests, urlfetch, and urllib2 libraries - -## 1.38.0 - 2016-09-15 -* Add support for Apple Pay domains - -## 1.37.0 - 2016-07-12 -* Add `ThreeDSecure` model for 3-D secure payments - -## 1.36.0 - 2016-06-29 -* Add `update` class method to resources that can be updated - -## 1.35.0 - 2016-05-24 -* Add support for returning Relay orders - -## 1.34.0 - 2016-05-20 -* Add support for Alipay accounts - -## 1.33.0 - 2016-05-04 -* Add support for the new `/v1/subscriptions` endpoint - * `stripe.Subscription.retrieve` - * `stripe.Subscription.update` - * `stripe.Subscription.create` - * `stripe.Subscription.list` - -## 1.32.2 - 2016-04-12 -* Fix bug where file uploads could not be properly listed - -## 1.32.1 - 2016-04-11 -* Fix bug where request parameters were not passed between pages with `auto_paging_iter` - -## 1.32.0 - 2016-03-31 -* Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1 - -## 1.31.1 - 2016-03-24 -* Fix uploading of binary files in Python 3 - -## 1.31.0 - 2016-03-15 -* Add `reject` on `Account` to support the new API feature - -## 1.30.0 - 2016-02-27 -* Add `CountrySpec` model for looking up country payment information - -## 1.29.1 - 2016-02-01 -* Update bundled CA certs - -## 1.29.0 - 2016-01-26 -* Add support for deleting Relay products and SKUs - -## 1.28.0 - 2016-01-04 -* Add an automatic paginating iterator to lists available via `auto_paging_iter` -* List objects are now iterable -* Error messages set to `None` are now handled properly -* The `all` method on list objects has been deprecated in favor of `list` -* Calls to `instance_url` are now side effect free - -## 1.27.1 - 2015-10-02 -* Official Python 3.4 & 3.5 compatibility -* Add configurable HTTP client -* Add ability to delete attributes - -## 1.27.0 - 2015-09-14 -* Products, SKUs, Orders resources - -## 1.26.0 - 2015-09-11 -* Add support for new 429 rate limit response - -## 1.25.0 - 2015-08-17 -* Added refund listing, creation and retrieval - -## 1.24.1 - 2015-08-05 -* Fix error handling for Python 2.6 - -## 1.24.0 - 2015-08-03 -* Managed accounts can now be deleted -* Added dispute listing and retrieval - -## 1.23.0 - 2015-07-06 -* Include response headers in exceptions - -## 1.22.3 - 2015-06-04 -* Fix saving `additional_owners` on managed accounts - -## 1.22.2 - 2015-04-08 -* Fix saving manage accounts - -## 1.22.1 - 2015-03-30 -* Pass `stripe_account` to Balance.retrieve - -## 1.22.0 - 2015-03-22 -* Added methods for updating and saving arrays of objects - -## 1.21.0 - 2015-02-19 -* Added Bitcoin Receiver update and delete methods - -## 1.20.2 - 2015-01-21 -* Remove support for top-level bitcoin transactions - -## 1.20.1 - 2015-01-07 -* Adding bitcoin receiver and transaction objects - -## 1.20.0 - 2014-12-23 -* Adding support for file uploads resource - -## 1.19.1 - 2014-10-23 -* Remove redundant manual SSL blacklist preflight check - -## 1.19.0 - 2014-07-26 -* Application Fee refunds now a list instead of array - -## 1.18.0 - 2014-06-17 -* Add metadata for disputes and refunds - -## 1.17.0 - 2014-06-10 -* Remove official support for Python 2.5 - -## 1.16.0 - 2014-05-28 -* Support for canceling transfers - -## 1.15.1 - 2014-05-21 -* Support cards for recipients. - -## 1.14.1 - 2014-05-19 -* Disable loading the ssl module on the Google App Engine dev server. - -## 1.14.0 - 2014-04-09 -* Use DER encoded certificate for checksumming -* Don't rely on SNI support in integration tests - -## 1.13.0 - 2014-04-09 -* Update bundled ca-certificates -* Add certificate blacklist for CVE-2014-0160 mitigation - -## 1.12.2 - 2014-03-13 -* Fix syntax errors in setup.py metadata - -## 1.12.1 - 2014-03-13 -* Added license and other metadata in setup.py -* Fix `__repr__` in Python 3 -* Support pickling of responses - -## 1.12.0 - 2014-01-29 -* Added support for multiple subscriptions per customer - -## 1.11.0 - 2013-12-05 -* Added extensive unit tests -* Extended functional test coverage -* Refactored code into modules and out of stripe/__init__.py -* Abstracted http library selection and use from the `APIRequestor` into `stripe.http_client` -* Refactored `StripeObject` to inherit from `dict` and avoid direct access of `__dict__`. -* PEP8ified the codebase and enforced with a test. -* Proper encoding of timezone aware datetimes - -## 1.10.8 - 2013-12-02 -* Add stripe.ApplicationFee resource - -## 1.9.8 - 2013-10-17 -* Removed incorrect test. - -## 1.9.7 - 2013-10-10 -* Add support for metadata. - -## 1.9.6 - 2013-10-08 -* Fix issue with support for closing disputes. - -## 1.9.5 - 2013-09-18 -* Add support for closing disputes. - -## 1.9.4 - 2013-08-13 -* Add stripe.Balance and stripe.BalanceTransaction resources - -## 1.9.3 - 2013-08-12 -* Add support for unsetting attributes by setting to None. - Setting properties to a blank string is now an error. - -## 1.9.2 - 2013-07-12 -* Add support for multiple cards API - -## 1.9.1 - 2013-05-03 -* Remove 'id' from the list of permanent attributes - -## 1.9.0 - 2013-04-25 -* Support for Python 3 (github issue #32) - -## 1.8.0 - 2013-04-11 -* Allow transfers to be creatable -* Add new stripe.Recipient resource - -## 1.7.10 - 2013-02-21 -* Add 'id' to the list of permanent attributes - -## 1.7.9 - 2013-02-01 -* Add support for passing options when retrieving Stripe objects; e.g., stripe.Charge.retrieve("foo", params={"expand":["customer"]}) - -## 1.7.8 - 2013-01-15 -* Add support for setting a Stripe API version override - -## 1.7.7 - 2012-12-18 -* Update requests version check to work with requests 1.x.x (github issue #24) - -## 1.7.6 - 2012-11-08 -* Add support for updating charge disputes - -## 1.7.5 - 2012-10-30 -* Add support for creating invoices -* Add support for new invoice lines return format -* Add support for new List objects - -## 1.7.4 - 2012-08-31 -* Add update and pay methods for Invoice resource - -## 1.7.3 - 2012-08-15 -* Add new stripe.Account resource -* Remove uncaptured_charge tests (this has been deprecated from the API). - -## 1.7.2 - 2012-05-31 -* Fix a bug that would cause nested objects to be mis-rendered in __str__ and __repr__ methods (github issues #17, #18) - -## 1.7.1 - 2012-05-21 -* Prefer App Engine's urlfetch over requests, as that's the only thing that will work in App Engine's environment. Previously, if requests was available in the App Engine environment, we would attempt to use it. - -## 1.7.0 - 2012-05-17 -* Add new delete_discount method to stripe.Customer -* Add new stripe.Transfer resource -* Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward) -* Numerous test suite improvements - -## 1.6.1 - 2011-09-14 -* Parameters with value None are no longer included in API requests - + - Add `SubscriptionSchedule.amend` method. +* [#843](https://github.com/stripe/stripe-python/pull/843) API Updates for beta branch + - Updated stable APIs to the latest version + - Add `QuotePhase` resource From 936a6cd9d8c344bc55cb808d504f43490709d8d8 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Fri, 11 Sep 2026 13:55:22 -0700 Subject: [PATCH 02/11] point the hark actions at master --- .github/workflows/changelog.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index b8261d5a1..c87d0c56c 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -18,6 +18,6 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: stripe/hark/actions/require-changefile@v1 - - uses: stripe/hark/actions/require-migration-guide@v1 - - uses: stripe/hark/actions/check-pr-links@v1 + - uses: stripe/hark/actions/require-changefile@master + - uses: stripe/hark/actions/require-migration-guide@master + - uses: stripe/hark/actions/check-pr-links@master From b16f6383c39ba6c41e2a75a39191728de3be27c8 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Fri, 11 Sep 2026 15:25:46 -0700 Subject: [PATCH 03/11] use the single hark/checks action in CI --- .github/workflows/changelog.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index c87d0c56c..aed122580 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -18,6 +18,4 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: stripe/hark/actions/require-changefile@master - - uses: stripe/hark/actions/require-migration-guide@master - - uses: stripe/hark/actions/check-pr-links@master + - uses: stripe/hark/actions/checks@master From 9fa797214809fc0e60665ab3e031796e33021e19 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Fri, 11 Sep 2026 17:49:03 -0700 Subject: [PATCH 04/11] use the hark checks action and rename pr_link to pr_url --- .hark/changes/2022-06-21_pakrym_use-generated-api.change.md | 2 +- .hark/changes/2022-06-30_dcr_api-updates-beta.change.md | 2 +- .hark/changes/2022-07-07_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2022-07-19_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2022-07-21_dcr_api-updates-beta.change.md | 2 +- .hark/changes/2022-08-03_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2022-08-11_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2022-08-23_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2022-08-25_dcr_api-updates-beta.change.md | 2 +- .hark/changes/2022-09-26_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2022-10-14_ramya_update-changelog-gift.change.md | 2 +- .hark/changes/2022-10-14_richardm_api-updates-beta.change.md | 2 +- .hark/changes/2022-11-02_kamil_api-updates-beta.change.md | 2 +- .hark/changes/2022-11-10_anniel_api-updates-beta.change.md | 2 +- .hark/changes/2022-12-08_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2022-12-15_anniel_api-updates-beta.change.md | 2 +- .hark/changes/2022-12-22_richardm_api-updates-beta.change.md | 2 +- .hark/changes/2023-01-05_anniel_api-updates-beta.change.md | 2 +- .hark/changes/2023-01-12_richardm_api-updates-beta.change.md | 2 +- .hark/changes/2023-01-19_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2023-01-27_anniel_api-updates-beta.change.md | 2 +- .hark/changes/2023-02-02_richardm_api-updates-beta.change.md | 2 +- .hark/changes/2023-02-24_richardm_api-updates-beta.change.md | 2 +- .hark/changes/2023-03-03_pakrym_api-updates-beta.change.md | 2 +- .hark/changes/2023-03-09_anniel_api-updates-beta.change.md | 2 +- .../2023-03-15_stripe-openapi_update-generated-code.change.md | 2 +- .../changes/2023-03-17_richardm_update-generated-code.change.md | 2 +- .hark/changes/2023-03-23_pakrym_update-generated-code.change.md | 2 +- .hark/changes/2023-03-30_anniel_update-generated-code.change.md | 2 +- .../changes/2023-04-06_richardm_update-generated-code.change.md | 2 +- .../2023-04-13_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-04-20_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-04-27_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2023-05-19_anniel_add-rawrequest.change.md | 2 +- .../2023-05-19_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-05-25_anniel_handle-developer-message.change.md | 2 +- .../2023-05-25_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-06-01_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-06-13_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-06-15_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-06-22_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md | 2 +- .../2023-07-06_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-07-13_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-07-13_stripe-openapi_update-generated-code_2.change.md | 2 +- .../2023-07-20_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-07-25_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-07-31_pakrym_remove-developermes-support.change.md | 2 +- .../2023-07-31_pakrym_remove-developermes-support_2.change.md | 2 +- .../2023-08-02_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-08-03_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-08-23_richardm_adds-typeannotati-dependency.change.md | 2 +- .../2023-08-24_stripe-openapi_1017-update-generated.change.md | 2 +- .../2023-09-01_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-09-07_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-09-07_stripe-openapi_update-generated-code_2.change.md | 2 +- .../2023-09-15_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-09-21_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-09-29_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-09-29_stripe-openapi_update-generated-code_2.change.md | 2 +- .../2023-10-05_stripe-openapi_update-generated-code.change.md | 2 +- .../changes/2023-10-11_richardm_types-inner-resource.change.md | 2 +- .../2023-10-11_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-10-16_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-10-17_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-10-26_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-11-02_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-11-10_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-11-17_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-11-21_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-11-30_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2023-12-08_richardm_beta-revert-broken.change.md | 2 +- .../2023-12-08_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-12-15_stripe-openapi_update-generated-code.change.md | 2 +- .../2023-12-22_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-01-04_richardm_beta-rawrequestas-httpx.change.md | 2 +- .../2024-01-04_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-01-10_richardm_beta-report-rawrequest.change.md | 2 +- .../2024-01-12_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-01-18_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-01-18_stripe-openapi_update-generated-code_2.change.md | 2 +- .../2024-01-25_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2024-01-26_richardm_beta-better-support.change.md | 2 +- .../changes/2024-01-26_richardm_beta-fix-httpxclient.change.md | 2 +- .../2024-02-02_stripe-openapi_update-generated-code.change.md | 2 +- .../changes/2024-02-05_richardm_beta-codegenned-async.change.md | 2 +- .hark/changes/2024-02-05_richardm_beta-more-async.change.md | 2 +- .hark/changes/2024-02-08_richardm_beta-add-async.change.md | 2 +- .../2024-02-08_stripe-openapi_update-generated-code.change.md | 2 +- .../changes/2024-02-14_richardm_beta-async-streaming.change.md | 2 +- .../2024-02-14_richardm_beta-stripestream-read.change.md | 2 +- .../2024-02-16_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-02-17_richardm_beta-collapse-httpclientas.change.md | 2 +- .../2024-02-22_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2024-02-28_helenye_add-helper-add.change.md | 2 +- .hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md | 2 +- .../2024-02-29_richardm_remove-unconditiona-import.change.md | 2 +- .../2024-02-29_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-03-07_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2024-03-13_richardm_beta-record-usage.change.md | 2 +- .../2024-03-14_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-03-20_richardm_support-aiohttpclien-init.change.md | 2 +- .../2024-03-21_stripe-openapi_update-generated-code.change.md | 2 +- .../changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md | 2 +- .../2024-03-28_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-04-05_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-04-11_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-04-18_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-04-25_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-05-02_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-05-09_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2024-05-13_xavdid_beta-swap-black.change.md | 2 +- .../2024-05-16_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-05-23_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-05-30_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-06-06_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-06-13_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-06-27_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-07-05_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-07-11_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-07-25_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-08-01_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-08-12_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-08-15_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2024-08-22_xavdid_update-generated-code.change.md | 2 +- .../2024-08-28_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-09-05_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-09-13_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-09-18_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2024-10-02_jar_updates-beta-branch.change.md | 2 +- .../2024-10-08_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-10-18_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-10-29_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-11-07_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-11-14_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-11-21_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-12-05_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-12-12_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-01-09_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-01-18_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-01-23_prathmesh_update-generated-code.change.md | 2 +- .../2025-02-07_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md | 2 +- .../2025-03-27_stripe-openapi_1477-1482-update.change.md | 2 +- .../2025-03-28_mbroshi_update-addbetaversi-logic.change.md | 2 +- .../2025-04-08_mbroshi_handle-external-account.change.md | 2 +- .../2025-04-10_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-04-17_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-04-21_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-04-24_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-05-27_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-06-26_ramya_pull-offsessionpa-changes.change.md | 2 +- .../2025-07-01_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md | 2 +- .../2025-07-30_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2025-08-08_ramya_bring-back-invoice.change.md | 2 +- .../2025-08-27_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-09-23_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-09-24_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-09-25_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-10-02_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-10-02_stripe-openapi_update-generated-code_2.change.md | 2 +- .../2025-10-27_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-10-28_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-11-17_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-12-15_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-12-16_xavdid_add-eventnotific-example.change.md | 2 +- .hark/changes/2025-12-16_xavdid_add-eventnotific.change.md | 2 +- .../2026-01-28_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-02-23_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md | 2 +- .../2026-03-23_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-03-24_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-03-25_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-04-23_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-04-24_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-05-27_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-06-24_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-07-29_stripe-openapi_update-generated-code.change.md | 2 +- .hark/changes/2026-08-19_xavdid_add-non-verified.change.md | 2 +- .../2026-08-26_stripe-openapi_update-generated-code.change.md | 2 +- 181 files changed, 181 insertions(+), 181 deletions(-) diff --git a/.hark/changes/2022-06-21_pakrym_use-generated-api.change.md b/.hark/changes/2022-06-21_pakrym_use-generated-api.change.md index f3ae75fe8..6baf0cca3 100644 --- a/.hark/changes/2022-06-21_pakrym_use-generated-api.change.md +++ b/.hark/changes/2022-06-21_pakrym_use-generated-api.change.md @@ -1,5 +1,5 @@ --- title: Use the generated API version -pr_link: https://github.com/stripe/stripe-python/pull/826 +pr_url: https://github.com/stripe/stripe-python/pull/826 released_in_version: 3.6.0b1 --- diff --git a/.hark/changes/2022-06-30_dcr_api-updates-beta.change.md b/.hark/changes/2022-06-30_dcr_api-updates-beta.change.md index 414b22eb9..2e0128323 100644 --- a/.hark/changes/2022-06-30_dcr_api-updates-beta.change.md +++ b/.hark/changes/2022-06-30_dcr_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/834 +pr_url: https://github.com/stripe/stripe-python/pull/834 is_stripe_api_change: true released_in_version: 3.6.0b1 --- diff --git a/.hark/changes/2022-07-07_pakrym_api-updates-beta.change.md b/.hark/changes/2022-07-07_pakrym_api-updates-beta.change.md index 340bd15f9..7e1f42409 100644 --- a/.hark/changes/2022-07-07_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2022-07-07_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/837 +pr_url: https://github.com/stripe/stripe-python/pull/837 is_stripe_api_change: true released_in_version: 3.6.0b1 --- diff --git a/.hark/changes/2022-07-19_pakrym_api-updates-beta.change.md b/.hark/changes/2022-07-19_pakrym_api-updates-beta.change.md index 494280673..ba4e6a086 100644 --- a/.hark/changes/2022-07-19_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2022-07-19_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/840 +pr_url: https://github.com/stripe/stripe-python/pull/840 is_stripe_api_change: true released_in_version: 3.6.0b1 --- diff --git a/.hark/changes/2022-07-21_dcr_api-updates-beta.change.md b/.hark/changes/2022-07-21_dcr_api-updates-beta.change.md index efcee9cc5..dad60e51c 100644 --- a/.hark/changes/2022-07-21_dcr_api-updates-beta.change.md +++ b/.hark/changes/2022-07-21_dcr_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/843 +pr_url: https://github.com/stripe/stripe-python/pull/843 is_stripe_api_change: true released_in_version: 3.6.0b1 --- diff --git a/.hark/changes/2022-08-03_pakrym_api-updates-beta.change.md b/.hark/changes/2022-08-03_pakrym_api-updates-beta.change.md index 310bcfcc4..315c909d2 100644 --- a/.hark/changes/2022-08-03_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2022-08-03_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/848 +pr_url: https://github.com/stripe/stripe-python/pull/848 is_stripe_api_change: true released_in_version: 4.1.0b1 --- diff --git a/.hark/changes/2022-08-11_pakrym_api-updates-beta.change.md b/.hark/changes/2022-08-11_pakrym_api-updates-beta.change.md index 13b2e57b3..ac37e17f3 100644 --- a/.hark/changes/2022-08-11_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2022-08-11_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/859 +pr_url: https://github.com/stripe/stripe-python/pull/859 is_stripe_api_change: true released_in_version: 4.1.0b2 --- diff --git a/.hark/changes/2022-08-23_pakrym_api-updates-beta.change.md b/.hark/changes/2022-08-23_pakrym_api-updates-beta.change.md index af182ac1d..1f1bb6cb1 100644 --- a/.hark/changes/2022-08-23_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2022-08-23_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/866 +pr_url: https://github.com/stripe/stripe-python/pull/866 is_stripe_api_change: true released_in_version: 4.2.0b1 --- diff --git a/.hark/changes/2022-08-25_dcr_api-updates-beta.change.md b/.hark/changes/2022-08-25_dcr_api-updates-beta.change.md index 238f74896..ff3767561 100644 --- a/.hark/changes/2022-08-25_dcr_api-updates-beta.change.md +++ b/.hark/changes/2022-08-25_dcr_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/869 +pr_url: https://github.com/stripe/stripe-python/pull/869 is_stripe_api_change: true released_in_version: 4.2.0b2 --- diff --git a/.hark/changes/2022-09-26_pakrym_api-updates-beta.change.md b/.hark/changes/2022-09-26_pakrym_api-updates-beta.change.md index 9aa623f81..c8ddb5696 100644 --- a/.hark/changes/2022-09-26_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2022-09-26_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/878 +pr_url: https://github.com/stripe/stripe-python/pull/878 is_stripe_api_change: true released_in_version: 4.3.0b1 --- diff --git a/.hark/changes/2022-10-14_ramya_update-changelog-gift.change.md b/.hark/changes/2022-10-14_ramya_update-changelog-gift.change.md index f4ffb2988..aeb1c8b37 100644 --- a/.hark/changes/2022-10-14_ramya_update-changelog-gift.change.md +++ b/.hark/changes/2022-10-14_ramya_update-changelog-gift.change.md @@ -1,5 +1,5 @@ --- title: Update changelog for the Gift Card API -pr_link: https://github.com/stripe/stripe-python/pull/885 +pr_url: https://github.com/stripe/stripe-python/pull/885 released_in_version: 4.3.0b3 --- diff --git a/.hark/changes/2022-10-14_richardm_api-updates-beta.change.md b/.hark/changes/2022-10-14_richardm_api-updates-beta.change.md index 2f862cbe9..af27ab065 100644 --- a/.hark/changes/2022-10-14_richardm_api-updates-beta.change.md +++ b/.hark/changes/2022-10-14_richardm_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/884 +pr_url: https://github.com/stripe/stripe-python/pull/884 is_stripe_api_change: true released_in_version: 4.3.0b3 --- diff --git a/.hark/changes/2022-11-02_kamil_api-updates-beta.change.md b/.hark/changes/2022-11-02_kamil_api-updates-beta.change.md index f76c1e37d..f991aadc3 100644 --- a/.hark/changes/2022-11-02_kamil_api-updates-beta.change.md +++ b/.hark/changes/2022-11-02_kamil_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/890 +pr_url: https://github.com/stripe/stripe-python/pull/890 is_stripe_api_change: true released_in_version: 4.3.0b3 --- diff --git a/.hark/changes/2022-11-10_anniel_api-updates-beta.change.md b/.hark/changes/2022-11-10_anniel_api-updates-beta.change.md index b2e3dd37b..3254892ce 100644 --- a/.hark/changes/2022-11-10_anniel_api-updates-beta.change.md +++ b/.hark/changes/2022-11-10_anniel_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/898 +pr_url: https://github.com/stripe/stripe-python/pull/898 is_stripe_api_change: true released_in_version: 5.1.0b1 --- diff --git a/.hark/changes/2022-12-08_pakrym_api-updates-beta.change.md b/.hark/changes/2022-12-08_pakrym_api-updates-beta.change.md index 7b9d6ddb0..905bce935 100644 --- a/.hark/changes/2022-12-08_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2022-12-08_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/902 +pr_url: https://github.com/stripe/stripe-python/pull/902 is_stripe_api_change: true released_in_version: 5.1.0b1 --- diff --git a/.hark/changes/2022-12-15_anniel_api-updates-beta.change.md b/.hark/changes/2022-12-15_anniel_api-updates-beta.change.md index 2b0137162..5a011961d 100644 --- a/.hark/changes/2022-12-15_anniel_api-updates-beta.change.md +++ b/.hark/changes/2022-12-15_anniel_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/906 +pr_url: https://github.com/stripe/stripe-python/pull/906 is_stripe_api_change: true released_in_version: 5.1.0b2 --- diff --git a/.hark/changes/2022-12-22_richardm_api-updates-beta.change.md b/.hark/changes/2022-12-22_richardm_api-updates-beta.change.md index a4ff54bf8..46c11272c 100644 --- a/.hark/changes/2022-12-22_richardm_api-updates-beta.change.md +++ b/.hark/changes/2022-12-22_richardm_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/910 +pr_url: https://github.com/stripe/stripe-python/pull/910 is_stripe_api_change: true released_in_version: 5.1.0b3 --- diff --git a/.hark/changes/2023-01-05_anniel_api-updates-beta.change.md b/.hark/changes/2023-01-05_anniel_api-updates-beta.change.md index 5bd69938f..231af9cd9 100644 --- a/.hark/changes/2023-01-05_anniel_api-updates-beta.change.md +++ b/.hark/changes/2023-01-05_anniel_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/912 +pr_url: https://github.com/stripe/stripe-python/pull/912 is_stripe_api_change: true released_in_version: 5.1.0b4 --- diff --git a/.hark/changes/2023-01-12_richardm_api-updates-beta.change.md b/.hark/changes/2023-01-12_richardm_api-updates-beta.change.md index bdbd9d2c6..1674c1905 100644 --- a/.hark/changes/2023-01-12_richardm_api-updates-beta.change.md +++ b/.hark/changes/2023-01-12_richardm_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/914 +pr_url: https://github.com/stripe/stripe-python/pull/914 is_stripe_api_change: true released_in_version: 5.1.0b5 --- diff --git a/.hark/changes/2023-01-19_pakrym_api-updates-beta.change.md b/.hark/changes/2023-01-19_pakrym_api-updates-beta.change.md index 92b480f17..2b0898a4a 100644 --- a/.hark/changes/2023-01-19_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2023-01-19_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/915 +pr_url: https://github.com/stripe/stripe-python/pull/915 is_stripe_api_change: true released_in_version: 5.1.0b6 --- diff --git a/.hark/changes/2023-01-27_anniel_api-updates-beta.change.md b/.hark/changes/2023-01-27_anniel_api-updates-beta.change.md index 49e938435..0fac6c94f 100644 --- a/.hark/changes/2023-01-27_anniel_api-updates-beta.change.md +++ b/.hark/changes/2023-01-27_anniel_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/917 +pr_url: https://github.com/stripe/stripe-python/pull/917 is_stripe_api_change: true released_in_version: 5.1.0b7 --- diff --git a/.hark/changes/2023-02-02_richardm_api-updates-beta.change.md b/.hark/changes/2023-02-02_richardm_api-updates-beta.change.md index 0d1e33ac2..d2cadaad0 100644 --- a/.hark/changes/2023-02-02_richardm_api-updates-beta.change.md +++ b/.hark/changes/2023-02-02_richardm_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/921 +pr_url: https://github.com/stripe/stripe-python/pull/921 is_stripe_api_change: true released_in_version: 5.2.0b1 --- diff --git a/.hark/changes/2023-02-24_richardm_api-updates-beta.change.md b/.hark/changes/2023-02-24_richardm_api-updates-beta.change.md index 4048629f2..a14bb13ae 100644 --- a/.hark/changes/2023-02-24_richardm_api-updates-beta.change.md +++ b/.hark/changes/2023-02-24_richardm_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/931 +pr_url: https://github.com/stripe/stripe-python/pull/931 is_stripe_api_change: true released_in_version: 5.3.0b1 --- diff --git a/.hark/changes/2023-03-03_pakrym_api-updates-beta.change.md b/.hark/changes/2023-03-03_pakrym_api-updates-beta.change.md index 5f6c5a721..4432b1bf4 100644 --- a/.hark/changes/2023-03-03_pakrym_api-updates-beta.change.md +++ b/.hark/changes/2023-03-03_pakrym_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/935 +pr_url: https://github.com/stripe/stripe-python/pull/935 is_stripe_api_change: true released_in_version: 5.3.0b2 --- diff --git a/.hark/changes/2023-03-09_anniel_api-updates-beta.change.md b/.hark/changes/2023-03-09_anniel_api-updates-beta.change.md index 235b5f610..f1feeeb6b 100644 --- a/.hark/changes/2023-03-09_anniel_api-updates-beta.change.md +++ b/.hark/changes/2023-03-09_anniel_api-updates-beta.change.md @@ -1,6 +1,6 @@ --- title: API Updates for beta branch -pr_link: https://github.com/stripe/stripe-python/pull/936 +pr_url: https://github.com/stripe/stripe-python/pull/936 is_stripe_api_change: true released_in_version: 5.3.0b3 --- diff --git a/.hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md index 28d2d2835..be4c96040 100644 --- a/.hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-03-15_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta (new) -pr_link: https://github.com/stripe/stripe-python/pull/938 +pr_url: https://github.com/stripe/stripe-python/pull/938 is_stripe_api_change: true released_in_version: 5.3.0b4 --- diff --git a/.hark/changes/2023-03-17_richardm_update-generated-code.change.md b/.hark/changes/2023-03-17_richardm_update-generated-code.change.md index 8df36deb2..d0c88d535 100644 --- a/.hark/changes/2023-03-17_richardm_update-generated-code.change.md +++ b/.hark/changes/2023-03-17_richardm_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta (new) -pr_link: https://github.com/stripe/stripe-python/pull/940 +pr_url: https://github.com/stripe/stripe-python/pull/940 is_stripe_api_change: true released_in_version: 5.3.0b4 --- diff --git a/.hark/changes/2023-03-23_pakrym_update-generated-code.change.md b/.hark/changes/2023-03-23_pakrym_update-generated-code.change.md index 4c7f3dab8..db43f706b 100644 --- a/.hark/changes/2023-03-23_pakrym_update-generated-code.change.md +++ b/.hark/changes/2023-03-23_pakrym_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta (new) -pr_link: https://github.com/stripe/stripe-python/pull/941 +pr_url: https://github.com/stripe/stripe-python/pull/941 is_stripe_api_change: true released_in_version: 5.4.0b1 --- diff --git a/.hark/changes/2023-03-30_anniel_update-generated-code.change.md b/.hark/changes/2023-03-30_anniel_update-generated-code.change.md index 8f4840c90..d42e4c493 100644 --- a/.hark/changes/2023-03-30_anniel_update-generated-code.change.md +++ b/.hark/changes/2023-03-30_anniel_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/950 +pr_url: https://github.com/stripe/stripe-python/pull/950 is_stripe_api_change: true released_in_version: 5.5.0b1 --- diff --git a/.hark/changes/2023-04-06_richardm_update-generated-code.change.md b/.hark/changes/2023-04-06_richardm_update-generated-code.change.md index 8667107d0..3b478cdf2 100644 --- a/.hark/changes/2023-04-06_richardm_update-generated-code.change.md +++ b/.hark/changes/2023-04-06_richardm_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/953 +pr_url: https://github.com/stripe/stripe-python/pull/953 is_stripe_api_change: true released_in_version: 5.5.0b2 --- diff --git a/.hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md index fc953174a..98efa4f49 100644 --- a/.hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-04-13_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/954 +pr_url: https://github.com/stripe/stripe-python/pull/954 is_stripe_api_change: true released_in_version: 5.5.0b2 --- diff --git a/.hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md index 416f10c95..e31d86966 100644 --- a/.hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-04-20_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/961 +pr_url: https://github.com/stripe/stripe-python/pull/961 is_stripe_api_change: true released_in_version: 5.5.0b3 --- diff --git a/.hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md index 7f1ce2373..eede73632 100644 --- a/.hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-04-27_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/964 +pr_url: https://github.com/stripe/stripe-python/pull/964 is_stripe_api_change: true released_in_version: 5.5.0b3 --- diff --git a/.hark/changes/2023-05-19_anniel_add-rawrequest.change.md b/.hark/changes/2023-05-19_anniel_add-rawrequest.change.md index f8d9fec6e..c4baaa9d8 100644 --- a/.hark/changes/2023-05-19_anniel_add-rawrequest.change.md +++ b/.hark/changes/2023-05-19_anniel_add-rawrequest.change.md @@ -1,5 +1,5 @@ --- title: Add raw_request -pr_link: https://github.com/stripe/stripe-python/pull/965 +pr_url: https://github.com/stripe/stripe-python/pull/965 released_in_version: 5.5.0b3 --- diff --git a/.hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md index f04c4523f..f41fc5d7d 100644 --- a/.hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-05-19_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/966 +pr_url: https://github.com/stripe/stripe-python/pull/966 is_stripe_api_change: true released_in_version: 5.5.0b3 --- diff --git a/.hark/changes/2023-05-25_anniel_handle-developer-message.change.md b/.hark/changes/2023-05-25_anniel_handle-developer-message.change.md index 9891fa42d..5647ca253 100644 --- a/.hark/changes/2023-05-25_anniel_handle-developer-message.change.md +++ b/.hark/changes/2023-05-25_anniel_handle-developer-message.change.md @@ -1,5 +1,5 @@ --- title: Handle developer message in preview error responses -pr_link: https://github.com/stripe/stripe-python/pull/971 +pr_url: https://github.com/stripe/stripe-python/pull/971 released_in_version: 5.5.0b4 --- diff --git a/.hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md index d002db3dc..e059bf004 100644 --- a/.hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-05-25_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/969 +pr_url: https://github.com/stripe/stripe-python/pull/969 is_stripe_api_change: true released_in_version: 5.5.0b4 --- diff --git a/.hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md index 1ed92b605..e20b2ee1a 100644 --- a/.hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-06-01_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/973 +pr_url: https://github.com/stripe/stripe-python/pull/973 is_stripe_api_change: true released_in_version: 5.5.0b4 --- diff --git a/.hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md index a8e2375b6..14d923168 100644 --- a/.hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-06-13_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/976 +pr_url: https://github.com/stripe/stripe-python/pull/976 is_stripe_api_change: true released_in_version: 5.5.0b5 --- diff --git a/.hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md index 998de48b9..438951893 100644 --- a/.hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-06-15_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/979 +pr_url: https://github.com/stripe/stripe-python/pull/979 is_stripe_api_change: true released_in_version: 5.5.0b5 --- diff --git a/.hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md index 861049ad1..eba9a2b77 100644 --- a/.hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-06-22_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/982 +pr_url: https://github.com/stripe/stripe-python/pull/982 is_stripe_api_change: true released_in_version: 5.5.0b5 --- diff --git a/.hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md b/.hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md index be71729fd..bf61fca43 100644 --- a/.hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md +++ b/.hark/changes/2023-06-28_anniel_consolidate-beta-sdks.change.md @@ -1,5 +1,5 @@ --- title: Consolidate beta SDKs section -pr_link: https://github.com/stripe/stripe-python/pull/986 +pr_url: https://github.com/stripe/stripe-python/pull/986 released_in_version: 5.6.0b1 --- diff --git a/.hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md index 5c1869948..45090e709 100644 --- a/.hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-07-06_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/985 +pr_url: https://github.com/stripe/stripe-python/pull/985 is_stripe_api_change: true released_in_version: 5.6.0b1 --- diff --git a/.hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md index ea3ff7b4d..cfb4cc443 100644 --- a/.hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/991 +pr_url: https://github.com/stripe/stripe-python/pull/991 is_stripe_api_change: true released_in_version: 5.6.0b1 --- diff --git a/.hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md index 1465da1f3..83765ddf9 100644 --- a/.hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md +++ b/.hark/changes/2023-07-13_stripe-openapi_update-generated-code_2.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/989 +pr_url: https://github.com/stripe/stripe-python/pull/989 is_stripe_api_change: true released_in_version: 5.6.0b1 --- diff --git a/.hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md index 4ddefb336..c0e790795 100644 --- a/.hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-07-20_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/992 +pr_url: https://github.com/stripe/stripe-python/pull/992 is_stripe_api_change: true released_in_version: 5.6.0b2 --- diff --git a/.hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md index 3d7a2453f..8afdc50e1 100644 --- a/.hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-07-25_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/995 +pr_url: https://github.com/stripe/stripe-python/pull/995 is_stripe_api_change: true released_in_version: 5.6.0b2 --- diff --git a/.hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md b/.hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md index 2f6b883d7..4f64161f5 100644 --- a/.hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md +++ b/.hark/changes/2023-07-31_pakrym_remove-developermes-support.change.md @@ -1,5 +1,5 @@ --- title: Remove developer_message support -pr_link: https://github.com/stripe/stripe-python/pull/997 +pr_url: https://github.com/stripe/stripe-python/pull/997 released_in_version: 6.7.0b2 --- diff --git a/.hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md b/.hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md index 1dd6f7751..3755a13f2 100644 --- a/.hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md +++ b/.hark/changes/2023-07-31_pakrym_remove-developermes-support_2.change.md @@ -1,5 +1,5 @@ --- title: Remove developer_message support -pr_link: https://github.com/stripe/stripe-python/pull/997 +pr_url: https://github.com/stripe/stripe-python/pull/997 released_in_version: 5.6.0b3 --- diff --git a/.hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md index 04a7cc12c..75bf582e2 100644 --- a/.hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-08-02_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/999 +pr_url: https://github.com/stripe/stripe-python/pull/999 is_stripe_api_change: true released_in_version: 5.6.0b3 --- diff --git a/.hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md index 84927f40f..7011a16ee 100644 --- a/.hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-08-03_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1004 +pr_url: https://github.com/stripe/stripe-python/pull/1004 is_stripe_api_change: true released_in_version: 5.6.0b3 --- diff --git a/.hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md b/.hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md index dd2c8a976..44f9494eb 100644 --- a/.hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md +++ b/.hark/changes/2023-08-23_richardm_adds-typeannotati-dependency.change.md @@ -1,5 +1,5 @@ --- title: Adds type_annotations, and dependency on `typing_extensions`. -pr_link: https://github.com/stripe/stripe-python/pull/1020 +pr_url: https://github.com/stripe/stripe-python/pull/1020 released_in_version: 6.1.0b2 --- diff --git a/.hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md b/.hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md index 9d88e09e0..9e9dbb9b3 100644 --- a/.hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md +++ b/.hark/changes/2023-08-24_stripe-openapi_1017-update-generated.change.md @@ -1,5 +1,5 @@ --- title: "[#1017](https://github.com/stripe/stripe-python/pull/1017) Update generated code for beta" -pr_link: https://github.com/stripe/stripe-python/pull/1006 +pr_url: https://github.com/stripe/stripe-python/pull/1006 released_in_version: 6.1.0b2 --- diff --git a/.hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md index 9a5b838c7..aca0f4afb 100644 --- a/.hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-09-01_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1029 +pr_url: https://github.com/stripe/stripe-python/pull/1029 is_stripe_api_change: true released_in_version: 6.3.0b1 --- diff --git a/.hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md index def1b88ed..c1f03ccd0 100644 --- a/.hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1045 +pr_url: https://github.com/stripe/stripe-python/pull/1045 is_stripe_api_change: true released_in_version: 6.5.0b1 --- diff --git a/.hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md index 45f43d999..f27419f4f 100644 --- a/.hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md +++ b/.hark/changes/2023-09-07_stripe-openapi_update-generated-code_2.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1034 +pr_url: https://github.com/stripe/stripe-python/pull/1034 is_stripe_api_change: true released_in_version: 6.5.0b1 --- diff --git a/.hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md index 077ce0ce4..edbc02e64 100644 --- a/.hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-09-15_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1048 +pr_url: https://github.com/stripe/stripe-python/pull/1048 is_stripe_api_change: true released_in_version: 6.6.0b1 --- diff --git a/.hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md index d70687535..954d4b89a 100644 --- a/.hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-09-21_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1053 +pr_url: https://github.com/stripe/stripe-python/pull/1053 is_stripe_api_change: true released_in_version: 6.7.0b1 --- diff --git a/.hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md index 72d8c6a55..005efd0ba 100644 --- a/.hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1059 +pr_url: https://github.com/stripe/stripe-python/pull/1059 is_stripe_api_change: true released_in_version: 6.8.0b1 --- diff --git a/.hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md index 502c7649a..08115b412 100644 --- a/.hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md +++ b/.hark/changes/2023-09-29_stripe-openapi_update-generated-code_2.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1059 +pr_url: https://github.com/stripe/stripe-python/pull/1059 is_stripe_api_change: true released_in_version: 6.7.0b2 --- diff --git a/.hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md index 24860f12d..98e6b2ab5 100644 --- a/.hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-10-05_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1066 +pr_url: https://github.com/stripe/stripe-python/pull/1066 is_stripe_api_change: true released_in_version: 6.8.0b1 --- diff --git a/.hark/changes/2023-10-11_richardm_types-inner-resource.change.md b/.hark/changes/2023-10-11_richardm_types-inner-resource.change.md index 5573b15ed..db3ae7cbd 100644 --- a/.hark/changes/2023-10-11_richardm_types-inner-resource.change.md +++ b/.hark/changes/2023-10-11_richardm_types-inner-resource.change.md @@ -1,5 +1,5 @@ --- title: "Types: inner resource classes" -pr_link: https://github.com/stripe/stripe-python/pull/1061 +pr_url: https://github.com/stripe/stripe-python/pull/1061 released_in_version: 6.8.0b2 --- diff --git a/.hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md index 8a6be7b9a..32a780e53 100644 --- a/.hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-10-11_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1073 +pr_url: https://github.com/stripe/stripe-python/pull/1073 is_stripe_api_change: true released_in_version: 6.8.0b2 --- diff --git a/.hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md index 84aa0ba18..437aed976 100644 --- a/.hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-10-16_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1083 +pr_url: https://github.com/stripe/stripe-python/pull/1083 is_stripe_api_change: true released_in_version: 7.1.0b1 --- diff --git a/.hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md index cd1222fe2..353c6f1bd 100644 --- a/.hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-10-17_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1084 +pr_url: https://github.com/stripe/stripe-python/pull/1084 is_stripe_api_change: true released_in_version: 7.1.0b1 --- diff --git a/.hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md index dc8a19df3..faabe4492 100644 --- a/.hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-10-26_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1107 +pr_url: https://github.com/stripe/stripe-python/pull/1107 is_stripe_api_change: true released_in_version: 7.2.0b1 --- diff --git a/.hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md index ac5ac0b87..f52205b2e 100644 --- a/.hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-11-02_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1110 +pr_url: https://github.com/stripe/stripe-python/pull/1110 is_stripe_api_change: true released_in_version: 7.4.0b1 --- diff --git a/.hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md index 1d0fbe97b..a6ccf6867 100644 --- a/.hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-11-10_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1120 +pr_url: https://github.com/stripe/stripe-python/pull/1120 is_stripe_api_change: true released_in_version: 7.5.0b1 --- diff --git a/.hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md index 3e5a2bfcd..8ded70aca 100644 --- a/.hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-11-17_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1128 +pr_url: https://github.com/stripe/stripe-python/pull/1128 is_stripe_api_change: true released_in_version: 7.6.0b1 --- diff --git a/.hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md index e13a85caf..2e900229b 100644 --- a/.hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-11-21_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1141 +pr_url: https://github.com/stripe/stripe-python/pull/1141 is_stripe_api_change: true released_in_version: 7.7.0b1 --- diff --git a/.hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md index bee906578..74f5e8c94 100644 --- a/.hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-11-30_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1148 +pr_url: https://github.com/stripe/stripe-python/pull/1148 is_stripe_api_change: true released_in_version: 7.8.0b1 --- diff --git a/.hark/changes/2023-12-08_richardm_beta-revert-broken.change.md b/.hark/changes/2023-12-08_richardm_beta-revert-broken.change.md index 15e655e73..42b21d03c 100644 --- a/.hark/changes/2023-12-08_richardm_beta-revert-broken.change.md +++ b/.hark/changes/2023-12-08_richardm_beta-revert-broken.change.md @@ -1,5 +1,5 @@ --- title: "Beta: revert broken logger" -pr_link: https://github.com/stripe/stripe-python/pull/1164 +pr_url: https://github.com/stripe/stripe-python/pull/1164 released_in_version: 7.10.0b1 --- diff --git a/.hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md index 3d81769b5..ee0e67aad 100644 --- a/.hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-12-08_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1163 +pr_url: https://github.com/stripe/stripe-python/pull/1163 is_stripe_api_change: true released_in_version: 7.9.0b1 --- diff --git a/.hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md index d784d5906..8863f06eb 100644 --- a/.hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-12-15_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1166 +pr_url: https://github.com/stripe/stripe-python/pull/1166 is_stripe_api_change: true released_in_version: 7.10.0b1 --- diff --git a/.hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md b/.hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md index 9c1c93680..77dda0213 100644 --- a/.hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2023-12-22_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1177 +pr_url: https://github.com/stripe/stripe-python/pull/1177 is_stripe_api_change: true released_in_version: 7.11.0b1 --- diff --git a/.hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md b/.hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md index 6fd5934d4..a086ac05c 100644 --- a/.hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md +++ b/.hark/changes/2024-01-04_richardm_beta-rawrequestas-httpx.change.md @@ -1,5 +1,5 @@ --- title: "Beta: raw_request_async with HTTPX" -pr_link: https://github.com/stripe/stripe-python/pull/1165 +pr_url: https://github.com/stripe/stripe-python/pull/1165 released_in_version: 7.13.0b1 --- diff --git a/.hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md index b512643e7..424883eb1 100644 --- a/.hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-01-04_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1187 +pr_url: https://github.com/stripe/stripe-python/pull/1187 is_stripe_api_change: true released_in_version: 7.12.0b1 --- diff --git a/.hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md b/.hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md index e790d4358..f4712758b 100644 --- a/.hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md +++ b/.hark/changes/2024-01-10_richardm_beta-report-rawrequest.change.md @@ -1,5 +1,5 @@ --- title: "Beta: report `raw_request` usage" -pr_link: https://github.com/stripe/stripe-python/pull/1191 +pr_url: https://github.com/stripe/stripe-python/pull/1191 released_in_version: 7.13.0b1 --- diff --git a/.hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md index 64b6b72b8..c77ef66e7 100644 --- a/.hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-01-12_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1189 +pr_url: https://github.com/stripe/stripe-python/pull/1189 is_stripe_api_change: true released_in_version: 7.13.0b1 --- diff --git a/.hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md index a72f26ced..5bfc6faba 100644 --- a/.hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1197 +pr_url: https://github.com/stripe/stripe-python/pull/1197 is_stripe_api_change: true released_in_version: 7.14.0b1 --- diff --git a/.hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md index 0c622b964..eca1e7831 100644 --- a/.hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md +++ b/.hark/changes/2024-01-18_stripe-openapi_update-generated-code_2.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1192 +pr_url: https://github.com/stripe/stripe-python/pull/1192 is_stripe_api_change: true released_in_version: 7.14.0b1 --- diff --git a/.hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md index a815e0049..141bcb2a8 100644 --- a/.hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-01-25_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1198 +pr_url: https://github.com/stripe/stripe-python/pull/1198 is_stripe_api_change: true released_in_version: 8.1.0b1 --- diff --git a/.hark/changes/2024-01-26_richardm_beta-better-support.change.md b/.hark/changes/2024-01-26_richardm_beta-better-support.change.md index b508bfd22..e9837a9f5 100644 --- a/.hark/changes/2024-01-26_richardm_beta-better-support.change.md +++ b/.hark/changes/2024-01-26_richardm_beta-better-support.change.md @@ -1,6 +1,6 @@ --- title: "Beta: better support for trio in HTTPClientAsync" -pr_link: https://github.com/stripe/stripe-python/pull/1210 +pr_url: https://github.com/stripe/stripe-python/pull/1210 released_in_version: 8.2.0b1 --- diff --git a/.hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md b/.hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md index e126f5255..55cf90277 100644 --- a/.hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md +++ b/.hark/changes/2024-01-26_richardm_beta-fix-httpxclient.change.md @@ -1,5 +1,5 @@ --- title: "Beta: Fix HTTPXClient retries" -pr_link: https://github.com/stripe/stripe-python/pull/1209 +pr_url: https://github.com/stripe/stripe-python/pull/1209 released_in_version: 8.2.0b1 --- diff --git a/.hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md index 6cf31d3df..4ec7d53b5 100644 --- a/.hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-02-02_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1218 +pr_url: https://github.com/stripe/stripe-python/pull/1218 is_stripe_api_change: true released_in_version: 8.2.0b1 --- diff --git a/.hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md b/.hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md index 998f4bc9c..5ff54b083 100644 --- a/.hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md +++ b/.hark/changes/2024-02-05_richardm_beta-codegenned-async.change.md @@ -1,5 +1,5 @@ --- title: "Beta: codegenned async methods on resources" -pr_link: https://github.com/stripe/stripe-python/pull/1171 +pr_url: https://github.com/stripe/stripe-python/pull/1171 released_in_version: 8.2.0b1 --- diff --git a/.hark/changes/2024-02-05_richardm_beta-more-async.change.md b/.hark/changes/2024-02-05_richardm_beta-more-async.change.md index e7ba40019..f25be2645 100644 --- a/.hark/changes/2024-02-05_richardm_beta-more-async.change.md +++ b/.hark/changes/2024-02-05_richardm_beta-more-async.change.md @@ -1,5 +1,5 @@ --- title: "Beta: more async infrastructure" -pr_link: https://github.com/stripe/stripe-python/pull/1219 +pr_url: https://github.com/stripe/stripe-python/pull/1219 released_in_version: 8.2.0b1 --- diff --git a/.hark/changes/2024-02-08_richardm_beta-add-async.change.md b/.hark/changes/2024-02-08_richardm_beta-add-async.change.md index e94fb4a19..8d21ac9d9 100644 --- a/.hark/changes/2024-02-08_richardm_beta-add-async.change.md +++ b/.hark/changes/2024-02-08_richardm_beta-add-async.change.md @@ -1,5 +1,5 @@ --- title: "Beta: add `_async` methods for StripeClient" -pr_link: https://github.com/stripe/stripe-python/pull/1228 +pr_url: https://github.com/stripe/stripe-python/pull/1228 released_in_version: 8.3.0b1 --- diff --git a/.hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md index 12b13277c..b6d169dd4 100644 --- a/.hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-02-08_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1226 +pr_url: https://github.com/stripe/stripe-python/pull/1226 is_stripe_api_change: true released_in_version: 8.3.0b1 --- diff --git a/.hark/changes/2024-02-14_richardm_beta-async-streaming.change.md b/.hark/changes/2024-02-14_richardm_beta-async-streaming.change.md index eaec32c91..7a701e9f1 100644 --- a/.hark/changes/2024-02-14_richardm_beta-async-streaming.change.md +++ b/.hark/changes/2024-02-14_richardm_beta-async-streaming.change.md @@ -1,5 +1,5 @@ --- title: "Beta: async streaming" -pr_link: https://github.com/stripe/stripe-python/pull/1233 +pr_url: https://github.com/stripe/stripe-python/pull/1233 released_in_version: 8.4.0b1 --- diff --git a/.hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md b/.hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md index 6c21ed2a7..7fd79d3a4 100644 --- a/.hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md +++ b/.hark/changes/2024-02-14_richardm_beta-stripestream-read.change.md @@ -1,5 +1,5 @@ --- title: "Beta: StripeStreamResponseAsync.read helper" -pr_link: https://github.com/stripe/stripe-python/pull/1236 +pr_url: https://github.com/stripe/stripe-python/pull/1236 released_in_version: 8.4.0b1 --- diff --git a/.hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md index 457cfe12f..567d27211 100644 --- a/.hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-02-16_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1235 +pr_url: https://github.com/stripe/stripe-python/pull/1235 is_stripe_api_change: true released_in_version: 8.4.0b1 --- diff --git a/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md b/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md index 1b35df3b9..be360a6fd 100644 --- a/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md +++ b/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md @@ -1,6 +1,6 @@ --- title: "Beta: Collapse HTTPClientAsync into HTTPClient" -pr_link: https://github.com/stripe/stripe-python/pull/1239 +pr_url: https://github.com/stripe/stripe-python/pull/1239 is_breaking: true released_in_version: 8.5.0b1 --- diff --git a/.hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md index caf12f91b..162ed6388 100644 --- a/.hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-02-22_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1246 +pr_url: https://github.com/stripe/stripe-python/pull/1246 is_stripe_api_change: true released_in_version: 8.5.0b1 --- diff --git a/.hark/changes/2024-02-28_helenye_add-helper-add.change.md b/.hark/changes/2024-02-28_helenye_add-helper-add.change.md index f1dfd88f2..1347e4bfd 100644 --- a/.hark/changes/2024-02-28_helenye_add-helper-add.change.md +++ b/.hark/changes/2024-02-28_helenye_add-helper-add.change.md @@ -1,5 +1,5 @@ --- title: Add helper to add beta version -pr_link: https://github.com/stripe/stripe-python/pull/1259 +pr_url: https://github.com/stripe/stripe-python/pull/1259 released_in_version: 8.6.0b1 --- diff --git a/.hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md b/.hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md index bc314e5bf..0a74954cb 100644 --- a/.hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md +++ b/.hark/changes/2024-02-28_richardm_beta-fix-ssl.change.md @@ -1,5 +1,5 @@ --- title: "Beta: fix ssl for AIOHTTP client" -pr_link: https://github.com/stripe/stripe-python/pull/1262 +pr_url: https://github.com/stripe/stripe-python/pull/1262 released_in_version: 8.5.0b3 --- diff --git a/.hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md b/.hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md index ab760abdd..7113fae4b 100644 --- a/.hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md +++ b/.hark/changes/2024-02-29_richardm_remove-unconditiona-import.change.md @@ -1,5 +1,5 @@ --- title: Remove unconditional import of TCPConnector from aiohttp in _http_client -pr_link: https://github.com/stripe/stripe-python/pull/1264 +pr_url: https://github.com/stripe/stripe-python/pull/1264 released_in_version: 8.6.0b1 --- diff --git a/.hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md index 32b23f9dc..a558e67e5 100644 --- a/.hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-02-29_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1251 +pr_url: https://github.com/stripe/stripe-python/pull/1251 is_stripe_api_change: true released_in_version: 8.6.0b1 --- diff --git a/.hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md index 07f64476d..78550f465 100644 --- a/.hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-03-07_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1265 +pr_url: https://github.com/stripe/stripe-python/pull/1265 is_stripe_api_change: true released_in_version: 8.7.0b1 --- diff --git a/.hark/changes/2024-03-13_richardm_beta-record-usage.change.md b/.hark/changes/2024-03-13_richardm_beta-record-usage.change.md index 672844d8b..3e5439e7b 100644 --- a/.hark/changes/2024-03-13_richardm_beta-record-usage.change.md +++ b/.hark/changes/2024-03-13_richardm_beta-record-usage.change.md @@ -1,5 +1,5 @@ --- title: "Beta: record usage of async interface" -pr_link: https://github.com/stripe/stripe-python/pull/1266 +pr_url: https://github.com/stripe/stripe-python/pull/1266 released_in_version: 8.8.0b1 --- diff --git a/.hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md index adf4a3633..de43b9286 100644 --- a/.hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-03-14_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1270 +pr_url: https://github.com/stripe/stripe-python/pull/1270 is_stripe_api_change: true released_in_version: 8.8.0b1 --- diff --git a/.hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md b/.hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md index 99d03825a..a7015d2c7 100644 --- a/.hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md +++ b/.hark/changes/2024-03-20_richardm_support-aiohttpclien-init.change.md @@ -1,5 +1,5 @@ --- title: Support AIOHTTPClient init without running event loop -pr_link: https://github.com/stripe/stripe-python/pull/1271 +pr_url: https://github.com/stripe/stripe-python/pull/1271 released_in_version: 8.9.0b1 --- diff --git a/.hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md index 2db03eeef..39f69cb91 100644 --- a/.hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-03-21_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1272 +pr_url: https://github.com/stripe/stripe-python/pull/1272 is_stripe_api_change: true released_in_version: 8.9.0b1 --- diff --git a/.hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md b/.hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md index d1fcaa2ba..f03796703 100644 --- a/.hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md +++ b/.hark/changes/2024-03-28_ramya_fix-unneccessary-quotes.change.md @@ -1,5 +1,5 @@ --- title: Fix unneccessary quotes -pr_link: https://github.com/stripe/stripe-python/pull/1283 +pr_url: https://github.com/stripe/stripe-python/pull/1283 released_in_version: 8.10.0b1 --- diff --git a/.hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md index 0ffa70a25..b04e3d7ab 100644 --- a/.hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-03-28_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1277 +pr_url: https://github.com/stripe/stripe-python/pull/1277 is_stripe_api_change: true released_in_version: 8.10.0b1 --- diff --git a/.hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md index d2afc2ac0..d733de14a 100644 --- a/.hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-04-05_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1293 +pr_url: https://github.com/stripe/stripe-python/pull/1293 is_stripe_api_change: true released_in_version: 8.11.0b1 --- diff --git a/.hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md index 3c45e85b4..7be16c656 100644 --- a/.hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-04-11_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1296 +pr_url: https://github.com/stripe/stripe-python/pull/1296 is_stripe_api_change: true released_in_version: 9.2.0b1 --- diff --git a/.hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md index f932d592a..7fe0e0c57 100644 --- a/.hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-04-18_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1302 +pr_url: https://github.com/stripe/stripe-python/pull/1302 is_stripe_api_change: true released_in_version: 9.4.0b1 --- diff --git a/.hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md index b47e75f5c..e3e61bf05 100644 --- a/.hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-04-25_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1308 +pr_url: https://github.com/stripe/stripe-python/pull/1308 is_stripe_api_change: true released_in_version: 9.5.0b1 --- diff --git a/.hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md index 560569902..eb8b68859 100644 --- a/.hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-05-02_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1318 +pr_url: https://github.com/stripe/stripe-python/pull/1318 is_stripe_api_change: true released_in_version: 9.6.0b1 --- diff --git a/.hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md index 49a3209a0..9bee9a5ba 100644 --- a/.hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-05-09_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1321 +pr_url: https://github.com/stripe/stripe-python/pull/1321 is_stripe_api_change: true released_in_version: 9.7.0b1 --- diff --git a/.hark/changes/2024-05-13_xavdid_beta-swap-black.change.md b/.hark/changes/2024-05-13_xavdid_beta-swap-black.change.md index a882e45c6..7111995dd 100644 --- a/.hark/changes/2024-05-13_xavdid_beta-swap-black.change.md +++ b/.hark/changes/2024-05-13_xavdid_beta-swap-black.change.md @@ -1,5 +1,5 @@ --- title: (beta) swap from `black` to `ruff` for formatting -pr_link: https://github.com/stripe/stripe-python/pull/1330 +pr_url: https://github.com/stripe/stripe-python/pull/1330 released_in_version: 9.8.0b1 --- diff --git a/.hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md index 81ba00380..f5a0018dc 100644 --- a/.hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-05-16_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1327 +pr_url: https://github.com/stripe/stripe-python/pull/1327 is_stripe_api_change: true released_in_version: 9.8.0b1 --- diff --git a/.hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md index b63584107..11b4c4e67 100644 --- a/.hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-05-23_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1331 +pr_url: https://github.com/stripe/stripe-python/pull/1331 is_stripe_api_change: true released_in_version: 9.9.0b1 --- diff --git a/.hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md index c73454c5c..c9de38cc2 100644 --- a/.hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-05-30_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1334 +pr_url: https://github.com/stripe/stripe-python/pull/1334 is_stripe_api_change: true released_in_version: 9.10.0b1 --- diff --git a/.hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md index 4fd0979b7..59af138cb 100644 --- a/.hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-06-06_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1339 +pr_url: https://github.com/stripe/stripe-python/pull/1339 is_stripe_api_change: true released_in_version: 9.11.0b1 --- diff --git a/.hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md index 02bc95073..9415df1e3 100644 --- a/.hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-06-13_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1343 +pr_url: https://github.com/stripe/stripe-python/pull/1343 is_stripe_api_change: true released_in_version: 9.12.0b1 --- diff --git a/.hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md index 271775491..8e5581e22 100644 --- a/.hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-06-27_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1349 +pr_url: https://github.com/stripe/stripe-python/pull/1349 is_stripe_api_change: true released_in_version: 10.2.0b1 --- diff --git a/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md index 2da64d8eb..63642c3a5 100644 --- a/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1355 +pr_url: https://github.com/stripe/stripe-python/pull/1355 is_breaking: true is_stripe_api_change: true released_in_version: 10.3.0b1 diff --git a/.hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md index 49e3d33e7..65e95cdd8 100644 --- a/.hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-07-11_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1356 +pr_url: https://github.com/stripe/stripe-python/pull/1356 is_stripe_api_change: true released_in_version: 10.4.0b1 --- diff --git a/.hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md index a486d7400..68602d9a0 100644 --- a/.hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-07-25_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1361 +pr_url: https://github.com/stripe/stripe-python/pull/1361 is_stripe_api_change: true released_in_version: 10.6.0b1 --- diff --git a/.hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md index 9b188ec99..92ed548fc 100644 --- a/.hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-08-01_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1370 +pr_url: https://github.com/stripe/stripe-python/pull/1370 is_stripe_api_change: true released_in_version: 10.7.0b1 --- diff --git a/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md index 2eadfd0c6..728e6bc1e 100644 --- a/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1372 +pr_url: https://github.com/stripe/stripe-python/pull/1372 is_breaking: true is_stripe_api_change: true released_in_version: 10.8.0b1 diff --git a/.hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md index 19520ba91..813c51309 100644 --- a/.hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-08-15_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1375 +pr_url: https://github.com/stripe/stripe-python/pull/1375 is_stripe_api_change: true released_in_version: 10.9.0b1 --- diff --git a/.hark/changes/2024-08-22_xavdid_update-generated-code.change.md b/.hark/changes/2024-08-22_xavdid_update-generated-code.change.md index fbfd97088..757c18dc1 100644 --- a/.hark/changes/2024-08-22_xavdid_update-generated-code.change.md +++ b/.hark/changes/2024-08-22_xavdid_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1377 +pr_url: https://github.com/stripe/stripe-python/pull/1377 is_stripe_api_change: true released_in_version: 10.9.0b2 --- diff --git a/.hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md index 1e1a0caa3..faae6f3bd 100644 --- a/.hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-08-28_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1380 +pr_url: https://github.com/stripe/stripe-python/pull/1380 is_stripe_api_change: true released_in_version: 10.11.0b1 --- diff --git a/.hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md index dfac00b6b..1cb9261d7 100644 --- a/.hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-09-05_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1387 +pr_url: https://github.com/stripe/stripe-python/pull/1387 is_stripe_api_change: true released_in_version: 10.11.0b1 --- diff --git a/.hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md index 84f5986cb..7e54f9120 100644 --- a/.hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-09-13_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1389 +pr_url: https://github.com/stripe/stripe-python/pull/1389 is_stripe_api_change: true released_in_version: 10.12.0b1 --- diff --git a/.hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md index 3c88d6592..6d0c45930 100644 --- a/.hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-09-18_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1395 +pr_url: https://github.com/stripe/stripe-python/pull/1395 is_stripe_api_change: true released_in_version: 10.13.0b1 --- diff --git a/.hark/changes/2024-10-02_jar_updates-beta-branch.change.md b/.hark/changes/2024-10-02_jar_updates-beta-branch.change.md index 45243199d..f6f52d356 100644 --- a/.hark/changes/2024-10-02_jar_updates-beta-branch.change.md +++ b/.hark/changes/2024-10-02_jar_updates-beta-branch.change.md @@ -1,6 +1,6 @@ --- title: Updates beta branch with changes in master & update generated code -pr_link: https://github.com/stripe/stripe-python/pull/1407 +pr_url: https://github.com/stripe/stripe-python/pull/1407 released_in_version: 11.2.0b1 --- diff --git a/.hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md index af0f77fbb..9595db9fd 100644 --- a/.hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-10-08_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1396 +pr_url: https://github.com/stripe/stripe-python/pull/1396 is_stripe_api_change: true released_in_version: 11.2.0b2 --- diff --git a/.hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md index 2e1be8d1f..d76387e62 100644 --- a/.hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-10-18_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1413 +pr_url: https://github.com/stripe/stripe-python/pull/1413 is_stripe_api_change: true released_in_version: 11.2.0b3 --- diff --git a/.hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md index ea22520b8..c3e5e4880 100644 --- a/.hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-10-29_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1417 +pr_url: https://github.com/stripe/stripe-python/pull/1417 is_stripe_api_change: true released_in_version: 11.3.0b1 --- diff --git a/.hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md index 904057a58..60b04dc5d 100644 --- a/.hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-11-07_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1421 +pr_url: https://github.com/stripe/stripe-python/pull/1421 is_stripe_api_change: true released_in_version: 11.3.0b2 --- diff --git a/.hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md index 6e4471da1..1a2cb08d6 100644 --- a/.hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-11-14_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1422 +pr_url: https://github.com/stripe/stripe-python/pull/1422 is_stripe_api_change: true released_in_version: 11.3.0b3 --- diff --git a/.hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md index 3eae266c8..37392c70d 100644 --- a/.hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-11-21_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1425 +pr_url: https://github.com/stripe/stripe-python/pull/1425 is_stripe_api_change: true released_in_version: 11.4.0b1 --- diff --git a/.hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md index 8064076fe..b7ed97c0c 100644 --- a/.hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-12-05_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1426 +pr_url: https://github.com/stripe/stripe-python/pull/1426 is_stripe_api_change: true released_in_version: 11.4.0b2 --- diff --git a/.hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md index 1841142a9..5a7f831cb 100644 --- a/.hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-12-12_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1429 +pr_url: https://github.com/stripe/stripe-python/pull/1429 is_stripe_api_change: true released_in_version: 11.4.0b3 --- diff --git a/.hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md index e152b5e5d..3b37978bc 100644 --- a/.hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-01-09_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1433 +pr_url: https://github.com/stripe/stripe-python/pull/1433 is_stripe_api_change: true released_in_version: 11.5.0b1 --- diff --git a/.hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md index c5e46ef8d..aac3f95d1 100644 --- a/.hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-01-18_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1439 +pr_url: https://github.com/stripe/stripe-python/pull/1439 is_stripe_api_change: true released_in_version: 11.5.0b2 --- diff --git a/.hark/changes/2025-01-23_prathmesh_update-generated-code.change.md b/.hark/changes/2025-01-23_prathmesh_update-generated-code.change.md index 1f0b534dd..c2af163ee 100644 --- a/.hark/changes/2025-01-23_prathmesh_update-generated-code.change.md +++ b/.hark/changes/2025-01-23_prathmesh_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1447 +pr_url: https://github.com/stripe/stripe-python/pull/1447 is_stripe_api_change: true released_in_version: 11.5.0b3 --- diff --git a/.hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md index 9a9f74a5e..b14bd701e 100644 --- a/.hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-02-07_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1449 +pr_url: https://github.com/stripe/stripe-python/pull/1449 is_stripe_api_change: true released_in_version: 11.6.0b1 --- diff --git a/.hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md b/.hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md index 706958f32..c28d33ae8 100644 --- a/.hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md +++ b/.hark/changes/2025-03-17_ramya_beta-sdk-updates.change.md @@ -1,6 +1,6 @@ --- title: Beta SDK updates between Open API versions 1473 and 1505 -pr_link: https://github.com/stripe/stripe-python/pull/1469 +pr_url: https://github.com/stripe/stripe-python/pull/1469 released_in_version: 11.7.0b1 --- diff --git a/.hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md b/.hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md index 57767f010..8e9dcb545 100644 --- a/.hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md +++ b/.hark/changes/2025-03-27_stripe-openapi_1477-1482-update.change.md @@ -1,5 +1,5 @@ --- title: ", [#1477](https://github.com/stripe/stripe-python/pull/1477), [#1482](https://github.com/stripe/stripe-python/pull/1482) Update generated code for beta" -pr_link: https://github.com/stripe/stripe-python/pull/1455 +pr_url: https://github.com/stripe/stripe-python/pull/1455 released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md b/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md index ddec855e7..d55f5aca7 100644 --- a/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md +++ b/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md @@ -1,6 +1,6 @@ --- title: Update add_beta_version logic -pr_link: https://github.com/stripe/stripe-python/pull/1476 +pr_url: https://github.com/stripe/stripe-python/pull/1476 is_breaking: true section: Changes released_in_version: 12.1.0b1 diff --git a/.hark/changes/2025-04-08_mbroshi_handle-external-account.change.md b/.hark/changes/2025-04-08_mbroshi_handle-external-account.change.md index 643939eef..6d61e7a54 100644 --- a/.hark/changes/2025-04-08_mbroshi_handle-external-account.change.md +++ b/.hark/changes/2025-04-08_mbroshi_handle-external-account.change.md @@ -1,6 +1,6 @@ --- title: Handle external account -pr_link: https://github.com/stripe/stripe-python/pull/1490 +pr_url: https://github.com/stripe/stripe-python/pull/1490 released_in_version: 12.1.0b2 --- diff --git a/.hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md index ffa32a897..a43626114 100644 --- a/.hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-04-10_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1489 +pr_url: https://github.com/stripe/stripe-python/pull/1489 is_stripe_api_change: true released_in_version: 12.1.0b2 --- diff --git a/.hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md index 924355d15..c6ed5dd84 100644 --- a/.hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-04-17_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1495 +pr_url: https://github.com/stripe/stripe-python/pull/1495 is_stripe_api_change: true released_in_version: 12.1.0b3 --- diff --git a/.hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md index 8bb89a53d..2d78d3960 100644 --- a/.hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-04-21_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1498 +pr_url: https://github.com/stripe/stripe-python/pull/1498 is_stripe_api_change: true released_in_version: 12.2.0b1 --- diff --git a/.hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md index 27a8216d2..2a2019eb4 100644 --- a/.hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-04-24_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1501 +pr_url: https://github.com/stripe/stripe-python/pull/1501 is_stripe_api_change: true released_in_version: 12.2.0b1 --- diff --git a/.hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md index 26e9db852..a59fd1178 100644 --- a/.hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-05-27_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1509 +pr_url: https://github.com/stripe/stripe-python/pull/1509 is_stripe_api_change: true released_in_version: 12.3.0b1 --- diff --git a/.hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md b/.hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md index 06dbb0fdf..d8a05426a 100644 --- a/.hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md +++ b/.hark/changes/2025-06-26_ramya_pull-offsessionpa-changes.change.md @@ -1,5 +1,5 @@ --- title: Pull in OffSessionPayment changes for the May release -pr_link: https://github.com/stripe/stripe-python/pull/1531 +pr_url: https://github.com/stripe/stripe-python/pull/1531 released_in_version: 12.3.0b2 --- diff --git a/.hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md index 50440295e..48a6f9ee7 100644 --- a/.hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-07-01_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1520 +pr_url: https://github.com/stripe/stripe-python/pull/1520 is_stripe_api_change: true released_in_version: 12.4.0b1 --- diff --git a/.hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md b/.hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md index 0ce581e75..559011687 100644 --- a/.hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md +++ b/.hark/changes/2025-07-09_helenye_pull-v2-financialacc.change.md @@ -1,6 +1,6 @@ --- title: Pull in V2 FinancialAccount changes for June release -pr_link: https://github.com/stripe/stripe-python/pull/1536 +pr_url: https://github.com/stripe/stripe-python/pull/1536 is_stripe_api_change: true released_in_version: 12.4.0b2 --- diff --git a/.hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md index 3a8ba68c0..ee729f06a 100644 --- a/.hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-07-30_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1535 +pr_url: https://github.com/stripe/stripe-python/pull/1535 is_stripe_api_change: true released_in_version: 12.5.0b1 --- diff --git a/.hark/changes/2025-08-08_ramya_bring-back-invoice.change.md b/.hark/changes/2025-08-08_ramya_bring-back-invoice.change.md index 722794dc1..c09be149c 100644 --- a/.hark/changes/2025-08-08_ramya_bring-back-invoice.change.md +++ b/.hark/changes/2025-08-08_ramya_bring-back-invoice.change.md @@ -1,6 +1,6 @@ --- title: Bring back invoice payments APIs that were missing in the public preview SDKs -pr_link: https://github.com/stripe/stripe-python/pull/1545 +pr_url: https://github.com/stripe/stripe-python/pull/1545 released_in_version: 12.5.0b2 --- diff --git a/.hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md index cad6d30ab..71fb3da9c 100644 --- a/.hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-08-27_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1542 +pr_url: https://github.com/stripe/stripe-python/pull/1542 is_stripe_api_change: true released_in_version: 12.6.0b1 --- diff --git a/.hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md index 30567e401..01081338b 100644 --- a/.hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-09-23_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1555 +pr_url: https://github.com/stripe/stripe-python/pull/1555 is_stripe_api_change: true released_in_version: 13.1.0b1 --- diff --git a/.hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md index c206c6342..3ff2a54cb 100644 --- a/.hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-09-24_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1584 +pr_url: https://github.com/stripe/stripe-python/pull/1584 is_stripe_api_change: true released_in_version: 13.1.0b1 --- diff --git a/.hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md index 222bd3a73..d5d7d70e8 100644 --- a/.hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-09-25_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1597 +pr_url: https://github.com/stripe/stripe-python/pull/1597 is_stripe_api_change: true released_in_version: 13.1.0b1 --- diff --git a/.hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md index bcd4ad767..bdf322860 100644 --- a/.hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1617 +pr_url: https://github.com/stripe/stripe-python/pull/1617 is_stripe_api_change: true released_in_version: 13.2.0b1 --- diff --git a/.hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md index 5521ee885..8c05bd698 100644 --- a/.hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md +++ b/.hark/changes/2025-10-02_stripe-openapi_update-generated-code_2.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1617 +pr_url: https://github.com/stripe/stripe-python/pull/1617 is_stripe_api_change: true released_in_version: 13.1.1b1 --- diff --git a/.hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md index fb16e6e3a..a74710633 100644 --- a/.hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-10-27_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1624 +pr_url: https://github.com/stripe/stripe-python/pull/1624 is_stripe_api_change: true released_in_version: 13.2.0b1 --- diff --git a/.hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md index a725d43e3..4e9078153 100644 --- a/.hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-10-28_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1655 +pr_url: https://github.com/stripe/stripe-python/pull/1655 is_stripe_api_change: true released_in_version: 13.2.0b1 --- diff --git a/.hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md index bd70dcbc0..e2d795f28 100644 --- a/.hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-11-17_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1663 +pr_url: https://github.com/stripe/stripe-python/pull/1663 is_stripe_api_change: true released_in_version: 14.1.0b1 --- diff --git a/.hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md b/.hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md index b00f7abe8..0abd183cc 100644 --- a/.hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2025-12-15_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1680 +pr_url: https://github.com/stripe/stripe-python/pull/1680 is_stripe_api_change: true released_in_version: 14.2.0b1 --- diff --git a/.hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md b/.hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md index ff2d513be..031a53cbc 100644 --- a/.hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md +++ b/.hark/changes/2025-12-16_xavdid_add-eventnotific-example.change.md @@ -1,5 +1,5 @@ --- title: Add EventNotificationHandler example -pr_link: https://github.com/stripe/stripe-python/pull/1701 +pr_url: https://github.com/stripe/stripe-python/pull/1701 released_in_version: 14.4.0b1 --- diff --git a/.hark/changes/2025-12-16_xavdid_add-eventnotific.change.md b/.hark/changes/2025-12-16_xavdid_add-eventnotific.change.md index 24364f117..54719f2a0 100644 --- a/.hark/changes/2025-12-16_xavdid_add-eventnotific.change.md +++ b/.hark/changes/2025-12-16_xavdid_add-eventnotific.change.md @@ -1,6 +1,6 @@ --- title: Add EventNotificationHandler -pr_link: https://github.com/stripe/stripe-python/pull/1653 +pr_url: https://github.com/stripe/stripe-python/pull/1653 released_in_version: 14.2.0b1 --- diff --git a/.hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md index a0086893b..b9a614646 100644 --- a/.hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-01-28_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1719 +pr_url: https://github.com/stripe/stripe-python/pull/1719 is_stripe_api_change: true released_in_version: 14.4.0b1 --- diff --git a/.hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md index 41da256b8..06d815d7b 100644 --- a/.hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-02-23_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1727 +pr_url: https://github.com/stripe/stripe-python/pull/1727 is_stripe_api_change: true released_in_version: 14.5.0b1 --- diff --git a/.hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md b/.hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md index b25afa2c0..a357382d0 100644 --- a/.hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md +++ b/.hark/changes/2026-02-25_ramya_delete-apiversion-file.change.md @@ -1,5 +1,5 @@ --- title: Delete API_VERSION file as it is no longer needed -pr_link: https://github.com/stripe/stripe-python/pull/1713 +pr_url: https://github.com/stripe/stripe-python/pull/1713 released_in_version: 15.1.0b1 --- diff --git a/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md index 81e4fb352..ae07fec87 100644 --- a/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1742 +pr_url: https://github.com/stripe/stripe-python/pull/1742 is_breaking: true is_stripe_api_change: true released_in_version: 15.1.0b1 diff --git a/.hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md index 72c907d32..9aa68ad1b 100644 --- a/.hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-03-24_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1772 +pr_url: https://github.com/stripe/stripe-python/pull/1772 is_stripe_api_change: true released_in_version: 15.1.0b1 --- diff --git a/.hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md index 62cf6a14d..21aae2783 100644 --- a/.hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-03-25_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1774 +pr_url: https://github.com/stripe/stripe-python/pull/1774 is_stripe_api_change: true released_in_version: 15.1.0b1 --- diff --git a/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md index 752f19ecc..2f78f812b 100644 --- a/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1777 +pr_url: https://github.com/stripe/stripe-python/pull/1777 is_breaking: true is_stripe_api_change: true released_in_version: 15.2.0b1 diff --git a/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md index fb546cf21..ea2b4c4e7 100644 --- a/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1797 +pr_url: https://github.com/stripe/stripe-python/pull/1797 is_breaking: true is_stripe_api_change: true released_in_version: 15.2.0b2 diff --git a/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md index a21e07c23..d20f0030c 100644 --- a/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1801 +pr_url: https://github.com/stripe/stripe-python/pull/1801 is_breaking: true is_stripe_api_change: true released_in_version: 15.3.0b1 diff --git a/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md index 309464527..d2bb0be74 100644 --- a/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1819 +pr_url: https://github.com/stripe/stripe-python/pull/1819 is_breaking: true is_stripe_api_change: true released_in_version: 15.4.0b1 diff --git a/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md index ade20ffd7..dc8bbb9e2 100644 --- a/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1838 +pr_url: https://github.com/stripe/stripe-python/pull/1838 is_breaking: true is_stripe_api_change: true released_in_version: 15.5.0b1 diff --git a/.hark/changes/2026-08-19_xavdid_add-non-verified.change.md b/.hark/changes/2026-08-19_xavdid_add-non-verified.change.md index 221633273..124d053e2 100644 --- a/.hark/changes/2026-08-19_xavdid_add-non-verified.change.md +++ b/.hark/changes/2026-08-19_xavdid_add-non-verified.change.md @@ -1,5 +1,5 @@ --- title: Add non-verified methods to managed handlers -pr_link: https://github.com/stripe/stripe-python/pull/1878 +pr_url: https://github.com/stripe/stripe-python/pull/1878 released_in_version: 15.7.0b1 --- diff --git a/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md index 213e7e678..e554ce556 100644 --- a/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md @@ -1,6 +1,6 @@ --- title: Update generated code for beta -pr_link: https://github.com/stripe/stripe-python/pull/1858 +pr_url: https://github.com/stripe/stripe-python/pull/1858 is_breaking: true is_stripe_api_change: true released_in_version: 15.7.0b1 From 2b1bab25c69b7aaa769574cf42d3950a6947bd55 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Fri, 11 Sep 2026 20:32:17 -0700 Subject: [PATCH 05/11] record language and channel in versions.json metadata --- .hark/versions.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.hark/versions.json b/.hark/versions.json index 82df06cf5..02bc9c623 100644 --- a/.hark/versions.json +++ b/.hark/versions.json @@ -1,4 +1,8 @@ { + "metadata": { + "language": "python", + "channel": "beta" + }, "versions": [ { "version": "15.7.0b1", From 33aaaf204cafd159450f3c805e0ecd9600da5c3a Mon Sep 17 00:00:00 2001 From: David Brownman Date: Fri, 11 Sep 2026 22:41:32 -0700 Subject: [PATCH 06/11] rename versions.json to releases.json --- .hark/{versions.json => releases.json} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .hark/{versions.json => releases.json} (99%) diff --git a/.hark/versions.json b/.hark/releases.json similarity index 99% rename from .hark/versions.json rename to .hark/releases.json index 02bc9c623..d8a8c2741 100644 --- a/.hark/versions.json +++ b/.hark/releases.json @@ -3,7 +3,7 @@ "language": "python", "channel": "beta" }, - "versions": [ + "releases": [ { "version": "15.7.0b1", "released_on": "2026-08-26", From b811ea783cbc30ff7a7627f900d98f7cda85b02d Mon Sep 17 00:00:00 2001 From: David Brownman Date: Sun, 13 Sep 2026 02:36:18 -0700 Subject: [PATCH 07/11] regenerate changelogs; pad short versions --- CHANGELOG.md | 254 +++++++++++++++++++++++++-------------------------- 1 file changed, 127 insertions(+), 127 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a77b3b7f..c8cf7c966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ Instead, edit a corresponding `.change.md` file and run `hark build`. > This changelog only covers the **public preview** releases. Each release builds on the most recent GA release; see those notes in [the GA changelog](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md). -## 15.7.0b1 - 2026-08-26 +## 15.7.0b1 - 2026-08-26 This release changes the pinned API version to `2026-08-26.preview`. * [#1878](https://github.com/stripe/stripe-python/pull/1878) Add non-verified methods to managed handlers @@ -36,7 +36,7 @@ This release changes the pinned API version to `2026-08-26.preview`. * Add support for error codes `authentication_failure`, `capability_not_active`, `expired_payment_method`, `incorrect_postal_code`, `invalid_canceled_subscription_fields`, and `payment_method_restricted` on `QuotePreviewInvoice.LastFinalizationError` * Add support for error code `default_payout_method_cannot_be_disabled` on `CannotProceedError` -## 15.5.0b1 - 2026-07-29 +## 15.5.0b1 - 2026-07-29 This release changes the pinned API version to `2026-07-29.preview`. * ⚠️ [#1838](https://github.com/stripe/stripe-python/pull/1838) Update generated code for beta @@ -66,7 +66,7 @@ This release changes the pinned API version to `2026-07-29.preview`. * ⚠️ Change `V2.MoneyManagement.ReceivedDebit.BankTransfer.us_bank_account` to be optional * Add support for error codes `us_bank_account_microdeposits_cannot_be_confirmed` and `us_bank_account_microdeposits_cannot_be_sent` on `ControlledByAlternateResourceError` -## 15.4.0b1 - 2026-06-24 +## 15.4.0b1 - 2026-06-24 This release changes the pinned API version to `2026-06-24.preview`. * ⚠️ [#1819](https://github.com/stripe/stripe-python/pull/1819) Update generated code for beta @@ -109,7 +109,7 @@ This release changes the pinned API version to `2026-06-24.preview`. * Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `QuotePreviewInvoice.LastFinalizationError` * Add support for error code `default_us_bank_account_cannot_be_archived` on `CannotProceedError` -## 15.3.0b1 - 2026-05-27 +## 15.3.0b1 - 2026-05-27 This release changes the pinned API version to `2026-05-27.preview`. * ⚠️ [#1801](https://github.com/stripe/stripe-python/pull/1801) Update generated code for beta @@ -132,7 +132,7 @@ This release changes the pinned API version to `2026-05-27.preview`. * Add support for new value `chaps` on enum `v2.FinancialAddressCreditSimulationCreditParams.network` * Add support for error codes `payment_method_microdeposit_processing_error` and `siret_invalid` on `QuotePreviewInvoice.LastFinalizationError` -## 15.2.0b2 - 2026-04-24 +## 15.2.0b2 - 2026-04-24 * ⚠️ [#1797](https://github.com/stripe/stripe-python/pull/1797) Update generated code for beta * Add support for new resources `v2.commerce.ProductCatalogImport`, `v2.data.reporting.QueryRun`, `v2.extend.WorkflowRun`, `v2.extend.Workflow`, `v2.iam.ActivityLog`, `v2.network.BusinessProfile`, and `v2.orchestrated_commerce.Agreement` * Add support for `confirm`, `create`, `list`, `retrieve`, and `terminate` methods on resource `v2.orchestrated_commerce.Agreement` @@ -161,7 +161,7 @@ This release changes the pinned API version to `2026-05-27.preview`. * Add support for event notifications `V2OrchestratedCommerceAgreementConfirmedEvent`, `V2OrchestratedCommerceAgreementCreatedEvent`, `V2OrchestratedCommerceAgreementPartiallyConfirmedEvent`, and `V2OrchestratedCommerceAgreementTerminatedEvent` with related object `v2.orchestrated_commerce.Agreement` * Add support for error type `CannotProceedError` -## 15.2.0b1 - 2026-04-23 +## 15.2.0b1 - 2026-04-23 This release changes the pinned API version to `2026-04-22.preview`. * ⚠️ [#1777](https://github.com/stripe/stripe-python/pull/1777) Update generated code for beta @@ -190,10 +190,10 @@ This release changes the pinned API version to `2026-04-22.preview`. * Add support for `purpose` on `Treasury.OutboundPayment` and `treasury.OutboundPaymentCreateParams` * Add support for error codes `action_blocked` and `approval_required` on `QuotePreviewInvoice.LastFinalizationError` -## 15.1.0b2 - 2026-04-01 +## 15.1.0b2 - 2026-04-01 * Please refer to the changelog for [v15.0.1](https://github.com/stripe/stripe-python/blob/v15.0.1/CHANGELOG.md#1501---2026-04-01) -## 15.1.0b1 - 2026-03-25 +## 15.1.0b1 - 2026-03-25 This release changes the pinned API version to `2026-03-25.preview`. It is built on top of SDK version 15.0.0 which contains breaking changes. Please review the [changelog for 15.0.0](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#1500---2026-03-25) if upgrading from older SDK versions. @@ -246,7 +246,7 @@ It is built on top of SDK version 15.0.0 which contains breaking changes. Please * Release specs are identical. * [#1774](https://github.com/stripe/stripe-python/pull/1774) Update generated code for beta -## 14.5.0b1 - 2026-02-25 +## 14.5.0b1 - 2026-02-25 This release changes the pinned API version to `2026-02-25.preview`. * [#1727](https://github.com/stripe/stripe-python/pull/1727) Update generated code for beta @@ -262,7 +262,7 @@ This release changes the pinned API version to `2026-02-25.preview`. * Change `V2.MoneyManagement.Transaction.flow` and `V2.MoneyManagement.TransactionEntry.TransactionDetail.flow` to be optional * Add support for error codes `storer_capability_missing` and `storer_capability_not_active` on `QuotePreviewInvoice.LastFinalizationError` -## 14.4.0b1 - 2026-01-28 +## 14.4.0b1 - 2026-01-28 This release changes the pinned API version to `2026-01-28.preview`. * [#1701](https://github.com/stripe/stripe-python/pull/1701) Add EventNotificationHandler example @@ -298,7 +298,7 @@ This release changes the pinned API version to `2026-01-28.preview`. * Add support for error code `invalid_payout_method_data` on `InvalidPayoutMethodError` * Add support for error code `limit_payout_method` on `QuotaExceededError` -## 14.2.0b1 - 2025-12-16 +## 14.2.0b1 - 2025-12-16 This release changes the pinned API version to `2025-12-15.preview`. * [#1653](https://github.com/stripe/stripe-python/pull/1653) Add EventNotificationHandler @@ -344,7 +344,7 @@ This release changes the pinned API version to `2025-12-15.preview`. * Remove support for error type `RateLimitError` * Add support for error code `account_token_required_for_v2_account` on `QuotePreviewInvoice.LastFinalizationError` -## 14.1.0b1 - 2025-11-18 +## 14.1.0b1 - 2025-11-18 This release changes the pinned API version to `2025-11-17.preview`. * [#1663](https://github.com/stripe/stripe-python/pull/1663) Update generated code for beta @@ -379,7 +379,7 @@ This release changes the pinned API version to `2025-11-17.preview`. * Add support for thin event `V2CoreHealthEventGenerationFailureResolvedEvent` * Remove support for thin events `V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent`, `V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent`, `V2PaymentsOffSessionPaymentCanceledEvent`, `V2PaymentsOffSessionPaymentCreatedEvent`, `V2PaymentsOffSessionPaymentFailedEvent`, `V2PaymentsOffSessionPaymentRequiresCaptureEvent`, and `V2PaymentsOffSessionPaymentSucceededEvent` with related object `v2.payments.OffSessionPayment` -## 13.2.0b1 - 2025-10-29 +## 13.2.0b1 - 2025-10-29 This release changes the pinned API version to `2025-10-29.preview`. * [#1617](https://github.com/stripe/stripe-python/pull/1617) Update generated code for beta @@ -414,12 +414,12 @@ This release changes the pinned API version to `2025-10-29.preview`. * [#1655](https://github.com/stripe/stripe-python/pull/1655) Update generated code for beta * Add support for `crypto_storer` on `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` -## 13.1.1b1 - 2025-10-03 +## 13.1.1b1 - 2025-10-03 * [#1617](https://github.com/stripe/stripe-python/pull/1617) Update generated code for beta * Add support for `last_seen_at` on `Terminal.Reader` * Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.api_version` -## 13.1.0b1 - 2025-09-30 +## 13.1.0b1 - 2025-09-30 This release changes the pinned API version to `2025-09-30.preview`. It is built on top of SDK version 13.0.0 which contains breaking changes. Please review the [changelog for 13.0.0](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md#1300---2025-09-30) if upgrading from older SDK versions. @@ -486,7 +486,7 @@ It is built on top of SDK version 13.0.0 which contains breaking changes. Please * Add support for `billing_cadence_details` on `Invoice.Parent` and `QuotePreviewInvoice.Parent` * Add support for new value `billing_cadence_details` on enums `Invoice.Parent.type` and `QuotePreviewInvoice.Parent.type` -## 12.6.0b1 - 2025-08-27 +## 12.6.0b1 - 2025-08-27 This release changes the pinned API version to `2025-08-27.preview`. * [#1542](https://github.com/stripe/stripe-python/pull/1542) Update generated code for beta @@ -523,12 +523,12 @@ This release changes the pinned API version to `2025-08-27.preview`. * Add support for `reader_security` on `Terminal.Configuration`, `terminal.Configuration.CreateParams`, and `terminal.Configuration.ModifyParams` * Add support for error codes `customer_session_expired` and `india_recurring_payment_mandate_canceled` on `QuotePreviewInvoice.LastFinalizationError` -## 12.5.0b2 - 2025-08-08 +## 12.5.0b2 - 2025-08-08 * [#1545](https://github.com/stripe/stripe-python/pull/1545) Bring back invoice payments APIs that were missing in the public preview SDKs * Add support for new resource `InvoicePayment` * Add support for `list` and `retrieve` methods on resource `InvoicePayment` -## 12.5.0b1 - 2025-07-30 +## 12.5.0b1 - 2025-07-30 This release changes the pinned API version to `2025-07-30.preview`. * [#1535](https://github.com/stripe/stripe-python/pull/1535) Update generated code for beta @@ -556,7 +556,7 @@ This release changes the pinned API version to `2025-07-30.preview`. * Remove support for thin event `V2CoreAccountLinkCompletedEvent` * Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `v2.payments.OffSessionPayment` -## 12.4.0b2 - 2025-07-09 +## 12.4.0b2 - 2025-07-09 * [#1536](https://github.com/stripe/stripe-python/pull/1536) Pull in V2 FinancialAccount changes for June release * Add support for `close` and `create` methods on resource `v2.money_management.FinancialAccount` * Add support for new value `storer` on enums `V2.Core.Account.applied_configurations` and `v2.core.Account.CloseParams.applied_configurations` @@ -569,7 +569,7 @@ This release changes the pinned API version to `2025-07-30.preview`. * Add support for thin events `V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationStorerUpdatedEvent` with related object `v2.core.Account` * Add support for error types `AlreadyExistsError` and `NonZeroBalanceError` -## 12.4.0b1 - 2025-07-01 +## 12.4.0b1 - 2025-07-01 This release changes the pinned API version to `2025-06-30.preview`. * [#1520](https://github.com/stripe/stripe-python/pull/1520) Update generated code for beta @@ -608,10 +608,10 @@ This release changes the pinned API version to `2025-06-30.preview`. * Add support for error code `recipient_email_does_not_exist` on `RecipientNotNotifiableError` * Remove support for error code `outbound_payment_recipient_email_does_not_exist` on `RecipientNotNotifiableError` -## 12.3.0b2 - 2025-06-26 +## 12.3.0b2 - 2025-06-26 * [#1531](https://github.com/stripe/stripe-python/pull/1531) Pull in OffSessionPayment changes for the May release -## 12.3.0b1 - 2025-05-29 +## 12.3.0b1 - 2025-05-29 This release changes the pinned API version to `2025-05-28.preview`. * [#1509](https://github.com/stripe/stripe-python/pull/1509) Update generated code for beta @@ -658,7 +658,7 @@ This release changes the pinned API version to `2025-05-28.preview`. * Add support for `confirm_config` on `Terminal.Reader.Action.ConfirmPaymentIntent` and `terminal.Reader.ConfirmPaymentIntentParams` * Add support for error code `forwarding_api_upstream_error` on `QuotePreviewInvoice.LastFinalizationError` -## 12.2.0b1 - 2025-04-30 +## 12.2.0b1 - 2025-04-30 This release changes the pinned API version to `2025-04-30.preview`. * [#1498](https://github.com/stripe/stripe-python/pull/1498) Update generated code for beta @@ -675,7 +675,7 @@ This release changes the pinned API version to `2025-04-30.preview`. * Add support for new value `balance_settings.updated` on enum `Event.type` * Add support for new value `balance_settings.updated` on enums `WebhookEndpoint.ModifyParams.enabled_events` and `WebhookEndpointService.UpdateParams.enabled_events` -## 12.1.0b3 - 2025-04-17 +## 12.1.0b3 - 2025-04-17 * [#1495](https://github.com/stripe/stripe-python/pull/1495) Update generated code for beta * Add support for new resources `FxQuote` and `PaymentIntentAmountDetailsLineItem` * Add support for `create`, `list`, and `retrieve` methods on resource `FxQuote` @@ -698,7 +698,7 @@ This release changes the pinned API version to `2025-04-30.preview`. * Add support for new value `fx_quote.expired` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.UpdateParams.enabled_events` * Add support for snapshot event `fx_quote.expired` with resource `FxQuote` -## 12.1.0b2 - 2025-04-10 +## 12.1.0b2 - 2025-04-10 * [#1490](https://github.com/stripe/stripe-python/pull/1490) Handle external account - Changes `external_account` field in `external_account_service.create` from `string` to a union type. * [#1489](https://github.com/stripe/stripe-python/pull/1489) Update generated code for beta @@ -722,7 +722,7 @@ This release changes the pinned API version to `2025-04-30.preview`. * Add support for `in` on `TaxRegistration.CountryOption` and `tax.Registration.CreateParamsCountryOption` * Add support for new values `privacy.redaction_job.canceled`, `privacy.redaction_job.created`, `privacy.redaction_job.ready`, `privacy.redaction_job.succeeded`, and `privacy.redaction_job.validation_error` on enums `WebhookEndpoint.CreateParams.enabled_events` and `WebhookEndpoint.UpdateParams.enabled_events` -## 12.1.0b1 - 2025-04-02 +## 12.1.0b1 - 2025-04-02 This release changes the pinned API version to `2025-03-31.preview`. #### New APIs for Accounts v2 in private preview @@ -812,14 +812,14 @@ See [SaaS platform payments with subscription billing using Accounts v2](https:/ * Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2.MoneyManagement.InboundTransfer` * Add support for `retrieve` method on resource `V2.MoneyManagement.PayoutMethodsBankAccountSpec` -## 11.7.0b1 - 2025-03-18 +## 11.7.0b1 - 2025-03-18 This release changes the pinned API version to `2025-02-24.acacia`. * [#1469](https://github.com/stripe/stripe-python/pull/1469) Beta SDK updates between Open API versions 1473 and 1505 * Add support for `target_date` on parameter classes `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit`, `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit`, and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit` and resource classes `stripe.Order.Payment.Settings.PaymentMethodOptions.AcssDebit` and `stripe.Order.Payment.Settings.PaymentMethodOptions.SepaDebit` * Add support for `succeed_input_collection` and `timeout_input_collection` on resource `stripe.terminal.Reader` -## 11.6.0b1 - 2025-02-07 +## 11.6.0b1 - 2025-02-07 * [#1449](https://github.com/stripe/stripe-python/pull/1449) Update generated code for beta * Add support for `rejected_reason` on resource class `stripe.Account.RiskControls` * Add support for `product_tax_code_selector` on parameter class `stripe.AccountSession.CreateParamsComponents` @@ -829,11 +829,11 @@ This release changes the pinned API version to `2025-02-24.acacia`. * Change type of `political_exposure` on `stripe.Account.CreatePersonParams`, `stripe.Account.ModifyPersonParams`, and `stripe.Token.CreateParamsPerson` from `str` to `Literal['existing', 'none']` * Change type of `price_type` on `stripe.billing.CreditGrant.ApplicabilityConfig.Scope` from `Literal['metered']` to `Optional[Literal['metered']]` -## 11.5.0b3 - 2025-01-23 +## 11.5.0b3 - 2025-01-23 * [#1447](https://github.com/stripe/stripe-python/pull/1447) Update generated code for beta * Remove support for `stripe_account` on resource classes `stripe.terminal.Reader.Action.CollectPaymentMethod`, `stripe.terminal.Reader.Action.ConfirmPaymentIntent`, `stripe.terminal.Reader.Action.ProcessPaymentIntent`, and `stripe.terminal.Reader.Action.RefundPayment` -## 11.5.0b2 - 2025-01-17 +## 11.5.0b2 - 2025-01-17 This release changes the pinned API version to `2025-01-27.acacia`. * [#1439](https://github.com/stripe/stripe-python/pull/1439) Update generated code for beta @@ -851,7 +851,7 @@ This release changes the pinned API version to `2025-01-27.acacia`. * Add support for `pay_by_bank` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, `stripe.PaymentLink.ModifyParams.payment_method_types`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` * Add support for `2025-01-27.acacia` on enum `stripe.WebhookEndpoint.CreateParams.api_version` -## 11.5.0b1 - 2025-01-09 +## 11.5.0b1 - 2025-01-09 * [#1433](https://github.com/stripe/stripe-python/pull/1433) Update generated code for beta * Add support for `directorship_declaration` on resource class `stripe.Account.Company` * Add support for `ownership_exemption_reason` on resource class `stripe.Account.Company` and parameter classes `stripe.Account.CreateParamsCompany` and `stripe.Token.CreateParamsAccountCompany` @@ -873,7 +873,7 @@ This release changes the pinned API version to `2025-01-27.acacia`. * Add support for `outbound_transfer` on enums `stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type` and `stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type` * Change type of `pretax_credit_amounts` on `stripe.CreditNote` and `stripe.CreditNoteLineItem` from `Optional[List[PretaxCreditAmount]]` to `List[PretaxCreditAmount]` -## 11.4.0b3 - 2024-12-12 +## 11.4.0b3 - 2024-12-12 This release changes the pinned API version to `2024-12-18.acacia`. * [#1429](https://github.com/stripe/stripe-python/pull/1429) Update generated code for beta @@ -900,7 +900,7 @@ This release changes the pinned API version to `2024-12-18.acacia`. * Add support for `zw_tin` on enums `stripe.checkout.Session.CollectedInformation.TaxId.type`, `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` * Add support for `network_fallback` on enum `stripe.issuing.Authorization.RequestHistory.reason` -## 11.4.0b2 - 2024-12-05 +## 11.4.0b2 - 2024-12-05 * [#1426](https://github.com/stripe/stripe-python/pull/1426) Update generated code for beta * Add support for `automatic_indirect_tax` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` * Add support for `disabled_reason` on resource classes `stripe.Invoice.AutomaticTax`, `stripe.QuotePreviewInvoice.AutomaticTax`, `stripe.QuotePreviewSubscriptionSchedule.DefaultSettings.AutomaticTax`, `stripe.QuotePreviewSubscriptionSchedule.Phase.AutomaticTax`, `stripe.Subscription.AutomaticTax`, `stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax`, and `stripe.SubscriptionSchedule.Phase.AutomaticTax` @@ -909,7 +909,7 @@ This release changes the pinned API version to `2024-12-18.acacia`. * Add support for `payout_minimum_balance_hold` on enum `stripe.BalanceTransaction.type` * Add support for `payout_minimum_balance_release` on enum `stripe.BalanceTransaction.type` -## 11.4.0b1 - 2024-11-21 +## 11.4.0b1 - 2024-11-21 * [#1425](https://github.com/stripe/stripe-python/pull/1425) Update generated code for beta * Add support for `network_advice_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.QuotePreviewInvoice.LastFinalizationError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` * Add support for `network_decline_code` on resource classes `stripe.Charge.Outcome`, `stripe.Invoice.LastFinalizationError`, `stripe.PaymentIntent.LastPaymentError`, `stripe.QuotePreviewInvoice.LastFinalizationError`, `stripe.SetupAttempt.SetupError`, and `stripe.SetupIntent.LastSetupError` @@ -925,7 +925,7 @@ This release changes the pinned API version to `2024-12-18.acacia`. * Change type of `schedule_at_period_end` on `stripe.billing_portal.Configuration.Features.SubscriptionUpdate` from `Optional[ScheduleAtPeriodEnd]` to `ScheduleAtPeriodEnd` * Add support for `invoice.overpaid` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` -## 11.3.0b3 - 2024-11-14 +## 11.3.0b3 - 2024-11-14 This release changes the pinned API version to `2024-11-20.acacia`. * [#1422](https://github.com/stripe/stripe-python/pull/1422) Update generated code for beta @@ -934,7 +934,7 @@ This release changes the pinned API version to `2024-11-20.acacia`. * Add support for `account_holder_name` on resource classes `stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei` and `stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei` * Add support for `subscribe` on enum `stripe.PaymentLink.ModifyParams.submit_type` -## 11.3.0b2 - 2024-11-07 +## 11.3.0b2 - 2024-11-07 * [#1421](https://github.com/stripe/stripe-python/pull/1421) Update generated code for beta * Add support for `card_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures` * Add support for `card_spend_dispute_management` on parameter class `stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures` @@ -975,7 +975,7 @@ This release changes the pinned API version to `2024-11-20.acacia`. * Change type of `amount` on `stripe.issuing.Authorization.CreateParams` from `int` to `NotRequired[int]` * Change type of `origin_payment_method` on `stripe.treasury.InboundTransfer` from `str` to `Optional[str]` -## 11.3.0b1 - 2024-10-29 +## 11.3.0b1 - 2024-10-29 This release changes the pinned API version to `2024-10-28.acacia`. * [#1417](https://github.com/stripe/stripe-python/pull/1417) Update generated code for beta @@ -994,7 +994,7 @@ This release changes the pinned API version to `2024-10-28.acacia`. * Change type of `enhanced_eligibility` on `stripe.Dispute.EvidenceDetails` from `Optional[EnhancedEligibility]` to `EnhancedEligibility` * Remove support for `payout_statement_descriptor_profanity` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` -## 11.2.0b3 - 2024-10-18 +## 11.2.0b3 - 2024-10-18 * [#1413](https://github.com/stripe/stripe-python/pull/1413) Update generated code for beta * Add support for `alma_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` * Add support for `gopay_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` @@ -1042,7 +1042,7 @@ This release changes the pinned API version to `2024-10-28.acacia`. * Add support for `external_reference` on enums `stripe.tax.Form.Payee.type` and `stripe.tax.Form.ListParamsPayee.type` * Remove support for `expired` on enums `stripe.issuing.Authorization.status` and `stripe.issuing.Authorization.ListParams.status` -## 11.2.0b2 - 2024-10-08 +## 11.2.0b2 - 2024-10-08 * [#1396](https://github.com/stripe/stripe-python/pull/1396) Update generated code for beta * Add support for `groups` on parameter class `stripe.Account.CreateParams` and resource `stripe.Account` * Add support for `disable_stripe_user_authentication` on resource classes `stripe.AccountSession.Components.AccountManagement.Features`, `stripe.AccountSession.Components.AccountOnboarding.Features`, `stripe.AccountSession.Components.Balances.Features`, `stripe.AccountSession.Components.NotificationBanner.Features`, and `stripe.AccountSession.Components.Payouts.Features` and parameter classes `stripe.AccountSession.CreateParamsComponentsAccountManagementFeatures`, `stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures`, `stripe.AccountSession.CreateParamsComponentsBalancesFeatures`, `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures`, `stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures`, and `stripe.AccountSession.CreateParamsComponentsPayoutsFeatures` @@ -1066,7 +1066,7 @@ This release changes the pinned API version to `2024-10-28.acacia`. * Add support for `expired` on enums `stripe.issuing.Authorization.status` and `stripe.issuing.Authorization.ListParams.status` * Add support for `state_retail_delivery_fee` on enums `stripe.tax.Registration.CountryOptions.Us.type` and `stripe.tax.Registration.CreateParamsCountryOptionsUs.type` -## 11.2.0b1 - 2024-10-03 +## 11.2.0b1 - 2024-10-03 This release changes the pinned API version to `2024-09-30.acacia`. * [#1407](https://github.com/stripe/stripe-python/pull/1407) Updates beta branch with changes in master & update generated code @@ -1077,7 +1077,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Move `raw_request` and related methods from `_raw_request` module to the `StripeClient` class * Remove `_preview` module; use raw request methods in the `StripeClient` class instead -## 10.13.0b1 - 2024-09-18 +## 10.13.0b1 - 2024-09-18 * [#1395](https://github.com/stripe/stripe-python/pull/1395) Update generated code for beta * Add support for `send_money` on parameter class `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures` * Add support for `transfer_balance` on parameter class `stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures` @@ -1086,7 +1086,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Add support for `rechnung` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` * Add support for `terminal_reader_invalid_location_for_activation` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.12.0b1 - 2024-09-13 +## 10.12.0b1 - 2024-09-13 * [#1389](https://github.com/stripe/stripe-python/pull/1389) Update generated code for beta * Add support for `template` on resource class `stripe.QuotePreviewInvoice.Rendering` * Add support for resource `stripe.issuing.DisputeSettlementDetail` @@ -1099,7 +1099,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Add support for `issuing_settlement.created` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` * Add support for `issuing_settlement.updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` -## 10.11.0b1 - 2024-09-05 +## 10.11.0b1 - 2024-09-05 * [#1380](https://github.com/stripe/stripe-python/pull/1380) Update generated code for beta * Add support for `email` on resource class `stripe.checkout.Session.CollectedInformation` * Add support for `phone` on resource class `stripe.checkout.Session.CollectedInformation` @@ -1116,7 +1116,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Add support for `billing.meter_error_report.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` * Add support for `mb_way` on enums `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` -## 10.9.0b2 - 2024-08-22 +## 10.9.0b2 - 2024-08-22 * [#1377](https://github.com/stripe/stripe-python/pull/1377) Update generated code for beta * Add support for `mb_way_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` * Add support for `mb_way` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` @@ -1128,14 +1128,14 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Remove support for `partner_rejected` on enum `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status` * Remove support for `submitted` on enum `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status` -## 10.9.0b1 - 2024-08-15 +## 10.9.0b1 - 2024-08-15 * [#1375](https://github.com/stripe/stripe-python/pull/1375) Update generated code for beta * Add support for `capital_financing` on parameter class `stripe.AccountSession.CreateParamsComponents` * Add support for `permissions` on parameter class `stripe.checkout.Session.CreateParams` and resource `stripe.checkout.Session` * Add support for `collected_information` on parameter class `stripe.checkout.Session.ModifyParams` and resource `stripe.checkout.Session` * Add support for `shipping_options` on parameter class `stripe.checkout.Session.ModifyParams` -## 10.8.0b1 - 2024-08-12 +## 10.8.0b1 - 2024-08-12 * ⚠️ [#1372](https://github.com/stripe/stripe-python/pull/1372) Update generated code for beta * Add support for `capital_financing` on resource class `stripe.AccountSession.Components` * Add support for `payto` on parameter class `stripe.checkout.Session.CreateParamsPaymentMethodOptions` and resource class `stripe.checkout.Session.PaymentMethodOptions` @@ -1144,7 +1144,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Add support for `payto` on enums `stripe.checkout.Session.CreateParams.payment_method_types`, `stripe.PaymentLink.payment_method_types`, `stripe.PaymentLink.CreateParams.payment_method_types`, and `stripe.PaymentLink.ModifyParams.payment_method_types` * Add support for `invalid_mandate_reference_prefix_format` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.7.0b1 - 2024-08-01 +## 10.7.0b1 - 2024-08-01 * [#1370](https://github.com/stripe/stripe-python/pull/1370) Update generated code for beta * Add support for `app_install` on parameter class `stripe.AccountSession.CreateParamsComponents` * Add support for `app_viewport` on parameter class `stripe.AccountSession.CreateParamsComponents` @@ -1158,7 +1158,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Add support for `lines_invalid` on enum `stripe.Quote.StatusDetails.Stale.LastReason.type` * Add support for `charge_exceeds_transaction_limit` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.6.0b1 - 2024-07-25 +## 10.6.0b1 - 2024-07-25 * [#1361](https://github.com/stripe/stripe-python/pull/1361) Update generated code for beta * Add support for `capital` on parameter class `stripe.Account.CreateParamsSettings` and resource class `stripe.Account.Settings` * Add support for `payment` on resource `stripe.InvoicePayment` @@ -1175,7 +1175,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Add support for `billing.alert.triggered` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events` * Add support for `multibanco` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` -## 10.4.0b1 - 2024-07-11 +## 10.4.0b1 - 2024-07-11 * [#1356](https://github.com/stripe/stripe-python/pull/1356) Update generated code for beta * Change type of `payment_element` on `stripe.CustomerSession.Components` from `Optional[PaymentElement]` to `PaymentElement` * Add support for `not_qualified` on enum `stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status` @@ -1185,7 +1185,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Remove support for `billing_policy_remote_function_unreachable` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` * Remove support for `payment_intent_fx_quote_invalid` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.3.0b1 - 2024-07-05 +## 10.3.0b1 - 2024-07-05 * ⚠️ [#1355](https://github.com/stripe/stripe-python/pull/1355) Update generated code for beta * ⚠️ Remove support for `payment_method_update` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures`. Users are expected to completely migrate from using payment_method_update. * Add support for `payment_method_allow_redisplay_filters`, `payment_method_redisplay`, `payment_method_save_usage` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures` @@ -1195,7 +1195,7 @@ This release changes the pinned API version to `2024-09-30.acacia`. * Add support for `financial_connections_institution_unavailable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` * Add support for `payment_intent_fx_quote_invalid` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 10.2.0b1 - 2024-06-27 +## 10.2.0b1 - 2024-06-27 This release changes the pinned API version to `2024-06-20`. * [#1349](https://github.com/stripe/stripe-python/pull/1349) Update generated code for beta @@ -1203,34 +1203,34 @@ This release changes the pinned API version to `2024-06-20`. * Remove support for `payment_method_set_as_default` on resource class `stripe.CustomerSession.Components.PaymentElement.Features` and parameter class `stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures` * Add support for `ch_uid` on enums `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` -## 9.12.0b1 - 2024-06-13 +## 9.12.0b1 - 2024-06-13 * [#1343](https://github.com/stripe/stripe-python/pull/1343) Update generated code for beta * Add support for `de_stn` on enums `stripe.Order.TaxDetails.TaxId.type`, `stripe.Order.CreateParamsTaxDetailsTaxId.type`, `stripe.Order.ModifyParamsTaxDetailsTaxId.type`, and `stripe.QuotePreviewInvoice.CustomerTaxId.type` -## 9.11.0b1 - 2024-06-06 +## 9.11.0b1 - 2024-06-06 * [#1339](https://github.com/stripe/stripe-python/pull/1339) Update generated code for beta * Add support for `twint` on parameter classes `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions` and resource class `stripe.PaymentIntent.PaymentMethodOptions` * Add support for `swish` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` -## 9.10.0b1 - 2024-05-30 +## 9.10.0b1 - 2024-05-30 * [#1334](https://github.com/stripe/stripe-python/pull/1334) Update generated code for beta * Add support for `en-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` * Add support for `ro-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` -## 9.9.0b1 - 2024-05-23 +## 9.9.0b1 - 2024-05-23 * [#1331](https://github.com/stripe/stripe-python/pull/1331) Update generated code for beta * Change type of `refund` on `stripe.CreditNote.CreateParamsRefund`, `stripe.CreditNote.PreviewParamsRefund`, and `stripe.CreditNote.PreviewLinesParamsRefund` from `str` to `NotRequired[str]` * Add support for `terminal_reader_invalid_location_for_payment` on enum `stripe.QuotePreviewInvoice.LastFinalizationError.code` -## 9.8.0b1 - 2024-05-16 +## 9.8.0b1 - 2024-05-16 * [#1330](https://github.com/stripe/stripe-python/pull/1330) (beta) swap from `black` to `ruff` for formatting * [#1327](https://github.com/stripe/stripe-python/pull/1327) Update generated code for beta -## 9.7.0b1 - 2024-05-09 +## 9.7.0b1 - 2024-05-09 * [#1321](https://github.com/stripe/stripe-python/pull/1321) Update generated code for beta * No new beta features. Merging changes from the main branch. -## 9.6.0b1 - 2024-05-02 +## 9.6.0b1 - 2024-05-02 * [#1318](https://github.com/stripe/stripe-python/pull/1318) Update generated code for beta * Add support for `rechnung_payments` on resource class `stripe.Account.Capabilities` and parameter class `stripe.Account.CreateParamsCapabilities` * Add support for `rechnung` on resource classes `stripe.Charge.PaymentMethodDetails`, `stripe.ConfirmationToken.PaymentMethodPreview`, and `stripe.PaymentIntent.PaymentMethodOptions`, parameter classes `stripe.ConfirmationToken.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions`, `stripe.PaymentIntent.CreateParamsPaymentMethodData`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptions`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData`, `stripe.PaymentIntent.ModifyParamsPaymentMethodOptions`, `stripe.PaymentMethod.CreateParams`, `stripe.PaymentMethod.ModifyParams`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData`, `stripe.SetupIntent.CreateParamsPaymentMethodData`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData`, and resource `stripe.PaymentMethod` @@ -1239,14 +1239,14 @@ This release changes the pinned API version to `2024-06-20`. * Add support for `rechnung` on enums `stripe.ConfirmationToken.PaymentMethodPreview.type`, `stripe.ConfirmationToken.CreateParamsPaymentMethodData.type`, `stripe.Customer.ListPaymentMethodsParams.type`, `stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type`, `stripe.PaymentIntent.CreateParamsPaymentMethodData.type`, `stripe.PaymentIntent.ModifyParamsPaymentMethodData.type`, `stripe.PaymentMethod.type`, `stripe.PaymentMethod.CreateParams.type`, `stripe.PaymentMethod.ListParams.type`, `stripe.SetupIntent.ConfirmParamsPaymentMethodData.type`, `stripe.SetupIntent.CreateParamsPaymentMethodData.type`, and `stripe.SetupIntent.ModifyParamsPaymentMethodData.type` * Change type of `transactions` on `stripe.gift_cards.Card` from `ListObject[Transaction]` to `Optional[ListObject[Transaction]]` -## 9.5.0b1 - 2024-04-25 +## 9.5.0b1 - 2024-04-25 * [#1308](https://github.com/stripe/stripe-python/pull/1308) Update generated code for beta * Add support for `payment_method_settings` on parameter class `stripe.AccountSession.CreateParamsComponents` * Add support for `cancel_subscription_schedule` on parameter classes `stripe.Quote.CreateParamsLine` and `stripe.Quote.ModifyParamsLine` and resource `stripe.QuoteLine` * Add support for `amazon_pay` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` * Add support for `revolut_pay` on enum `stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types` -## 9.4.0b1 - 2024-04-18 +## 9.4.0b1 - 2024-04-18 * [#1302](https://github.com/stripe/stripe-python/pull/1302) Update generated code for beta * Add support for `balances` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` * Add support for `payouts_list` on resource class `stripe.AccountSession.Components` and parameter class `stripe.AccountSession.CreateParamsComponents` @@ -1266,7 +1266,7 @@ This release changes the pinned API version to `2024-06-20`. * Add support for `mobilepay` on enum `stripe.checkout.Session.CreateParams.payment_method_types` * Add support for `other` on enums `stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit`, `stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit`, and `stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit` -## 9.2.0b1 - 2024-04-11 +## 9.2.0b1 - 2024-04-11 This release changes the pinned API version to `2024-04-10`. * [#1296](https://github.com/stripe/stripe-python/pull/1296) Update generated code for beta @@ -1290,7 +1290,7 @@ This release changes the pinned API version to `2024-04-10`. * Add support for `billing_policy_remote_function_unexpected_status_code` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` * Add support for `billing_policy_remote_function_unreachable` on enums `stripe.Invoice.LastFinalizationError.code`, `stripe.PaymentIntent.LastPaymentError.code`, `stripe.QuotePreviewInvoice.LastFinalizationError.code`, `stripe.SetupAttempt.SetupError.code`, and `stripe.SetupIntent.LastSetupError.code` -## 8.11.0b1 - 2024-04-04 +## 8.11.0b1 - 2024-04-04 * [#1293](https://github.com/stripe/stripe-python/pull/1293) Update generated code for beta * Add support for `risk_controls` on parameter class `stripe.Account.CreateParams` and resource `stripe.Account` * Add support for `promotion_code` on parameter classes `stripe.Invoice.AddLinesParamsLineDiscount`, `stripe.Invoice.CreateParamsDiscount`, `stripe.Invoice.ModifyParamsDiscount`, `stripe.Invoice.UpdateLinesParamsLineDiscount`, `stripe.InvoiceItem.CreateParamsDiscount`, `stripe.InvoiceItem.ModifyParamsDiscount`, `stripe.InvoiceLineItem.ModifyParamsDiscount`, `stripe.Quote.CreateParamsDiscount`, `stripe.Quote.CreateParamsLineActionAddDiscount`, `stripe.Quote.CreateParamsLineItemDiscount`, `stripe.Quote.CreateParamsPhaseLineItemDiscount`, `stripe.Quote.ModifyParamsDiscount`, `stripe.Quote.ModifyParamsLineActionAddDiscount`, `stripe.Quote.ModifyParamsLineItemDiscount`, and `stripe.Quote.ModifyParamsPhaseLineItemDiscount` @@ -1321,19 +1321,19 @@ This release changes the pinned API version to `2024-04-10`. * Change type of field `stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode` from `Optional[QrCode]` to `QrCode` of `qr_code` * Change type of fields `stripe.QuoteLine.Action.AddItem`, `stripe.QuoteLine.Action.SetItem`, `stripe.QuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem`, `stripe.QuotePreviewSubscriptionSchedule.Phase.Item`, `stripe.QuotePreviewSubscriptionSchedule.Phase`, `stripe.SubscriptionSchedule.Phase.AddInvoiceItem`, `stripe.SubscriptionSchedule.Phase.Item`, and `stripe.SubscriptionSchedule.Phase` from `Optional[List[Discount]]` to `List[Discount]` of `discounts` -## 8.10.0b1 - 2024-03-28 +## 8.10.0b1 - 2024-03-28 * [#1283](https://github.com/stripe/stripe-python/pull/1283) Fix unneccessary quotes * [#1277](https://github.com/stripe/stripe-python/pull/1277) Update generated code for beta * Add support for `financial_account_transactions`, `financial_account`, `issuing_card`, and `issuing_cards_list` on `AccountSession.CreateParamsComponents` and `AccountSessionService.CreateParamsComponents` * Remove support for `subscription_billing_cycle_anchor`, `subscription_cancel_at_period_end`, `subscription_cancel_at`, `subscription_cancel_now`, `subscription_default_tax_rates`, `subscription_items`, `subscription_prebilling`, `subscription_proration_behavior`, `subscription_proration_date`, `subscription_resume_at`, `subscription_start_date`, and `subscription_trial_end` on `Invoice.CreatePreviewParams` and `InvoiceService.CreatePreviewParams` -## 8.9.0b1 - 2024-03-21 +## 8.9.0b1 - 2024-03-21 * [#1271](https://github.com/stripe/stripe-python/pull/1271) Support AIOHTTPClient init without running event loop * [#1272](https://github.com/stripe/stripe-python/pull/1272) Update generated code for beta * Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement` * Add support for `list` method on resource `ActiveEntitlement` -## 8.8.0b1 - 2024-03-14 +## 8.8.0b1 - 2024-03-14 * [#1266](https://github.com/stripe/stripe-python/pull/1266) Beta: record usage of async interface * [#1270](https://github.com/stripe/stripe-python/pull/1270) Update generated code for beta * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` @@ -1342,45 +1342,45 @@ This release changes the pinned API version to `2024-04-10`. * Add support for `create` test helper method on resource `ConfirmationToken` * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice` -## 8.7.0b1 - 2024-03-07 +## 8.7.0b1 - 2024-03-07 * [#1265](https://github.com/stripe/stripe-python/pull/1265) Update generated code for beta * Add support for new value `billing_period_end` on enums `Quote.CreateParamsLineEndsAt.type`, `QuoteLine.EndsAt.type`, and `Quote.ModifyParamsLineEndsAt.type` -## 8.6.0b1 - 2024-02-29 +## 8.6.0b1 - 2024-02-29 * [#1259](https://github.com/stripe/stripe-python/pull/1259) Add helper to add beta version * [#1264](https://github.com/stripe/stripe-python/pull/1264) Remove unconditional import of TCPConnector from aiohttp in _http_client * [#1251](https://github.com/stripe/stripe-python/pull/1251) Update generated code for beta * Remove support for resource `Entitlements.Event` -## 8.5.0b3 - 2024-02-27 +## 8.5.0b3 - 2024-02-27 * [#1262](https://github.com/stripe/stripe-python/pull/1262) Beta: fix ssl for AIOHTTP client -## 8.5.0b2 - 2024-02-27 +## 8.5.0b2 - 2024-02-27 * **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](https://github.com/stripe/stripe-python/blob/beta/README.md#async). * [#1253](https://github.com/stripe/stripe-python/pull/1253) Beta: Support 'allow_sync_methods=False' in HTTPXClient * [#1254](https://github.com/stripe/stripe-python/pull/1254) Beta: add AIOHTTP http client * [#1247](https://github.com/stripe/stripe-python/pull/1247) Make `ListObject.auto_paging_iter()` implement `AsyncIterator` -## 8.5.0b1 - 2024-02-22 +## 8.5.0b1 - 2024-02-22 * ⚠️ [#1239](https://github.com/stripe/stripe-python/pull/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. * [#1246](https://github.com/stripe/stripe-python/pull/1246) Update generated code for beta -## 8.4.0b1 - 2024-02-16 +## 8.4.0b1 - 2024-02-16 * [#1233](https://github.com/stripe/stripe-python/pull/1233) Beta: async streaming * [#1236](https://github.com/stripe/stripe-python/pull/1236) Beta: StripeStreamResponseAsync.read helper * [#1235](https://github.com/stripe/stripe-python/pull/1235) Update generated code for beta * Add support for `payto` and `twint` payment methods throughout the API * Add support for `decrement_authorization` method on resource `PaymentIntent` -## 8.3.0b1 - 2024-02-08 +## 8.3.0b1 - 2024-02-08 * [#1228](https://github.com/stripe/stripe-python/pull/1228) Beta: add `_async` methods for StripeClient * [#1226](https://github.com/stripe/stripe-python/pull/1226) Update generated code for beta * Add support for `payment_method_options` on `ConfirmationToken` -## 8.2.0b1 - 2024-02-05 +## 8.2.0b1 - 2024-02-05 * [#1210](https://github.com/stripe/stripe-python/pull/1210) Beta: better support for trio in HTTPClientAsync * Fixes support for `trio` on HttpClientAsync. * [#1209](https://github.com/stripe/stripe-python/pull/1209) Beta: Fix HTTPXClient retries @@ -1391,11 +1391,11 @@ This release changes the pinned API version to `2024-04-10`. * Add support for `create` method on resource `Event` * Add support for `create` and `list` methods on resource `Feature` -## 8.1.0b1 - 2024-01-25 +## 8.1.0b1 - 2024-01-25 * [#1198](https://github.com/stripe/stripe-python/pull/1198) Update generated code for beta * Add support for `create_preview` method on resource `Invoice` -## 7.14.0b1 - 2024-01-18 +## 7.14.0b1 - 2024-01-18 * [#1197](https://github.com/stripe/stripe-python/pull/1197) Update generated code for beta Release specs are identical. * [#1192](https://github.com/stripe/stripe-python/pull/1192) Update generated code for beta @@ -1403,35 +1403,35 @@ This release changes the pinned API version to `2024-04-10`. * Add support for new value `NNBANL2G` on enum `ConfirmationToken.PaymentMethodPreview.Ideal.bic` * Change `Invoice.AutomaticTax.liability`, `Invoice.issuer`, and `Subscription.AutomaticTax.liability` to be required -## 7.13.0b1 - 2024-01-12 +## 7.13.0b1 - 2024-01-12 * [#1165](https://github.com/stripe/stripe-python/pull/1165) Beta: raw_request_async with HTTPX * [#1191](https://github.com/stripe/stripe-python/pull/1191) Beta: report `raw_request` usage * [#1189](https://github.com/stripe/stripe-python/pull/1189) Update generated code for beta -## 7.12.0b1 - 2024-01-04 +## 7.12.0b1 - 2024-01-04 * [#1187](https://github.com/stripe/stripe-python/pull/1187) Update generated code for beta * Updated stable APIs to the latest version -## 7.11.0b1 - 2023-12-22 +## 7.11.0b1 - 2023-12-22 * [#1177](https://github.com/stripe/stripe-python/pull/1177) Update generated code for beta -## 7.10.0b1 - 2023-12-14 +## 7.10.0b1 - 2023-12-14 * [#1164](https://github.com/stripe/stripe-python/pull/1164) Beta: revert broken logger * [#1166](https://github.com/stripe/stripe-python/pull/1166) Update generated code for beta -## 7.9.0b1 - 2023-12-08 +## 7.9.0b1 - 2023-12-08 * [#1163](https://github.com/stripe/stripe-python/pull/1163) Update generated code for beta * Add support for `retrieve` method on resource `FinancialConnections.Transaction` -## 7.8.0b1 - 2023-11-30 +## 7.8.0b1 - 2023-11-30 * [#1148](https://github.com/stripe/stripe-python/pull/1148) Update generated code for beta -## 7.7.0b1 - 2023-11-21 +## 7.7.0b1 - 2023-11-21 * Add support for `components` on parameter class `CustomerSession.CreateParams` and resource `CustomerSession` * Rename `receipient` to `recipient` beneath `PaymentDetails` on `Charge` and `PaymentIntent` APIs.* Add support for `electronic_commerce_indicator` on resource classes `Charge.PaymentMethodDetails.Card.ThreeDSecure` and `SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure` * [#1141](https://github.com/stripe/stripe-python/pull/1141) Update generated code for beta -## 7.6.0b1 - 2023-11-16 +## 7.6.0b1 - 2023-11-16 * [#1128](https://github.com/stripe/stripe-python/pull/1128) Update generated code for beta * Add support for `issuing_card` and `issuing_cards_list` on `AccountSession.CreateParamsComponents` * Add support for `event_details` and `subscription` on `payment_details` types @@ -1440,33 +1440,33 @@ This release changes the pinned API version to `2024-04-10`. * Add support for `passengers` on `payment_details.flight` and `payment_details.lodging` types * Add support for `created` on `CustomerSession` -## 7.5.0b1 - 2023-11-10 +## 7.5.0b1 - 2023-11-10 * [#1120](https://github.com/stripe/stripe-python/pull/1120) Update generated code for beta -## 7.4.0b1 - 2023-11-02 +## 7.4.0b1 - 2023-11-02 * [#1110](https://github.com/stripe/stripe-python/pull/1110) Update generated code for beta * Add support for `attach_payment_intent` method on resource `Invoice` -## 7.2.0b1 - 2023-10-26 +## 7.2.0b1 - 2023-10-26 * [#1107](https://github.com/stripe/stripe-python/pull/1107) Update generated code for beta * Add support for new resource `Margin` * Add support for `create`, `list`, `modify`, and `retrieve` methods on resource `Margin` -## 7.1.0b1 - 2023-10-17 +## 7.1.0b1 - 2023-10-17 This release changes the pinned API version to `2023-10-16`. * [#1083](https://github.com/stripe/stripe-python/pull/1083) Update generated code for beta * [#1084](https://github.com/stripe/stripe-python/pull/1084) Update generated code for beta - Update pinned API version to `2023-10-16` -## 6.8.0b3 - 2023-10-13 +## 6.8.0b3 - 2023-10-13 -## 6.8.0b2 - 2023-10-11 +## 6.8.0b2 - 2023-10-11 * [#1061](https://github.com/stripe/stripe-python/pull/1061) Types: inner resource classes * [#1073](https://github.com/stripe/stripe-python/pull/1073) Update generated code for beta Release specs are identical. -## 6.8.0b1 - 2023-10-05 +## 6.8.0b1 - 2023-10-05 * [#1059](https://github.com/stripe/stripe-python/pull/1059) Update generated code for beta * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` * [#1066](https://github.com/stripe/stripe-python/pull/1066) Update generated code for beta @@ -1474,53 +1474,53 @@ This release changes the pinned API version to `2023-10-16`. * Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote` * Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote` -## 6.7.0b2 - 2023-09-28 +## 6.7.0b2 - 2023-09-28 * [#997](https://github.com/stripe/stripe-python/pull/997) Remove developer_message support * [#1059](https://github.com/stripe/stripe-python/pull/1059) Update generated code for beta * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` -## 6.7.0b1 - 2023-09-21 +## 6.7.0b1 - 2023-09-21 * [#1053](https://github.com/stripe/stripe-python/pull/1053) Update generated code for beta -## 6.6.0b1 - 2023-09-14 +## 6.6.0b1 - 2023-09-14 * [#1048](https://github.com/stripe/stripe-python/pull/1048) Update generated code for beta * Add support for new resource `ConfirmationToken` * Add support for `retrieve` method on resource `ConfirmationToken` * Add support for `create` method on resource `Issuing.CardDesign` * Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign` -## 6.5.0b1 - 2023-09-07 +## 6.5.0b1 - 2023-09-07 * [#1045](https://github.com/stripe/stripe-python/pull/1045) Update generated code for beta * Release specs are identical. * [#1034](https://github.com/stripe/stripe-python/pull/1034) Update generated code for beta * Remove support for `submit_card` test helper method on resource `Issuing.Card` -## 6.3.0b1 - 2023-08-31 +## 6.3.0b1 - 2023-08-31 * [#1029](https://github.com/stripe/stripe-python/pull/1029) Update generated code for beta * Rename `Quote.preview_invoices` and `Quote.preview_subscription_schedules` to `Quote.list_preview_invoices` and `Quote.list_preview_schedules`. -## 6.1.0b2 - 2023-08-23 +## 6.1.0b2 - 2023-08-23 This release changes the pinned API version to `2023-08-16`. * [#1020](https://github.com/stripe/stripe-python/pull/1020) Adds type_annotations, and dependency on `typing_extensions`. * [#1006](https://github.com/stripe/stripe-python/pull/1006) [#1017](https://github.com/stripe/stripe-python/pull/1017) Update generated code for beta -## 6.1.0b1 - 2023-08-23 - * Updated stable APIs to the latest version +## 6.1.0b1 - 2023-08-23 +* Updated stable APIs to the latest version -## 5.6.0b3 - 2023-08-03 +## 5.6.0b3 - 2023-08-03 * [#997](https://github.com/stripe/stripe-python/pull/997) Remove developer_message support * [#999](https://github.com/stripe/stripe-python/pull/999) Update generated code for beta * [#1004](https://github.com/stripe/stripe-python/pull/1004) Update generated code for beta * Add support for `submit_card` test helper method on resource `Issuing.Card` -## 5.6.0b2 - 2023-07-28 +## 5.6.0b2 - 2023-07-28 * [#992](https://github.com/stripe/stripe-python/pull/992) Update generated code for beta * [#995](https://github.com/stripe/stripe-python/pull/995) Update generated code for beta * Add support for new resource `Tax.Form` * Add support for `list`, `pdf`, and `retrieve` methods on resource `Form` -## 5.6.0b1 - 2023-07-13 +## 5.6.0b1 - 2023-07-13 * [#986](https://github.com/stripe/stripe-python/pull/986) Consolidate beta SDKs section * [#985](https://github.com/stripe/stripe-python/pull/985) Update generated code for beta * [#991](https://github.com/stripe/stripe-python/pull/991) Update generated code for beta @@ -1529,39 +1529,39 @@ This release changes the pinned API version to `2023-08-16`. * Add support for new resource `PaymentMethodConfiguration` * Add support for `create`, `list`, `modify`, and `retrieve` methods on resource `PaymentMethodConfiguration` -## 5.5.0b5 - 2023-06-22 +## 5.5.0b5 - 2023-06-22 * [#976](https://github.com/stripe/stripe-python/pull/976) Update generated code for beta * [#979](https://github.com/stripe/stripe-python/pull/979) Update generated code for beta * [#982](https://github.com/stripe/stripe-python/pull/982) Update generated code for beta * Add support for new resource `CustomerSession` * Add support for `create` method on resource `CustomerSession` -## 5.5.0b4 - 2023-06-02 +## 5.5.0b4 - 2023-06-02 * [#971](https://github.com/stripe/stripe-python/pull/971) Handle developer message in preview error responses * [#969](https://github.com/stripe/stripe-python/pull/969) Update generated code for beta * [#973](https://github.com/stripe/stripe-python/pull/973) Update generated code for beta -## 5.5.0b3 - 2023-05-19 +## 5.5.0b3 - 2023-05-19 * [#965](https://github.com/stripe/stripe-python/pull/965) Add raw_request * [#961](https://github.com/stripe/stripe-python/pull/961) Update generated code for beta * [#964](https://github.com/stripe/stripe-python/pull/964) Update generated code for beta * [#966](https://github.com/stripe/stripe-python/pull/966) Update generated code for beta * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account` -## 5.5.0b2 - 2023-04-13 +## 5.5.0b2 - 2023-04-13 * [#953](https://github.com/stripe/stripe-python/pull/953) Update generated code for beta * [#954](https://github.com/stripe/stripe-python/pull/954) Update generated code for beta * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader` -## 5.5.0b1 - 2023-03-30 +## 5.5.0b1 - 2023-03-30 * [#950](https://github.com/stripe/stripe-python/pull/950) Update generated code for beta -## 5.4.0b1 - 2023-03-23 +## 5.4.0b1 - 2023-03-23 * [#941](https://github.com/stripe/stripe-python/pull/941) Update generated code for beta (new) * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem` * Add support for `collect_inputs` method on resource `Terminal.Reader` -## 5.3.0b4 - 2023-03-16 +## 5.3.0b4 - 2023-03-16 * [#938](https://github.com/stripe/stripe-python/pull/938) Update generated code for beta (new) * Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary` * Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer` @@ -1569,62 +1569,62 @@ This release changes the pinned API version to `2023-08-16`. * [#940](https://github.com/stripe/stripe-python/pull/940) Update generated code for beta (new) * Add support for `create_from_calculation` method on resource `Tax.Transaction` -## 5.3.0b3 - 2023-03-09 +## 5.3.0b3 - 2023-03-09 * [#936](https://github.com/stripe/stripe-python/pull/936) API Updates for beta branch * Updated stable APIs to the latest version * Remove support for `list_transactions` method on resource `Tax.Transaction` -## 5.3.0b2 - 2023-03-03 +## 5.3.0b2 - 2023-03-03 * [#935](https://github.com/stripe/stripe-python/pull/935) API Updates for beta branch * Updated stable APIs to the latest version * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign` * Add support for `list` and `retrieve` methods on resource `CardBundle` * Add support for `list`, `modify`, and `retrieve` methods on resource `CardDesign` -## 5.3.0b1 - 2023-02-23 +## 5.3.0b1 - 2023-02-23 * [#931](https://github.com/stripe/stripe-python/pull/931) API Updates for beta branch * Updated stable APIs to the latest version -## 5.2.0b1 - 2023-02-02 +## 5.2.0b1 - 2023-02-02 * [#921](https://github.com/stripe/stripe-python/pull/921) API Updates for beta branch * Updated stable APIs to the latest version * Add support for new resource `FinancialConnections.Transaction` * Add support for `list` method on resource `Transaction` -## 5.1.0b7 - 2023-01-26 +## 5.1.0b7 - 2023-01-26 * [#917](https://github.com/stripe/stripe-python/pull/917) API Updates for beta branch * Updated stable APIs to the latest version * Add support for `list_transactions` method on resource `Tax.Transaction` -## 5.1.0b6 - 2023-01-19 +## 5.1.0b6 - 2023-01-19 * [#915](https://github.com/stripe/stripe-python/pull/915) API Updates for beta branch * Updated stable APIs to the latest version * Add support for `Tax.Settings` resource. -## 5.1.0b5 - 2023-01-12 +## 5.1.0b5 - 2023-01-12 * [#914](https://github.com/stripe/stripe-python/pull/914) API Updates for beta branch * Updated stable APIs to the latest version * Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft` * Add support for `tax.Registration` resource -## 5.1.0b4 - 2023-01-05 +## 5.1.0b4 - 2023-01-05 * [#912](https://github.com/stripe/stripe-python/pull/912) API Updates for beta branch * Updated stable APIs to the latest version * Add support for `mark_stale_quote` method on resource `Quote` -## 5.1.0b3 - 2022-12-22 +## 5.1.0b3 - 2022-12-22 * [#910](https://github.com/stripe/stripe-python/pull/910) API Updates for beta branch * Updated stable APIs to the latest version * Move `stripe.TaxCalculation` and `stripe.TaxTranscation` to `stripe.tax.Calculation` and `stripe.tax.Transaction`. -## 5.1.0b2 - 2022-12-15 +## 5.1.0b2 - 2022-12-15 * [#906](https://github.com/stripe/stripe-python/pull/906) API Updates for beta branch * Updated stable APIs to the latest version * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction` * Add support for `create` and `list_line_items` methods on resource `TaxCalculation` * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction` -## 5.1.0b1 - 2022-12-08 +## 5.1.0b1 - 2022-12-08 This release changes the pinned API version to `2022-11-15`. * [#898](https://github.com/stripe/stripe-python/pull/898) API Updates for beta branch @@ -1632,41 +1632,41 @@ This release changes the pinned API version to `2022-11-15`. * [#902](https://github.com/stripe/stripe-python/pull/902) API Updates for beta branch * Updated stable APIs to the latest version -## 4.3.0b3 - 2022-11-02 +## 4.3.0b3 - 2022-11-02 * [#885](https://github.com/stripe/stripe-python/pull/885) Update changelog for the Gift Card API * [#884](https://github.com/stripe/stripe-python/pull/884) API Updates for beta branch * Updated stable APIs to the latest version * [#890](https://github.com/stripe/stripe-python/pull/890) API Updates for beta branch * Updated beta APIs to the latest stable version -## 4.3.0b2 - 2022-10-07 +## 4.3.0b2 - 2022-10-07 -## 4.3.0b1 - 2022-09-26 +## 4.3.0b1 - 2022-09-26 * [#878](https://github.com/stripe/stripe-python/pull/878) API Updates for beta branch * Updated stable APIs to the latest version * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources. -## 4.2.0b2 - 2022-08-26 +## 4.2.0b2 - 2022-08-26 * [#869](https://github.com/stripe/stripe-python/pull/869) API Updates for beta branch * Updated stable APIs to the latest version * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards). -## 4.2.0b1 - 2022-08-23 +## 4.2.0b1 - 2022-08-23 * [#866](https://github.com/stripe/stripe-python/pull/866) API Updates for beta branch - Updated stable APIs to the latest version - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-dotnet/blob/master/README.md#beta-sdks) -## 4.1.0b2 - 2022-08-11 +## 4.1.0b2 - 2022-08-11 * [#859](https://github.com/stripe/stripe-python/pull/859) API Updates for beta branch - Updated stable APIs to the latest version - Add `refund_payment` method to Terminal resource -## 4.1.0b1 - 2022-08-03 +## 4.1.0b1 - 2022-08-03 * [#848](https://github.com/stripe/stripe-python/pull/848) API Updates for beta branch - Updated stable APIs to the latest version - Added the `Order` resource support -## 3.6.0b1 - 2022-07-22 +## 3.6.0b1 - 2022-07-22 * [#826](https://github.com/stripe/stripe-python/pull/826) Use the generated API version * [#834](https://github.com/stripe/stripe-python/pull/834) API Updates for beta branch - Updated stable APIs to the latest version From 403c3ff22d475a534dcd17568ce0aed043b63479 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Sun, 13 Sep 2026 02:36:20 -0700 Subject: [PATCH 08/11] add a minimum-runtime-version recipe --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index c9a7a6800..8fa049441 100644 --- a/justfile +++ b/justfile @@ -103,3 +103,7 @@ profile-imports name: profile name: python -m cProfile -o {{ name }}.prof stripe/main.py tuna {{ name }}.prof + +# the lowest Python this SDK supports, for the changelog +minimum-runtime-version: + rg -N --color never -o 'requires-python = ">=([^"]+)"' --replace '$1' pyproject.toml From b682bf1139a57a086af81a5e351b365a1ee5fc2b Mon Sep 17 00:00:00 2001 From: David Brownman Date: Sun, 13 Sep 2026 15:44:11 -0700 Subject: [PATCH 09/11] add print-version-info recipe --- justfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 8fa049441..b156e797c 100644 --- a/justfile +++ b/justfile @@ -104,6 +104,9 @@ profile name: python -m cProfile -o {{ name }}.prof stripe/main.py tuna {{ name }}.prof -# the lowest Python this SDK supports, for the changelog -minimum-runtime-version: - rg -N --color never -o 'requires-python = ">=([^"]+)"' --replace '$1' pyproject.toml +# ⭐ print the API version this SDK pins and the lowest runtime it supports +print-version-info: + #!/usr/bin/env bash + set -euo pipefail + echo "pinned-api-version: $(rg -N --color never -m1 -o '[0-9]{4}-[0-9]{2}-[0-9]{2}[.\w-]*' stripe/_api_version.py)" + echo "minimum-runtime-version: $(rg -N --color never -o 'requires-python = ">=([^"]+)"' --replace '$1' pyproject.toml)" From 7e10719c71e8412e46f3ffe99cfd4759e4a366e7 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Mon, 14 Sep 2026 13:49:45 -0700 Subject: [PATCH 10/11] swap from is_breaking to semver_level --- .../2024-02-17_richardm_beta-collapse-httpclientas.change.md | 2 +- .../2024-07-05_stripe-openapi_update-generated-code.change.md | 2 +- .../2024-08-12_stripe-openapi_update-generated-code.change.md | 2 +- .../2025-03-28_mbroshi_update-addbetaversi-logic.change.md | 2 +- .../2025-04-02_unknown_change-checkoutsess-permission.change.md | 2 +- ...025-04-02_unknown_change-paymentattem-paymentmetho.change.md | 2 +- .hark/changes/2025-04-02_unknown_change-type-order.change.md | 2 +- .../2025-04-02_unknown_change-type-paymentattem.change.md | 2 +- .../2025-04-02_unknown_change-type-paymentattem_2.change.md | 2 +- .../2025-04-02_unknown_change-type-paymentrecor.change.md | 2 +- .../2025-04-02_unknown_change-type-quotepreview.change.md | 2 +- .../2025-04-02_unknown_remove-support-amountoverpa.change.md | 2 +- .../2025-04-02_unknown_remove-support-applicationf.change.md | 2 +- .../2025-04-02_unknown_remove-support-billingthres.change.md | 2 +- .../changes/2025-04-02_unknown_remove-support-coupon.change.md | 2 +- .../2025-04-02_unknown_remove-support-ratecardsubs.change.md | 2 +- .../changes/2025-04-02_unknown_remove-support-values.change.md | 2 +- .../2026-03-23_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-04-23_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-04-24_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-05-27_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-06-24_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-07-29_stripe-openapi_update-generated-code.change.md | 2 +- .../2026-08-26_stripe-openapi_update-generated-code.change.md | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md b/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md index be360a6fd..3adce8785 100644 --- a/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md +++ b/.hark/changes/2024-02-17_richardm_beta-collapse-httpclientas.change.md @@ -1,7 +1,7 @@ --- title: "Beta: Collapse HTTPClientAsync into HTTPClient" pr_url: https://github.com/stripe/stripe-python/pull/1239 -is_breaking: true +semver_level: major released_in_version: 8.5.0b1 --- diff --git a/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md index 63642c3a5..23bd03241 100644 --- a/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-07-05_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1355 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 10.3.0b1 --- diff --git a/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md b/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md index 728e6bc1e..0f1148bf3 100644 --- a/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2024-08-12_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1372 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 10.8.0b1 --- diff --git a/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md b/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md index d55f5aca7..b45a245eb 100644 --- a/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md +++ b/.hark/changes/2025-03-28_mbroshi_update-addbetaversi-logic.change.md @@ -1,7 +1,7 @@ --- title: Update add_beta_version logic pr_url: https://github.com/stripe/stripe-python/pull/1476 -is_breaking: true +semver_level: major section: Changes released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md b/.hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md index 0f8fec912..ffcfea435 100644 --- a/.hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md +++ b/.hark/changes/2025-04-02_unknown_change-checkoutsess-permission.change.md @@ -1,6 +1,6 @@ --- title: Change `CheckoutSession.Permission.update` to be optional -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md b/.hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md index 8d37c8174..659f95ae0 100644 --- a/.hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md +++ b/.hark/changes/2025-04-02_unknown_change-paymentattem-paymentmetho.change.md @@ -1,6 +1,6 @@ --- title: Change `PaymentAttemptRecord.PaymentMethodDetail.custom` and `PaymentRecord.PaymentMethodDetail.custom` to be optional -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_change-type-order.change.md b/.hark/changes/2025-04-02_unknown_change-type-order.change.md index 91e4dee88..e84eb91aa 100644 --- a/.hark/changes/2025-04-02_unknown_change-type-order.change.md +++ b/.hark/changes/2025-04-02_unknown_change-type-order.change.md @@ -1,6 +1,6 @@ --- title: Change type of `Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client` and `Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client` to be optional -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md b/.hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md index 6d3c59655..3266c0bbc 100644 --- a/.hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md +++ b/.hark/changes/2025-04-02_unknown_change-type-paymentattem.change.md @@ -1,6 +1,6 @@ --- title: Change type of `PaymentAttemptRecord.PaymentMethodDetail.type` and `PaymentRecord.PaymentMethodDetail.type` from `literal('custom')` to `string` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md b/.hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md index fcc4c8d8f..68615fb2a 100644 --- a/.hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md +++ b/.hark/changes/2025-04-02_unknown_change-type-paymentattem_2.change.md @@ -1,6 +1,6 @@ --- title: Change type of `PaymentAttemptRecord.payment_record` from `string` to `nullable(string)` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md b/.hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md index 219ed4cda..283efa903 100644 --- a/.hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md +++ b/.hark/changes/2025-04-02_unknown_change-type-paymentrecor.change.md @@ -1,6 +1,6 @@ --- title: Change type of `PaymentRecord.latest_payment_attempt_record` from `string` to `nullable(string)` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md b/.hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md index 835863538..aab3a3fef 100644 --- a/.hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md +++ b/.hark/changes/2025-04-02_unknown_change-type-quotepreview.change.md @@ -1,6 +1,6 @@ --- title: Change type of `QuotePreviewInvoice.Parent.SubscriptionDetail.subscription` from `string` to `expandable($Subscription)` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md b/.hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md index ff3965504..7900823c4 100644 --- a/.hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md +++ b/.hark/changes/2025-04-02_unknown_remove-support-amountoverpa.change.md @@ -1,6 +1,6 @@ --- title: Remove support for `AmountOverpaid` on `InvoicePayment` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md b/.hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md index c6069adbb..39ca21c93 100644 --- a/.hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md +++ b/.hark/changes/2025-04-02_unknown_remove-support-applicationf.change.md @@ -1,6 +1,6 @@ --- title: Remove support for `ApplicationFeeAmount`, `PaidOutOfBand`, and `Paid` on `QuotePreviewInvoice` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md b/.hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md index 8cd02cc72..49849e329 100644 --- a/.hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md +++ b/.hark/changes/2025-04-02_unknown_remove-support-billingthres.change.md @@ -1,6 +1,6 @@ --- title: Remove support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule.DefaultSetting`, `QuotePreviewSubscriptionSchedule.Phase.Item`, and `QuotePreviewSubscriptionSchedule.Phase` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-coupon.change.md b/.hark/changes/2025-04-02_unknown_remove-support-coupon.change.md index 737bd2fdc..aaefe8819 100644 --- a/.hark/changes/2025-04-02_unknown_remove-support-coupon.change.md +++ b/.hark/changes/2025-04-02_unknown_remove-support-coupon.change.md @@ -1,6 +1,6 @@ --- title: Remove support for `coupon` on `QuotePreviewSubscriptionSchedule.Phase` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md b/.hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md index f4f76d973..4159c4763 100644 --- a/.hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md +++ b/.hark/changes/2025-04-02_unknown_remove-support-ratecardsubs.change.md @@ -1,6 +1,6 @@ --- title: Remove support for `RateCardSubscriptionDetails` on `InvoiceItemParent` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2025-04-02_unknown_remove-support-values.change.md b/.hark/changes/2025-04-02_unknown_remove-support-values.change.md index f8831fb23..9f3bde4a6 100644 --- a/.hark/changes/2025-04-02_unknown_remove-support-values.change.md +++ b/.hark/changes/2025-04-02_unknown_remove-support-values.change.md @@ -1,6 +1,6 @@ --- title: Remove support for values `out_of_band_payment` and `payment_record` from enum `InvoicePayment.Payment.type` -is_breaking: true +semver_level: major section: "Breaking changes:" released_in_version: 12.1.0b1 --- diff --git a/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md index ae07fec87..a63445f61 100644 --- a/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-03-23_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1742 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 15.1.0b1 --- diff --git a/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md index 2f78f812b..8ff7b141a 100644 --- a/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-04-23_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1777 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 15.2.0b1 --- diff --git a/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md index ea2b4c4e7..026b0ac21 100644 --- a/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-04-24_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1797 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 15.2.0b2 --- diff --git a/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md index d20f0030c..b91d28dcd 100644 --- a/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-05-27_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1801 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 15.3.0b1 --- diff --git a/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md index d2bb0be74..60d6501f5 100644 --- a/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-06-24_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1819 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 15.4.0b1 --- diff --git a/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md index dc8bbb9e2..685aa4d7d 100644 --- a/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-07-29_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1838 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 15.5.0b1 --- diff --git a/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md b/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md index e554ce556..640c8487e 100644 --- a/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md +++ b/.hark/changes/2026-08-26_stripe-openapi_update-generated-code.change.md @@ -1,7 +1,7 @@ --- title: Update generated code for beta pr_url: https://github.com/stripe/stripe-python/pull/1858 -is_breaking: true +semver_level: major is_stripe_api_change: true released_in_version: 15.7.0b1 --- From 75cced9d21ab826ba680072f6d8f3f629255a1e3 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Mon, 14 Sep 2026 15:18:29 -0700 Subject: [PATCH 11/11] trigger CI for hark v1.0.0