---
title: PaymentSessionPendingUserErrorCode - Payments Apps API
description: Possible error codes that can be returned by `PaymentSessionPendingUserError`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionPendingUserErrorCode
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionPendingUserErrorCode.md
api_name: payments-apps
api_type: graphql
type: enum
---

# Payment​Session​Pending​User​Error​Code

enum

Possible error codes that can be returned by `PaymentSessionPendingUserError`.

## Valid values

* EXPIRED\_​PENDING\_​EXPIRES\_​AT

  Pending expiry date can't be a time in the past.

* NOT\_​FOUND

  Payment session doesn't exist.

* OUT\_​OF\_​RANGE\_​PENDING\_​EXPIRES\_​AT

  Pending expiry date has exceeded the default pending expiry limit.

* PENDING\_​INVALID\_​STATE

  Payment session has already been resolved or rejected.

* UNSUPPORTED\_​PAYMENT\_​METHOD

  Pending is not supported for credit card payment methods.

***

## Fields

* [Payment​Session​Pending​User​Error.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionPendingUserError#field-PaymentSessionPendingUserError.fields.code)

  OBJECT

  Represents a payment session custom error.

***

## Map

### Fields with this enum

* [Payment​Session​Pending​User​Error.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionPendingUserError#field-PaymentSessionPendingUserError.fields.code)
