integration mega hopex rest api graphql