Enable Edit Transaction
This functionality is used to control whether editing of a voided transaction is enabled or disabled.
It is managed by users with the
treasuryrole only.When disabled, even authorized users cannot edit or delete the voided transaction until it is re-enabled
API Method
PATCH
Endpoint
https://cebuana-apiuat.veryfyglobal.com/transactions/currency/:id/editEnabled
Headers
Key
Value
Accept
application/json
Authorization
Bearer <YOUR_TOKEN>
URL Parameter
Parameter
Type
Required
Description
id
integer
Yes
The unique ID of the transaction_currencies_id you want to enable or disable edit.
Body Parameters
Parameter
Type
Required
Description
edit_enabled
integer
Yes
Wheater yes or no value (uses enumeration defined by Choice)
Example Request
PATCH https://cebuana-apiuat.veryfyglobal.com/transactions/currency/1/editEnabled
Content-Type: application/json
{
"edit_enabled": 1
}Response Sample
{
"message": "Ok",
"data": []
}{
"code": "422.000.000",
"message": "The edit enabled field is required.",
"errors": {
"edit_enabled": [
"The edit enabled field is required."
]
}
}{
"code": "403.000.000",
"message": "Invalid ability provided."
}Last updated