---
title: resetBatchState()
framework: proximityreader
role: symbol
role_heading: Instance Method
path: proximityreader/paymentcardreaderstore/resetbatchstate()
---

# resetBatchState()

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

## Declaration

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

## Discussion

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. note: This method throws a PaymentCardReaderStore.StoreError if there’s no batch for the framework to reset.
