wavepay_refund
Refund a settled payment through its provider (PayPal; test payments with a test key). PayNow documents no refund API, so a PayNow payment is refused with REFUND_UNSUPPORTED rather than recorded as refunded. Needs a merchant key.
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": {
"reference": "<reference>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "wavepay_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| reference | Yes | ||
| amountMinor | No | ||
| revokeAccess | No | ||
| idempotencyKey | Yes |