Stripe是否具有用于使用记录的Webhook?

发布于 2025-02-09 09:08:08 字数 149 浏览 2 评论 0 原文

当事件发生在帐户中时,Stripe使用Webhook通知应用程序。 Webhooks对于异步事件特别有用,例如客户银行确认付款,客户质疑费用,经常性付款成功,或者在收取订阅付款等时进行付款等。

但是,Stripe是否有任何Webhook来告知用法记录定价模型的应用程序?

Stripe uses webhooks to notify application when an event happens in the account. Webhooks are particularly useful for asynchronous events like when a customer’s bank confirms a payment, a customer disputes a charge, a recurring payment succeeds, or when collecting subscription payments etc.

But, does stripe have any webhook to inform application for usage record pricing model?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

﹏雨一样淡蓝的深情 2025-02-16 09:08:08

Stripe的API今天没有使用Webhook用于使用记录。该API的使用量更高,大多数API并报告每个用法记录的事件可能在您的服务器和Stripe上可能是不可持续的。

最好的选择是在创建这些摘要API时自己跟踪记录:

There is no webhook for usage record today in Stripe's API. This API is used at a higher volume that most APIs and reporting an event for every usage record would likely be unsustainable on your servers and Stripe's.

The best option is to either track the records yourself as you create those or use the summary API: https://stripe.com/docs/api/usage_records/subscription_item_summary_list

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文