Thedex
  • Introduction
    • Merchant Payment Gateway
    • Currencies and networks
    • Confirmations and limits
  • Documentation
    • API Overview
    • Invoices
      • Create full invoice
      • Define full invoice crypto-currency
      • Create quick crypto invoice
      • Create quick fiat invoice
      • Get Invoice
      • Get invoices
      • Create static wallet
      • Get static wallet
      • Deprecated
        • Create quick invoice
    • Payouts
      • Create a payout
      • Create fiat-to-crypto payout
      • Get payout
      • Get payouts
    • Swaps
      • Get swaps
    • Balances
      • Get all user balances
    • Informational
      • Get status definitions for Invoice and payout
      • Get active crypto and fiat currencies
      • Get cryptocurrency to fiat-currency rate
      • Get fiat currency amount limits on invoice creation
      • Get fiat currency amount limits on payout creation
      • Get cryptocurrency amount limits on invoice creation
      • Get cryptocurrency amount limits on payout creation
      • Get Invoice creation ways
    • Commissions
      • Get payout commissions
      • Get invoice commissions
    • Merchant Preferences
      • Get merchant wallet whitelist
      • Add wallet to whitelist
      • Remove wallet to whitelist
Powered by GitBook
On this page
  1. Documentation
  2. Commissions

Get payout commissions

Shows all commission on payout creation for the requested user

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

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)

Name
Type
Description

{
   "userPayoutCommission": Number,
   "payoutBlockchainFee":[
      {
         "monetary": "String",
         "blockchainFee": Number
      }, 
      ...
   ]
}

Request curl:

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

Response JSON attributes:

Name

Type

Description

"userPayoutCommission"

Number

Payout commission of User

"payoutBlockchainFee"

JSON Array

An array of blockchainFee by monetary

"payoutBlockchainFee.monetary"

String

payCurrency (monetary)

"payoutBlockchainFee.blockchainFee"

Number

Blockchain fee that will be withdrawn from user balance by monetary

PreviousCommissionsNextGet invoice commissions

Last updated 1 year ago