Currently the preimage in the bolt11 response is optional, however for L402 payments the preimage is needed to complete the flow so using cashu wallets is not possible as they do not know if they will get the preimage back. Not all backends give us the preimage so we probably cannot make it mandatory however we could at least signal if paying a melt will return a preimage, so a user knows it can be used with L402 without trying a payment first.
Currently the preimage in the bolt11 response is optional, however for L402 payments the preimage is needed to complete the flow so using cashu wallets is not possible as they do not know if they will get the preimage back. Not all backends give us the preimage so we probably cannot make it mandatory however we could at least signal if paying a melt will return a preimage, so a user knows it can be used with L402 without trying a payment first.