Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddStripe

Method
📦 CommunityToolkit.Aspire.Hosting.Stripe v13.6.1
func (DistributedApplicationBuilder) 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

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder