Skip to main content
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>'
{
  "id": 123,
  "amount": "<string>",
  "address": "<string>",
  "tag": "<string>",
  "label": "<string>",
  "txid": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "closed": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

asset
string
required
Pattern: ^\w{1,10}$
id
integer
required

A unique integer value identifying this Withdrawal.

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).

id
integer
required
read-only
amount
string<decimal>
required
address
string
required
read-only
tag
string
required
read-only
label
string
required
read-only

Label from address book entry

txid
string
required
read-only

Transaction number associated with this withdrawal.

created
string<date-time>
required
read-only
closed
string<date-time> | null
required
read-only

Last status change.

status
enum<integer>
required
  • 5 - Draft
  • 10 - Pending
  • 15 - Processing...
  • 20 - Error!
  • 30 - Canceled (by user)
  • 40 - Rejected (by operator)
  • 50 - Expired (by system)
  • 60 - Processed
Available options:
5,
10,
15,
20,
30,
40,
50,
60