fixing endpoint for dopay url