Aquanow
Legacy
Legacy
  • About Aquanow
    • Introduction
  • VERSION DIFFERENCES
    • Latest vs Legacy
  • User Guide
    • Trading
      • Order Book
      • Submitting Orders
      • Order Types / Strategies
      • Trade Management
    • Automated Conversions
      • Autopilot
    • Deposits & Withdrawals
      • Deposits
      • Withdrawals
      • Balances
      • Transaction History
      • Approval Workflows
    • Account Management
      • CSV Exports
      • Address Management
      • IP Whitelisting
      • User List
  • Integration Guide
    • API Keys
      • Rate and API Key Limits
    • Authentication
    • Staging environment
    • Postman
    • Supported Assets and Tickers
    • Testnet and Faucet
  • API Endpoints | V1.0
    • Accounts API
      • User Balances
      • API Keys
    • Transaction API
      • Get Transactions
      • Create Transactions
      • Approvals API
      • Get Withdrawal Fee Estimate
    • Executions API
      • GET or Query Orders
      • Trading Strategies
    • Market Data API
      • Authorized Market Data
  • API Endpoints | V2.0
    • Transaction API
      • Get Transactions
    • Executions API
      • GET or Query Orders
      • Trading Strategies
  • Webhooks
    • Subscribing to Webhooks
    • Transaction Webhook
  • Websockets
    • Introduction
    • Authenticated Websockets
      • Market Data Websocket
      • Reporting Websocket
  • Data Objects & Statuses
    • Websocket Objects
    • Transaction Objects
      • Approval Objects
      • Fee Estimate Objects
    • Accounts Objects
    • Executions Objects
      • Duration Order Objects
    • Market Data Objects
    • Statuses
  • FAQs and Misc. Information
    • FAQs
    • Misc. Information
Powered by GitBook
On this page
  • Request a crypto withdrawal
  • Request a FIAT withdrawal
  1. API Endpoints | V1.0
  2. Transaction API

Create Transactions

Create Crypto or Fiat transactions

PreviousGet TransactionsNextApprovals API

Last updated 10 months ago

Request a crypto withdrawal

POST https://api.aquanow.io/accounts/v1/transaction

To view example requests for this endpoint, visit Aquanow's documentation.

Headers

Name
Type
Description

x-api-key*

String

{{x-api-key}}

API Auth Key

x-signature*

String

49c6260c194f4d7ed5cb917dc70b9821673246b2abc1cf28f05df6a75fd24181e00f8e57b321d15ae45db58b3bffe27a

Signature created using your API secret

x-nonce*

Number

1618307861949

Timestamp in millisecond

Content-Type*

String

application/json

Request Body

Name
Type
Description

symbol*

String

e.g., BTC

All uppercase letters, the crypto currency you are withdrawing.

address*

String

Destination address you are withdrawing to.

quantity

Number

The net amount of funds to be withdrawn. This is the amount that will be received after any applicable withdrawal fees have been deducted.

e.g if USDC quantity of 10,000 is inputted and withdrawal fee is 5 USDC, the balance will decrease by 10,005 and 10,000 will be sent to destination address

Must provide quantity OR grossQuantity

NOTE: You must have sufficient funds to be able to withdraw.

transactionType*

String

e.g., WITHDRAW

Type of transaction.

NOTE: Currently, we only support WITHDRAW requests

currencyTag

String

Additional address property (Tag/Memo) that allows identifying the transfer beneficiary or destination for a transaction.

tag

String

Additional reference id that you can send with a withdrawal request.

networkType

String

e.g., ETH Specify a networkType for symbols that support multiple networks.

One of ETH, TRON,XLM, FTM, MATIC

NOTE: Only applicable to USDT, USDC, MATIC, and FTM coins.

message

String

Additional field to add any messages/notes.

status

String

e.g., DONE Denotes the status of the withdrawal. Can be one of DONE or PROCESSING

txHash

String

e.g.,70a867671a6e01e91f5888d800d3978e2ec9aec6770740572a0a485b7d4b6629

Specify the txHash (transactions hash) for transactions that are DONE

NOTE: This does not create a new transaction on the blockchain.

grossQuantity

Number

The gross amount of funds to be withdrawn before deduction of any fees. This refers to the total amount that will be debited from the user's account.

e.g if USDC quantity of 10,000 is inputted and withdrawal fee is 5 USDC, the balance will decrease by 10,000 and 9,995 will be sent to destination address

Must provide quantity OR grossQuantity

NOTE: You must have sufficient funds to be able to withdraw.

{
  "itemDateTime": 1667206700438,
  "adminApproval": "PROCESSING",
  "networkType": "xrp",
  "address": "1EasiKeuuxEyjGwZfWF3Xh1muNjGpjDmeA",
  "networkFeeAqua": 0,
  "networkFee": 0,
  "quantity": 0.005,
  "grossQuantity": 0.0051,
  "bankInfo": {},
  "txId": "8c7e0127-e5b2-48c8-9fac-5ad8c3eca69d",
  "symbol": "BTC",
  "username": "helloWorld",
  "transactionType": "WITHDRAW",
  "createdAt": 1667206700438,
  "updatedAt": 1667206700438
}
{
  "retroActive": true,
  "networkType": "xrp",
  "address": "rNXQc5mT7b336bFTkenFTPiF5TYuyrJ3ZH",
  "quantity": 100,
  "bankInfo": {},
  "txId": "cca72591-db39-4f06-b483-364b73eac43c",
  "symbol": "XRP",
  "tag": "some-id-1-reference",
  "username": "helloWorld",
  "goToAdmin": true
}
{
  "itemDateTime": 1667204771386,
  "networkType": "xrp",
  "address": "rNXQc5mT7b336bFTkenFTPiF5TYuyrJ3ZH",
  "quantity": 100,
  "bankInfo": {},
  "currencyTag": "2307171792",
  "txId": "730b96c4-729e-460f-93e6-96af0a045ab7",
  "symbol": "XRP",
  "username": "helloWorld",
  "freeOrNot": true,
  "transactionType": "WITHDRAW",
  "isAutopilotAddress": false,
  "adminApproval": "PROCESSING",
  "createdAt": 1667204771386,
  "updatedAt": 1667204771386
}

{
  "retroActive": true,
  "networkType": "xrp",
  "address": "rNXQc5mT7b336bFTkenFTPiF5TYuyrJ3ZH",
  "grossQuantity": 1000,
  "networkFee": 100,
  "quantity": 900,
  "bankInfo": {},
  "txId": "cca72591-db39-4f06-b483-364b73eac43c",
  "symbol": "XRP",
  "tag": "some-id-1-reference",
  "username": "helloWorld",
  "goToAdmin": true
}
{
    "message": "Insufficient Funds"
}

{
    "message": "Conflicting parameters provided. Please specify either 'grossQuantity' or 'quantity', but not both."
}
{
    "message": "Please provide an address"
}
{
    "message": "Provided network type does not exist"
}

Request a FIAT withdrawal

POST https://api.aquanow.io/accounts/v1/transaction

Headers

Name
Type
Description

x-api-key*

String

{{x-api-key}}

API Auth Key

x-signature*

String

32c92460f65cbb78d0eaf9a4361fb6b0a2bb8bb4c40f531e9974a0afc12d9a328b5ff621a544d242ee9ba1dfa799c85a

Signature created using your API secret

x-nonce*

Number

1657731573930

Timestamp in millisecond

Content-Type*

String

application/json

Request Body

Name
Type
Description

symbol*

String

e.g., USD All uppercase letters, the FIAT currency you are withdrawing.

quantity

Number

The net amount of funds to be withdrawn. This is the amount that will be received after any applicable withdrawal fees have been deducted.

Must provide quantity OR grossQuantity

NOTE: You must have sufficient funds to be able to withdraw.

transactionType*

String

WITHDRAW

Type of transaction

NOTE: Currently, we only support WITHDRAW.

addressId*

String

Destination banking information you are withdrawing to.

NOTE: addressId is only required if you have multiple banking information stored.

grossQuantity

String

The gross amount of funds to be withdrawn before deduction of any fees. This refers to the total amount that will be debited from the user's account.

Must provide quantity OR grossQuantity

NOTE: You must have sufficient funds to be able to withdraw.

{
    "itemDateTime": 1667206700438,
    "adminApproval": "PROCESSING",
    "networkType": "fiat",
    "address": "1EasiKeuuxEyjGwZfWF3Xh1muNjGpjDmeA",
    "networkFeeAqua": 0,
    "networkFee": 0,
    "quantity": 0.005,
    "grossQuantity": 0.005,
    "bankInfo": {},
    "txId": "1c7e0167-e5b2-48c8-9fac-5wd8c3eca80t",
    "symbol": "USD",
    "username": "helloWorld",
    "transactionType": "WITHDRAW",
    "createdAt": 1667206700438,
    "updatedAt": 1667206700438
}
{
    "itemDateTime": 1667206700438,
    "adminApproval": "PROCESSING",
    "networkType": "fiat",
    "address": "1EasiKeuuxEyjGwZfWF3Xh1muNjGpjDmeA",
    "networkFeeAqua": 0,
    "networkFee": 5,
    "grossQuantity": 95,
    "quantity": 90,
    "bankInfo": {},
    "txId": "1c7e0167-e5b2-48c8-9fac-5wd8c3eca80t",
    "symbol": "USD",
    "username": "helloWorld",
    "transactionType": "WITHDRAW",
    "createdAt": 1667206700438,
    "updatedAt": 1667206700438
}
{
    "message": "Multiple fiat address detected. Please provide an addressId"
}
{
    "message": "Insufficient Funds"
}
{
    "message": "Please provide an address"
}
{
    "message": "must be equal to one of the allowed values"
}
{
    "message": "Conflicting parameters provided. Please specify either 'grossQuantity' or 'quantity', but not both."
}

Returns a .

Returns a .

Returns a .

Returns a .

To view example requests for this endpoint, visit Aquanow's documentation.

Postman
Postman
TransactionObject
TransactionObject
TransactionObject
TransactionObject