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

# fetchStoredPaymentCardReadResultBatch(size:)

Returns a batch of reads the framework previously stored, in chronological order, of the size you request.

```
func fetchStoredPaymentCardReadResultBatch(size: Int = 0) async throws -> StoreAndForwardBatch
```

## Parameters

`size`

The desired batch size, if no size is provided, the framework uses a  batch size of `0` that returns all the payments
stored  in the batch.

## Return Value

[`StoreAndForwardBatch`](/documentation/ProximityReader/StoreAndForwardBatch) when successful.

## Discussion

There is only one active batch per application at a given time and to fetch a new batch the caller
needs to reset or resolve the current batch.

> Throws: This method throws a ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReaderStore/StoreError`` if the size is smaller than `0` or greater than the
> number of payments stored, or if there’s no payment stored.  The framework also throws a
> `StoreError` if a previous batch is pending resolution at the time when you call this  method.

---

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)