Plaid.PaymentInitiation.Recipients (plaid v2.5.0) View Source

Functions for Plaid payment_initiation/recipient endpoints.

Link to this section Summary

Functions

Creates recipient.

Gets recipient by recipient_id.

Lists all recipients.

Link to this section Types

Specs

config() :: %{required(atom()) => String.t()}

Specs

params() :: %{required(atom()) => String.t() | map()}

Specs

t() :: %Plaid.PaymentInitiation.Recipients{
  recipient_id: String.t(),
  request_id: String.t()
}

Link to this section Functions

Link to this function

create(params, config \\ %{})

View Source

Specs

create(params(), config() | nil) :: {:ok, t()} | {:error, Plaid.Error.t()}

Creates recipient.

Parameters

%{

}
Link to this function

get(params, config \\ %{})

View Source

Specs

Gets recipient by recipient_id.

Parameters

%{
  recipient_id: ""
}

Specs

list(config() | nil) ::
  {:ok, [Plaid.PaymentInitiation.Recipients.Recipient.t()]}
  | {:error, Plaid.Error.t()}

Lists all recipients.