Added cb parameter to sendPayment