--- title: Order cancellation now supports refunds to store credit - 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/ordercancel-mutation-now-supports-refunds-to-store-credit md: https://shopify.dev/changelog/ordercancel-mutation-now-supports-refunds-to-store-credit.md --- [Back to Developer changelog](https://shopify.dev/changelog) July 1, 2025 Tags: * Admin GraphQL API * 2025-07 # Order cancellation now supports refunds to store credit As of GraphQL Admin API version `2025-07`, the [`orderCancel` mutation](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/orderCancel) allows you to issue refunds as store credit, in addition to the original payment methods, when orders are cancelled. This update introduces a new [`refundMethod` input](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/orderCancel#arguments-refundMethod), which offers greater flexibility in handling customer refunds during order cancellations, and deprecates the existing [`refund` input](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/orderCancel#arguments-refund). #### Action required: If you want to continue to issue refunds to the original payments methods on order cancellation, replace your usages of the [`refund` input](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/orderCancel#arguments-refund) with the new [`refundMethod.originalPaymentMethodsRefund` input](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/orderCancel#arguments-refundMethod.fields.originalPaymentMethodsRefund) going forward. For detailed information and examples on how to implement the new input, visit our [orderCancel documentation](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/orderCancel) on Shopify.dev.