refund.create
Process refunds for PayFast transactions by returning funds to the original payment method. Specify payment ID, amount, and reason to initiate refunds.
Instructions
Create a refund for a PayFast transaction. This will return money to the customer's original payment method.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pf_payment_id | Yes | PayFast payment ID to refund | |
| amount | Yes | Refund amount in cents (ZAR). e.g., 1000 = R10.00 | |
| reason | Yes | Reason for refund (3-255 characters, required) | |
| notify_buyer | No | Whether to notify the buyer of the refund via email | |
| confirmed | No | Set to true to confirm this refund |