Query / commerce
listPayments
List payments with pagination. Requires payment:list permission.
Arguments
firstIntNumber of items to return
afterStringCursor to start after
filterPaymentFilterInputFilter criteria (invoiceId optional)
sort[PaymentSortInput!]Sort order
Returns PaymentConnection!
Explore in a view
View exact SDL
"""List payments with pagination. Requires payment:list permission."""
listPayments(
"""Number of items to return"""
first: Int
"""Cursor to start after"""
after: String
"""Filter criteria (invoiceId optional)"""
filter: PaymentFilterInput
"""Sort order"""
sort: [PaymentSortInput!]
): PaymentConnection! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.