---
title: voidSessionReject - Payments Apps API
description: |-
  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.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/payments-apps/latest/mutations/voidsessionreject
  md: https://shopify.dev/docs/api/payments-apps/latest/mutations/voidsessionreject.md
---

# void​Session​Reject

mutation

Requires `write_payment_sessions` access scope.

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.

## Arguments

* id

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

  required

  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​Reject​Payload returns

* user​Errors

  [\[Void​Session​Reject​User​Error!\]!](https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSessionRejectUserError)

  non-null

  The list of errors that occurred from executing the mutation.

* void​Session

  [Void​Session](https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSession)

  The updated void session.

***

## Examples

* ### voidSessionReject reference