Skip to main content
AGS runs separate regions, called tenants. Each has its own service levels, prices and optional services. Send the customer’s tenant in the X-Tenant header on every request:
Always send X-Tenant. Without it, AGS picks the tenant from the country the request comes from, which is your server’s country, not the customer’s. A UK server would then create orders for a US customer on the UK tenant.
Payment plans and optional services belong to a tenant. IDs and codes from one tenant are rejected when creating an order on another, with a 422 and the validation_failed error code.