---
title: ID - Payments Apps API
description: >-
  The `ID` scalar type represents a unique identifier, often used to refetch an
  object or as key for a cache. The ID type appears in a JSON response as a
  String; however, it is not intended to be human-readable. When expected as an
  input type, any string (such as `"4"`) or integer (such as `4`) input value
  will be accepted as an ID.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/payments-apps/latest/scalars/ID'
  md: 'https://shopify.dev/docs/api/payments-apps/latest/scalars/ID.md'
api_name: payments-apps
api_type: graphql
type: scalar
---

# ID

scalar

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

## Map

### Fields with this scalar

* [Capture​Session.id](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSession#field-CaptureSession.fields.id)
* [Payment​Session.id](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSession#field-PaymentSession.fields.id)
* [Refund​Session.id](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSession#field-RefundSession.fields.id)
* [Verification​Session.id](https://shopify.dev/docs/api/payments-apps/latest/objects/VerificationSession#field-VerificationSession.fields.id)
* [Void​Session.id](https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSession#field-VoidSession.fields.id)

### Arguments with this scalar

* [capture​Session​Reject.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/captureSessionReject#arguments-id)
* [capture​Session​Resolve.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/captureSessionResolve#arguments-id)
* [payment​Session​Confirm.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionConfirm#arguments-id)
* [payment​Session​Modal.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionModal#arguments-id)
* [payment​Session​Pending.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionPending#arguments-id)
* [payment​Session​Redirect.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionRedirect#arguments-id)
* [payment​Session​Reject.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionReject#arguments-id)
* [payment​Session​Resolve.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionResolve#arguments-id)
* [refund​Session​Reject.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/refundSessionReject#arguments-id)
* [refund​Session​Resolve.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/refundSessionResolve#arguments-id)
* [verification​Session​Redirect.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/verificationSessionRedirect#arguments-id)
* [verification​Session​Reject.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/verificationSessionReject#arguments-id)
* [verification​Session​Resolve.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/verificationSessionResolve#arguments-id)
* [void​Session​Reject.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionReject#arguments-id)
* [void​Session​Resolve.id](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionResolve#arguments-id)
