【发布时间】:2021-06-16 09:37:14
【问题描述】:
我有带连接的条带帐户的条带平台。
我想获得对特定关联帐户的所有费用。
用户关联的帐号 ID:
acct_xxx
我能找到的唯一文档是基于 API 密钥检索到的客户。 https://stripe.com/docs/api/charges/list
const stripe = require('stripe')('sk_test_xxx');
const charges = await stripe.charges.list({
limit: 3,
});
我需要获取关联帐户的所有费用。不对平台客户收费。
我为 ruby 发现了一个类似的堆栈溢出问题。 Get a list of the charges on a Stripe account connected via Stripe Connect
我不知道如何使用 node.js 实现这一点
【问题讨论】:
标签: node.js google-cloud-functions stripe-payments