--- title: RefundSession - Payments Apps API description: A unique refund transaction. api_version: 2025-10 api_name: payments-apps type: object api_type: graphql 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 --- # 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. * [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. *** ## <\~> 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)