get
https://example.com
DELETE /v2/affiliatePaymentMethods/{paymentMethodId} — Remove a payment method
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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
| Parameter | Description |
|---|---|
paymentMethodId | Stripe 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
