Nusagate Docs
Search…
⌃K

Balance

All Currency Balances

Endpoint : /v1/merchant-transfers/balances
HTTP Method : GET
Header :
Authorization: Basic ENCODED_KEY
ENCODED_KEY value is result of Base64Encode("apiKey"+":"+"secretKey")
Response :
Sample Success Response :
HTTP Status Code : 200
{
"data": [
{
"id": "b023615f-46f4-467e-854c-a099ffc0b03e",
"name": "tether",
"code": "USDT_TRC20",
"image": "https://nusagate.s3.amazonaws.com/USDT/1642988151838%20-%20usdt.png",
"amount": 1076,
"currency": {
"id": "c8393ce1-75ed-4189-a352-b07dc8fd15d6",
"currency": "USDT",
"code": "USDT_TRC20",
"name": "tether",
"chain": "TRON",
"chainImageUrl": "https://nusagate.s3.amazonaws.com/USDT/1642988151838%20-%20usdt.png",
"network": "testnet",
"imageUrl": "https://nusagate.s3.amazonaws.com/USDT/1642988151838%20-%20usdt.png"
}
}
],
"meta": {
"message": "Successfully Get List Withdrawals",
"statusCode": 200
}
}
Response JSON Body Details :
Property
Description
id
balance ID
name
Cryptocurrency name
code
Cryptocurrency code
image
Cryptocurrency image
amount
Available balance

Currency Balance

Endpoint : /v1/merchant-transfers/balances/:currencyCode
HTTP Method : GET
Header :
Authorization: Basic ENCODED_KEY
ENCODED_KEY value is result of Base64Encode("apiKey"+":"+"secretKey")
Response :
Sample Success Response :
HTTP Status Code : 200
{
"data": {
"currencyCode": "USDT_TRC20",
"baseCurrency": "USD",
"currencyName": "tether",
"imageUrl": "https://nusagate.s3.amazonaws.com/USDT/1642988151838%20-%20usdt.png",
"availableBalance": 1076,
"minWithdrawalFiat": 3.5,
"minWithdrawal": 3.5,
"currency": {
"id": "c8393ce1-75ed-4189-a352-b07dc8fd15d6",
"currency": "USDT",
"code": "USDT_TRC20",
"name": "tether",
"chain": "TRON",
"chainImageUrl": "https://nusagate.s3.amazonaws.com/USDT/1642988151838%20-%20usdt.png",
"network": "testnet",
"imageUrl": "https://nusagate.s3.amazonaws.com/USDT/1642988151838%20-%20usdt.png"
}
},
"meta": {
"message": "Successfully Get Available Balance",
"statusCode": 200
}
}
Response JSON Body Details :
Property
Description
currencyCode
Cryptocurrency code
baseCurrency
Fiat currency
currencyName
Cryptocurrency name
imageUrl
Cryptocurrency image
availableBalance
Available balance