Moov.Receipts (Moov v1.0.0)

Copy Markdown View Source

Branded receipts (using an account's Moov.Branding) sent when a transfer is initiated/confirmed, refunded, or fails.

See https://docs.moov.io/api/money-movement/receipts/.

Summary

Functions

Creates receipts for one or more transfers.

Lists receipts that have been sent.

Functions

create(client, params)

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

Creates receipts for one or more transfers.

params: %{transfer_ids: [...], receipt_types: ["transferInitiated", "transferConfirmation"]} (or similar - see Moov's dashboard for the exact set of receipt types your account supports).

list(client, opts \\ [])

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

Lists receipts that have been sent.