Documentation ¶
Overview ¶
package token provides the /tokens APIs
Index ¶
Constants ¶
View Source
const ( Card stripe.TokenType = "card" Bank stripe.TokenType = "bank_account" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get returns the details of a token. For more details see https://stripe.com/docs/api#retrieve_token.
func New ¶
func New(params *stripe.TokenParams) (*stripe.Token, error)
New POSTs a new card or bank account. For more details see https://stripe.com/docs/api#create_card_Token and https://stripe.com/docs/api#create_bank_account_token.
Types ¶
Click to show internal directories.
Click to hide internal directories.