Increase.Simulations.CardTokens (Increase v1.0.0)

Copy Markdown View Source

Sandbox-only simulations related to Card Token.

These endpoints only work against the sandbox environment and let you fast-forward events that would otherwise take hours or days in production (settlement, acknowledgement, returns, and so on). See https://increase.com/documentation/api/overview#sandbox for details.

Summary

Functions

Simulates tokenizing a card in the sandbox environment.

Functions

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

@spec create(Increase.Client.t() | keyword() | nil, map() | keyword(), keyword()) ::
  {:ok, Increase.CardTokens.CardToken.t()} | {:error, Increase.Error.t()}

Simulates tokenizing a card in the sandbox environment.

POST /simulations/card_tokens