Skip to content

Commit

Permalink
Update sim-swap.yaml
Browse files Browse the repository at this point in the history
Improve documentation following @gregory1g suggestion.
  • Loading branch information
bigludo7 authored Sep 20, 2024
1 parent 5b06115 commit dbe588b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/API_definitions/sim-swap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ info:
- POST retrieve-date : Provides timestamp of latest SIM swap, if any, for a given phone number.
- If no swap has been performed, the API will return the SIM activation date (the timestamp of the first time that the SIM connected to the network).
- If no swap has been performed and the MNO supports unlimited SimSwap monitoring timeframe, the API will return the SIM activation date (the timestamp of the first time that the SIM connected to the network).
- If the latest SIM swap date (or the activation date if no SIM swap) cannot be communicated due to local regulations preventing the safekeeping of the information for longer than the stated period, a `null` value will be returned. Optionally, a `monitoredPeriod` could be provided to indicate that no SIM swap has occurred during this timeframe (in days).
- If the latest SIM swap date (or the activation date if no SIM swap) cannot be communicated due to local regulations (or MNO internal privacy policies) preventing the safekeeping of the information for longer than the stated period, a `null` value will be returned. Optionally, a `monitoredPeriod` could be provided to indicate monitored time frame (in days) supported by the MNO. In this case the response must be treated as "there was no sim swap events during 'monitoredPeriod'. Either the parameter is optional, it is recommended to support it in SimSwap implementations.
- POST check: Checks if SIM swap has been performed during a past period (defined in the request with 'maxAge' attribute) for a given phone number.
Expand Down

0 comments on commit dbe588b

Please sign in to comment.