import type * as Square from "../index"; /** * Defines the response returned by [GetRefund](api-endpoint:Refunds-GetPaymentRefund). * * Note: If there are errors processing the request, the refund field might not be * present or it might be present in a FAILED state. */ export interface GetPaymentRefundResponse { /** Information about errors encountered during the request. */ errors?: Square.Error_[]; /** The requested `PaymentRefund`. */ refund?: Square.PaymentRefund; }