delete

DELETE /v2/affiliatePaymentMethods/{paymentMethodId} — Remove a payment method

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Detaches a payment method from the affiliate's Stripe customer and removes it from the Telegra billing profile. If the method is already detached in Stripe (resource_missing), the call still succeeds — it is treated as a no-op on the Stripe side and the record is removed from Telegra's billing profile regardless.

Path parameters

ParameterDescription
paymentMethodIdStripe payment method ID (pm_xxx) to remove

Response

{
  "success": true,
  "message": "Payment method removed successfully",
  "data": {
    "paymentMethodId": "pm_xxx"
  }
}

Required role

affiliate_super_admin, affiliate_admin, or affiliate_agent

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!