Plaid.PaymentInitiation.Payments (plaid v2.5.0) View Source
Functions for Plaid payment_initiation/payment endpoints.
Link to this section Summary
Link to this section Types
Specs
Specs
Specs
Link to this section Functions
Specs
create(params(), config() | nil) :: {:ok, t()} | {:error, Plaid.Error.t()}
Creates payment.
Parameters
%{
recipient_id: "",
reference: "",
amount: %{
currency: "",
value: 0.00
},
schedule: %{
interval: "",
interval_execution_day: 1,
start_date: ""
},
}
Specs
get(params(), config() | nil) :: {:ok, Plaid.PaymentInitiation.Payments.Payment.t()} | {:error, Plaid.Error.t()}
Gets payment by payment_id.
Parameters
%{
payment_id: ""
}
Specs
list(params(), config() | nil) :: {:ok, [Plaid.PaymentInitiation.Payments.Payment.t()]} | {:error, Plaid.Error.t()}
Lists all payments.
Parameters
%{
options: %{
count: 1,
cursor: ""
}
}