List Asset (Personal Account)
Get the list of your assets
Note: if you want list assets in personal account, use this article.
This endpoint allows you to retrieve the total asset of all your wallets in a specified fiat currency (e.g., USD). You will also get detailed information about each individual wallet, including the cryptocurrency balance and its equivalent in fiat currency.
GET
https://api.payhubix.com/v1/wallet/personal/assets/USD/
Note: you must insert Fiat symbol in end of URL (e.g USD).
Request Header:
X-Api-Key*
string
Your API key for authentication and authorization.
Response:
Name
Type
Description
total_fiat_balance
float
The total balance of all wallets converted into fiat (e.g., 1439.828 USD).
fiat_symbol
string
The symbol of the fiat currency used to represent the total balance (e.g., "USD").
symbol
string
The symbol of the cryptocurrency (e.g., "USDT" for Tether, "TRX" for Tron).
name
string
The name of the cryptocurrency (e.g., "Tether", "Tron").
icon
string
URL of the cryptocurrency's icon (e.g., "https://payhubixstorage.darkube.app/.../USDT_logo.jpg").
balance
float
The balance of the cryptocurrency in its own unit (e.g., 9665 TRX).
fiat_balance
float
The equivalent balance of the cryptocurrency in fiat currency (e.g., 1439.828 USD).
fiat_symbol
string
The symbol of the fiat currency (e.g., "USD").
An example of response:
Example codes:
Note: Please make sure to replace YOUR_API_KEY
in the code snippets with your actual merchant API key
Last updated