Get all user balances

Shows all balances of all merchants are owned by the user.

POST https://app.thedex.cloud/api/v1/balances

Headers

Name
Type
Description

X-EX-APIKEY*

String

Your API key

X-EX-PAYLOAD*

String

Body to base64

X-EX-SIGNATURE*

String

Encrypted body with the secret key

Request Body

Name
Type
Description

nonce*

String

request*

String

{
   [
      "$PAY_CURRENCY_VALUE":{
         "totalBalance":"String",
         "holdBalance":"String",
         "availableBalance":"String"
      }
   ]
}

Request curl:

curl --location 'https://app.thedex.cloud/api/v1/balances' \
--header 'X-EX-APIKEY: <string>' \
--header 'X-EX-PAYLOAD: <string>' \
--header 'X-EX-SIGNATURE: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
  "nonce": "<string>",
  "request": "<string>"
}'

Response JSON attributes:

$PAY_CURRENCY_VALUE

attribute name

reach out to accessed values to define attributes by link: /api/v1/info/currencies attribute "payCurrencies"

"totalBalance"

String

Sum of hold and available balances.

"holdBalance"

String

Temporary kept balance until balance will be unlocked.

"availableBalance"

String

Available balance to withdrawal

Informational

Last updated