Add JAXRS api for notifyStateChanged (PaymentTransaction)