Stripe.Services.V2.Core.Accounts.PersonTokenService (tiger_stripe v0.4.0)

Copy Markdown View Source

PersonToken API operations.

Summary

Functions

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

Create a person token

Creates a single-use token that represents the details for a person. Use this when you create or update persons associated with an Account v2. Learn more about account tokens. You can only create person tokens with your application's publishable key and in live mode. You can use your application's secret key to create person tokens only in test mode.

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

Retrieve a person token

Retrieves a Person Token associated with an Account.