Get info about withdrawal methods by currency name [Private]

Get withdrawal methods and information about them (key to create a withdrawal, fee, minimum amount).

📘

To call any private endpoint, headers should include authorization key(s).

You may use a single API key or a public-private key pair based on your current tasks. Here you may find typical Header configurations for both options.

Method name:/v4/withdraw/private/preRequest
Request type:GET

Data dictionary

NameTypeParameter typeRequiredRangeDescription
currencystringQUERYYES-Cryptocurrency code. All available cryptocurrency assets are available through "Get information about available currencies" endpoint.

Exemplary request

Example pathDescription
/v4/withdraw/private/preRequest?currency=BTCReturns deposit payment methods and information (key to create a withdrawal, fee, minimum amount) about BTC.
const apiKey = "YOUR_API_KEY"; // put here your Api key

const url = "https://api.kuna.io";
const path = "/v4/withdraw/private/preRequest?currency=BTC";
const options = {
  method: "GET",
  headers: {
    accept: "application/json",
    "Content-Type": "application/json",
    "api-key": apiKey,
  },
};

fetch(url + path, options)
    .then((response) => response.json())
    .then((showResponse) => console.log(showResponse.data));
import requests

api_key = "YOUR_API_KEY"  # put here your Api key

url = "https://api.kuna.io"
path = "/v4/withdraw/private/preRequest?currency=BTC"
headers = {
    "accept": "application/json",
    "Content-Type": "application/json",
    "api-key": api_key,
}

request = requests.get(url + path, headers=headers)
print(request.json()))

How to call private endpoints here

Swagger here

Response

[
    {
      "currency": "btc",
      "key": "BTC",                                          // paymentMethod to create a withdrawal
      "fields": [                                            // Internal information
        { "name": "address",
          "label": "Address",
          "description": "Address"
        },
        {
          "name": "txid",
          "label": "Transaction Id",
          "description": "Transaction Id in blockchain"
        }
      ],
      "minAmount": "0.001",                                  // Minimum withdrawal amount
      "percentFee": "0.0",                                   // Percentage of fee per transaction
      "staticFeeAmount": "0.0005",                           // Fixed fee per transaction
      "staticFeeCurrency": "btc"                             // Commission asset
    }
  ]