post https://api.sandbox.hit-pay.com/v1/refund
This is an optional API call, you may use this to refund of a specific payment.
Note
Use "Payment ID" but not "Payment Request ID". Only one refund is allowed per one successful payment (PayNow or Card).
Parameter | Description | Example |
---|---|---|
amount | Amount to refund | 25 |
payment_id | Payment ID for the successful payment request | 42e8bb7-93ac-4da5-a354-f49610f2890b |
webhook | The webhook URL | |
send_email | Set true or false to send email | |
The sending email |