<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/PaymentCardTransactionRequest/init(amount:currencyCode:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader29PaymentCardTransactionRequestV6amount12currencyCode3forACSo9NSDecimala_SSAC0E4TypeOtcfc"
  },
  "title" : "init(amount:currencyCode:for:)"
}
-->

# init(amount:currencyCode:for:)

Creates a new transaction request for the specified amount in the designated currency.

```
init(amount: Decimal, currencyCode: String, for type: PaymentCardTransactionRequest.TransactionType = .purchase)
```

## Parameters

`amount`

The purchase or refund price in the specified currency. This value must be greater than 0.

`currencyCode`

The ISO 4217 code that indicates the currency type for the purchase or refund.

`type`

A value that indicates whether the transaction is a purchase or refund.

---

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)