Book income
book_incomeRecord a settled x402 payment as agent income on the Agent Ledger by verifying its signature, payee wallet, and on-chain receipt; duplicate bookings are safely ignored.
Instructions
Book a settled x402 payment the agent received as income on the Agent Ledger. The ledger checks the signature, the payee wallet and the on-chain receipt. Booking twice is safe (duplicate). agent: 0x agent address if not a local bot.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paymentPayload": "<paymentPayload>",
"settlement": "<settlement>"
},
"name": "book_income"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| agent | No | ||
| settlement | Yes | ||
| paymentPayload | Yes | ||
| paymentRequirements | No |