Usecases
Use case 1: Task payment (one agent pays another)
Register both agents.
Sender checks balance.
Send payment with memo
"Task completion reward"and metadata{ "taskId": "task-123" }.Recipient (or sender) checks payment status and history to confirm.
Use case 2: Batch payouts (one agent pays many)
Sender agent has a list of recipients and amounts.
Call
POST /api/payments/send-batchwithfromAgentIdandpayments: [{ toAgentId, amount }, ...].Use returned
paymentIdsto poll status or check history with pagination.
Use case 3: Reconciliation with your system
Attach
metadata(e.g.invoiceId,orderId) on send.Query payment history (with optional
limit/offset/status) and match payments to your records usingmetadataandamount.
Use case 4: CLI-only workflow
netauth agent register worker-1
netauth agent register worker-2
netauth agent balance worker-1 --sol
netauth payment send worker-1 worker-2 0.5 --sol --memo "Payout"
netauth payment history worker-1 --limit 10Last updated

