verify_payment
Confirm an on-chain payment of at least the specified amount to a one-time address, then approve the associated request. Ensures exactly-once approval; repeat attempts return 'spent'.
Instructions
Service side: approve the call for request_id once an on-chain send of at least amount_raw is confirmed to its one-time address. Approves exactly once; a repeat returns status='spent'.
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": {
"request_id": "<request_id>",
"amount_raw": "<amount_raw>"
},
"name": "verify_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_raw | Yes | ||
| request_id | Yes | ||
| require_onchain | No |