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

# resolveBatch(batchDeletionToken:)

Deletes the current batch and all its Store and Forward payments, allowing you to request a new
batch.

```
func resolveBatch(batchDeletionToken: StoreAndForwardBatchDeletionToken) async throws -> Int
```

## Parameters

`batchDeletionToken`

The token you receive from the payment service provider.

## Return Value

The remaining number of payments to process.

## Discussion> Throws: This method throws a ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReaderStore/StoreError`` if the customer isn’t online at the moment
> you call it, if there’s no Store and Forward batch to resolve, or if the deletion token is invalid.

---

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)