S76 Stripe v0.1.5 Stripe.Token View Source

The Stripe Token object.

See https://stripe.com/docs/api/curl#tokens for further details.

Link to this section Summary

Functions

See https://stripe.com/docs/api/curl#create_card_token

Link to this section Types

Link to this type

t()

View Source
t() :: %Stripe.Token{
  bank_account: nil,
  card: nil,
  client_ip: nil | String.t(),
  created: DateTime.t(),
  id: nil | String.t(),
  livemode: boolean(),
  type: :bank_account | :card,
  used: boolean()
}

Link to this section Functions

Link to this function

create(params)

View Source
create(map()) :: Stripe.API.response(t())

See https://stripe.com/docs/api/curl#create_card_token