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

# decline()

Removes the last read from store.

```
func decline() async throws
```

## Discussion

This method should be used after a read, when the merchant
receives the [`PaymentCardReadResult`](/documentation/ProximityReader/PaymentCardReadResult) and decides to not
accept the payment. It must be called within the 60 seconds
allowance time window and the payment must not have been
included in a batch, otherwise an error will be thrown.

> Throws: This method throws a ``ReadError`` if no previous read
> was executed, if invoked after the 60 seconds allowance time window or
> if the payment you are trying to decline belongs to a batch.

---

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)