Purchase Commerce Service
purchase_commerce_serviceBuy a listed Commerce Assurance service with a buyer-signed x402 payment from your own wallet; no separate approval. Omit paymentPayload for payment terms.
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": "purchase_commerce_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | A JSON object accepted only when its canonical serialized form is at most 50000 characters and its nesting depth is at most 64. | |
| serviceId | Yes | ||
| buyerWalletId | No | ||
| idempotencyKey | No | ||
| paymentPayload | No | A JSON object accepted only when its canonical serialized form is at most 50000 characters and its nesting depth is at most 64. |