to Payload

open fun toPayload(): JsonObject

Method to transform the device information as payload for the requests

Return

the device info formated as JsonObject