Transfers
Get withdraw methods
Retrieve a list of withdrawal methods available for a specified vault.
POST
/
0
/
private
/
WithdrawMethods
Get withdraw methods
curl --request POST \
--url https://api.kraken.com/0/private/WithdrawMethods \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--header 'x-vault-id: <x-vault-id>' \
--data '
{
"nonce": 123,
"category": "custody",
"asset": "<string>",
"aclass": "currency",
"network": "<string>"
}
'import requests
url = "https://api.kraken.com/0/private/WithdrawMethods"
payload = {
"nonce": 123,
"category": "custody",
"asset": "<string>",
"aclass": "currency",
"network": "<string>"
}
headers = {
"x-vault-id": "<x-vault-id>",
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-vault-id': '<x-vault-id>',
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
nonce: 123,
category: 'custody',
asset: '<string>',
aclass: 'currency',
network: '<string>'
})
};
fetch('https://api.kraken.com/0/private/WithdrawMethods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.kraken.com/0/private/WithdrawMethods"
payload := strings.NewReader("{\n \"nonce\": 123,\n \"category\": \"custody\",\n \"asset\": \"<string>\",\n \"aclass\": \"currency\",\n \"network\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-vault-id", "<x-vault-id>")
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": [
{
"severity": "E",
"errorClass": "<string>",
"type": "<string>",
"errorMessage": "<string>"
}
],
"result": [
{
"asset": "<string>",
"method_id": "<string>",
"method": "<string>",
"network_id": "<string>",
"network": "<string>",
"minimum": "<string>",
"limits": [
{
"limit_type": "<string>",
"limits": {},
"description": "<string>"
}
],
"fee": {
"aclass": "currency",
"asset": "<string>",
"fee": "<string>",
"fee_percentage": "<string>"
}
}
]
}Authorizations
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
Headers
Vault ID or Vault IIBAN
Required string length:
12 - 19Pattern:
(^V[A-Z2-7]{12}[ACEGIKMOQSUWY246]$|AA[A-Z0-9]{2} ?[A-Z0-9]{4} ?[A-Z0-9]{4} ?[A-Z0-9]{4})Body
application/json
This endpoint returns a list of withdrawal methods available for the user
⌘I
Get withdraw methods
curl --request POST \
--url https://api.kraken.com/0/private/WithdrawMethods \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--header 'x-vault-id: <x-vault-id>' \
--data '
{
"nonce": 123,
"category": "custody",
"asset": "<string>",
"aclass": "currency",
"network": "<string>"
}
'import requests
url = "https://api.kraken.com/0/private/WithdrawMethods"
payload = {
"nonce": 123,
"category": "custody",
"asset": "<string>",
"aclass": "currency",
"network": "<string>"
}
headers = {
"x-vault-id": "<x-vault-id>",
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-vault-id': '<x-vault-id>',
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
nonce: 123,
category: 'custody',
asset: '<string>',
aclass: 'currency',
network: '<string>'
})
};
fetch('https://api.kraken.com/0/private/WithdrawMethods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.kraken.com/0/private/WithdrawMethods"
payload := strings.NewReader("{\n \"nonce\": 123,\n \"category\": \"custody\",\n \"asset\": \"<string>\",\n \"aclass\": \"currency\",\n \"network\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-vault-id", "<x-vault-id>")
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": [
{
"severity": "E",
"errorClass": "<string>",
"type": "<string>",
"errorMessage": "<string>"
}
],
"result": [
{
"asset": "<string>",
"method_id": "<string>",
"method": "<string>",
"network_id": "<string>",
"network": "<string>",
"minimum": "<string>",
"limits": [
{
"limit_type": "<string>",
"limits": {},
"description": "<string>"
}
],
"fee": {
"aclass": "currency",
"asset": "<string>",
"fee": "<string>",
"fee_percentage": "<string>"
}
}
]
}