payway_refund
Refund completed transactions within 30 days, fully or partially. Requires PAYWAY_RSA_PUBLIC_KEY for authorization.
Instructions
Issue a full or partial refund within 30 days of a COMPLETED transaction. Requires PAYWAY_RSA_PUBLIC_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": {
"tran_id": "<tran_id>",
"refund_amount": "<refund_amount>"
},
"name": "payway_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tran_id | Yes | ||
| refund_amount | Yes |