--- title: PaymentSessionPendingUserErrorCode - Payments Apps API description: Possible error codes that can be returned by `PaymentSessionPendingUserError`. api_version: 2025-01 api_name: payments-apps type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/2025-01/enums/PaymentSessionPendingUserErrorCode md: https://shopify.dev/docs/api/payments-apps/2025-01/enums/PaymentSessionPendingUserErrorCode.md --- # 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/2025-01/objects/PaymentSessionPendingUserError#field-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/2025-01/objects/PaymentSessionPendingUserError#field-code)