Pay for a photo book
pay_bookBuy the exact quoted book using native MPP. Only after the buyer approves its total and delivery address. Supply quoteId and bookToken. A payment challenge is returned through JSON-RPC; retry the same call with the authorized payment credential in _meta. This charges the buyer.
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": {
"quoteId": "<quoteId>",
"bookToken": "<bookToken>"
},
"name": "pay_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | ||
| bookToken | Yes |