Update fee-wrapper fees
curl --request PATCH \
--url https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"feeRecipientAddress": "0x92e6a1ed742f0c8502f902c61775f57728985b42",
"performanceFeeBps": 4999,
"managementFeeBps": 50
}
'import requests
url = "https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees"
payload = {
"feeRecipientAddress": "0x92e6a1ed742f0c8502f902c61775f57728985b42",
"performanceFeeBps": 4999,
"managementFeeBps": 50
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
feeRecipientAddress: '0x92e6a1ed742f0c8502f902c61775f57728985b42',
performanceFeeBps: 4999,
managementFeeBps: 50
})
};
fetch('https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees', 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://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'feeRecipientAddress' => '0x92e6a1ed742f0c8502f902c61775f57728985b42',
'performanceFeeBps' => 4999,
'managementFeeBps' => 50
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees"
payload := strings.NewReader("{\n \"feeRecipientAddress\": \"0x92e6a1ed742f0c8502f902c61775f57728985b42\",\n \"performanceFeeBps\": 4999,\n \"managementFeeBps\": 50\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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))
}HttpResponse<String> response = Unirest.patch("https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"feeRecipientAddress\": \"0x92e6a1ed742f0c8502f902c61775f57728985b42\",\n \"performanceFeeBps\": 4999,\n \"managementFeeBps\": 50\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"feeRecipientAddress\": \"0x92e6a1ed742f0c8502f902c61775f57728985b42\",\n \"performanceFeeBps\": 4999,\n \"managementFeeBps\": 50\n}"
response = http.request(request)
puts response.read_body{
"status": "confirmed"
}{
"status": "submitted",
"transactionHash": "0xabababababababababababababababababababababababababababababababab"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Service temporarily unavailable",
"code": "service_temporarily_unavailable",
"retryable": true
}Fee Wrappers
Update a fee wrapper's performance fee
Update management fees separately from other fee fields. Caps are immutable. Recipient changes are unsupported while management fees are enabled.
PATCH
/
v2
/
fee-wrappers
/
{id}
/
fees
Update fee-wrapper fees
curl --request PATCH \
--url https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"feeRecipientAddress": "0x92e6a1ed742f0c8502f902c61775f57728985b42",
"performanceFeeBps": 4999,
"managementFeeBps": 50
}
'import requests
url = "https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees"
payload = {
"feeRecipientAddress": "0x92e6a1ed742f0c8502f902c61775f57728985b42",
"performanceFeeBps": 4999,
"managementFeeBps": 50
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
feeRecipientAddress: '0x92e6a1ed742f0c8502f902c61775f57728985b42',
performanceFeeBps: 4999,
managementFeeBps: 50
})
};
fetch('https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees', 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://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'feeRecipientAddress' => '0x92e6a1ed742f0c8502f902c61775f57728985b42',
'performanceFeeBps' => 4999,
'managementFeeBps' => 50
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees"
payload := strings.NewReader("{\n \"feeRecipientAddress\": \"0x92e6a1ed742f0c8502f902c61775f57728985b42\",\n \"performanceFeeBps\": 4999,\n \"managementFeeBps\": 50\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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))
}HttpResponse<String> response = Unirest.patch("https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"feeRecipientAddress\": \"0x92e6a1ed742f0c8502f902c61775f57728985b42\",\n \"performanceFeeBps\": 4999,\n \"managementFeeBps\": 50\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/fee-wrappers/{id}/fees")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"feeRecipientAddress\": \"0x92e6a1ed742f0c8502f902c61775f57728985b42\",\n \"performanceFeeBps\": 4999,\n \"managementFeeBps\": 50\n}"
response = http.request(request)
puts response.read_body{
"status": "confirmed"
}{
"status": "submitted",
"transactionHash": "0xabababababababababababababababababababababababababababababababab"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Service temporarily unavailable",
"code": "service_temporarily_unavailable",
"retryable": true
}Updates the fee recipient, performance-fee rate, or both without exceeding the
wrapper’s creation-time maximum.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Organization-owned fee-wrapper ID.
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$Example:
"8f4c52d7-62ab-4db9-a964-92f481f6b851"
Body
application/json
Send managementFeeBps alone to update the annual rate within the immutable cap. Other fee fields require a separate request. Recipient changes return 409 operation_not_supported while management fees are enabled.
Valid EVM address. Mixed-case values must use a valid EIP-55 checksum.
Required string length:
42Pattern:
^0x[0-9a-fA-F]{40}$Example:
"0x92e6a1ed742f0c8502f902c61775f57728985b42"
Required range:
0 <= x <= 9999Annual rate; send alone. Zero disables management fees.
Required range:
0 <= x <= 100Response
Already confirmed.