Get Public Withdrawal Config
curl --request GET \
--url https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/publicimport requests
url = "https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"platform": "<string>",
"disabled": true,
"disabledBlockchainSymbols": [
"<string>"
],
"enabledFeatures": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"fromCurrencies": [
{
"id": "<string>",
"symbol": "<string>",
"decimals": 123,
"mintAddress": "<string>",
"isNative": true,
"features": [
"<string>"
],
"blockchain": {
"id": "<string>",
"name": "<string>",
"symbol": "<string>"
}
}
],
"exchangeRates": [
{
"minimalUnitRate": "<string>",
"decimalRate": "<string>",
"fromCurrencyId": "<string>",
"toCurrencyId": "<string>",
"fromCurrencySymbol": "<string>",
"fromBlockchainSymbol": "<string>",
"toCurrencySymbol": "<string>"
}
],
"minSupportedVersions": {
"packages": {}
}
}WITHDRAWALS
Get Public Withdrawal Config
Returns the public withdrawal configuration for a withdrawalConfigId, including the merchant’s source currencies. No authentication required (rate-limited).
GET
/
v1
/
withdrawal-configs
/
{withdrawalConfigId}
/
public
Get Public Withdrawal Config
curl --request GET \
--url https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/publicimport requests
url = "https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hel.io/v1/withdrawal-configs/{withdrawalConfigId}/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"platform": "<string>",
"disabled": true,
"disabledBlockchainSymbols": [
"<string>"
],
"enabledFeatures": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"fromCurrencies": [
{
"id": "<string>",
"symbol": "<string>",
"decimals": 123,
"mintAddress": "<string>",
"isNative": true,
"features": [
"<string>"
],
"blockchain": {
"id": "<string>",
"name": "<string>",
"symbol": "<string>"
}
}
],
"exchangeRates": [
{
"minimalUnitRate": "<string>",
"decimalRate": "<string>",
"fromCurrencyId": "<string>",
"toCurrencyId": "<string>",
"fromCurrencySymbol": "<string>",
"fromBlockchainSymbol": "<string>",
"toCurrencySymbol": "<string>"
}
],
"minSupportedVersions": {
"packages": {}
}
}minSupportedVersions is advisory (not enforced by the API). When using the Withdraw SDK, compare it with isSupported() before starting a flow.Path Parameters
The withdrawal config ID.
Response
Public withdrawal config retrieved successfully.
The withdrawal config ID (withdrawalConfigId).
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Advisory minimum client package versions. Soft gate — advertised, not enforced by the API.
Show child attributes
Show child attributes
