POST /v2/trade/perps/withdrawals: Withdraw pUSD
curl --request POST \
--url https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>"
}
'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals"
payload = { "amount": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({amount: '<string>'})
};
fetch('https://partner-api.bravadotrade.com/v2/trade/perps/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://partner-api.bravadotrade.com/v2/trade/perps/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([
'amount' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"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://partner-api.bravadotrade.com/v2/trade/perps/withdrawals"
payload := strings.NewReader("{\n \"amount\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://partner-api.bravadotrade.com/v2/trade/perps/withdrawals")
.header("Content-Type", "application/json")
.body("{\n \"amount\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"withdrawal_id": "8b7e6d5c-4a3b-4c2d-9e1f-0a9b8c7d6e5f",
"amount": "48.21",
"to": "0xDepositWallet...aabbccdd",
"venue_withdraw_id": "77120",
"state": "pending",
"venue_state": null,
"tx_hash": null,
"created_at": "2026-10-23T16:30:00.000Z"
}
Perps
POST /v2/trade/perps/withdrawals: Withdraw pUSD
Move pUSD from the user’s Polymarket Perps account back to their deposit wallet. Scope trade.perps.
POST
/
v2
/
trade
/
perps
/
withdrawals
POST /v2/trade/perps/withdrawals: Withdraw pUSD
curl --request POST \
--url https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>"
}
'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals"
payload = { "amount": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({amount: '<string>'})
};
fetch('https://partner-api.bravadotrade.com/v2/trade/perps/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://partner-api.bravadotrade.com/v2/trade/perps/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([
'amount' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"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://partner-api.bravadotrade.com/v2/trade/perps/withdrawals"
payload := strings.NewReader("{\n \"amount\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://partner-api.bravadotrade.com/v2/trade/perps/withdrawals")
.header("Content-Type", "application/json")
.body("{\n \"amount\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"withdrawal_id": "8b7e6d5c-4a3b-4c2d-9e1f-0a9b8c7d6e5f",
"amount": "48.21",
"to": "0xDepositWallet...aabbccdd",
"venue_withdraw_id": "77120",
"state": "pending",
"venue_state": null,
"tx_hash": null,
"created_at": "2026-10-23T16:30:00.000Z"
}
Sign each request with a fresh HMAC signature. The cURL and HTTP header values below are placeholders, not reusable credentials. For runnable signing code, use request signing examples.
trade.perps; Idempotency-Key is required.
To move the funds out of Bravado afterwards, use /v2/trade/withdraw.
POST https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals
Body
string
required
pUSD as a decimal string with at most 6 decimal places, or
"max" for the venue’s current withdrawable (on GET /v2/trade/perps/account).Response
202 Accepted. Poll GET /v2/trade/perps/withdrawals/{withdrawal_id} until state is confirmed.
string
The withdrawal’s id. Read it back by this id.
string
pUSD withdrawn.
string
The user’s deposit wallet.
string | null
The venue’s id for the withdrawal.
string
pending, confirmed, failed, rejected or unknown. Bravado reports confirmed only once the pUSD transfer to the deposit wallet is verified on chain.string | null
The venue’s state for the withdrawal.
string | null
The payout transaction. It can appear while
state is still pending.string
ISO-8601.
{
"withdrawal_id": "8b7e6d5c-4a3b-4c2d-9e1f-0a9b8c7d6e5f",
"amount": "48.21",
"to": "0xDepositWallet...aabbccdd",
"venue_withdraw_id": "77120",
"state": "pending",
"venue_state": null,
"tx_hash": null,
"created_at": "2026-10-23T16:30:00.000Z"
}
Errors
| Status | When |
|---|---|
403 Forbidden | OPERATION_DISABLED: your policy does not allow withdrawals |
409 Conflict | USER_PROVISIONING_PENDING with reason: "withdrawable_unreadable": "max" needs a readable account; send an explicit amount |
422 Unprocessable Entity | INSUFFICIENT_BALANCE: an amount above withdrawable |
504, list GET /v2/trade/perps/withdrawals before acting again.
Example
curl -X POST https://partner-api.bravadotrade.com/v2/trade/perps/withdrawals \
-H "X-BRAVADO-API-KEY: $BRAVADO_API_KEY" \
-H "X-BRAVADO-TIMESTAMP: <unix-ms>" \
-H "X-BRAVADO-SIGNATURE: <signature-for-this-request>" \
-H "Idempotency-Key: 6d1a8f3c-perps-withdraw-0001" \
-H "Content-Type: application/json" \
-d '{ "amount": "max" }'
Related
GET /v2/trade/perps/withdrawalsfor every withdrawal, or one./v2/trade/withdrawto send funds from the deposit wallet to an external address.