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

Copy Markdown View Source

ReceivedDebit API operations.

Summary

Functions

Test mode: Create a ReceivedDebit

Functions

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

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

Test mode: Create a ReceivedDebit

Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.