Skip to main content
POST
/
api
/
users
/
{userId}
/
withdraw
curl -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "venue": "polymarket",
    "amount": "100.00",
    "destinationAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
    "chain": "polygon"
  }' \
  "https://trade.predexon.com/api/users/USER_ID/withdraw"
{
  "transactionHash": "0x1234567890abcdef...",
  "amount": "100.00",
  "destinationAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
  "chain": "polygon",
  "status": "completed"
}
curl -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "venue": "polymarket",
    "amount": "100.00",
    "destinationAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
    "chain": "polygon"
  }' \
  "https://trade.predexon.com/api/users/USER_ID/withdraw"
{
  "transactionHash": "0x1234567890abcdef...",
  "amount": "100.00",
  "destinationAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
  "chain": "polygon",
  "status": "completed"
}

Venue and Chain Combinations

VenueSupported ChainsAddress Format
polymarketpolygonEthereum-style (0x…)
kalshisolanaSolana base58 address
Ensure the destination address matches the chain. Sending to the wrong address format may result in lost funds.

Before Withdrawing

1

Cancel open orders

Funds locked in orders can’t be withdrawn. Use Cancel All Orders first.
2

Check available balance

Use Get Balance to verify available funds.
3

Withdraw

Call this endpoint with the withdrawal details.
Withdrawal transactions are processed on-chain and may take a few seconds to confirm.

Authorizations

x-api-key
string
header
required

Path Parameters

userId
string
required

Unique identifier for the user

Body

application/json
venue
enum<string>
required

Source venue: polymarket or kalshi

Available options:
polymarket,
kalshi
amount
string
required

USDC amount to withdraw (e.g., "100.00")

destinationAddress
string
required

Recipient wallet address (must match chain format)

chain
enum<string>
required

Destination chain: polygon or solana

Available options:
polygon,
solana

Response

200 - application/json

Withdrawal completed

transactionHash
string

Blockchain transaction hash for the withdrawal

amount
string

Amount withdrawn in USDC

destinationAddress
string

Recipient wallet address

chain
string

Destination chain: polygon or solana

status
string

Withdrawal status: completed