---
title: >-
  Set and retrieve processedAt in the refundCreate mutation - 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/posts/set-processed-at-in-refund-create'
  md: 'https://shopify.dev/changelog/posts/set-processed-at-in-refund-create.md'
metadata:
  effectiveApiVersion: 2026-01
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-12-04T11:12:17-05:00'
  postedAt: '2025-12-16T13:00:00-05:00'
  updatedAt: '2025-12-15T10:15:49-05:00'
  effectiveAt: '2025-12-12T12:00:00-05:00'
---

December 16, 2025

# Set and retrieve `processedAt` in the `refundCreate` mutation

DateDecember 16, 2025

Version[2026-01](https://shopify.dev/changelog?api_version=2026-01)

FlagsNew

SurfacesAPI

Affected APIs[Admin GraphQL API](https://shopify.dev/changelog?api_type=admin-graphql)

We have introduced a new `processedAt` input field to the [`refundCreate` mutation](https://shopify.dev/docs/api/admin-graphql/2026-01/mutations/refundcreate). With this field, you can manage refund timestamps in your records more effectively.

If you don't provide a `processedAt` value, then the current timestamp is used by default. This ensures that existing integrations continue to function without modification.

### What's new

The `refundCreate` mutation now includes an optional `processedAt` field, enabling you to specify the exact time a refund was processed. This feature is particularly useful for:

* **Processing backdated refunds**: Manage refunds initiated offline or those that need to reflect a specific processing date for accounting purposes.
* **Maintaining accurate financial records**: Ensure your refund timestamps align with your actual business operations and reporting periods.

### How it works

To use this feature, include the `processedAt` field when creating a refund:

```graphql
mutation refundCreate($input: RefundInput!) {
  refundCreate(input: $input) {
    refund {
      id
      processedAt
      createdAt
    }
    userErrors {
      field
      message
    }
  }
}
```

With input:

```json
{
  "input": {
    "orderId": "gid://shopify/Order/123",
    "processedAt": "2024-12-01T10:30:00Z",
    "refundLineItems": [...]
  }
}
```

If you don't provide a `processedAt` value, the current timestamp is used by default. This ensures that existing integrations continue to function without modification.
