---
title: PaymentSessionRedirectUserError - Payments Apps API
description: An error that occurs during the execution of `PaymentSessionRedirect`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionRedirectUserError
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionRedirectUserError.md
api_name: payments-apps
api_type: graphql
type: object
---

# Payment​Session​Redirect​User​Error

object

An error that occurs during the execution of `PaymentSessionRedirect`.

## Fields

* code

  [Payment​Session​Redirect​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionRedirectUserErrorCode)

  The error code.

* field

  [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String)

  The path to the input field that caused the error.

* message

  [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String)

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [payment​Session​Redirect](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionRedirect)

  mutation

  Redirects the buyer to the given URL for the payment session. For example, Shopify will redirect the buyer to the URL where the 3DS authentication will take place for onsite payment with `credit_card` payment method.

  * id

    [ID!](https://shopify.dev/docs/api/payments-apps/latest/scalars/ID)

    required

    ### Arguments

    The payment session ID.

  * redirect​Url

    [URL!](https://shopify.dev/docs/api/payments-apps/latest/scalars/URL)

    required

    The absolute HTTPS URL, including a host, that Shopify will redirect the buyer to for 3DS authentication. The URL must not contain ASCII control characters, spaces in the scheme or authority, or user information before the hostname, such as a username or password. Spaces in the path, query string, or fragment are allowed. Applicable to payments with the credit card payment method only.

  ***

***

## PaymentSessionRedirectUserError Mutations

### Mutated by

* [payment​Session​Redirect](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionRedirect)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)

  interface

***

## PaymentSessionRedirectUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)
