Endpoint
DELETE /api/customers/delete
Deletes a customer from Stripe. The customer ID can be provided either in the request body as userId or as a URL parameter.
Request Body
The Stripe customer ID to delete (format:
cus_...)Alternatively, you can pass the customer ID as a URL parameter (
/api/customers/:id) instead of in the request body.Response
Indicates if the request was successful
Response message describing the result
Object containing the ID of the deleted customer