# `Stripe.Services.V2.Core.EventDestinationService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/v2/core/event_destination_service.ex#L2)

Event Destination

Set up an event destination to receive events from Stripe across multiple destination types, including [webhook endpoints](https://docs.stripe.com/webhooks) and [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge). Event destinations support receiving [thin events](https://docs.stripe.com/api/v2/events) and [snapshot events](https://docs.stripe.com/api/events).

# `create`

```elixir
@spec create(Stripe.Client.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Create an Event Destination

Create a new event destination.

# `delete`

```elixir
@spec delete(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Delete an Event Destination

Delete an event destination.

# `disable`

```elixir
@spec disable(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Disable an Event Destination

Disable an event destination.

# `enable`

```elixir
@spec enable(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Enable an Event Destination

Enable an event destination.

# `list`

```elixir
@spec list(Stripe.Client.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

List Event Destinations

Lists all event destinations.

# `ping`

```elixir
@spec ping(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Ping an event destination

Send a `ping` event to an event destination.

# `retrieve`

```elixir
@spec retrieve(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Retrieve an Event Destination

Retrieves the details of an event destination.

# `update`

```elixir
@spec update(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Update an Event Destination

Update the details of an event destination.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
