是否有适用于 Google Cloud 的 API - 允许您创建要创建的结算付款方式?
我可以使用 API 创建 Google Cloud 结算帐号 https://cloud.google.com/billing/reference/rest/v1/billingAccounts ,但是我似乎找不到向此结算帐户添加付款方式的方法。
以前有人遇到过这个问题吗?
最佳答案
Google Cloud Billing API 旨在帮助您管理结算帐户及其与项目的链接。 Google Cloud 不提供用于添加付款信息(例如信用卡号)的 API。
Google Cloud 的结算 API 旨在符合 PCI 数据安全标准 (DSS)。 According to PCI DSS ,
The PCI DSS applies to all entities that store, process, and/or transmit cardholder data.
这意味着你。如果您编写一个存储持卡人数据并以编程方式传输数据的应用程序,那么您自己可能需要对您的 CDE(持卡人数据环境)进行 PCI DSS 评估。这可能不是您想要的。
Stripe API for Payment Methods提供类似的指导:
When creating with a card number, you must meet the requirements for PCI compliance. We strongly recommend using Stripe.js instead of interacting with this API directly.
关于google-cloud-platform - 谷歌云支付方式API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58780429/