View Source ExOAPI.Stripe.Schemas.Issuing_card (exoapi_stripe v0.1.4)
description: You can create physical or virtual cards that are issued to cardholders.
:brand :: :string
The brand of the card.
:cancellation_reason :: :string
The reason why the card was canceled.
:cardholder :: ExOAPI.Stripe.Schemas.Issuing_cardholder
:created :: :integer
Time at which the object was created. Measured in seconds since the Unix epoch.
:currency :: :string
Three-letter ISO currency code, in lowercase. Must be a supported currency.
:cvc :: :string
The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with the expand
parameter. Additionally, it's only available via the "Retrieve a card" endpoint, not via "List all cards" or any other endpoint.
:exp_month :: :integer
The expiration month of the card.
:exp_year :: :integer
The expiration year of the card.
:id :: :string
Unique identifier for the object.
:last4 :: :string
The last 4 digits of the card number.
:livemode :: :boolean
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
:metadata :: :map
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.
:number :: :string
The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with the expand
parameter. Additionally, it's only available via the "Retrieve a card" endpoint, not via "List all cards" or any other endpoint.
:object :: :string
String representing the object's type. Objects of the same type share the same value.
:replaced_by :: ExOAPI.Stripe.Schemas.Issuing_card | :string
The latest card that replaces this card, if any.
:replacement_for :: ExOAPI.Stripe.Schemas.Issuing_card | :string
The card this card replaces, if any.
:replacement_reason :: :string
The reason why the previous card needed to be replaced.
:shipping :: ExOAPI.Stripe.Schemas.IssuingCardShipping
Where and how the card will be shipped.
:spending_controls :: ExOAPI.Stripe.Schemas.IssuingCardAuthorizationControls
:status :: :string
Whether authorizations can be approved on this card.
:type :: :string
The type of the card.
:wallets :: ExOAPI.Stripe.Schemas.IssuingCardWallets
Information relating to digital wallets (like Apple Pay and Google Pay).
Link to this section Summary
Link to this section Types
@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Issuing_card{ brand: String.t() | nil, cancellation_reason: (:stolen | :lost) | nil, cardholder: ExOAPI.Stripe.Schemas.Issuing_cardholder.t() | nil, created: integer() | nil, currency: String.t() | nil, cvc: String.t() | nil, exp_month: integer() | nil, exp_year: integer() | nil, id: String.t() | nil, last4: String.t() | nil, livemode: boolean() | nil, metadata: map() | nil, number: String.t() | nil, object: :"issuing.card" | nil, replaced_by: ExOAPI.EctoTypes.AnyOf.t() | nil, replacement_for: ExOAPI.EctoTypes.AnyOf.t() | nil, replacement_reason: (:stolen | :lost | :expired | :damaged) | nil, shipping: ExOAPI.EctoTypes.AnyOf.t() | nil, spending_controls: ExOAPI.Stripe.Schemas.IssuingCardAuthorizationControls.t() | nil, status: (:inactive | :canceled | :active) | nil, type: (:virtual | :physical) | nil, wallets: ExOAPI.EctoTypes.AnyOf.t() | nil }
Link to this section Functions
@spec changeset(t(), params()) :: Ecto.Changeset.t()