Execute Authorized Purchase
execute_authorized_purchasePay the listed price from your own wallet with x402; no separate approval. Omit paymentPayload to read payment terms. Provide serviceId, input and paymentPayload to buy.
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": {
"serviceId": "<serviceId>"
},
"name": "execute_authorized_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | ||
| offer | No | ||
| serviceId | Yes | ||
| agentRequest | No | ||
| paymentPayload | No |