addStripe

Method
📦 CommunityToolkit.Aspire.Hosting.Stripe v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addStripe(
name: string,
apiKey: ParameterResource): StripeResource;
}

Signature

methodaddStripebuilder
Adds the Stripe CLI to the application model for local webhook forwarding.
addStripe(
name: string,
apiKey: ParameterResource): StripeResource
namestringThe name of the resource.
apiKeyParameterResourceThe parameter builder providing the Stripe API key.
StripeResource

Applies to

This method applies to the following types: