---
title: >-
  Surface payment group id and payment session id on subscription billing
  attempts - 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/surface-payment-group-id-and-payment-session-id-on-subscription-billing-attempts
  md: >-
    https://shopify.dev/changelog/surface-payment-group-id-and-payment-session-id-on-subscription-billing-attempts.md
metadata:
  effectiveApiVersion: 2024-10
  affectedApi:
    - displayName: Payments Apps API
      handle: payments-apps-api
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-03-13T16:14:19-04:00'
  postedAt: '2024-09-30T12:00:00-04:00'
  updatedAt: '2025-03-18T17:22:10-04:00'
  effectiveAt: '2024-09-30T12:00:00-04:00'
---

September 30, 2024

Tags:

* Payments Apps API
* 2024-10

# Surface payment group id and payment session id on subscription billing attempts

We've introduced the [`SubscriptionBillingAttempt`](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingAttempt) object to track subscription billing executions. This new functionality provides the following features:

* Records each subscription billing process execution
* Uses idempotency keys to prevent duplicate orders
* Creates orders upon successful billing attempts

Existing Partner integrations aren't affected.
