# CommunityToolkit.Aspire.Hosting.Stripe

- Module: `CommunityToolkit.Aspire.Hosting.Stripe`
- Version: `13.6.1`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)
- Functions: `5`
- Types: `1`

## Handles

- [StripeResource](/reference/api/go/communitytoolkit.aspire.hosting.stripe/striperesource.md) -- `handle` - 4 members -- Represents a Stripe CLI container resource for local webhook forwarding and testing.

## Functions

- [AddStripe](/reference/api/go/communitytoolkit.aspire.hosting.stripe/addstripe.md) -- `method` - on `DistributedApplicationBuilder` -- Adds the Stripe CLI to the application model for local webhook forwarding.
- [WithStripeReference](/reference/api/go/communitytoolkit.aspire.hosting.stripe/withstripereference.md) -- `method` - on `ResourceWithEnvironment` -- Adds a reference to a Stripe CLI resource for accessing its webhook signing secret.
- [WithApiKey](/reference/api/go/communitytoolkit.aspire.hosting.stripe/withapikey.md) -- `method` - on `StripeResource` -- Configures the Stripe CLI to use a specific API key from a parameter.
- [WithListen](/reference/api/go/communitytoolkit.aspire.hosting.stripe/withlisten.md) -- `method` - on `StripeResource` -- Configures the Stripe CLI to listen for webhooks and forward them to the specified URL expression.
- [WithListenExternalService](/reference/api/go/communitytoolkit.aspire.hosting.stripe/withlistenexternalservice.md) -- `method` - on `StripeResource` -- Configures the Stripe CLI to listen for webhooks and forward them to the specified URL expression.
