--- title: refundSessionResolve - Payments Apps API description: |- 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. api_version: 2025-10 api_name: payments-apps type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/latest/mutations/refundsessionresolve md: https://shopify.dev/docs/api/payments-apps/latest/mutations/refundsessionresolve.md --- # refund​Session​Resolve mutation Requires `write_payment_sessions` access scope. 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. ## Arguments * id [ID!](https://shopify.dev/docs/api/payments-apps/latest/scalars/ID) required The refund session ID. *** ## Refund​Session​Resolve​Payload returns * refund​Session [Refund​Session](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSession) The updated refund session. * user​Errors [\[Refund​Session​Resolve​User​Error!\]!](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSessionResolveUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### refundSessionResolve reference ## Mutation Reference ```graphql mutation refundSessionResolve($id: ID!) { refundSessionResolve(id: $id) { refundSession { # RefundSession fields } userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100" } ```