Skip to main content

Wallets and Balances

Get Total Balance

Get the aggregated balance of all your business wallets.

Endpoint: GET /balance Response:

{
"success": true,
"net_worth_usd": 1500.50,
"assets": {
"USDT": 1000.00,
"USDC": 500.50
}
}

Get All Wallets

List all crypto wallets assigned to your business.

Endpoint: GET /wallets Response:

{
"success": true,
"data": [
{
"wallet_id": "w_123",
"blockchain": "TRON",
"address": "Txyz...",
"currencies": ["USDT", "USDC"]
}
]
}

Transactions

Get Transaction History

Retrieve a list of all deposits and withdrawals.

Endpoint: GET /transactions Response:

{
"success": true,
"data": [
{
"id": "tx_123",
"type": "deposit",
"amount": "500",
"asset": "USDT",
"status": "completed",
"date": "2024-12-01T10:00:00Z"
}
]
}

Get Transaction Details

Endpoint: GET /transactions/:transaction_id


Error Handling

CodeMeaning
401Unauthorized (Missing/Invalid Keys)
403Forbidden (Revoked Key or Unverified Business)
400Bad Request (Missing fields)
500Server Error