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

# Refund​Session

object

Requires `read_payment_sessions` access scope.

A unique refund transaction.

## Fields

* id

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

  non-null

  A globally-unique ID.

* state

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

  non-null

  Details about the refund state.

***

## Map

No referencing types

***

## Mutations

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

  mutation

  Rejects an open refund session. After the `refundSessionReject` mutation completes on a given refund session, any `refundSessionResolve` mutation attempts will fail. Subsequent `refundSessionReject` 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 refund session ID.

  * reason

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

    required

    The rejection reason.

  ***

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

  mutation

  Resolves an open refund session. After the `refundSessionResolve` mutation completes on a given refund session, any `refundSessionReject` mutation attempts will fail. Subsequent `refundSessionResolve` 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 refund session ID.

  ***

***

## RefundSession Mutations

### Mutated by

* [refund​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/refundSessionReject)
* [refund​Session​Resolve](https://shopify.dev/docs/api/payments-apps/latest/mutations/refundSessionResolve)
