Skip to main content
POST
/
api
/
users
/
create
curl -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/create"
{
  "userId": "550e8400-e29b-41d4-a716-446655440000",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "status": "provisioning",
  "polymarketWalletAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "predictWalletAddress": "0x1234567890abcdef1234567890abcdef12345678"
}
curl -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/create"
{
  "userId": "550e8400-e29b-41d4-a716-446655440000",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "status": "provisioning",
  "polymarketWalletAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "predictWalletAddress": "0x1234567890abcdef1234567890abcdef12345678"
}
Create returns status: "provisioning". Poll Get User until status becomes "ready" before placing orders, withdrawals, or redemptions. Both Polymarket and Predict wallets are provisioned automatically.

Authorizations

x-api-key
string
header
required

Response

User created successfully. Status will be "provisioning" - poll GET /api/users/{userId} until "ready".

userId
string

Unique identifier for the user

createdAt
string

ISO 8601 timestamp of when the user was created

status
enum<string>

User setup status. Poll until 'ready' before trading.

Available options:
provisioning,
ready,
failed
polymarketWalletAddress
string

Polygon wallet address for Polymarket deposits (send USDC.e here)

predictWalletAddress
string

BSC wallet address for Predict deposits (send USDT BEP-20 here)