Skip to main content
DELETE
JavaScript
从客户账户中移除已保存的支付方式。用于清理过时或不需要的支付方式。
如果被删除的支付方式是激活订阅的唯一支付方式,则该订阅可能无法在下一个计费周期中续订。在删除之前,请确保客户有替代的支付方式。

使用案例

  • 客户请求: 移除客户不再想保存的支付方式
  • 过期卡: 清理卡信息已过期的支付方式
  • 安全: 立即移除受损的支付方式

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

customer_id
string
必填

Customer Id

payment_method_id
string
必填

Payment Method Id

响应

Payment method deleted successfully

最后修改于 2026年4月20日