Credits as payments with MarketPress

Hi, I was wondering if you knew of a way that Marketpress and Appointments could allow end users to purchase 'credits' and use those credits as payments for bookings on Appointments.