get https://secure.vend-o.com/api/refund
This API is used to issue a refund to an end user, allowing for either a full or partial refund of a previous transaction.
On successful refund a response 5907 is returned (Transaction successfully refunded.), otherwise, the API returns one of the following errors:
| Response code | Description |
|---|---|
| 5900 | An exception occurred in the API. |
| 5901 | Mandatory parameters missing. |
| 5902 | Merchant-ID is invalid. |
| 5903 | Transaction-ID is invalid. |
| 5904 | Action-Type is invalid. |
| 5905 | AuthToken is incorrect. |
| 5906 | Transaction already refunded. |
| 5907 | Transaction successfully refunded. |
| 5908 | Refund rejected. |
