View Source Stripe.Issuing.Token (stripity_stripe v3.2.0)
An issuing token object is created when an issued card is added to a digital wallet. As a card issuer, you can view and manage these tokens through Stripe.
Summary
Functions
Lists all Issuing Token objects for a given card.
Retrieves an Issuing Token object.
Attempts to update the specified Issuing Token object to the status specified.
Types
@type t() :: %Stripe.Issuing.Token{ card: binary() | Stripe.Issuing.Card.t(), created: integer(), device_fingerprint: binary() | nil, id: binary(), last4: binary(), livemode: boolean(), network: binary(), network_data: term(), network_updated_at: integer(), object: binary(), status: binary(), wallet_provider: binary() }
The issuing.token type.
cardCard associated with this token.createdTime at which the object was created. Measured in seconds since the Unix epoch.device_fingerprintThe hashed ID derived from the device ID from the card network associated with the tokenidUnique identifier for the object.last4The last four digits of the token.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.networkThe token service provider / card network associated with the token.network_datanetwork_updated_atTime at which the token was last updated by the card network. Measured in seconds since the Unix epoch.objectString representing the object's type. Objects of the same type share the same value.statusThe usage state of the token.wallet_providerThe digital wallet for this token, if one was used.
Functions
@spec list( params :: %{ optional(:card) => binary(), optional(:created) => created() | integer(), optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary(), optional(:status) => :active | :deleted | :requested | :suspended }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Lists all Issuing Token objects for a given card.
Details
- Method:
get - Path:
/v1/issuing/tokens
@spec retrieve( token :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves an Issuing Token object.
Details
- Method:
get - Path:
/v1/issuing/tokens/{token}
@spec update( token :: binary(), params :: %{ optional(:expand) => [binary()], optional(:status) => :active | :deleted | :suspended }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Attempts to update the specified Issuing Token object to the status specified.
Details
- Method:
post - Path:
/v1/issuing/tokens/{token}