Search documentation of stripe_elixir

# StripeElixir.Params.Issuing.CardCreateParams (stripe_elixir v0.1.0)

Copy Markdown View Source

Parameters for card create.

## Summary

### Types

t()

## Types

# t()

    @type t() :: %StripeElixir.Params.Issuing.CardCreateParams{
      cardholder: String.t() | nil,
      currency: String.t(),
      exp_month: integer() | nil,
      exp_year: integer() | nil,
      expand: [String.t()] | nil,
      financial_account: String.t() | nil,
      metadata: map() | nil,
      personalization_design: String.t() | nil,
      pin: map() | nil,
      replacement_for: String.t() | nil,
      replacement_reason: String.t() | nil,
      second_line: map() | nil,
      shipping: map() | nil,
      spending_controls: map() | nil,
      status: String.t() | nil,
      type: String.t()
    }

- `cardholder` - The Cardholder object with which the card will be associated. Max length: 5000.
- `currency` - The currency for the card.
- `exp_month` - The desired expiration month (1-12) for this card if specifying a custom expiration date.
- `exp_year` - The desired 4-digit expiration year for this card if specifying a custom expiration date.
- `expand` - Specifies which fields in the response should be expanded.
- `financial_account` - The new financial account ID the card will be associated with. This field allows a card to be reassigned to a different financial account.
- `metadata` - Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
- `personalization_design` - The personalization design object belonging to this card. Max length: 5000.
- `pin` - The desired PIN for this card.
- `replacement_for` - The card this is meant to be a replacement for (if any). Max length: 5000.
- `replacement_reason` - If `replacement_for` is specified, this should indicate why that card is being replaced. Possible values: `damaged`, `expired`, `lost`, `stolen`.
- `second_line` - The second line to print on the card. Max length: 24 characters.
- `shipping` - The address where the card will be shipped.
- `spending_controls` - Rules that control spending for this card. Refer to our documentation for more details.
- `status` - Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. Possible values: `active`, `inactive`.
- `type` - The type of card to issue. Possible values are `physical` or `virtual`. Possible values: `physical`, `virtual`.