Refund
A complete representation of a refund in Ozow's systems.
Fields
idstring uuid requiredThe identifier for the refund.
createdDatestring date-time requiredThe date the refund was created.
createdDateUtcstring date-time requiredThe UTC date the refund was created.
merchantCodestring requiredCorresponding merchant code of the refund.
siteCodestring requiredCorresponding site codeSite code The unique code for a site registered under a merchant. A site is a place to transact: a website, or a branch of a store. A merchant can have several, and each transaction names the one it belongs to, so sending the wrong code files the payment against the wrong place. of the refund.
siteNamestring requiredCorresponding site name of the refund.
bankToNamestring requiredBank the refund was sent to.
currencyCodestring requiredRefund currency.
max length3amountnumber double requiredRefund amount.
statementReferencestring requiredBank reference of the refund for the payer.
statusinteger requiredRefund status. Possible values are:
- 0 - Pending - The refund request has been submitted and accepted.
- 1 - Complete - The refund has been paid successfully.
- 2 - Submitted - The refund has been assigned to a batch and is being processed.
- 3 - Failed - The refund payment has failed.
- 4 - Cancelled - The refund has been cancelled before it was submitted.
- 5 - Returned - The refund payment has been returned because the account that was being refunded no longer exists.
toAccountstring requiredAccount number refund was sent to.
paymentDatestring date-time requiredPayment date of the refund.
transactionReferencestring requiredReference of the transaction which was refunded.
customerstringRefunded transaction customer.
lastEventstring requiredMost recent log activity of the refund.
refundCompletedDatestring date-timeThe date the refund was completed.
createdBystring requiredName of the user who created the refund.
isRtcboolean requiredTrueif the refund was paid via 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.