Configuration

Get Account Configuration

Retrieve account configuration details.

GEThttps://cams.aquanow.com/api/v1/accounts/{accountId}/configuration
Path parameters
accountId*string (uuid)

The account ID

Response

Successful response

Body
accountIdstring (uuid)
accountStatusAccountStatus (enum)
ACTIVEINACTIVECREATING
creditLimitstring (integer)
Example: "40000"
accountTypeAccountType (enum)
CREDITCASH
tradeStrategyEnablementarray of enum
pairEnablementarray of enum
depositBankAddressnullable object
depositWalletsarray of object
Request
const response = await fetch('https://cams.aquanow.com/api/v1/accounts/{accountId}/configuration', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "accountId": "123e4567-e89b-12d3-a456-426614174000",
  "accountStatus": "ACTIVE",
  "creditLimit": "40000",
  "accountType": "CREDIT",
  "tradeStrategyEnablement": [
    "RFQ"
  ],
  "pairEnablement": [
    "BTC-USD"
  ],
  "depositBankAddress": {
    "bankName": "text",
    "bankAddress": "text",
    "routingCode": "text",
    "swiftCode": "text",
    "accountNumber": "text",
    "IBAN": "text",
    "currency": "text",
    "beneficiaryName": "text",
    "referenceCode": "text"
  },
  "depositWallets": [
    {
      "asset": "ETH",
      "network": "ERC20",
      "address": "0x6BD140405426464d83ed0286217cc9B578Fe5555"
    }
  ]
}

Last updated