---
title: VoidSessionState - Payments Apps API
description: The state of a finalized void transaction.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/interfaces/VoidSessionState
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/interfaces/VoidSessionState.md
api_name: payments-apps
api_type: graphql
type: interface
---

# Void​Session​State

interface

The state of a finalized void transaction.

## Fields

* code

  [Void​Session​State​Code!](https://shopify.dev/docs/api/payments-apps/latest/enums/VoidSessionStateCode)

  non-null

  The void state code.

***

##### Variables

```json
{
	"code": ""
}
```

##### Schema

```graphql
interface VoidSessionState {
  code: VoidSessionStateCode!
}
```
