# StripeResource

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.Stripe](/reference/api/csharp/communitytoolkit.aspire.hosting.stripe.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Stripe/StripeResource.cs)
- Inherits: `ContainerResource`

Represents a Stripe CLI container resource for local webhook forwarding and testing.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class StripeResource
    : Aspire.Hosting.ApplicationModel.ContainerResource
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `CommunityToolkit.Aspire.Hosting.Stripe/StripeResource`

## Constructors

- [StripeResource(string)](/reference/api/csharp/communitytoolkit.aspire.hosting.stripe/striperesource/constructors.md#constructor-string) -- Represents a Stripe CLI container resource for local webhook forwarding and testing.

## Properties

- [WebhookSigningSecret](/reference/api/csharp/communitytoolkit.aspire.hosting.stripe/striperesource/properties.md#webhooksigningsecret) : `string?` `get` -- Gets the webhook signing secret retrieved from the Stripe CLI.
