View Source ExOAPI.Stripe.Schemas.TransferData (exoapi_stripe v0.1.4)

:amount :: :integer

Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).

:destination :: ExOAPI.Stripe.Schemas.Account | :string

The account (if any) the payment will be attributed to for tax reporting, and where funds from the payment will be transferred to upon payment success.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.TransferData{
  amount: integer() | nil,
  destination: ExOAPI.EctoTypes.AnyOf.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()