Get timestamp of last device swap for a mobile user account provided with phone number.

Check the Authorization guide on how to get an OAuth2 token, with the following scope:

dpv:FraudPreventionAndDetection#device-swap

Create an app on our Sandbox to get credentials and retrieve tokens so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:

mock_sandbox_access_token

You can explore our Device Swap sample code for additional guidance on using this API.

Body Params

Create a device swap date request for a phone number.

string

A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.

Responses

Response body
object
date-time | null
required

Timestamp of latest device swap performed. It must follow RFC 3339 and must have time zone. Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)

"code": "INVALID_TOKEN_CONTEXT","message": "Phone number cannot be deducted from access token context.")

"code": "NOT_SUPPORTED","message": "Service not supported for this phoneNumber")
  • The phone number is not included in the request and the phone number information cannot be derived from the 3-legged access token. ("code": "UNIDENTIFIABLE_PHONE_NUMBER","message": "The phone number is not included in the request and the phone number information cannot be derived from the 3-legged access token")
  • Language
    Credentials
    OAuth2
    URL