Creates a pay-to-public-key (P2PK) payment object.
The payment object containing the necessary data.
Optional
Optional payment options.
The P2PK payment object.
If the required data is not provided or if the data is invalid.
Creates a pay-to-public-key (P2PK) payment object.