With WSO2 API Manager, you can maintain a production and a sandbox endpoint for a given API. The production endpoint is the actual location of the API, whereas the sandbox endpoint points to its testing/pre-production environment. When you publish an API using the API Publisher, it gets deployed on the API Gateway. By default, there's a single Gateway instance (deployed either externally or embedded within the publisher). This G that will support both Production and Sandbox Gateway instance supports both production and sandbox token types. When an API request is made comes to the API Gateway, it checks whether the requesting token is of type 'PRODUCTION' or 'SANDBOX' and forwards the request to the appropriate endpoint.
...