Pay Merchant
pay_merchantExecute a payment to a merchant, crypto wallet, or user handle using your spending delegate.
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": {
"intentMandate": "<intentMandate>",
"amountCents": "<amountCents>",
"description": "<description>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "pay_merchant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | Internal metadata for transport | |
| recipient | No | Optional: The merchant ID, Delegare handle (e.g. 'sunny-violet-panda'), or 0x crypto wallet address to send funds to. | |
| amountCents | Yes | Amount in cents (e.g., 100 = $1.00) | |
| description | Yes | Payment description or memo | |
| intentMandate | Yes | Your intent mandate (the SD-JWT-VC encoded token) | |
| idempotencyKey | Yes | Unique key for the payment to prevent duplicates (e.g., 'pay_merchant_100_001') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Payment status | |
| network | No | Blockchain network if applicable | |
| receiptId | No | Unique receipt ID | |
| amountCents | No | Amount paid | |
| transaction | No | On-chain transaction hash if applicable | |
| txExplorerBaseUrl | No | Explorer URL base |