View Source ExOAPI.Stripe.Schemas.Issuing_cardholder (exoapi_stripe v0.1.4)

description: An Issuing Cardholder object represents an individual or business entity who is issued cards.

Related guide: How to create a Cardholder

:billing :: ExOAPI.Stripe.Schemas.IssuingCardholderAddress

:company :: ExOAPI.Stripe.Schemas.IssuingCardholderCompany

Additional information about a company cardholder.

:created :: :integer

Time at which the object was created. Measured in seconds since the Unix epoch.

:email :: :string

The cardholder's email address.

:id :: :string

Unique identifier for the object.

:individual :: ExOAPI.Stripe.Schemas.IssuingCardholderIndividual

Additional information about an individual cardholder.

: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.

:name :: :string

The cardholder's name. This will be printed on cards issued to them.

:object :: :string

String representing the object's type. Objects of the same type share the same value.

:phone_number :: :string

The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the 3D Secure documentation for more details.

:requirements :: ExOAPI.Stripe.Schemas.IssuingCardholderRequirements

:spending_controls :: ExOAPI.Stripe.Schemas.IssuingCardholderAuthorizationControls

Rules that control spending across this cardholder's cards. Refer to our documentation for more details.

:status :: :string

Specifies whether to permit authorizations on this cardholder's cards.

:type :: :string

One of individual or company.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Issuing_cardholder{
  billing: ExOAPI.Stripe.Schemas.IssuingCardholderAddress.t() | nil,
  company: ExOAPI.EctoTypes.AnyOf.t() | nil,
  created: integer() | nil,
  email: String.t() | nil,
  id: String.t() | nil,
  individual: ExOAPI.EctoTypes.AnyOf.t() | nil,
  livemode: boolean() | nil,
  metadata: map() | nil,
  name: String.t() | nil,
  object: :"issuing.cardholder" | nil,
  phone_number: String.t() | nil,
  requirements: ExOAPI.Stripe.Schemas.IssuingCardholderRequirements.t() | nil,
  spending_controls: ExOAPI.EctoTypes.AnyOf.t() | nil,
  status: (:inactive | :blocked | :active) | nil,
  type: (:individual | :company) | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()