Skip to main content

Get Wallet Details

GET
/wallets/{id}/

Retrieves detailed information about a specific wallet by its ID, including current balances.

Path Parameters

ParameterTypeRequiredDescription
idstringYesUUID of the wallet to retrieve

Authentication

This endpoint requires authentication using one of the following methods:

Authentication TypeHeaderDescription
OAuth 2.0AuthorizationBearer your_access_token
API KeyX-API-Keyyour_api_key

Response

A successful response returns the wallet details including balances.

FieldTypeDescription
idstringUnique wallet identifier (UUID)
namestringCustom name for the wallet
external_idstringYour unique identifier for this wallet
wallet_idstringSystem-assigned wallet identifier
createdstringISO 8601 timestamp of wallet creation
updatedstringISO 8601 timestamp of last wallet update
balancesarrayArray of balance objects for this wallet

Balance Object

FieldTypeDescription
currencystringCurrency code (e.g., "USDTTRC20", "BTC")
amountnumberTotal balance amount
pending_amountnumberAmount in pending transactions
available_balancenumberBalance available for transfers

Example Request

curl -X GET "{{BASE_URL}}/wallets/550e8400-e29b-41d4-a716-446655440000/" \
-H "X-API-Key: your_api_key"

Example Response

{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Player 12345",
"external_id": "player-12345",
"wallet_id": "w_abc123def456",
"created": "2025-03-15T14:30:00.000Z",
"updated": "2025-04-20T08:15:30.000Z",
"balances": [
{
"currency": "USDTTRC20",
"amount": "1500.75",
"pending_amount": "0.00",
"available_balance": "1500.75"
},
{
"currency": "BTC",
"amount": "0.025",
"pending_amount": "0.01",
"available_balance": "0.015"
}
]
}

Error Codes

Status CodeError CodeDescription
400invalid_requestInvalid wallet ID format
401unauthorizedAuthentication failed
403forbiddenUser doesn't have required permissions
404not_foundWallet not found
500server_errorInternal server error

Error Response Format

{
"error": {
"code": "not_found",
"message": "Wallet not found",
"details": {}
}
}

Notes

  • The wallet ID in the URL path is the UUID assigned when the wallet was created.
  • The response includes all current balances for the wallet.
  • Required scopes: read, write.
  • For querying balances by wallet_id or external_id instead of UUID, use POST /wallets/balances/.