Initiate a withdrawal
curl --request POST \
--url https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requestId": "f4a5b6c7-0000-4000-8000-000000000001",
"destinationChain": "arbitrum",
"amountUsd": 50,
"token": "usdc",
"destinationAddress": "0x76F8fc6667E239f83a547d4e16225d6a34f6FA22",
"partnerFeeAmountUsd": 0.5,
"partnerFeeRecipientAddress": "0x1111111111111111111111111111111111111111"
}
'import requests
url = "https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals"
payload = {
"requestId": "f4a5b6c7-0000-4000-8000-000000000001",
"destinationChain": "arbitrum",
"amountUsd": 50,
"token": "usdc",
"destinationAddress": "0x76F8fc6667E239f83a547d4e16225d6a34f6FA22",
"partnerFeeAmountUsd": 0.5,
"partnerFeeRecipientAddress": "0x1111111111111111111111111111111111111111"
}
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: 'f4a5b6c7-0000-4000-8000-000000000001',
destinationChain: 'arbitrum',
amountUsd: 50,
token: 'usdc',
destinationAddress: '0x76F8fc6667E239f83a547d4e16225d6a34f6FA22',
partnerFeeAmountUsd: 0.5,
partnerFeeRecipientAddress: '0x1111111111111111111111111111111111111111'
})
};
fetch('https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals', 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/wallets/{id}/withdrawals",
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' => 'f4a5b6c7-0000-4000-8000-000000000001',
'destinationChain' => 'arbitrum',
'amountUsd' => 50,
'token' => 'usdc',
'destinationAddress' => '0x76F8fc6667E239f83a547d4e16225d6a34f6FA22',
'partnerFeeAmountUsd' => 0.5,
'partnerFeeRecipientAddress' => '0x1111111111111111111111111111111111111111'
]),
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/wallets/{id}/withdrawals"
payload := strings.NewReader("{\n \"requestId\": \"f4a5b6c7-0000-4000-8000-000000000001\",\n \"destinationChain\": \"arbitrum\",\n \"amountUsd\": 50,\n \"token\": \"usdc\",\n \"destinationAddress\": \"0x76F8fc6667E239f83a547d4e16225d6a34f6FA22\",\n \"partnerFeeAmountUsd\": 0.5,\n \"partnerFeeRecipientAddress\": \"0x1111111111111111111111111111111111111111\"\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/wallets/{id}/withdrawals")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"requestId\": \"f4a5b6c7-0000-4000-8000-000000000001\",\n \"destinationChain\": \"arbitrum\",\n \"amountUsd\": 50,\n \"token\": \"usdc\",\n \"destinationAddress\": \"0x76F8fc6667E239f83a547d4e16225d6a34f6FA22\",\n \"partnerFeeAmountUsd\": 0.5,\n \"partnerFeeRecipientAddress\": \"0x1111111111111111111111111111111111111111\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals")
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\": \"f4a5b6c7-0000-4000-8000-000000000001\",\n \"destinationChain\": \"arbitrum\",\n \"amountUsd\": 50,\n \"token\": \"usdc\",\n \"destinationAddress\": \"0x76F8fc6667E239f83a547d4e16225d6a34f6FA22\",\n \"partnerFeeAmountUsd\": 0.5,\n \"partnerFeeRecipientAddress\": \"0x1111111111111111111111111111111111111111\"\n}"
response = http.request(request)
puts response.read_body{
"id": "a1a2b3c4-0000-4000-8000-000000000001",
"amountRequestedUsd": "50.000000",
"amountPaidUsd": null,
"amountPaidToPartnerUsd": null,
"feeUsd": "0.000000",
"destinationChain": "arbitrum",
"destinationAddress": "0x76F8fc6667E239f83a547d4e16225d6a34f6FA22",
"destinationToken": "usdc",
"status": "processing",
"failureReason": null,
"createdAt": "2025-09-05T10:00:00Z",
"completedAt": null,
"legsCompleted": 0,
"legsTotal": 0,
"payoutLegs": []
}
Withdrawals
Withdraw funds
Starts a withdrawal. Manual wallets can choose sources. Stock-funded requests require a current price and compatible sell quote. Tempo beta limit is 100 USDC.e.
POST
/
v2
/
wallets
/
{id}
/
withdrawals
Initiate a withdrawal
curl --request POST \
--url https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requestId": "f4a5b6c7-0000-4000-8000-000000000001",
"destinationChain": "arbitrum",
"amountUsd": 50,
"token": "usdc",
"destinationAddress": "0x76F8fc6667E239f83a547d4e16225d6a34f6FA22",
"partnerFeeAmountUsd": 0.5,
"partnerFeeRecipientAddress": "0x1111111111111111111111111111111111111111"
}
'import requests
url = "https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals"
payload = {
"requestId": "f4a5b6c7-0000-4000-8000-000000000001",
"destinationChain": "arbitrum",
"amountUsd": 50,
"token": "usdc",
"destinationAddress": "0x76F8fc6667E239f83a547d4e16225d6a34f6FA22",
"partnerFeeAmountUsd": 0.5,
"partnerFeeRecipientAddress": "0x1111111111111111111111111111111111111111"
}
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: 'f4a5b6c7-0000-4000-8000-000000000001',
destinationChain: 'arbitrum',
amountUsd: 50,
token: 'usdc',
destinationAddress: '0x76F8fc6667E239f83a547d4e16225d6a34f6FA22',
partnerFeeAmountUsd: 0.5,
partnerFeeRecipientAddress: '0x1111111111111111111111111111111111111111'
})
};
fetch('https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals', 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/wallets/{id}/withdrawals",
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' => 'f4a5b6c7-0000-4000-8000-000000000001',
'destinationChain' => 'arbitrum',
'amountUsd' => 50,
'token' => 'usdc',
'destinationAddress' => '0x76F8fc6667E239f83a547d4e16225d6a34f6FA22',
'partnerFeeAmountUsd' => 0.5,
'partnerFeeRecipientAddress' => '0x1111111111111111111111111111111111111111'
]),
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/wallets/{id}/withdrawals"
payload := strings.NewReader("{\n \"requestId\": \"f4a5b6c7-0000-4000-8000-000000000001\",\n \"destinationChain\": \"arbitrum\",\n \"amountUsd\": 50,\n \"token\": \"usdc\",\n \"destinationAddress\": \"0x76F8fc6667E239f83a547d4e16225d6a34f6FA22\",\n \"partnerFeeAmountUsd\": 0.5,\n \"partnerFeeRecipientAddress\": \"0x1111111111111111111111111111111111111111\"\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/wallets/{id}/withdrawals")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"requestId\": \"f4a5b6c7-0000-4000-8000-000000000001\",\n \"destinationChain\": \"arbitrum\",\n \"amountUsd\": 50,\n \"token\": \"usdc\",\n \"destinationAddress\": \"0x76F8fc6667E239f83a547d4e16225d6a34f6FA22\",\n \"partnerFeeAmountUsd\": 0.5,\n \"partnerFeeRecipientAddress\": \"0x1111111111111111111111111111111111111111\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v2/wallets/{id}/withdrawals")
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\": \"f4a5b6c7-0000-4000-8000-000000000001\",\n \"destinationChain\": \"arbitrum\",\n \"amountUsd\": 50,\n \"token\": \"usdc\",\n \"destinationAddress\": \"0x76F8fc6667E239f83a547d4e16225d6a34f6FA22\",\n \"partnerFeeAmountUsd\": 0.5,\n \"partnerFeeRecipientAddress\": \"0x1111111111111111111111111111111111111111\"\n}"
response = http.request(request)
puts response.read_body{
"id": "a1a2b3c4-0000-4000-8000-000000000001",
"amountRequestedUsd": "50.000000",
"amountPaidUsd": null,
"amountPaidToPartnerUsd": null,
"feeUsd": "0.000000",
"destinationChain": "arbitrum",
"destinationAddress": "0x76F8fc6667E239f83a547d4e16225d6a34f6FA22",
"destinationToken": "usdc",
"status": "processing",
"failureReason": null,
"createdAt": "2025-09-05T10:00:00Z",
"completedAt": null,
"legsCompleted": 0,
"legsTotal": 0,
"payoutLegs": []
}
Authorizations
Body
application/json
Destination chain for the withdrawal. Tempo delivers USDC.e with usdc or OUSD with ousd; wallets can withdraw OUSD on tempo_moderato in sandbox.
Available options:
arbitrum, base, ethereum, ethereum_sepolia, polygon, solana, solana_devnet, stellar, stellar_testnet, tempo, tempo_moderato, tron, tron_shasta Response
Withdrawal initiated (or existing withdrawal returned for idempotent retry)
Human-readable reason for failure (only present when status is failed or partially_completed). insufficient_proceeds_after_partner_fee means realized proceeds could not cover the committed partner fee while leaving a positive customer payout, so no payout or partner fee was sent.