--- title: captureSessionReject - Payments Apps API description: |- Rejects an open capture session. After the `captureSessionReject` mutation completes on a given capture session, any `captureSessionResolve` mutation attempts will fail. Subsequent `captureSessionReject` mutation attempts will succeed, but the `reason` argument will be ignored. api_version: 2026-01 api_name: payments-apps type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/latest/mutations/capturesessionreject md: https://shopify.dev/docs/api/payments-apps/latest/mutations/capturesessionreject.md --- # capture​Session​Reject mutation Requires `write_payment_sessions` access scope. Rejects an open capture session. After the `captureSessionReject` mutation completes on a given capture session, any `captureSessionResolve` mutation attempts will fail. Subsequent `captureSessionReject` mutation attempts will succeed, but the `reason` argument will be ignored. ## Arguments * id [ID!](https://shopify.dev/docs/api/payments-apps/latest/scalars/ID) required The capture session ID. * reason [Capture​Session​Rejection​Reason​Input!](https://shopify.dev/docs/api/payments-apps/latest/input-objects/CaptureSessionRejectionReasonInput) required The rejection reason. *** ## Capture​Session​Reject​Payload returns * capture​Session [Capture​Session](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSession) The updated capture session. * user​Errors [\[Capture​Session​Reject​User​Error!\]!](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSessionRejectUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### captureSessionReject reference