# orderPaymentStatus - admin-graphql - QUERY Version: 2024-10 ## Description Returns a payment status by payment reference ID. Used to check the status of a deferred payment. ### Access Scopes ## Arguments * [orderId](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - ID of the order for which the payment was initiated. * [paymentReferenceId](/docs/api/admin-graphql/2024-10/scalars/String): String! - Unique identifier returned by orderCreatePayment. ## Returns * [errorMessage](/docs/api/admin-graphql/2024-10/scalars/String): String A message describing an error during the asynchronous processing of a payment. * [paymentReferenceId](/docs/api/admin-graphql/2024-10/scalars/String): String! The ID of the payment, initially returned by an `orderCreateMandatePayment` or `orderCreatePayment` mutation. * [status](/docs/api/admin-graphql/2024-10/enums/OrderPaymentStatusResult): OrderPaymentStatusResult! The status of the payment. * [transactions](/docs/api/admin-graphql/2024-10/objects/OrderTransaction): OrderTransaction! The transaction associated with the payment. * [translatedErrorMessage](/docs/api/admin-graphql/2024-10/scalars/String): String A translated message describing an error during the asynchronous processing of a payment. ## Examples