class Stripe::Token

Overview

https://stripe.com/docs/api/tokens/object

Included Modules

Defined in:

stripe/methods/core/tokens/create_card_token.cr
stripe/objects/core/token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create(card : T | Nil = nil, customer : String | Customer | Nil = nil, expand : Array(String) | Nil = nil) : Token forall T #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def bank_account : PaymentMethods::BankAccount | Nil #

def card : PaymentMethods::Card | Nil #

def client_ip : String | Nil #

def created : Time #

def id : String #

def livemode : Bool #

def type : Type #

def used : Bool #