更新现有订阅的支付方式。您可以添加新的支付方式或使用客户保存的支付方式中的现有方式。
on_hold 状态的活跃订阅和订阅。
on_hold 状态的订阅,更新支付方式会自动创建剩余欠款的收费,生成发票,并在成功付款后将订阅重新激活为 active 状态。type: "existing" 更新订阅的支付方式时检索可用的支付方式 ID。on_hold 状态的订阅的支付方式时:
active 状态payment.succeeded,随后是 subscription.activeon_hold 订阅的支付方式时,您将收到以下 webhook 事件:
payment.succeeded - 剩余欠款的收费成功subscription.active - 订阅已重新激活Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Subscription Id