Cancellations or refunds of Machu Picchu tickets are not allowed by Peru's Ministerio de Cultura. The Ministry of Culture only allows you to change the date of your visit. To make a change, there is an administrative fee of $5USD + a percentage of the ticket cost:
30% if 24hr before original visit date
25% if 48hr before original visit date
10% if 72hr before original visit date