Edit Transaction Void History

It is managed by users with the Branch Personnel role only.

API Method

POST

Endpoint

https://cebuana-apiuat.veryfyglobal.com/transactionVoidHistories

Headers

Key
Value

Accept

application/json

Authorization

Bearer <YOUR_TOKEN>

Body Parameters

Field
Type
Required
Description

receipt_no

string

Yes

Receipt number of the original transaction. Must exist in the transactions table.

transaction_currency_id

integer

Yes

ID of the related transaction_currencies record. Must exist.

currency_id

integer

Yes

ID of the currency. Must exist in the currencies table.

to_rate

float

Yes

The exchange rate to apply for this voided transaction. Must be a number and ≥ 0.

to_receive_amount

float

Yes

The amount the user was supposed to receive. Must be a number and ≥ 1.

to_exchange_amount

float

Yes

The original amount exchanged. Must be a number and ≥ 1.

Example Request Body

{
  "receipt_no": "TRX2025072400123",
  "transaction_currency_id": 45,
  "currency_id": 3,
  "to_rate": 4.65,
  "to_receive_amount": 465.00,
  "to_exchange_amount": 100.00
}

Response Sample

{
    "message": "Ok",
    "data": []
}

Last updated