DELETE
Cancel Standing Order
Terminate an active standing order before its original end date.
DELETE/v2/standing-orders/{order_id}
Use this endpoint to permanently cancel an active standing order. Once cancelled, no further automated transfers will be executed under this order ID. This action cannot be undone.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | YES | Bearer token containing your secret API key. |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | YES | The unique ID of the standing order to cancel. |
Example Request
cURL
curl -X DELETE "https://sandbox.hexcore.io/v2/standing-orders/so_x9y8z7w6v5" \-H "Authorization: Bearer sk_test_your_secret_key"Example Response
JSON (200 OK)
{"status": true,"message": "Standing order successfully cancelled","data": {"order_id": "so_x9y8z7w6v5","status": "CANCELLED","cancelled_at": "2026-05-02T12:00:00Z"} }