Seems a very weird way to do this and have amboss generated the preimage of the payment.