We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b75504 commit bf7a776Copy full SHA for bf7a776
src/stripe.core.ts
@@ -60,6 +60,7 @@ export function createStripe(
60
requestSender: RequestSenderFactory = defaultRequestSenderFactory
61
): typeof Stripe {
62
Stripe.PACKAGE_VERSION = '18.3.0';
63
+ Stripe.API_VERSION = ApiVersion;
64
Stripe.USER_AGENT = {
65
bindings_version: Stripe.PACKAGE_VERSION,
66
lang: 'node',
types/lib.d.ts
@@ -28,6 +28,7 @@ declare module 'stripe' {
28
static MAX_BUFFERED_REQUEST_METRICS: number;
29
}
30
export type LatestApiVersion = '2025-06-30.basil';
31
+ export const API_VERSION: string;
32
export type HttpAgent = Agent;
33
export type HttpProtocol = 'http' | 'https';
34
0 commit comments