Initializes the bill pay intent object with the specified payee and transaction details.
- iOS 10.3+
- Mac Catalyst 13.0+
- watchOS 3.2+
The entity that receives the payment. The user must configure payees in advance using your app. The payee in this parameter should correspond to one of the user's known entities.
The user account providing the funds for the transaction. The user must configure an account with your financial service before attempting to pay bills with that account. Use the information in the
INPaymentobject to identify which account the user wants to use.
The amount of money to transfer from the user's account to the bill payee. The object in this parameter may specify a numeric value or a relative value, such as the current balance due. For more information, see
The date on which to make the payment.
A note to include with the transaction. Users can include notes for logging additional information about the payment. You should also save notes in your own system so that users can view them later.
The type of bill being paid. Use this parameter to categorize the type of bill. You should also save this information in your own system so that users can search for bill payments by type.
The date by which payment must be made. When scheduling the bill payment, use this parameter to validate that the payment is not being made too late.
An initialized intent object or
nil if the object could not be created.
Normally, you do not create instances of this class yourself. Instead, SiriKit creates instances when the user asks to pay a bill. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.