View Source ExOAPI.Stripe.SDK.Tokens (exoapi_stripe v0.1.1)

Link to this section Summary

Functions

description: <p>Retrieves the token with the given ID.</p>

description: <p>Creates a single-use token that represents a bank account’s details. This token can be used with any API method in place of a bank account dictionary. This token can be used only once, by attaching it to a <a href="#accounts">Custom account</a>.</p>

Link to this section Types

Link to this type

get_tokens_token_opts()

View Source
@type get_tokens_token_opts() :: {:expand, String.t()}

Link to this section Functions

Link to this function

get_tokens_token(client, token, opts \\ [])

View Source
@spec get_tokens_token(
  client :: ExOAPI.Client.t(),
  token :: String.t(),
  [get_tokens_token_opts()]
) :: {:ok, any()} | {:error, any()}

description: <p>Retrieves the token with the given ID.</p>

Link to this function

post_tokens(client, body)

View Source
@spec post_tokens(client :: ExOAPI.Client.t(), body :: map()) ::
  {:ok, any()} | {:error, any()}

description: <p>Creates a single-use token that represents a bank account’s details. This token can be used with any API method in place of a bank account dictionary. This token can be used only once, by attaching it to a <a href="#accounts">Custom account</a>.</p>