stripity_stripe v2.0.0-alpha.6 Stripe.Event

Work with Stripe event objects.

You can:

  • Retrieve an event

Does not yet render the data object.

Stripe API reference: https://stripe.com/docs/api#event

Summary

Types

t()
t :: %Stripe.Event{api_version: term, created: term, data: term, id: term, livemode: term, object: term, pending_webhooks: term, request: term, type: term, user_id: term}

Functions

retrieve(id, opts \\ [])
retrieve(binary, Keyword.t) ::
  {:ok, t} |
  {:error, Stripe.api_error_struct}

Retrieve an event.