Delete a paypal payment
How to delete an existing paypal payment via API
To delete a paypal payment, send a
DELETE
request to the /api/paypal_payments/:id
endpoint, where id
is the id of the paypal payment that you want to delete.DELETE https://yourdomain.commercelayer.io/api/paypal_payments/:id
Request
Response
The following request tries to delete the paypal payment identified by the ID "xYZkjABcde":
curl -g -X DELETE \
'https://yourdomain.commercelayer.io/api/paypal_payments/xYZkjABcde' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'
On success, the API responds with a
204 No Content
status code.Last modified 6mo ago