โ† API reference
Query / commerce

getPayment

Fetch a single payment by ID. Requires payment:read permission.

Arguments

Payment ID

Returns PaymentState

Scalar fields at a glance

invoiceIdInvoiceID!
amountFloat!
currencyCurrencyISO!
referenceString
โ†— View the complete PaymentState type

Explore in a view

Order Intake
View exact SDL
"""Fetch a single payment by ID. Requires payment:read permission."""
getPayment(
  """Payment ID"""
  id: PaymentID!
): PaymentState @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.