stripity_stripe v2.0.0-alpha.11 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
list(params \\ %{}, opts \\ [])
list(map, Keyword.t) :: {:ok, Stripe.List.t} | {:error, Stripe.api_error_struct}
List all events.
retrieve(id, opts \\ [])
retrieve(binary, Keyword.t) :: {:ok, t} | {:error, Stripe.api_error_struct}
Retrieve an event.