pass all gateway metadata and not only credentials --- test mode for example