---
title: >-
  Removal of deprecated status field in Payments Apps API 2023-04 release -
  Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/removal-of-deprecated-status-field-in-payments-apps-api-2023-04-release
  md: >-
    https://shopify.dev/changelog/removal-of-deprecated-status-field-in-payments-apps-api-2023-04-release.md
metadata:
  effectiveApiVersion: 2023-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: true
  createdAt: '2023-01-12T15:08:55-05:00'
  postedAt: '2023-04-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:36-05:00'
  effectiveAt: '2023-04-01T00:00:00-04:00'
---

April 1, 2023

Tags:

* Action Required
* API
* 2023-04

# Removal of deprecated `status` field in Payments Apps API 2023-04 release

As of `2023-04` GraphQL Payments Apps API version, we are removing the `status` field as it was [deprecated since `2022-04` version](https://shopify.dev/changelog/new-pending-mutation-in-payments-apps-api-2022-04-release) in favour of the `state` field of the following objects returned by our GraphQL mutations:

* [`PaymentSession`](https://shopify.dev/api/payments-apps/2023-04/objects/PaymentSession)
* [`RefundSession`](https://shopify.dev/api/payments-apps/2023-04/objects/RefundSession)
* [`CaptureSession`](https://shopify.dev/api/payments-apps/2023-04/objects/CaptureSession)
* [`VoidSession`](https://shopify.dev/api/payments-apps/2023-04/objects/VoidSession)

To get up to date, make sure you no longer query the `status` field on these objects and use `state` instead.

Learn more about payments apps on [Shopify.dev](https://shopify.dev/apps/payments).
