class Stripe::Token
- Stripe::Token
- Reference
- Object
Overview
https://stripe.com/docs/api/tokens/object
Included Modules
- JSON::Serializable
Defined in:
stripe/methods/core/tokens/create_card_token.crstripe/objects/core/token.cr
Constructors
- .create(card : T | Nil = nil, customer : String | Customer | Nil = nil, expand : Array(String) | Nil = nil) : Token forall T
- .new(pull : JSON::PullParser)
Instance Method Summary
- #bank_account : PaymentMethods::BankAccount | Nil
- #card : PaymentMethods::Card | Nil
- #client_ip : String | Nil
- #created : Time
- #id : String
- #livemode : Bool
- #type : Type
- #used : Bool
Constructor Detail
def self.create(card : T | Nil = nil, customer : String | Customer | Nil = nil, expand : Array(String) | Nil = nil) : Token forall T
#