Tags:
- Admin GraphQL API
Deprecation of OrderTransaction.authorizationCode in favor of OrderTransaction.paymentId
OrderTransaction.authorizationCode in favor of OrderTransaction.paymentIdStarting with the 2026-01 API version, the field on the object is deprecated. We recommend using the field instead.
The field provides a consistent, standardized identifier for payment reconciliation across all payment providers on Shopify. Adopting ensures your integration relies on the most stable and supported field for tracking and reconciling transactions, regardless of the underlying payment gateway.
Warning: returns a Shopify-specific identifier, which differs from the provider-specific value in . Ensure your systems are updated to store and reconcile using this new ID format.
Recommended migration
Developers should update their queries to use the field when accessing objects in the Admin GraphQL API. Replace instances of with . By making these changes, you ensure your app relies on the standard identifier for payment transactions.
For example, update your query from:
query TransactionDetails {
order(id: "gid://shopify/Order/12345") {
transactions {
id
authorizationCode
}
}
}
to:
query TransactionDetails {
order(id: "gid://shopify/Order/12345") {
transactions {
id
paymentId
}
}
}