---
title: "init(payee:payer:currencyAmount:paymentMethod:note:status:feeAmount:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/inpaymentrecord/init(payee:payer:currencyamount:paymentmethod:note:status:feeamount:)"
---

# init(payee:payer:currencyAmount:paymentMethod:note:status:feeAmount:)

Initializes a payment record with the specified payment details.

## Declaration

```swift
init?(payee: INPerson?, payer: INPerson?, currencyAmount: INCurrencyAmount?, paymentMethod: INPaymentMethod?, note: String?, status: INPaymentStatus, feeAmount: INCurrencyAmount?)
```

## Parameters

- `payee`: The person receiving the funds.
- `payer`: The person providing the funds.
- `currencyAmount`: The amount being transferred.
- `paymentMethod`: The payment method that represents the source of the funds.
- `note`: Any notes or instructions associated with the payment. Provide notes to convey extra details about the reason for the payment.
- `status`: The status of the transaction. For a list of possible values, see doc://com.apple.sirikit/documentation/Intents/INPaymentStatus.
- `feeAmount`: The fee associated with performing the transaction.

## Return Value

Return Value An initialized payment record object.

## See Also

### Creating a Payment Record Object

- [init(payee:payer:currencyAmount:paymentMethod:note:status:)](intents/inpaymentrecord/init(payee:payer:currencyamount:paymentmethod:note:status:).md)
