ios - 使用 Stripe iOS SDK 标记银行信息

标签 ios swift stripe-payments stripe-connect

使用 Stripe iOS SDK 中的 UI 组件,我可以轻松生成 token /Stripe 源 ID 客户端,以将信用卡信息安全地传递到服务器。我似乎无法为银行账户信息找到类似的标记化功能。我可以使用 STPBankAccountParams 在客户端收集银行信息,但是有没有一种方法可以将此信息标记化然后传递到服务器?

最佳答案

我在 STPAPIAClient 中找到了标记化方法.这是您要找的吗?

#pragma mark - Bank Accounts
@implementation STPAPIClient (BankAccounts)

- (void)createTokenWithBankAccount:(STPBankAccountParams *)bankAccount
                        completion:(STPTokenCompletionBlock)completion {
    NSDictionary *params = [STPFormEncoder dictionaryForObject:bankAccount];
    [self createTokenWithParameters:params completion:completion];
}

@end

关于ios - 使用 Stripe iOS SDK 标记银行信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43724123/

相关文章:

ios - 将 UIView 添加到 UITableViewCell 没有显示任何内容

ios - 以编程方式快速更改 segue 标识符名称

swift - queryOrdered 并不总是以正确的顺序返回 tableViewCell 上的数据

node.js - Stripe API 未处理的拒绝响应错误

ios - crashlytics 框架中是否有运行命令的手册

ios - 如何像设置应用程序一样使用表格 View 单元格编辑文本?

iphone - 如何在分页完成时禁用ScrollView的摇动动画?

swift - 在 MapBox 图层 iOS 上添加搜索栏

javascript - 自行输入 Stripe Payment 的费用金额

angularjs - 使用 Angular 路线时不显示 Stripe Checkout 按钮