curl --request POST \
--url https://sandbox.groundtech.co/v2/fee-wrappers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requestId": "a1b2c3d4-0000-4000-8000-000000000001",
"gVaultId": "ground-ustb-vault",
"feeRecipientAddress": "0x2222222222222222222222222222222222222222",
"performanceFeeBps": 2000
}
'import requests
url = "https://sandbox.groundtech.co/v2/fee-wrappers"
payload = {
"requestId": "a1b2c3d4-0000-4000-8000-000000000001",
"gVaultId": "ground-ustb-vault",
"feeRecipientAddress": "0x2222222222222222222222222222222222222222",
"performanceFeeBps": 2000
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
requestId: 'a1b2c3d4-0000-4000-8000-000000000001',
gVaultId: 'ground-ustb-vault',
feeRecipientAddress: '0x2222222222222222222222222222222222222222',
performanceFeeBps: 2000
})
};
fetch('https://sandbox.groundtech.co/v2/fee-wrappers', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'requestId' => 'a1b2c3d4-0000-4000-8000-000000000001',
'gVaultId' => 'ground-ustb-vault',
'feeRecipientAddress' => '0x2222222222222222222222222222222222222222',
'performanceFeeBps' => 2000
]),
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"
payload := strings.NewReader("{\n \"requestId\": \"a1b2c3d4-0000-4000-8000-000000000001\",\n \"gVaultId\": \"ground-ustb-vault\",\n \"feeRecipientAddress\": \"0x2222222222222222222222222222222222222222\",\n \"performanceFeeBps\": 2000\n}")
req, _ := http.NewRequest("POST", 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.post("https://sandbox.groundtech.co/v2/fee-wrappers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"requestId\": \"a1b2c3d4-0000-4000-8000-000000000001\",\n \"gVaultId\": \"ground-ustb-vault\",\n \"feeRecipientAddress\": \"0x2222222222222222222222222222222222222222\",\n \"performanceFeeBps\": 2000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/fee-wrappers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"requestId\": \"a1b2c3d4-0000-4000-8000-000000000001\",\n \"gVaultId\": \"ground-ustb-vault\",\n \"feeRecipientAddress\": \"0x2222222222222222222222222222222222222222\",\n \"performanceFeeBps\": 2000\n}"
response = http.request(request)
puts response.read_body{
"id": "8f4c52d7-62ab-4db9-a964-92f481f6b851",
"requestId": "2b8332ce-5fe8-4fa6-a1da-d30a78285e07",
"gVaultId": "ground-ustb-vault",
"status": "ready",
"contractAddress": "0x7c4a1cb5a3d5c3c4e019c3f6ab29a0f98c21b814",
"feeRecipientAddress": "0x92e6a1ed742f0c8502f902c61775f57728985b42",
"performanceFeeBps": 2000,
"maxPerformanceFeeBps": 2000,
"managementFeeBps": 0,
"maxManagementFeeBps": 100,
"createdAt": "2026-09-02T18:42:11.000Z",
"updatedAt": "2026-09-02T18:43:29.000Z"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Service temporarily unavailable",
"code": "service_temporarily_unavailable",
"retryable": true
}Provision a fee wrapper
curl --request POST \
--url https://sandbox.groundtech.co/v2/fee-wrappers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requestId": "a1b2c3d4-0000-4000-8000-000000000001",
"gVaultId": "ground-ustb-vault",
"feeRecipientAddress": "0x2222222222222222222222222222222222222222",
"performanceFeeBps": 2000
}
'import requests
url = "https://sandbox.groundtech.co/v2/fee-wrappers"
payload = {
"requestId": "a1b2c3d4-0000-4000-8000-000000000001",
"gVaultId": "ground-ustb-vault",
"feeRecipientAddress": "0x2222222222222222222222222222222222222222",
"performanceFeeBps": 2000
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
requestId: 'a1b2c3d4-0000-4000-8000-000000000001',
gVaultId: 'ground-ustb-vault',
feeRecipientAddress: '0x2222222222222222222222222222222222222222',
performanceFeeBps: 2000
})
};
fetch('https://sandbox.groundtech.co/v2/fee-wrappers', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'requestId' => 'a1b2c3d4-0000-4000-8000-000000000001',
'gVaultId' => 'ground-ustb-vault',
'feeRecipientAddress' => '0x2222222222222222222222222222222222222222',
'performanceFeeBps' => 2000
]),
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"
payload := strings.NewReader("{\n \"requestId\": \"a1b2c3d4-0000-4000-8000-000000000001\",\n \"gVaultId\": \"ground-ustb-vault\",\n \"feeRecipientAddress\": \"0x2222222222222222222222222222222222222222\",\n \"performanceFeeBps\": 2000\n}")
req, _ := http.NewRequest("POST", 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.post("https://sandbox.groundtech.co/v2/fee-wrappers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"requestId\": \"a1b2c3d4-0000-4000-8000-000000000001\",\n \"gVaultId\": \"ground-ustb-vault\",\n \"feeRecipientAddress\": \"0x2222222222222222222222222222222222222222\",\n \"performanceFeeBps\": 2000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/fee-wrappers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"requestId\": \"a1b2c3d4-0000-4000-8000-000000000001\",\n \"gVaultId\": \"ground-ustb-vault\",\n \"feeRecipientAddress\": \"0x2222222222222222222222222222222222222222\",\n \"performanceFeeBps\": 2000\n}"
response = http.request(request)
puts response.read_body{
"id": "8f4c52d7-62ab-4db9-a964-92f481f6b851",
"requestId": "2b8332ce-5fe8-4fa6-a1da-d30a78285e07",
"gVaultId": "ground-ustb-vault",
"status": "ready",
"contractAddress": "0x7c4a1cb5a3d5c3c4e019c3f6ab29a0f98c21b814",
"feeRecipientAddress": "0x92e6a1ed742f0c8502f902c61775f57728985b42",
"performanceFeeBps": 2000,
"maxPerformanceFeeBps": 2000,
"managementFeeBps": 0,
"maxManagementFeeBps": 100,
"createdAt": "2026-09-02T18:42:11.000Z",
"updatedAt": "2026-09-02T18:43:29.000Z"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "<string>",
"code": "validation_error"
}{
"error": "Service temporarily unavailable",
"code": "service_temporarily_unavailable",
"retryable": true
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Management fees are set at creation. Ground fixes their annual cap at 100 bps; maxManagementFeeBps is not accepted as input.
^[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}$"8f4c52d7-62ab-4db9-a964-92f481f6b851"
Source ID returned by the gtoken yield-source catalogue.
ground-ustb-vault "ground-ustb-vault"
Valid nonzero EVM EOA or contract address. Mixed-case values must use a valid EIP-55 checksum.
42^0x(?!0{40}$)[0-9a-fA-F]{40}$"0x3bf25a73a1f1033c2d50ac65f3c9d6a44123db81"
0 <= x <= 9999Annual management fee in basis points.
0 <= x <= 100Response
Provisioning accepted.
^[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}$"8f4c52d7-62ab-4db9-a964-92f481f6b851"
^[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}$"8f4c52d7-62ab-4db9-a964-92f481f6b851"
Source ID returned by the gtoken yield-source catalogue.
ground-ustb-vault "ground-ustb-vault"
provisioning, ready, failed Deployed nonzero EVM contract address, or null while deployment is pending.
42^0x(?!0{40}$)[0-9a-fA-F]{40}$"0x7c4a1cb5a3d5c3c4e019c3f6ab29a0f98c21b814"
Valid EVM address. Mixed-case values must use a valid EIP-55 checksum.
42^0x[0-9a-fA-F]{40}$"0x92e6a1ed742f0c8502f902c61775f57728985b42"
0 <= x <= 99990 <= x <= 99990 <= x <= 9999Immutable annual management fee cap. New wrappers use 100 bps; older wrappers retain their deployed cap.
0 <= x <= 9999