DELETE /user/paymethods/{paymethod_id}
Remove one of the authenticated client's stored payment methods.
Request
- Base URLhttps://developers.whmcs.com/api/v2
- Authnone declared
Path parameters
paymethod_idinteger required
Example:12
A stored payment method ID from the GET /user/paymethods endpoint. This is the same value that the POST /cart/{cart_id}/checkout endpoint accepts as the payment.paymethod_id value.
The minimum possible value is 1.
Response
The system removed the stored payment method. The system attempts to revoke the stored credential with the payment provider first. When it cannot revoke it - for example, when the gateway is inactive or the payment provider does not support revocation - the system still removes the local record and logs the reason.
Changes
No recorded changes to this operation across all 1 revision of this API.