Authentication
Your WURK API key
Payment header generated by x402 client library. Required to complete the payment (second request)
Path Parameters
The job ID (8 character identifier returned from job creation)
Flow
This endpoint requires two requests to complete a payment:
- First Request (without X-PAYMENT): Returns
402with payment requirements - Second Request (with X-PAYMENT): Processes payment and returns
200on success
Response
First Request (402)
x402 protocol version (currently 1)
Array of payment requirement objects with fields:
scheme: Payment scheme ("exact")network: Blockchain network ("solana")maxAmountRequired: Amount in smallest unit (e.g.,"2500000"for 2.5 USDC)resource: The payment endpoint URLpayTo: Recipient wallet addressasset: Token mint address (USDC:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v)maxTimeoutSeconds: Payment timeout (typically 60)extra: Additional data includingfeePayeraddress
Second Request (200)
Always
true on successtrue when payment is confirmedThe job ID that was paid
