View Source ExTier.Api.Whoami (ex_tier v0.11.1)

Link to this section Summary

Functions

Get Stripe's customer id from an organization

Link to this section Functions

@spec whoami() :: {:ok, ExTier.Whoami.t()} | {:error, ExTier.Error.t()}

Get Stripe's customer id from an organization

{:ok, %ExTier.Whois{}} = ExTier.schedule(%{org: "org:org_id"})