Payment Method .: Delete

API Reference / v15

Delete a Payment Method

This endpoint deletes a user’s active payment method.

To delete the user’s payment method, you must have a token with the manage_user_payment_methods permission.

Request Endpoint

DELETE /v15/payment_method

Authorization Required – User Token in Header

Authorization: token user="123897-99SCvr3kSe3TqqQid3DyPXfo2Kq98MyhF6CaNPqoDeMhJ18Uopq19uddcznu6R"

cURL Example

curl -X DELETE -H Accept:application/json -H Content-Type:application/json -H 'Authorization: token user="123897-99SCvr3kSe3TqqQid3DyPXfo2Kq98MyhF6CaNPqoDeMhJ18Uopq19uddcznu6R"'

Example Response

HTTP/1.1 200 OK - Payment method deleted


HTTP/1.1 404 Not Found - User does not have an active payment method