mock up of partial payments test & api