--- title: UserErrorsShopPayPaymentRequestSessionUserErrors - Storefront API description: Error codes for failed Shop Pay payment request session mutations. api_version: 2025-10 api_name: storefront type: object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/storefront/latest/objects/UserErrorsShopPayPaymentRequestSessionUserErrors md: >- https://shopify.dev/docs/api/storefront/latest/objects/UserErrorsShopPayPaymentRequestSessionUserErrors.md --- # User​Errors​Shop​Pay​Payment​Request​Session​User​Errors object Error codes for failed Shop Pay payment request session mutations. ## Fields * code [User​Errors​Shop​Pay​Payment​Request​Session​User​Errors​Code](https://shopify.dev/docs/api/storefront/latest/enums/UserErrorsShopPayPaymentRequestSessionUserErrorsCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/storefront/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [shop​Pay​Payment​Request​Session​Create](https://shopify.dev/docs/api/storefront/latest/mutations/shopPayPaymentRequestSessionCreate) mutation Create a new Shop Pay payment request session. * source​Identifier [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required ### Arguments A unique identifier for the payment request session. * payment​Request [Shop​Pay​Payment​Request​Input!](https://shopify.dev/docs/api/storefront/latest/input-objects/ShopPayPaymentRequestInput) required A payment request object. *** * [shop​Pay​Payment​Request​Session​Submit](https://shopify.dev/docs/api/storefront/latest/mutations/shopPayPaymentRequestSessionSubmit) mutation Submits a Shop Pay payment request session. * token [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required ### Arguments A token representing a payment session request. * payment​Request [Shop​Pay​Payment​Request​Input!](https://shopify.dev/docs/api/storefront/latest/input-objects/ShopPayPaymentRequestInput) required The final payment request object. * idempotency​Key [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required The idempotency key is used to guarantee an idempotent result. * order​Name [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The order name to be used for the order created from the payment request. *** *** ## <\~> UserErrorsShopPayPaymentRequestSessionUserErrors Mutations ### Mutated by * <\~>[shop​Pay​Payment​Request​Session​Create](https://shopify.dev/docs/api/storefront/latest/mutations/shopPayPaymentRequestSessionCreate) * <\~>[shop​Pay​Payment​Request​Session​Submit](https://shopify.dev/docs/api/storefront/latest/mutations/shopPayPaymentRequestSessionSubmit) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/storefront/latest/interfaces/DisplayableError) interface *** ## ||-UserErrorsShopPayPaymentRequestSessionUserErrors Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/storefront/latest/interfaces/DisplayableError)