View Source ExOAPI.Stripe.SDK.EphemeralKeys (exoapi_stripe v0.1.4)

Link to this section Summary

Functions

description: <p>Invalidates a short-lived API key for a given resource.</p>

description: <p>Creates a short-lived API key for a given resource.</p>

Link to this section Functions

Link to this function

delete_ephemeral_keys_key(client, body, key)

View Source
@spec delete_ephemeral_keys_key(
  client :: ExOAPI.Client.t(),
  body :: %{expand: [String.t()]} | map(),
  key :: String.t()
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.EphemeralKey.t()
   | map()}
  | {:error, any()}

description: <p>Invalidates a short-lived API key for a given resource.</p>

Link to this function

post_ephemeral_keys(client, body)

View Source
@spec post_ephemeral_keys(
  client :: ExOAPI.Client.t(),
  body ::
    %{issuing_card: String.t(), expand: [String.t()], customer: String.t()}
    | map()
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.EphemeralKey.t()
   | map()}
  | {:error, any()}

description: <p>Creates a short-lived API key for a given resource.</p>