withListenExternalService
Method
interface StripeResource { // ... omitted for brevity withListenExternalService( forwardTo: ExternalServiceResource, webhookPath?: string, events?: string[]): StripeResource;}Signature
method
withListenExternalServicebuilderConfigures the Stripe CLI to listen for webhooks and forward them to the specified URL expression.
withListenExternalService( forwardTo: ExternalServiceResource, webhookPath?: string, events?: string[]): StripeResourceParameters
forwardToExternalServiceResourcewebhookPathstringoptional= /webhooks/stripeeventsstring[]optionalReturns
StripeResourceApplies to
This method applies to the following types: