Delete Payment

Be aware, that starting with OnApp 5.4 version, the request below will be deprecated. Instead, only the Delete User Payment request will be used.

DELETE /users/:user_id/payments/:payment_id.xml
DELETE /users/:user_id/payments/:payment_id.json

XML Request Example

curl -i -X DELETE -u user:userpass --url http://onapp.test/users/3/payments/2.xml

JSON Request Example

curl -i -X DELETE -u user:userpass --url http://onapp.test/users/3/payments/2.json