Query a payment session and its status. You can use the mutations to reject, pend, or resolve a payment session.
In this sectionAnchor link to section titled "In this section"
paymentSessionPending — Change a payment session status to pending. Upon receiving the response from the
PaymentSessionPendingmutation, you must redirect the customer back to Shopify, using
nextAction. Upon completion, pending payments must be finalized into either a successful or failed state using the
authorizationpayments can be marked as pending.
paymentSessionReject — Rejects an open payment session. After the
paymentSessionRejectmutation completes on a given payment session, any
paymentSessionResolvemutation attempts will fail. Subsequent
paymentSessionRejectmutation attempts will succeed, but the
RejectionReasonInputargument will be ignored.
paymentSessionResolve — Resolves an open payment session. After the
paymentSessionResolvemutation completes on a given payment session, any
paymentSessionRejectmutation attempts will fail. Subsequent
paymentSessionResolvemutation attempts will succeed, but the
Detailsargument will be ignored.