---
title: PaymentSessionState - Payments Apps API
description: The state of a payment transaction.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/interfaces/PaymentSessionState
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/interfaces/PaymentSessionState.md
api_name: payments-apps
api_type: graphql
type: interface
---

# Payment​Session​State

interface

The state of a payment transaction.

## Fields

* code

  [Payment​Session​State​Code!](https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionStateCode)

  non-null

  The payment state code.

***

##### Variables

```json
{
	"code": ""
}
```

##### Schema

```graphql
interface PaymentSessionState {
  code: PaymentSessionStateCode!
}
```
