Get info about deposit payment methods by currency name [Private]

Returns deposit payment methods and information about them (fee and 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/deposit/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/deposit/private/preRequest?currency=BTCReturns deposit payment methods and information (fees and minimum amount) about BTC.
const apiKey = "YOUR_API_KEY"; // put here your Api key

const url = "https://api.kuna.io";
const path = "/v4/deposit/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/deposit/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

[
        {
            "code": "BTC",                                                // Method code to create a deposit
            "fields": [                                                   // Internal data
                {
                    "name": "address",
                    "label": "Address",
                    "validators": [],
                    "description": "Address",
                    "isRequired": false
                },
                {
                    "name": "txid",
                    "label": "Transaction Id",
                    "validators": [],
                    "description": "Transaction Id in blockchain",
                    "isRequired": false
                }
            ],
            "details": {
                "feeFixed": "0.0",                                          // Fixed fee per transaction
                "feeRate": "0.0",                                           // Percentage of fee per transaction
                "minAmount": "0.0"                                          // Minimum amount to deposit funds into an account
            }
        }
]