How it works
You set a spending ceiling and pay it up front through MPP. The task can’t spend more than that, and Locus refunds whatever it doesn’t use.1
Start the task
Your agent sends a goal, plus optional inputs, output format, ceiling, and deadline, to
POST https://locus-task.mpp.paywithlocus.com/locus-task/run.2
Pay the ceiling
The payment challenge charges the ceiling you chose.
3
Collect the result
A finished task returns its result right away. A longer task returns a token your agent uses to wait, check status, cancel, or respond. Those follow-up calls are free.
Key facts
- The ceiling is $1.00 by default, and can be set from $0.10 to $5.00.
- When the task ends and its cost is final, Locus refunds the unused part once, to the same Tempo wallet.
- Each response shows what you paid and, after settlement, what was spent and refunded. Treat a refund as complete only when it includes a refund transaction hash.
- If refunds are temporarily unavailable, the task won’t start and you aren’t charged.
Next steps
MPP tool payments
Call individual tools through MPP.
Pay without a Locus account
Compare MPP, x402, and Locus wallet payments.