List Withdrawals
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"id": 123,
"amount": "<string>",
"address": "<string>",
"tag": "<string>",
"label": "<string>",
"txid": "<string>",
"created": "2023-11-07T05:31:56Z",
"closed": "2023-11-07T05:31:56Z",
"status": 5
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Private
List Withdrawals
Request a withdrawal to a saved address book entry and review past withdrawals.
The destination must be provided as the ID of a confirmed address book entry rather than a raw address. Two-factor authentication is required, and first-time addresses require email confirmation before the withdrawal is released.
GET
/
api
/
private
/
v2
/
wallet
/
{asset}
/
withdrawals
/
List Withdrawals
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"id": 123,
"amount": "<string>",
"address": "<string>",
"tag": "<string>",
"label": "<string>",
"txid": "<string>",
"created": "2023-11-07T05:31:56Z",
"closed": "2023-11-07T05:31:56Z",
"status": 5
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}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
Pattern:
^\w{1,10}$Query Parameters
A page number within the paginated result set.
Number of results to return per page.
5- Draft10- Pending15- Processing...20- Error!30- Canceled (by user)40- Rejected (by operator)50- Expired (by system)60- Processed
Available options:
10, 15, 20, 30, 40, 5, 50, 60