import type * as Square from "../index"; /** * Defines the response returned by * [RefundPayment](api-endpoint:Refunds-RefundPayment). * * If there are errors processing the request, the `refund` field might not be * present, or it might be present with a status of `FAILED`. */ export interface RefundPaymentResponse { /** Information about errors encountered during the request. */ errors?: Square.Error_[]; /** The successfully created `PaymentRefund`. */ refund?: Square.PaymentRefund; }