import type * as Square from "../index"; /** * Defines the fields that are included in the response body of * a request to the [RetrieveTransaction](api-endpoint:Transactions-RetrieveTransaction) endpoint. * * One of `errors` or `transaction` is present in a given response (never both). */ export interface GetTransactionResponse { /** Any errors that occurred during the request. */ errors?: Square.Error_[]; /** The requested transaction. */ transaction?: Square.Transaction; }