Create Funding Withdrawal
curl --request POST \
--url https://api.kraken.com/funding/v1/withdrawals \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"scope": {
"method_id": "d4ec4d52-b159-428e-ba64-f45455a978a1"
},
"address_id": "ABR6SXP-SF6CY-VJMONY",
"amount": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "5"
}
},
"fee": {
"quoted_fee": {
"token": "YOUR_WITHDRAWAL_FEE_TOKEN"
},
"fee_included": true
}
}
'import requests
url = "https://api.kraken.com/funding/v1/withdrawals"
payload = {
"scope": { "method_id": "d4ec4d52-b159-428e-ba64-f45455a978a1" },
"address_id": "ABR6SXP-SF6CY-VJMONY",
"amount": { "asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "5"
} },
"fee": {
"quoted_fee": { "token": "YOUR_WITHDRAWAL_FEE_TOKEN" },
"fee_included": True
}
}
headers = {
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"API-Nonce": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'API-Nonce': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
scope: {method_id: 'd4ec4d52-b159-428e-ba64-f45455a978a1'},
address_id: 'ABR6SXP-SF6CY-VJMONY',
amount: {asset_amount: {asset: {class: 'currency', name: 'USDC'}, amount: '5'}},
fee: {quoted_fee: {token: 'YOUR_WITHDRAWAL_FEE_TOKEN'}, fee_included: true}
})
};
fetch('https://api.kraken.com/funding/v1/withdrawals', 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/funding/v1/withdrawals"
payload := strings.NewReader("{\n \"scope\": {\n \"method_id\": \"d4ec4d52-b159-428e-ba64-f45455a978a1\"\n },\n \"address_id\": \"ABR6SXP-SF6CY-VJMONY\",\n \"amount\": {\n \"asset_amount\": {\n \"asset\": {\n \"class\": \"currency\",\n \"name\": \"USDC\"\n },\n \"amount\": \"5\"\n }\n },\n \"fee\": {\n \"quoted_fee\": {\n \"token\": \"YOUR_WITHDRAWAL_FEE_TOKEN\"\n },\n \"fee_included\": true\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("API-Nonce", "<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))
}{
"withdrawal_id": "FTVZiTI-e02T84mm87JmibnObWNdnW",
"net_amount": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "4.00000000"
}
},
"gross_amount": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "5.00000000"
}
},
"fee": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "1.00000000"
}
}
}Funding (Beta)
Create Funding Withdrawal
Create a withdrawal to a saved address. Pass a withdrawal_fee_token from
Calculate Funding Fees to pin the quoted fee rate, or
omit it to use the current fee.
API Key Permissions Required: Funds permissions - Withdraw
POST
/
funding
/
v1
/
withdrawals
Create Funding Withdrawal
curl --request POST \
--url https://api.kraken.com/funding/v1/withdrawals \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"scope": {
"method_id": "d4ec4d52-b159-428e-ba64-f45455a978a1"
},
"address_id": "ABR6SXP-SF6CY-VJMONY",
"amount": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "5"
}
},
"fee": {
"quoted_fee": {
"token": "YOUR_WITHDRAWAL_FEE_TOKEN"
},
"fee_included": true
}
}
'import requests
url = "https://api.kraken.com/funding/v1/withdrawals"
payload = {
"scope": { "method_id": "d4ec4d52-b159-428e-ba64-f45455a978a1" },
"address_id": "ABR6SXP-SF6CY-VJMONY",
"amount": { "asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "5"
} },
"fee": {
"quoted_fee": { "token": "YOUR_WITHDRAWAL_FEE_TOKEN" },
"fee_included": True
}
}
headers = {
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"API-Nonce": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'API-Nonce': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
scope: {method_id: 'd4ec4d52-b159-428e-ba64-f45455a978a1'},
address_id: 'ABR6SXP-SF6CY-VJMONY',
amount: {asset_amount: {asset: {class: 'currency', name: 'USDC'}, amount: '5'}},
fee: {quoted_fee: {token: 'YOUR_WITHDRAWAL_FEE_TOKEN'}, fee_included: true}
})
};
fetch('https://api.kraken.com/funding/v1/withdrawals', 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/funding/v1/withdrawals"
payload := strings.NewReader("{\n \"scope\": {\n \"method_id\": \"d4ec4d52-b159-428e-ba64-f45455a978a1\"\n },\n \"address_id\": \"ABR6SXP-SF6CY-VJMONY\",\n \"amount\": {\n \"asset_amount\": {\n \"asset\": {\n \"class\": \"currency\",\n \"name\": \"USDC\"\n },\n \"amount\": \"5\"\n }\n },\n \"fee\": {\n \"quoted_fee\": {\n \"token\": \"YOUR_WITHDRAWAL_FEE_TOKEN\"\n },\n \"fee_included\": true\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("API-Nonce", "<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))
}{
"withdrawal_id": "FTVZiTI-e02T84mm87JmibnObWNdnW",
"net_amount": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "4.00000000"
}
},
"gross_amount": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "5.00000000"
}
},
"fee": {
"asset_amount": {
"asset": {
"class": "currency",
"name": "USDC"
},
"amount": "1.00000000"
}
}
}Authorizations
API-Key & API-Sign & API-NonceAPI-Key & API-Sign & API-Nonce & API-OTP
Body
application/json
Response
200 - application/json
Was this page helpful?