RefundTransaction Structure
It contains all the necessary fields require for a refund transaction
Name | Description | |
---|---|---|
amount |
mandatory field Amount to be authorized |
|
cashRegisterID |
mandatory field The identification number for the cash register. The cash register identification number should be entered if the invoice is issued by said cash register. In the absence of a Cash Register ID, enter "no Cash Register" as the text. |
|
currencyCode | ISO 4217 numeric currency code | |
customerTrns | Free text value that can be used by the customer as a reference | |
merchantReference | Free text value that can be used by the merchant as a reference | |
parentSessionID |
mandatory field The unique session identifier. You specified this Transaction.sessionID when you created a new transaction. |
|
sessionID |
mandatory field Each transaction should have its own unique value entered into this free text field. This may be a distinct date that varies with each new transaction that is generated. |
|
terminalID |
mandatory field The POS Terminal ID. Use the VivaWalletPOS.getAvailablePOS method to get this value |