Step 3: Refund processing
Ozow will process the refunds as soon as possible. Payment will be made into the account from which the original EFT payment was made.
Once you receive a bank message that contains a transaction status the transaction has been concluded and the status of the payment can be determined. You can trigger the relevant actions on your system based on the payment status received.
|Pending||The refund request has been submitted and accepted.|
|Complete||The refund has been paid successfully.|
|Submitted||The refund has been assigned to a batch and is being processed.|
|Failed||The refund payment has failed.|
|Cancelled||The refund has been cancelled before it was submitted.|
|Returned||The refund payment has been returned because the account that was being refunded no longer exists.|
Once the refund has either failed or been completed, Ozow will send a notification to the URL in the request.
|Guid||The refund identifier.|
|Guid||The transaction identifier of the transaction that is being refunded.|
|String (3)||The refund currency. Will always be the same as the amount in the transaction.|
|Decimal (9,2)||The refund amount. The amount is in the currency specified by the currency code.|
|String (50)||The refund status. See possible values.|
|String (50)||The name of the bank the refund was paid to.|
|String (50)||The masked account number payment was made to.|
|String (500)||Message regarding the status of the refund. This field will not always have a value.|
|String (150)||SHA512 hash used to ensure that certain fields in the message have not been altered after the hash was generated. Check the generate hash section below for more details on how to validate the response variables using the hash.|
Notification hash check
Follow these steps to generate the hash check:
- Concatenate the notification variables (excluding hash) in the order they appear in the notification fields table above.
- Append your private key to the concatenated string. Your private key can be found in merchant details section of the merchant admin site.
- Convert the concatenated string to lowercase.
- Generate a SHA512 hash of the lowercase concatenated string.
- Compare generated hash to the hash value received.
Updated 7 months ago