---
title: VoidSession - Payments Apps API
description: A unique void transaction.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSession'
  md: 'https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSession.md'
api_name: payments-apps
api_type: graphql
type: object
---

# Void​Session

object

Requires `read_payment_sessions` access scope.

A unique void transaction.

## Fields

* id

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

  non-null

  A globally-unique ID.

* state

  [Void​Session​States!](https://shopify.dev/docs/api/payments-apps/latest/unions/VoidSessionStates)

  non-null

  Details about the void state.

***

## Map

No referencing types

***

## Mutations

* [void​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionReject)

  mutation

  Rejects an open void session. After the `voidSessionReject` mutation completes on a given void session, any `voidSessionResolve` mutation attempts will fail. Subsequent `voidSessionReject` mutation attempts will succeed, but the `RejectionReasonInput` argument will be ignored.

  * id

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

    required

    ### Arguments

    The void session ID.

  * reason

    [Void​Session​Rejection​Reason​Input!](https://shopify.dev/docs/api/payments-apps/latest/input-objects/VoidSessionRejectionReasonInput)

    required

    The rejection reason.

  ***

* [void​Session​Resolve](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionResolve)

  mutation

  Resolves an open void session. After the `voidSessionResolve` mutation completes on a given void session, any `voidSessionReject` mutation attempts will fail. Subsequent `voidSessionResolve` mutation attempts will succeed, but the `Details` argument will be ignored.

  * id

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

    required

    ### Arguments

    The void session ID.

  ***

***

## VoidSession Mutations

### Mutated by

* [void​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionReject)
* [void​Session​Resolve](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionResolve)
