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 treasury role 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": []
}

Last updated