By default, DPD uses the “download_link” merge var to provide a pre-formatted download link in the Thank You email template.
You can replace this pre-formatted link with your own link by using the download_url merge var and building your own link.
Here is an example: