Skip to main content
Read the authenticated account’s credited job refunds. This is separate from requesting human refund review. It includes corresponding website activity and does not transfer funds to a wallet. Both paths use https://wurkapi.fun. Send one authentication method. There is no account selector or payment requirement. Without credentials, a valid request returns a free SIWX challenge with accepts: []; follow authentication.

Request

Use {} for the first page with defaults. Query parameters and unknown JSON fields are rejected. Numeric strings and fractions are invalid. For SIWX, sign the advertised challenge for this exact POST path and JSON, including any supplied default fields. Changing the page or alias requires a fresh proof. JSON object key order does not change the intent.

Response

An empty history returns HTTP 200:
Every item in refunds has: Preserve amount strings and timestamp precision. A zero-valued receipt can record closure of an empty Contest prize. Failed-swap and withdrawal reversals are outside this job-refund history; use the respective swap or withdrawal status and current balances.

Pagination and limits

Rows are newest first, with unknown timestamps last and deterministic tie-breakers. total and the page describe one read snapshot. New refunds between requests can shift later pages: deduplicate by historyId. Follow nextOffset with the same limit, waiting for the cooldown between requests. Stop when nextOffset is null. At the offset ceiling it can be null even when hasMore is true. An offset beyond the account’s last receipt returns an empty list with the correct total. There is one refund-history request per account every ten seconds, shared across credentials, aliases, and pages. Empty pages and accepted reads that later fail count. Rejected early retries do not extend the window. This is separate from swap and withdrawal submission/history limits.

CLI and SDK 0.7.1

After free account access, use the saved account reference, not the API key:
For another page, save refund-page.json with the returned offset:
The CLI’s data contains refunds, total, limit, offset, hasMore, and nextOffset. With wallet authentication, replace --account with --wallet "$WURK_WALLET" --network solana or base for the registered signing wallet. Each invocation obtains a fresh proof. Use wurk.cmd in Windows PowerShell as described in the CLI setup. With the SDK client and account store configured, request one page explicitly:
Neither client automatically traverses pages. These reads do not create a refund request or change a balance. To see currently available funds, read the account balances.

Errors and retries

Errors use { "ok": false, "errorCode": "...", "message": "..." }, with optional details. Use a fresh SIWX proof after an authenticated attempt, including a later rate-limit or read failure. Preserve the page selector. For an unresolved refund decision, follow the original support conversation rather than using this history read to request another review.