Engine Endpoint Configuration
overview the sdk allows configuration of the engine endpoint using the enginehostname field in the account object if not explicitly provided, the sdk automatically falls back to a default endpoint for optimal performance and routing configuration default behavior if enginehostname is not set, null , or empty , the sdk uses engine monetate net custom configuration you can override the default endpoint by setting enginehostname code to export account object account account = new account(); account setdomain(""); // domain name account setname(""); // account name account setinstance(""); // instance for the domain account setshortname(""); // short name for the account account setenginehostname("")// optional override engine endpoint provide only the host name (e g , engine monetate net ) do not include protocol ( https // ) the sdk automatically applies https if the value is null or empty, the default endpoint is used 🌍 available endpoints recommended (default & global) engine monetate net → default (akamai + nearest aws region) engine global monetate net → direct routing to nearest aws region (bypasses akamai) 🌐 region specific endpoints (advanced use cases) engine us east 1 monetate net engine us west 2 monetate net engine eu west 1 monetate net use these when your infrastructure is hosted in a specific aws region you require strict control over routing or data residency ⚠️ legacy endpoint api monetate net this is a legacy endpoint and is not recommended for new integrations usage scenarios default (recommended) if no enginehostname is configured https //engine monetate net global routing account setenginehostname("engine global monetate net"); requests are sent to https //engine global monetate net region specific routing account setenginehostname("engine us west 2 monetate net"); requests are sent to https //engine us west 2 monetate net summary default endpoint engine monetate net can be overridden via enginehostname supports global and region specific routing sdk handles protocol and url construction internally