diff --git a/lib/stripe.js b/lib/stripe.js index 929a7915bf..505426994d 100644 --- a/lib/stripe.js +++ b/lib/stripe.js @@ -104,6 +104,9 @@ function Stripe(key, config = {}) { this._prevRequestMetrics = []; this._enableTelemetry = props.telemetry !== false; + + // Expose StripeResource on the instance too + this.StripeResource = Stripe.StripeResource; } Stripe.errors = require('./Error');