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

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

Initializes a payment record with the specified payment details.

## Declaration

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

## 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.

## Return Value

Return Value An initialized payment record object.

## See Also

### Creating a Payment Record Object

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