Let X be the amount to charge cardholder before MDR=2.9%=0.029 and $0.25 transaction fee


X-(0.029X-$0.25)=$1000


X-0.029X+$0.25=$1000


0.971X=997.75


X=1029.608651


Amount to charge customer :$1029.61