Skip to content

Commit

Permalink
Change API_VERSION (#1877)
Browse files Browse the repository at this point in the history
echo '2023-08-16' > API_VERSION && yarn fix
  • Loading branch information
richardm-stripe authored Aug 17, 2023
1 parent 89ee807 commit 328536f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-11-15
2023-08-16
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ and instantiate it as `new Stripe()` with the latest API version.
```ts
import Stripe from 'stripe';
const stripe = new Stripe('sk_test_...', {
apiVersion: '2022-11-15',
apiVersion: '2023-08-16',
});

const createCustomer = async () => {
Expand Down
2 changes: 1 addition & 1 deletion types/test/typescriptTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ stripe = new Stripe('sk_test_123', {
description: 'test',
};
const opts: Stripe.RequestOptions = {
apiVersion: '2022-11-15',
apiVersion: '2023-08-16',
};
const customer: Stripe.Customer = await stripe.customers.create(params, opts);

Expand Down

0 comments on commit 328536f

Please sign in to comment.