View Source Stripe.Issuing.PersonalizationDesign (stripity_stripe v3.3.1)
A Personalization Design is a logical grouping of a Physical Bundle, card logo, and carrier text that represents a product line.
Summary
Types
Hash containing carrier text, for use with physical bundles that support carrier text.
The reason(s) the personalization design was rejected.
The issuing.personalization_design type.
Functions
Updates the status of the specified testmode personalization design object to active.
Creates a personalization design object.
Updates the status of the specified testmode personalization design object to inactive.
Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Updates the status of the specified testmode personalization design object to rejected.
Retrieves a personalization design object.
Updates a card personalization object.
Types
@type carrier_text() :: %{ optional(:footer_body) => binary() | binary(), optional(:footer_title) => binary() | binary(), optional(:header_body) => binary() | binary(), optional(:header_title) => binary() | binary() }
Hash containing carrier text, for use with physical bundles that support carrier text.
@type rejection_reasons() :: %{
optional(:card_logo) => [
:geographic_location
| :inappropriate
| :network_name
| :non_binary_image
| :non_fiat_currency
| :other
| :other_entity
| :promotional_material
],
optional(:carrier_text) => [
:geographic_location
| :inappropriate
| :network_name
| :non_fiat_currency
| :other
| :other_entity
| :promotional_material
]
}
The reason(s) the personalization design was rejected.
@type t() :: %Stripe.Issuing.PersonalizationDesign{ card_logo: (binary() | Stripe.File.t()) | nil, carrier_text: term() | nil, created: integer(), id: binary(), livemode: boolean(), lookup_key: binary() | nil, metadata: term(), name: binary() | nil, object: binary(), physical_bundle: binary() | Stripe.Issuing.PhysicalBundle.t(), preferences: term(), rejection_reasons: term(), status: binary() }
The issuing.personalization_design type.
card_logoThe file for the card logo to use with physical bundles that support card logos. Must have apurposevalue ofissuing_logo.carrier_textHash containing carrier text, for use with physical bundles that support carrier text.createdTime at which the object was created. Measured in seconds since the Unix epoch.idUnique identifier for the object.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.lookup_keyA lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.metadataSet 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.nameFriendly display name.objectString representing the object's type. Objects of the same type share the same value.physical_bundleThe physical bundle object belonging to this personalization design.preferencesrejection_reasonsstatusWhether this personalization design can be used to create cards.
Functions
@spec activate( personalization_design :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Updates the status of the specified testmode personalization design object to active.
Details
- Method:
post - Path:
/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate
@spec create( params :: %{ optional(:card_logo) => binary(), optional(:carrier_text) => carrier_text(), optional(:expand) => [binary()], optional(:lookup_key) => binary(), optional(:metadata) => %{optional(binary()) => binary()}, optional(:name) => binary(), optional(:physical_bundle) => binary(), optional(:preferences) => preferences(), optional(:transfer_lookup_key) => boolean() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Creates a personalization design object.
Details
- Method:
post - Path:
/v1/issuing/personalization_designs
@spec deactivate( personalization_design :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Updates the status of the specified testmode personalization design object to inactive.
Details
- Method:
post - Path:
/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate
@spec list( params :: %{ optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:lookup_keys) => [binary()], optional(:preferences) => preferences(), optional(:starting_after) => binary(), optional(:status) => :active | :inactive | :rejected | :review }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Details
- Method:
get - Path:
/v1/issuing/personalization_designs
@spec reject( personalization_design :: binary(), params :: %{ optional(:expand) => [binary()], optional(:rejection_reasons) => rejection_reasons() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Updates the status of the specified testmode personalization design object to rejected.
Details
- Method:
post - Path:
/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject
@spec retrieve( personalization_design :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves a personalization design object.
Details
- Method:
get - Path:
/v1/issuing/personalization_designs/{personalization_design}
@spec update( personalization_design :: binary(), params :: %{ optional(:card_logo) => binary() | binary(), optional(:carrier_text) => carrier_text() | binary(), optional(:expand) => [binary()], optional(:lookup_key) => binary() | binary(), optional(:metadata) => %{optional(binary()) => binary()}, optional(:name) => binary() | binary(), optional(:physical_bundle) => binary(), optional(:preferences) => preferences(), optional(:transfer_lookup_key) => boolean() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Updates a card personalization object.
Details
- Method:
post - Path:
/v1/issuing/personalization_designs/{personalization_design}