title: Refund (Order)
type: object
description: Represents a refund that has been processed against a transaction associated with an order.
x-tags:
  - Orders
properties:
  uuid:
    type: string
    format: uuid
    description: The unique identifier.
  status:
    $ref: ./RefundStatus.yaml
    description: The current status of the refund.
  finalised_at:
    type:
      - string
      - 'null'
    format: date-time
    description: |-
      The date-time that the refund was finalised.

      This field will be `null` for a pending refund.
  gateway:
    $ref: ./PaymentGateway.yaml
    description: The gateway that was used.
  tender:
    $ref: ./Tender.yaml
    description: The tender that was supplied.
  amount:
    $ref: ./Money.yaml
    description: The value of the refund (irrespective of its status).
