Sales & CRMQu Query

listPayments

Topics: Commerce

List payments with pagination. Requires payment:list permission.

Returns

PaymentConnection!

Arguments

first

IntOptional

Number of items to return

after

StringOptional

Cursor to start after

Filter criteria (invoiceId optional)

Sort order

Exact field 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"])

Declared on Query. Access is checked by the platform for each operation.