---
title: PointOfSaleDevicePaymentSessionCloseUserError - GraphQL Admin
description: >-
  An error that occurs during the execution of
  `PointOfSaleDevicePaymentSessionClose`.
api_version: 2026-04
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDevicePaymentSessionCloseUserError
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDevicePaymentSessionCloseUserError.md
api_name: admin
api_type: graphql
type: object
metadata:
  domain: admin
---

# Point​Of​Sale​Device​Payment​Session​Close​User​Error

object

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

## Fields

* code

  [Point​Of​Sale​Device​Payment​Session​Close​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/PointOfSaleDevicePaymentSessionCloseUserErrorCode)

  The error code.

* field

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

  The path to the input field that caused the error.

* message

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

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [point​Of​Sale​Device​Payment​Session​Close](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDevicePaymentSessionClose)

  mutation

  Closes a point of sale device payment session.

  * point​Of​Sale​Device​Payment​Session​Id

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

    required

    ### Arguments

    The point of sale device payment session to be closed.

  * balance

    [Money​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/MoneyInput)

    required

    The counted cash drawer balance when the session was closed.

  * staff​Member​Id

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

    required

    The staff member who closed the session.

  * time

    [Date​Time](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)

    When the session was closed. Defaults to the current time.

  * reason​Code​Id

    [ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    The reason code for closing the session.

  * note

    [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

    The note entered when the session was closed.

  ***

***

## PointOfSaleDevicePaymentSessionCloseUserError Mutations

### Mutated by

* [point​Of​Sale​Device​Payment​Session​Close](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDevicePaymentSessionClose)

***

## Interfaces

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

  interface

***

## PointOfSaleDevicePaymentSessionCloseUserError Implements

### Implements

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