import type * as Square from "../index"; /** * Defines the response returned by [ListPayments](api-endpoint:Payments-ListPayments). */ export interface ListPaymentsResponse { /** Information about errors encountered during the request. */ errors?: Square.Error_[]; /** The requested list of payments. */ payments?: Square.Payment[]; /** * The pagination cursor to be used in a subsequent request. If empty, * this is the final response. * * For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). */ cursor?: string; }