Delete Recurring Buy
curl --request DELETE \
--url https://app.digitalsurge.com.au/api/private/broker/schedules/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/broker/schedules/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/broker/schedules/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Private
Delete Recurring Buy
Recurring buys that automatically purchase an asset on a schedule — this is the DCA / scheduled trade flow. For instant one-shot trades, use the swaps endpoints instead.
Set a fixed AUD amount, an asset, and a cadence, and the platform will place the buy at each scheduled time. Changing the cadence resets the next run to the current moment so the new schedule starts immediately, unless a specific start time is provided.
DELETE
/
api
/
private
/
broker
/
schedules
/
{id}
/
Delete Recurring Buy
curl --request DELETE \
--url https://app.digitalsurge.com.au/api/private/broker/schedules/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/broker/schedules/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/broker/schedules/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Personal API key, created in the Digital Surge app under Account Settings → API Keys. Send it with every request as Authorization: Bearer <your-api-key>.
Path Parameters
A unique integer value identifying this Recurring Trade Schedule.
Response
204
No response body