Get deposit methods
curl --request POST \
--url https://api.kraken.com/0/private/DepositMethods \
--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": "ZUSD",
"aclass": "currency"
}
'import requests
url = "https://api.kraken.com/0/private/DepositMethods"
payload = {
"nonce": 123,
"category": "custody",
"asset": "ZUSD",
"aclass": "currency"
}
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: 'ZUSD', aclass: 'currency'})
};
fetch('https://api.kraken.com/0/private/DepositMethods', 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/DepositMethods"
payload := strings.NewReader("{\n \"nonce\": 123,\n \"category\": \"custody\",\n \"asset\": \"ZUSD\",\n \"aclass\": \"currency\"\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": [
{
"method": "<string>",
"limit": "<string>",
"fee": "<string>",
"fee-percentage": "<string>",
"address-setup-fee": "<string>",
"gen-address": true,
"minimum": "<string>"
}
]
}Portfolios
Get deposit methods
Retrieve the available deposit funding methods for depositing a specific asset. The deposit method is required to retrieve deposit addresses using the Get Deposit Addresses API.
POST
/
0
/
private
/
DepositMethods
Get deposit methods
curl --request POST \
--url https://api.kraken.com/0/private/DepositMethods \
--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": "ZUSD",
"aclass": "currency"
}
'import requests
url = "https://api.kraken.com/0/private/DepositMethods"
payload = {
"nonce": 123,
"category": "custody",
"asset": "ZUSD",
"aclass": "currency"
}
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: 'ZUSD', aclass: 'currency'})
};
fetch('https://api.kraken.com/0/private/DepositMethods', 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/DepositMethods"
payload := strings.NewReader("{\n \"nonce\": 123,\n \"category\": \"custody\",\n \"asset\": \"ZUSD\",\n \"aclass\": \"currency\"\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": [
{
"method": "<string>",
"limit": "<string>",
"fee": "<string>",
"fee-percentage": "<string>",
"address-setup-fee": "<string>",
"gen-address": true,
"minimum": "<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
Was this page helpful?