Anchor to PaymentSessionPendingUserErrorPayment
objectPayment Session Pending User Error
Requires access scope.
Represents a payment session custom error.
Anchor to FieldsFields
- Anchor to codecode•Payment
Session Pending User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
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
andauthorization
payments can be marked as pending.- •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.
Arguments
- 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.
Fields
- •ID!
Was this section helpful?