Creates a pay-to-witness-public-key-hash (p2wpkh) payment object.
The payment object containing the necessary data.
Optional
Optional payment options.
The p2wpkh payment object.
If the required data is missing or invalid.
Creates a pay-to-witness-public-key-hash (p2wpkh) payment object.