answer_payment
Answer the task of a payment started with start_payment. PAID returns the voucher (pwpv_…) once. PASS returns the next task. FAIL keeps the same task.
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": {
"checkout": "<checkout>",
"answer": "<answer>"
},
"name": "answer_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | ||
| checkout | Yes |