# `Stripe.Mandate`
[🔗](https://github.com/code-corps/stripity_stripe/blob/v3.3.3/lib/generated/mandate.ex#L1)

A Mandate is a record of the permission that your customer gives you to debit their payment method.

# `t`

```elixir
@type t() :: %Stripe.Mandate{
  customer_acceptance: term(),
  id: binary(),
  livemode: boolean(),
  multi_use: term(),
  object: binary(),
  on_behalf_of: binary(),
  payment_method: binary() | Stripe.PaymentMethod.t(),
  payment_method_details: term(),
  single_use: term(),
  status: binary(),
  type: binary()
}
```

The `mandate` type.

  * `customer_acceptance` 
  * `id` Unique identifier for the object.
  * `livemode` Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
  * `multi_use` 
  * `object` String representing the object's type. Objects of the same type share the same value.
  * `on_behalf_of` The account (if any) that the mandate is intended for.
  * `payment_method` ID of the payment method associated with this mandate.
  * `payment_method_details` 
  * `single_use` 
  * `status` The mandate status indicates whether or not you can use it to initiate a payment.
  * `type` The type of the mandate.

# `retrieve`

```elixir
@spec retrieve(
  mandate :: binary(),
  params :: %{optional(:expand) =&gt; [binary()]},
  opts :: Keyword.t()
) ::
  {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
```

<p>Retrieves a Mandate object.</p>

#### Details

 * Method: `get`
 * Path: `/v1/mandates/{mandate}`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
