You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Stripe CLI获取付款对账报告时添加日期参数报错求助

解决Stripe CLI添加--interval_start参数报错的问题

你的问题核心是用错了命令:

  • stripe reporting report_types retrieve payout_reconciliation.itemized.5 这个命令仅用于查询指定报告类型的元数据(比如支持的字段、版本信息),本身不需要也不支持--interval_start/--interval_end这类时间过滤参数,所以添加后会触发未知flag的错误。
  • 要生成带时间范围的付款对账报告,你需要使用stripe reporting reports create命令,这才是创建具体报告并指定时间范围的正确操作。

正确的命令示例:

stripe reporting reports create --report-type=payout_reconciliation.itemized.5 --interval_start=1702944000 --interval_end=1705276800

额外注意:

  • 确保你的Stripe CLI是最新版本,旧版本可能存在参数支持不全的问题,可执行stripe update命令升级。
  • 确认传入的时间戳是有效的Unix时间戳,格式无误。

内容的提问来源于stack exchange,提问作者Zabs

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 01:27:03