Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge into beta using the merge script #2203

Merged
merged 9 commits into from
Oct 4, 2024
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Changelog

## 17.2.0-beta.1 - 2024-10-03
* [#2200](https://github.com/stripe/stripe-node/pull/2200) Updates beta branch with changes in master
* Add support for `reporting_chart` on `AccountSessionCreateParams.components`
* Remove support for `from_schedule` on `Quote.subscription_data`
* [#2200](https://github.com/stripe/stripe-node/pull/2200) Updates beta branch with changes in master
* Add support for `reporting_chart` on `AccountSessionCreateParams.components`
* Remove support for `from_schedule` on `Quote.subscription_data`
* Add support for `allow_redisplay` on `Terminal.ReaderCollectPaymentMethodParams.collect_config`

## 17.1.0 - 2024-10-03
* [#2199](https://github.com/stripe/stripe-node/pull/2199) Update generated code
* Remove the support for resource `Margin` that was accidentally made public in the last release

## 17.0.0 - 2024-10-01
* [#2192](https://github.com/stripe/stripe-node/pull/2192) Support for APIs in the new API version 2024-09-30.acacia

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -519,12 +519,13 @@ const stripe = new Stripe('sk_test_...', {

### Custom requests

If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `rawRequest` method on the Stripe object.
If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `rawRequest` method on the StripeClient object.

```javascript
const stripe = require('stripe')('sk_test_...');
import Stripe from 'stripe';
const client = new Stripe('sk_test_...');

stripe.rawRequest(
client.rawRequest(
'POST',
'/v1/beta_endpoint',
{ param: 123 },
Expand Down
Loading