Fetch invoice commissions

Shows merchant-related (invoices) commissions.

POST https://app.thedex.cloud/api/v1/commissions/invoice

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 (Empty JSON)

{ }

Request JSON attributes

Name
Type
Description

-

-

-

Response body

{
   "merchantId": "String",
   "amountInPayCurrencyCommission": Number,
   "merchantIncomingCommission": Number,
   "depositBlockchainFeeType": "String",
   "monetaries":[
      {
         "monetary":"String",
         "rateCommission": Number,
         "depositBlockchainFee":Number,
         "complexCommission": Number
      },
      ...
   ]
}

Response JSON attributes

"merchantId"

String

ID Merchant

"amountInPayCurrencyCommission"

Number

Amount in pay currency commission

"merchantIncomingCommission"

Number

Merchant incoming comission

"depositBlockchainFeeType"

String

Possible values: CLIENT or MERCHANT

"monetaries"

JSON Array

Array of invoice commission by monetary

"monetaries.monetary"

String

Monetary (payCurrency)

"monetaries.rateCommission"

Number

Rate commission

"monetaries.depositBlockchainFee"

Number

Deposit blockchain fee by payCurrency

"monetaries.complexCommission"

Number

Complex commission (if set)

Request curl

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

Example Curl

curl --location --request POST 'https://app.thedex.cloud/api/v1/commissions/invoice' \
--header 'X-EX-APIKEY: test_api_key_123456' \
--header 'X-EX-PAYLOAD: e30=' \
--header 'X-EX-SIGNATURE: dummy_signature_abc123' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data-raw '{}'

Last updated