When a shipment is lost to a wormhole or seized at customs, you can file for a credit refund.
Refunds cover the haul fee and declared cargo value. Warp surcharges are non-refundable once the drive has fired.