You will have to discuss this with the seller. It depends on the type of goods you purchase, the value of the goods, how the seller labels them for customs purposes and in which country the goods were purchased. If customs impose a charge, DHL will pay this in the first instance. You are advised to pay whether or not you accept delivery of the goods.
Do I need to pay import duties on items I purchase?