<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/PaymentCardReaderStore/resetBatchState()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader011PaymentCardB5StoreV15resetBatchStateyyYaKF"
  },
  "title" : "resetBatchState()"
}
-->

# resetBatchState()

Resets the current batch state in the store, allowing you to request a new batch.

```
func resetBatchState() async throws
```

## Discussion

Use this method if the transmission of the batch to the partner service provider fails and
the batch processing status is unknown. The framework doesn’t delete the reads; instead, it
dissociates them from the batch.

> Throws: This method throws a ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReaderStore/StoreError`` if there’s no batch for the framework to
> reset.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)