Manage digital wallet token provisioning and lifecycle. Supports Apple Pay, Google Pay, and Samsung Pay.
Token States
REQUESTED, ACTIVE, SUSPENDED, TERMINATED
Provisioning Sources
MOBILE_BANKING_APP, WEB, CUSTOMER_SERVICE, ISSUER, TOKEN_SERVICE_PROVIDER
Summary
Functions
Retrieves a digital wallet token by token.
Retrieves a digital wallet token by token. Raises Marqeta.Error on failure.
Retrieves a specific digital wallet token transition.
Lists digital wallet token resources.
Lists digital wallet token resources. Raises Marqeta.Error on failure.
Lists digital wallet tokens for a card.
Lists digital wallet tokens for a user.
Lists all transitions for a digital wallet token.
Provides a provisioning decision for a digital wallet token request.
Returns a lazy Stream that auto-paginates digital wallet token resources.
Transitions a digital wallet token to a new state.
Updates an existing digital wallet token.
Updates an existing digital wallet token. Raises Marqeta.Error on failure.
Functions
@spec get( String.t(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a digital wallet token by token.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Retrieves a digital wallet token by token. Raises Marqeta.Error on failure.
@spec get_transition( String.t(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a specific digital wallet token transition.
@spec list( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists digital wallet token resources.
Accepts standard Marqeta pagination params:
count, start_index, sort_by, sort_order, fields.
Use stream/2 to lazily iterate all pages automatically.
Lists digital wallet token resources. Raises Marqeta.Error on failure.
@spec list_by_card(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists digital wallet tokens for a card.
@spec list_by_user(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists digital wallet tokens for a user.
@spec list_transitions(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists all transitions for a digital wallet token.
@spec provision_decision( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Provides a provisioning decision for a digital wallet token request.
@spec stream( map(), keyword() ) :: Enumerable.t()
Returns a lazy Stream that auto-paginates digital wallet token resources.
@spec transition( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Transitions a digital wallet token to a new state.
@spec update(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Updates an existing digital wallet token.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Updates an existing digital wallet token. Raises Marqeta.Error on failure.