Skip to main content
GET
Paginated withdrawal history

Authorizations

X-Api-Key
string
header
required

Partner / integrator key — format ps_live_<keyId>_<secret>. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. multi_wallet partners must additionally send X-User-Wallet: 0x<40-hex> on every authenticated request to declare the acting wallet. See the API keys guide for scope taxonomy, partner kinds, rate limits, and rotation procedure.

Scopes

portfolio:read

Headers

X-User-Wallet
string

Required for multi_wallet partners on every authenticated request; ignored for single_wallet. Declares the acting end-user wallet for this request — drives KYC checks, balances/positions/orders attribution, rate-limit buckets, and audit. Lower-cased server-side. Missing on a multi_wallet key → 401 api_key_user_wallet_required; malformed → 401 api_key_user_wallet_invalid. The on-chain CTFExchange/Vault contracts still verify EIP-712 signer ↔ vault binding, so loosening API-layer attribution is safe by construction.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb3"

Query Parameters

status
string

Filter by lifecycle state: one state or a comma-separated list (e.g. PENDING,MLRO_REVIEW). Valid values: PENDING, MLRO_REVIEW, CO_SIGNED, SUBMITTED, CONFIRMED, REJECTED, REVERTED, CANCELLED, FAILED; anything else returns 400 invalid_status. EXPIRED is not a filter value: expired withdrawals are returned only when no status filter is set.

from
string

Inclusive lower bound on createdAt (createdAt >= from). YYYY-MM-DD (UTC midnight) or a zoned ISO-8601 datetime (YYYY-MM-DDTHH:MM[:SS[.fff]] followed by Z, ±HH, ±HHMM or ±HH:MM; URL-encode + as %2B). Years 0001–9999; a rolled-over date (2026-02-30) or a datetime without a zone is refused. Empty counts as omitted. Invalid: 400 invalid_from.

to
string

Inclusive upper bound on createdAt (createdAt <= to). YYYY-MM-DD (UTC midnight, the start of that day: pass YYYY-MM-DDT23:59:59.999Z for the end of the day) or a zoned ISO-8601 datetime (YYYY-MM-DDTHH:MM[:SS[.fff]] followed by Z, ±HH, ±HHMM or ±HH:MM; URL-encode + as %2B). Years 0001–9999; a rolled-over date (2026-02-30) or a datetime without a zone is refused. Empty counts as omitted. Invalid: 400 invalid_to; from later than to: 400 invalid_range.

limit
integer
default:100

Page size, plain digits 1–200 (default 100). Anything else (0, 201, 1.5, 1e2, +5, an empty value, a repeated parameter) → 400 invalid_limit.

Required range: 1 <= x <= 200
cursor
string

Opaque nextCursor from the previous page, passed back verbatim, for the next (older) page. A legacy ISO-8601 timestamp cursor is still accepted. A cursor that is neither → 400 invalid_cursor. offset / page are silently ignored — this endpoint is cursor-only.

Response

OK

walletAddress
string
required
withdrawals
object[]
required
nextCursor
string | null
required

Opaque keyset cursor for the next (older) page; pass it back verbatim as cursor. null when there are no more pages.