Transaction API
Get User Balance
GET
https://api.aquanow.io/users/v1/userbalance
Get user balances by symbol.
Query Parameters
symbol*
string
Fetches the user balance for the symbol provided. If symbol is not specified in query parameters, it fetch all user balances
Get Transactions
GET
https://api.aquanow.io/accounts/v1/transaction
GET transaction records using one of the query parameters below.
Query Parameters
startTime
number
timestamp in ms
, MUST be sent with endTime.
endTime
number
timestamp in ms
, MUST be sent with startTime.
address
string
Specify the address to grab transactions associated with the address. You can optionally add startTime and endTime as well
txId
string
GET single transaction via txId
txHash
string
query all transactions with the same txHash
transactionType
enum
DEPOSIT
, WITHDRAW
or CONVERSION
limit
number
default: 100
; max: 1000
Create Withdrawal
POST
https://api.aquanow.io/accounts/v1/transaction
A transaction of transferring crypto or fiat from Aquanow to an external address (a wallet, an exchange, or a bank account).
Request Body
symbol*
string
Currency you wish to withdraw, in uppercase.
address*
string
Address you wish to withdraw to for crypto withdrawal
addressId
string
Banking information you are withdrawing to for fiat withdrawal. Only required if you have multiple banking information stored
quantity*
number
Quantity you wish to withdraw. Must have sufficient funds to be able to withdraw.
transactionType*
string
Type of transaction. Currently only WITHDRAW is supported.
networkType
"eth" | "tron"
Only required when you withdraw from USDT
Get payouts & deposits
GET
https://api.aquanow.io/payment/v1/payout
Get withdrawals and non-payment deposits
Query Parameters
startTime*
number
Time in ms
endTime
number
Time in ms
. Default to now.
txId
string
Get single record by transaction id
startsAfter
string
Pagination token, only returns when there's more data available for the query.
Transaction Response Fields
address
The destination address of the transaction
adminApproval
Status of transaction.
UNCONFIRMED: Tx detected but not yet deposited (as there is not enough confirmations
PROCESSING: Tx is in transit and will be processed shortly
REJECTED: Tx is deposited but not executed to fiat (for autopilot/aquapay transactions)
DONE: Transaction has been processed.
bankInfo
If FIAT, bankInfo
createdAt
Date Transaction was created in ms
isAutopilotAddress
Whether or not this transaction is an autopilot (NOTE: Aquapay transactions are autopilot addresses)
itemDateTime
Date of transaction
networkFeeAqua
Blockchain NetworkFee, if applicable
quantity
Size of transaction
symbol
Currency symbol i.e BTC or USD
tag
Tag set by you to differentiate transactions
transactionType
WITHDRAW
, DEPOSIT
or CONVERSION
txId
Uuid of transaction
updatedAt
Date Transaction was last updated in ms
username
Username
Last updated