我有一张客户保存的卡的 token ,当我想使用 strip 查看所有客户保存的卡时,如何检索此卡的详细信息?
最佳答案
好吧,您只是无法通过其 token 检索卡详细信息。该 token 仅用于支付一次。 现在为了存储客户卡,您需要在 stripe 创建客户帐户 .. 然后向客户注册您的卡 .. 您可以通过客户 ID 检索所有向客户注册的卡 ..
选中此项以创建客户 .. https://stripe.com/docs/api#customers
检查此以与客户创建卡.. https://stripe.com/docs/api#create_card
这就是整个过程..我最近实现了..
关于ios - 如何创建 STPCard Stripe ios?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44085269/