Wrapper for dineromail api function doPaymentWithReference