adding endpoint for pay_outstanding