REST api support for payload request