RefundRequest
Fields
transactionIdstring uuid requiredThe transaction identifier. This is the identifier for the payment that was originally processed on Ozow.
amountnumber double requiredThe amount that needs to be refunded. This can be less than the original transaction amount but not more.
refundReasonstringThe reason for the refund.
max length500notifyUrlstring uriThe URL Ozow will send a notification to once the refund has been finalised.
max length500hashCheckstring requiredSHA512SHA-512 A hashing algorithm. Ozow uses it to sign the values in a request or a notification so you can tell that they arrived unaltered and came from us. Hashing is one-way: the hash cannot be turned back into what produced it.Wikipedia hash proving the request has not been altered after you generated it. Concatenate four fields in this order, with no separator, then append your private key:
transactionIdamount, formatted with two decimal places, so100.00refundReasonnotifyUrl
Hash the result with SHA512 and send the digest as lowercase hexadecimal.
Unlike the payment request hash, do not convert the concatenated string to lowercase before hashing. Refunds hash the string exactly as you built it, so the case of your reason and your notify URL matters. Only the digest is compared case insensitively.
max length150isRtcbooleanWhether the refund should be processed as an RTCReal-Time Clearing Payments that clear immediately rather than waiting for a batch. A batch run settles at set times through the day; a Real-Time Clearing payment moves the funds between the two bank accounts as it is made, so the recipient can rely on them straight away.PayInc refund.
defaultfalse