Partner Admin

Get user withdrawals

GET
/apps/{appId}/users/{userId}/withdrawals

Authorization

appApiKey
headerx-app-api-key<token>

App-scoped API key. It is the only credential on partner-admin reads, paper-trading admin, and webhook rotate or replay. POST /bot-protection/verify requires it together with x-app-id.

Path Parameters

appId*string
userId*string

Query Parameters

cursor?string
limit?integer
Range1 <= value <= 100
venueEventId?string
venueMarketId?string
status?string

active: shares still held. closed: fully sold or settled.

Value in"active""closed"
categoryIds?array<>|

Only positions on events in any of these categories (Category.ids, as /venue-events?categoryIds= takes; a league is a category). At most 20.

sort?"realizedPnl"

realizedPnl: highest realized P&L first (e.g. biggest wins with status=closed). Default: stable group order. Live positions only.

Value in"realizedPnl"

Response Body

200

application/json
  1. response
data*array<>
nextCursor*string
hasMore*boolean
Example Request
curl -X GET 'https://api.t.sufwankhalid.com/apps/string/users/string/withdrawals'
Example Response
{  "data": [    {      "id": "string",      "tokenSymbol": "string",      "amountRaw": "string",      "status": "string",      "destinationAddress": "string",      "chainName": "string",      "completedAmountRaw": "string",      "timestamp": "string"    }  ],  "nextCursor": "string",  "hasMore": true}