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.
Was this section helpful?
Query Reference
{
orderPaymentStatus(orderId, paymentReferenceId) {
# orderPaymentStatus fields
}
}