简体   繁体   中英

Stripe how to create a token for a Credit Card stored with customer using iOS / Parse

Im in the process of creating automatic charges to Stripe out of an iOS app.

I can:

  • collect card info
  • create a token with publishable key
  • create a new customer and attach that collected credit card to the new customer by using the token

Adding the card to the customer however, uses up the token (token seems to be single use only according to Stripe), so I need a new one for a later charge.

Now, Id like to create a charge, which leads to the question:

  • How can I create a new token from the same stored credit card? (Without having all the infos like card number etc. again)

Thank you!

创建费用api可让您传递客户ID来收费客户的存储卡,并且不需要令牌。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM