Tink.Merchants (Tink v1.0.0)

Copy Markdown View Source

Partner integration merchant management. Requires merchants or merchants:readonly scope.

Summary

Functions

Create a merchant. Requires merchants.

Get a merchant by ID. Requires merchants:readonly.

List merchants with pagination. Requires merchants:readonly.

Functions

create(client, params)

@spec create(Tink.Client.t(), map()) :: {:ok, map()} | {:error, Tink.Error.t()}

Create a merchant. Requires merchants.

get(client, merchant_id)

@spec get(Tink.Client.t(), String.t()) :: {:ok, map()} | {:error, Tink.Error.t()}

Get a merchant by ID. Requires merchants:readonly.

list(client, opts \\ [])

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

List merchants with pagination. Requires merchants:readonly.