refunded_amount is the amount to give back, from 0 up to what can still be refunded on the transaction. 0 settles the hold without giving anything back. When your account adds transaction fees to payments, the amount refunded at the gateway includes the matching fee.{
"refunded_amount": 150
}errors.error. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorBusinessRule (status_code 410) or an ErrorUnauthorized (status_code 401 or 403).{
"success": false,
"status_code": 410,
"errors": {
"error": "No security deposit transaction found",
"error_message": "No security deposit transaction found"
},
"data": []
}