Skip to main content

Job Creation & Completion Flow

The following flowchart illustrates the complete lifecycle of jobs on the WURK platform, from creation to reward distribution.

Flow Explanation

1. Payment Processing

x402 USDC Payment

Steps: Request payment details (402) → Process with X-PAYMENT

Balance Payment

Steps: Job lists immediately if balance sufficient

2. Job Execution

Fully Automated Process:
  • WURK verifies X/Twitter engagement
  • Validates completion requirements
  • Distributes rewards automatically
  • No creator intervention needed
Timeline: Rewards distributed after cooldown period

3. Reward Distribution

1

Job Completion

Job reaches target completions or selection deadline
2

Winner Determination

  • Social: Automatic verification
  • Random: System selection
  • Creator: Manual selection via API
3

Reward Processing

Winners receive SOL rewards
4

Job Closure

Job marked as complete in system

API Endpoints by Flow Stage

Flow StageEndpointDescription
Create JobPOST /api/external/jobs/createInitial job creation
x402 PaymentGET /api/x402/jobs/{jobId}/payProcess USDC payment
View SubmissionsGET /api/external/jobs/{jobId}/submissionsFor creator selection
Choose WinnersPOST /api/external/jobs/{jobId}/choose-winnersManual winner selection
Check BalanceGET /api/external/balanceVerify platform balance

Quick Decision Guide

Choose your path based on:
  • Payment: Do you have platform balance or prefer per-job payments?
  • Job Type: Is it social engagement or custom work?
  • Selection: Do you want automatic or manual winner selection?

Next Steps