Increase.DigitalWalletTokens (Increase v1.0.0)

Copy Markdown View Source

A Digital Wallet Token is created when a user adds a Card to their Apple Pay or Google Pay app. The Digital Wallet Token can be used for purchases just like a Card.

See https://increase.com/documentation/api/digital-wallet-tokens for the full API reference for this resource.

Summary

Functions

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

@spec list(Increase.Client.t() | keyword() | nil, map() | keyword(), keyword()) ::
  {:ok, Increase.Page.t()} | {:error, Increase.Error.t()}

List Digital Wallet Tokens

Returns a %Increase.Page{} whose data is a list of %__MODULE__. DigitalWalletToken{} structs. Page through results with Increase.Page.auto_paging_stream/1 or Increase.Page.auto_paging_each/2.

GET /digital_wallet_tokens

retrieve(client, digital_wallet_token_id, opts \\ [])

Retrieve a Digital Wallet Token

GET /digital_wallet_tokens/{digital_wallet_token_id}