Stripe.Mandate (stripity_stripe_fb v2.13.1) View Source
A Mandate is a record of the permission a customer has given you to debit their payment method.
You can:
Link to this section Summary
Functions
Retrieves a Mandate that has previously been created. See the Stripe docs.
Link to this section Types
Specs
customer_acceptance() :: %{
:accepted_at => Stripe.timestamp(),
optional(:offline) => %{},
optional(:online) => %{ip_address: String.t(), user_agent: String.t()},
type: String.t()
}
Specs
Specs
t() :: %Stripe.Mandate{
customer_acceptance: customer_acceptance(),
id: Stripe.id(),
livemode: boolean(),
multi_use: map(),
object: String.t(),
payment_method: Stripe.id() | Stripe.PaymentMethod.t() | nil,
payment_method_details: payment_method_details(),
status: String.t(),
type: String.t()
}
Link to this section Functions
Specs
retrieve(Stripe.id() | t(), Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()}
Retrieves a Mandate that has previously been created. See the Stripe docs.