GET
https://api.fps.pro/balances/info
Response formatdata object
data.personalobject | Balances of the user's personal wallet |
data.personal.{token_code}.{network_code}.cryptonumber | Crypto balance by token and network |
data.personal.{token_code}.{network_code}.usdnumber | USD equivalent of the balance |
data.{merchant_name}object | Merchant balances. The key is the merchant name |
data.{merchant_name}.{token_code}.{network_code}.cryptonumber | Merchant crypto balance by token and network |
data.{merchant_name}.{token_code}.{network_code}.usdnumber | USD equivalent of the merchant balance |
Request examples
curl --request GET 'https://api.fps.pro/balances/info' \ --header 'X-Client-Id: YOUR_CLIENT_ID' \ --header 'X-Timestamp: 1720000000' \ --header 'X-Signature: YOUR_HMAC_SHA256_SIGNATURE'
Successful response
{
"status": 200,
"message": "ok",
"data": {
"personal": {
"tether": {
"tron": {
"crypto": 150.25,
"usd": 150.25
}
}
},
"main-merchant": {
"btc": {
"btc": {
"crypto": 0.15,
"usd": 9200.45
}
}
}
}
}Errors
Detailed authorization errors are listed in Authorization - Errors
{
"status": 500,
"message": "Internal Server Error"
}