更新现有订阅的支付方式。您可以添加新的支付方式或使用客户保存的支付方式中的现有方式。
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