Skip to main content

Path Parameters

paymentId
string
required
The unique identifier for the payment method to delete
Format: Stripe payment method ID (e.g., pm_1234567890abcdef)

Headers

Authorization
string
required
Bearer token from OTP verification
Format: Bearer {jwt_token}
X-API-Key
string
required
Storefront API key for authentication
{
  "success": true,
  "message": "Payment method deleted successfully",
  "deletedPaymentId": "pm_1234567890abcdef"
}
This operation removes the saved payment method from the customer’s account. The customer can add the same payment method again in the future if needed.