StripeElixir.Services.V2.Core.Accounts.PersonTokenService (stripe_elixir v0.1.0)

Copy Markdown View Source

PersonToken API operations.

Summary

Functions

create(client, account_id, params \\ %{}, opts \\ [])

@spec create(StripeElixir.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, StripeElixir.Error.t()}

Create a Person Token

Creates a Person Token associated with an Account.

retrieve(client, account_id, id, params \\ %{}, opts \\ [])

@spec retrieve(StripeElixir.Client.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, StripeElixir.Error.t()}

Retrieve a Person Token

Retrieves a Person Token associated with an Account.