Get Withdrawal
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/{id}/"
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/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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
}Private
Get Withdrawal
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
/
{id}
/
Get Withdrawal
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/v2/wallet/{asset}/withdrawals/{id}/"
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/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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
}Authorizations
Path Parameters
Response
200 - application/json
V2 Withdrawal serializer that only accepts address book entry IDs. This prevents MITM attacks by not accepting raw addresses. Includes email confirmation for first-time addresses (same as V1 endpoint).