StripeElixir.Services.Treasury.ReceivedDebitService (stripe_elixir v0.1.0)

Copy Markdown View Source

TreasuryReceivedDebitsResourceReceivedDebit

ReceivedDebits represent funds pulled from a FinancialAccount. These are not initiated from the FinancialAccount.

Summary

Functions

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

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

List all ReceivedDebits

Returns a list of ReceivedDebits.

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

@spec retrieve(StripeElixir.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, StripeElixir.Error.t()}

Retrieve a ReceivedDebit

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list