Skip to main content
GET
/
api
/
private
/
wallet
/
all-transactions
/
{id}
/
Get Transaction
curl --request GET \
  --url https://app.digitalsurge.com.au/api/private/wallet/all-transactions/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "summary_id": 123,
  "id": 123,
  "object_id": 123,
  "created": "2023-11-07T05:31:56Z",
  "src_asset": "<string>",
  "dst_asset": "<string>",
  "exchange_rate": "<string>",
  "fee_currency": "<string>",
  "transaction_subtype": "<string>",
  "src_amount": "<string>",
  "dst_amount": "<string>",
  "quote_cost": "<string>",
  "cost": "<string>",
  "fee": "<string>",
  "aud_fee": "<string>",
  "aud_value": "<string>",
  "status": "<string>"
}

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

id
integer
required

A unique integer value identifying this transaction summary.

Response

200 - application/json

Serializer for TransactionSummary matching IndividualAssetWalletIOV2Serializer structure. All related field logic is pre-computed in the materialized view.

summary_id
integer
required
read-only
id
integer
required
read-only
object_id
integer
required
read-only
created
string<date-time>
required
src_asset
string | null
required
read-only
dst_asset
string | null
required
read-only
exchange_rate
string | null
required
read-only
fee_currency
string | null
required
read-only
transaction_type
enum<string>
required
  • buy - Buy
  • sell - Sell
  • swap - Swap
  • deposit - Deposit
  • withdrawal - Withdrawal
  • commission - Commission
  • airdrop - Airdrop
  • stake - Stake
  • unstake - Unstake
  • reward - Reward
Available options:
buy,
sell,
swap,
deposit,
withdrawal,
commission,
airdrop,
stake,
unstake,
reward
transaction_subtype
string
required
read-only

Convert transaction_subtype choice to V2 format.

src_amount
string<decimal> | null
dst_amount
string<decimal> | null
quote_cost
string<decimal> | null
cost
string<decimal> | null
fee
string<decimal> | null
aud_fee
string<decimal> | null
aud_value
string<decimal> | null
status
string
Maximum string length: 50