Updates payment module for new api.