---
title: PaymentSessionStateCode - Payments Apps API
description: The possible values that can be used to describe the state of a payment transaction.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/payments-apps/latest/enums/paymentsessionstatecode
  md: https://shopify.dev/docs/api/payments-apps/latest/enums/paymentsessionstatecode.md
---

# Payment​Session​State​Code

enum

The possible values that can be used to describe the state of a payment transaction.

## Valid values

* BUYER\_​ACTION\_​REQUIRED

  Buyer action required.

* CONFIRMING

  Confirming the payment.

* PENDING

  Payment pending.

* REDIRECTING

  Redirecting buyer.

* REJECTED

  Payment rejected.

* RESOLVED

  Payment resolved.

***

## Fields

* [Payment​Session​State.code](https://shopify.dev/docs/api/payments-apps/latest/interfaces/PaymentSessionState#fields-code)

  INTERFACE

  The state of a payment transaction.

* [Payment​Session​State​Buyer​Action​Required.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateBuyerActionRequired#field-PaymentSessionStateBuyerActionRequired.fields.code)

  OBJECT

  Buyer action required for the payment.

* [Payment​Session​State​Confirming.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateConfirming#field-PaymentSessionStateConfirming.fields.code)

  OBJECT

  Additional details about a payment's confirming state.

* [Payment​Session​State​Pending.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStatePending#field-PaymentSessionStatePending.fields.code)

  OBJECT

  Additional details about a payment's pending state.

* [Payment​Session​State​Redirecting.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateRedirecting#field-PaymentSessionStateRedirecting.fields.code)

  OBJECT

  Additional details about a payment's redirecting state.

* [Payment​Session​State​Rejected.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateRejected#field-PaymentSessionStateRejected.fields.code)

  OBJECT

  Additional details about a payment's rejected state.

* [Payment​Session​State​Resolved.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateResolved#field-PaymentSessionStateResolved.fields.code)

  OBJECT

  Additional details about a payment's resolved state.

***

## Map

### Fields with this enum

* [Payment​Session​State​Buyer​Action​Required.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateBuyerActionRequired#field-PaymentSessionStateBuyerActionRequired.fields.code)
* [Payment​Session​State​Confirming.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateConfirming#field-PaymentSessionStateConfirming.fields.code)
* [Payment​Session​State​Pending.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStatePending#field-PaymentSessionStatePending.fields.code)
* [Payment​Session​State​Redirecting.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateRedirecting#field-PaymentSessionStateRedirecting.fields.code)
* [Payment​Session​State​Rejected.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateRejected#field-PaymentSessionStateRejected.fields.code)
* [Payment​Session​State​Resolved.code](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionStateResolved#field-PaymentSessionStateResolved.fields.code)