Skip to main content
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>'
{
  "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"
    }
  ],
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

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}$

Query Parameters

page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

status
enum<integer>
  • 5 - Draft
  • 10 - Pending
  • 15 - 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

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?page=2"