refund_payment
Process refunds for payments through the PayFast MCP server by specifying payment ID and refund amount to reverse transactions.
Instructions
Refund a payment
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": {
"pf_payment_id": "<pf_payment_id>"
},
"name": "refund_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pf_payment_id | Yes | Payment ID | |
| amount | No | Refund amount |