Tink.IncomeCheck (Tink v1.0.0)

Copy Markdown View Source

Income verification reports. Requires income-checks:create, income-checks:readonly, income-checks:delete.

Summary

Functions

Create an income check. Requires income-checks:create.

Delete an income check. Requires income-checks:delete.

Trigger PDF generation for an income check. Requires income-checks:readonly.

Get an income check by ID. Requires income-checks:readonly.

List income checks with pagination. Requires income-checks:readonly.

Functions

create(client, params)

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

Create an income check. Requires income-checks:create.

delete(client, id)

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

Delete an income check. Requires income-checks:delete.

generate_pdf(client, id)

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

Trigger PDF generation for an income check. Requires income-checks:readonly.

get(client, id)

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

Get an income check by ID. Requires income-checks:readonly.

list(client, opts \\ [])

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

List income checks with pagination. Requires income-checks:readonly.