Remove Payment Method
Detaches payment methods from Stripe, clears stored card details, and pauses the subscription for the order.
Overview
- Method: POST
- Path:
/shared/payment/remove-payment-method/<id> - Tags: shared
Parameters
id (path)
- Type:
string - Required: Yes
- Description: id parameter
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"success": true,
"message": "string",
"data": "string",
"displayId": 123
}400
Bad Request
Content Type: application/json
{
"success": true,
"message": "string"
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
https://api.pillexa.com/shared/payment/remove-payment-method/<id> \
-H "Content-Type: application/json" \