If you paid using Apple Pay, then the subscription would not be tied to your Apple ID. You would have subscribed directly with Dashlane in that case and would need to provide the email account you used for that (which may be the same one as your Apple ID though, but would not be directly connected to your Apple ID). In this case the subscription would be separate to your Apple Account entirely and you would need to find that receipt on your Dashlane account on their website.
If you subscribed by downloading the app from the App Store on an Apple device, then you would not have used Apple Pay to pay for the subscription as the App Store does not use Apple Pay. It would have been charged to your Apple account directly, and not involve Apple Pay in any way. In this case the subscription would appear in your Apple Account's subscription list and you can get a receipt from your purchase history and it should include your Apple ID email account.
click here ➜ View your purchase history for the App Store and other Apple media services - Apple Support