# PaymentSessionPendingUserError - payments_apps - OBJECT Version: 2025-01 ## Description Represents a payment session custom error. ### Access Scopes `read_payment_sessions` access scope. ## Fields * [code](/docs/api/payments_apps/2025-01/enums/PaymentSessionPendingUserErrorCode): PaymentSessionPendingUserErrorCode - The error code. * [field](/docs/api/payments_apps/2025-01/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/payments_apps/2025-01/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [paymentSessionPending](/docs/api/payments_apps/2025-01/mutations/paymentSessionPending) Change a payment session status to pending. Upon receiving the response from the `PaymentSessionPending` mutation, you must redirect the customer back to Shopify, using `redirectUrl` in `nextAction`. Upon completion, pending payments must be finalized into either a successful or failed state using the `paymentSessionResolve` or `paymentSessionReject` mutations. Both `sale` and `authorization` payments can be marked as pending. ## Related Unions ## Examples