Anchor to orderPaymentStatusorder
orderPaymentStatus
query
Returns a payment status by payment reference ID. Used to check the status of a deferred payment.
Anchor to Arguments
Arguments
- Anchor to orderIdorder•
Id ID!required ID of the order for which the payment was initiated.
- Anchor to paymentReferenceIdpayment•
Reference Id String!required Unique identifier returned by orderCreatePayment.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to OrderPaymentStatusOrder•
Payment Status The status of a customer's payment for an order.
- error
Message •String A message describing an error during the asynchronous processing of a payment.
- payment
Reference •Id String!non-null The ID of the payment, initially returned by an
or
mutation.
- status•Ordernon-null
Payment Status Result! The status of the payment.
- transactions•[Ordernon-null
Transaction!]! The transaction associated with the payment.
- translated
Error •Message String A translated message describing an error during the asynchronous processing of a payment.
- error
Was this section helpful?
Query Reference
{
orderPaymentStatus(orderId, paymentReferenceId) {
# orderPaymentStatus fields
}
}