Fixed the request hash to the right format for the API call.