He paid $23,570.90.
The formula for compound interest is:

,
where A is the total amount including interest, p is the amount borrowed, r is the interest rate written as a decimal number, n is the number of times per year the interest is compounded, and t is the number of years. Substituting our information we have:
