Issue a PayHere refund
issue_refundRefund a PayHere payment by payment ID; omit amount for a full refund or set it for a partial refund. Returns the refund status.
Instructions
Refunds a payment by payment_id. Omit amount for a full refund, or set it for a partial refund. Returns the PayHere refund status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | PayHere payment_id (from get_payment or notify) | |
| description | Yes | Reason / note for the refund — visible to the merchant | |
| amount | No | Partial refund amount. Omit for a full refund. |