The following endpoint can be used to refund a Payment within the Hyfin application.
The following endpoint can be used to refund a Payment. You must replace the {base_url} and {site_id} variables with the appropriate values.
{
"id": "64fa4489fb1eaa8e5ae93475",
"amount": 1035
}
{
"success": true
}
{
"success": false,
"errors": [
"NO PAYMENT FOUND",
"Invalid refund amount"
]
}