# Refund

> A schema in the One API reference. Source: https://hub.ozow.com/api-reference/one-api/schemas/refund/

## Fields

- `links` (object, required) - Links related to this resource.
  - `self` (string, uri, required) - The unique URI to this resource.
  - `cancel` (string)
- `id` (string, uuid, required) - The unique identifier for this refund.
- `transactionId` (string, uuid, required) - The transactions identifier of the payment that is being refunded.
- `amount` (object, required) - The refund amount.
- `requested` (string, date-time, required) - The date and time the refund was requested.
- `completed` (string, date-time) - The date and time the refund was completed.
- `status` (any, required, one of "Pending", "Complete", "Submitted", "Failed", "Cancelled", "Returned") - The refund status. Possible values are: * 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.
- `reason` (string) - The reason for the status of the refund.
- `paidTo` (object) - The bank details of where the refund was paid to.
- `realTimePayment` (boolean, required, default false) - Whether or not this payment should happen in real time. Please refer to the [Ozow Pricing](https://ozow.com/pricing) page for more information.
