API reference
Search
K
Links

Delete an axerve payment

How to delete an existing axerve payment via API
To delete an axerve payment, send a DELETE request to the /api/axerve_payments/:id endpoint, where id is the id of the axerve payment that you want to delete.

Request

DELETE https://yourdomain.commercelayer.io/api/axerve_payments/:id

Example

Request
Response
The following request tries to delete the axerve payment identified by the ID "xYZkjABcde":
curl -g -X DELETE \
'https://yourdomain.commercelayer.io/api/axerve_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.