โ† API reference
Query / commerce

listPayments

List payments with pagination. Requires payment:list permission.

Arguments

firstInt

Number of items to return

afterString

Cursor to start after

Filter criteria (invoiceId optional)

Sort order

Returns PaymentConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete PaymentConnection type

Explore in a view

Order Intake
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.