---
title: PointOfSaleDevicePaymentSessionCloseUserErrorCode - GraphQL Admin
description: >-
  Possible error codes that can be returned by
  `PointOfSaleDevicePaymentSessionCloseUserError`.
api_version: 2026-04
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/PointOfSaleDevicePaymentSessionCloseUserErrorCode
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/PointOfSaleDevicePaymentSessionCloseUserErrorCode.md
api_name: admin
api_type: graphql
type: enum
metadata:
  domain: admin
---

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

enum

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

## Valid values

* CURRENCY\_​MISMATCH

  The currency code does not match the cash drawer currency.

* FAILED\_​TO\_​CLOSE\_​SESSION

  Point of sale device payment session not closed.

* NO\_​CASH\_​DRAWER\_​ASSOCIATED

  Point of sale device has no cash drawer associated with it.

* PAYMENT\_​SESSION\_​NOT\_​FOUND

  Point of sale device payment session not found.

* REASON\_​CODE\_​NOT\_​FOUND

  Reason code not found.

* SESSION\_​ALREADY\_​CLOSED

  Session is already closed.

* STAFF\_​MEMBER\_​NOT\_​FOUND

  Staff member not found.

* TIME\_​BEFORE\_​SESSION\_​OPEN

  Time cannot be before session opening time.

***

## Fields

* [Point​Of​Sale​Device​Payment​Session​Close​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDevicePaymentSessionCloseUserError#field-PointOfSaleDevicePaymentSessionCloseUserError.fields.code)

  OBJECT

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

***

## Map

### Fields with this enum

* [Point​Of​Sale​Device​Payment​Session​Close​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDevicePaymentSessionCloseUserError#field-PointOfSaleDevicePaymentSessionCloseUserError.fields.code)
