GPII-795: Added some tests, updated the URL and payloads to adhere to the decided API