# `Stripe.Resources.PromotionCode.Restrictions`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/promotion_code.ex#L82)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.PromotionCode.Restrictions{
  currency_options:
    %{
      required(String.t()) =&gt;
        Stripe.Resources.PromotionCode.Restrictions.CurrencyOptions.t()
    }
    | nil,
  first_time_transaction: boolean() | nil,
  minimum_amount: integer() | nil,
  minimum_amount_currency: String.t() | nil
}
```

* `currency_options` - Promotion code restrictions defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
* `first_time_transaction` - A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices
* `minimum_amount` - Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). Nullable.
* `minimum_amount_currency` - Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount Max length: 5000. Nullable.

---

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