Anchor to paymentSessionPendingpayment
mutationpayment Session Pending
Requires access scope.
Change a payment session status to pending.
Upon receiving the response from the mutation,
you must redirect the customer back to Shopify, using
in
.
Upon completion, pending payments must be finalized into either a successful or failed state using
the or
mutations.
Both
sale
and authorization
payments can be marked as pending.
Anchor to Arguments
Arguments
- •ID!required
The payment session ID.
- Anchor to pendingExpiresAtpending•Date
Expires At Time! required The date and time when the pending payment expires, recommended to be within 3 days.
- Anchor to reasonreason•Payment
Session State Pending Reason! required The reason the payment is pending.
Was this section helpful?
- Anchor to paymentSessionpayment•Payment
Session Session The updated payment session.
- Anchor to userErrorsuser•[Payment
Errors Session Pending User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?