Closed prathmesh-stripe closed 1 month ago
Adds the ability to make requests to the Stripe API that are not directly supported in the SDK, by providing an HTTP method, url and relevant parameters
Example:
import Stripe from 'stripe'; const stripe = new Stripe('sk_test_...'); const response = await stripe.rawRequest( 'POST', '/v1/beta_endpoint', { param: 123 }, { apiVersion: '2022-11-15; feature_beta=v3' } );
Not sure why tests aren't working. They do pass locally.
Changelog
Adds the ability to make requests to the Stripe API that are not directly supported in the SDK, by providing an HTTP method, url and relevant parameters
Example: