POST /v2/trade/perps/deposits: Deposit pUSD
curl --request POST \
--url https://partner-api.bravadotrade.com/v2/trade/perps/deposits \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>"
}
'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/perps/deposits"
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/deposits', 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/deposits",
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/deposits"
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/deposits")
.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/deposits")
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{
"deposit_id": "3f2a9c1e-5b7d-4e8f-9a0b-1c2d3e4f5a6b",
"amount": "50",
"eoa": "0xUserEoa...aabbccdd",
"tx_hash": "0xtxhash...deposit01",
"state": "pending",
"chain_state": "PENDING",
"venue_state": "UNSEEN",
"fail_reason": null,
"created_at": "2026-10-23T14:05:00.000Z"
}
Perps
POST /v2/trade/perps/deposits: Deposit pUSD
Fund the user’s Polymarket Perps account with pUSD from their deposit wallet. Scope trade.perps.
POST
/
v2
/
trade
/
perps
/
deposits
POST /v2/trade/perps/deposits: Deposit pUSD
curl --request POST \
--url https://partner-api.bravadotrade.com/v2/trade/perps/deposits \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>"
}
'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/perps/deposits"
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/deposits', 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/deposits",
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/deposits"
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/deposits")
.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/deposits")
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{
"deposit_id": "3f2a9c1e-5b7d-4e8f-9a0b-1c2d3e4f5a6b",
"amount": "50",
"eoa": "0xUserEoa...aabbccdd",
"tx_hash": "0xtxhash...deposit01",
"state": "pending",
"chain_state": "PENDING",
"venue_state": "UNSEEN",
"fail_reason": null,
"created_at": "2026-10-23T14:05: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.
pUSD you deposit to Perps leaves the deposit wallet. It cannot back prediction-market orders or be sent out with /v2/trade/withdraw until you withdraw it from Perps back to the deposit wallet.
POST https://partner-api.bravadotrade.com/v2/trade/perps/deposits
Body
string
required
pUSD, as a decimal string with at most 6 decimal places. There is a minimum deposit: an amount below it is refused with
400 INVALID_BODY and a message naming the minimum.Response
202 Accepted. Poll GET /v2/trade/perps/deposits/{deposit_id} until state is credited.
string
The deposit’s id. Read it back by this id.
string
pUSD deposited.
string
The user’s EOA.
string | null
The deposit transaction.
string
prepared, pending (sent, not yet confirmed and credited), confirmed (on chain, not yet credited by the venue), credited, failed, reverted or not_found.string
The transaction’s state on chain, for example
PENDING.string
The venue’s view of the deposit, for example
UNSEEN.string | null
Why the deposit failed, when it did.
string
ISO-8601.
{
"deposit_id": "3f2a9c1e-5b7d-4e8f-9a0b-1c2d3e4f5a6b",
"amount": "50",
"eoa": "0xUserEoa...aabbccdd",
"tx_hash": "0xtxhash...deposit01",
"state": "pending",
"chain_state": "PENDING",
"venue_state": "UNSEEN",
"fail_reason": null,
"created_at": "2026-10-23T14:05:00.000Z"
}
Errors
| Status | When |
|---|---|
400 Bad Request | INVALID_BODY: below the minimum deposit (details.rule: "min_deposit"), or more than 6 decimal places (refused by request validation, with no details) |
403 Forbidden | OPERATION_DISABLED: your policy does not allow deposits |
409 Conflict | USER_PROVISIONING_PENDING: reason says why, for example v2_wallet_required |
422 Unprocessable Entity | INSUFFICIENT_BALANCE: not enough pUSD on the deposit wallet |
504, list GET /v2/trade/perps/deposits before acting again.
Example
curl -X POST https://partner-api.bravadotrade.com/v2/trade/perps/deposits \
-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: 0b5d3f8e-perps-deposit-0001" \
-H "Content-Type: application/json" \
-d '{ "amount": "50" }'
Related
GET /v2/trade/perps/depositsfor every deposit, or one.GET /v2/trade/perps/readiness:needs_depositmeans the venue balance was read as zero.