Virtual Operator for SIM Swap
The Virtual Operator provides predefined and deterministic API responses within the Network Registry Playground when using phone numbers associated with the unassigned country code +990. It can be used as a simulated operator for discovery, development and testing of Network Features in scenarios where access to a live operator is unavailable.
To use the Virtual Operator, simply select 'Playground' in your application configuration. All API calls directed to phone numbers with the +990 prefix will automatically be redirected to the Virtual Operator.
All API calls made using the Virtual Operator require to implement the same authentication flows as those made through a regular mobile operator.
Availability
The Virtual Operator is available by default to any application configured for Network Features in a Playground mode. No further configuration is necessary to use the Virtual Operator.
After setting up the application, go to the Playground configuration page and click on "View Available Operators" to expand the list of available Network Features. The first entry corresponds with the Virtual Operator.

It is not necessary to add +990 numbers to your allowlist. Simply make an API call to any of the supported Network Features.
The Virtual Operator always returns a response indicating that the last SIM swap event for any requested number (starting with +990) occurred exactly 500 hours before the request date. As such, the developer can send the following parameters:
| Endpoint | Parameters | Response |
|---|---|---|
/check | phoneNumber = +990XXXXXX and maxAge > 500 | swapped = true |
/check | phoneNumber = +990XXXXXX and maxAge < 500 | swapped = false |
/retrieve-date | phoneNumber = +990XXXXXX | latestSimChange 500 hours in the past |
| both | phoneNumber = +990XXXX99 | error |