Packages
Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.
Current section
Files
Jump to
Current section
Files
lib/stripe/events/unknown_event_notification.ex
# File generated from our OpenAPI spec
defmodule Stripe.Events.UnknownEventNotification do
@moduledoc "Fallback for unrecognized thin event notifications."
defstruct [:related_object]
def fetch_related_object(%__MODULE__{related_object: %{"url" => url}}, client) do
Stripe.Client.request(client, :get, url)
end
end